Your message dated Fri, 1 Aug 2014 01:26:08 +0400
with message-id
<cabauxi64bzw4dh_hx+aht+uywz6zisqpnhlaqk+wxeq_qsw...@mail.gmail.com>
and subject line
has caused the Debian Bug report #755054,
regarding libunity: Uses deprecated gee-1.0 which breaks linking with
up-to-date gee-0.8
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
755054: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755054
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libunity
Version: 6.12.0-1~experimental1
Severity: important
Tags: upstream patch
libunity 6.12.0-1~experimental1 links against gee-1.0. Since gee-1.0 and
gee-0.8 cannot sanely coexist in one binary, this breaks applications linking
against libunity and the up-to-date gee-0.8, of which there is a fair number.
There are no applications using the legacy gee-1.0 and libunity in the Debian
archive and new applications are migrating to gee-0.8, so this should not break
any existing apps.
Upstream has solved this issue by removing Gee usage altogether, see
https://bazaar.launchpad.net/~unity-team/libunity/trunk/revision/310
However, that was done in a much later but still unreleased version and is not
trivial to backport.
I'm attaching a patch that switches libunity from gee-1.0 to gee-0.8 as a stop-
gap measure until either a new upstream version with the fix is released or the
patch removing Gee usage altogether is backported to Debian.
-- System Information:
Debian Release: jessie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Switch from deprecated gee-1.0 to the up-to-date gee-0.8
Since gee-1.0 and gee-0.8 cannot sanely coexist on the same system,
and multiple applications linking against libunity have migrated to
gee-0.8 already, switch to gee-0.8 as well.
.
Upstream has solved this issue by removing Gee usage altogether,
see https://bazaar.launchpad.net/~unity-team/libunity/trunk/revision/310
However, that was done in a much later but unreleased version
and is not trivial to backport.
.
This patch is intended as a stop-gap solution to allow linking gee-0.8
appplications to link with Unity until either the newer upstream version
is released or the relevant upstream patch is backported to this package.
Origin: Debian
Bug-Debian: http://bugs.debian.org/<bugnumber>
Forwarded: not-needed
Last-Update: 2014-07-17
--- libunity-6.12.0.orig/configure
+++ libunity-6.12.0/configure
@@ -14969,12 +14969,12 @@ if test -n "$GEE_CFLAGS"; then
pkg_cv_GEE_CFLAGS="$GEE_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= 0.6.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gee-1.0 >= 0.6.0") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.8.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-1.0 >= 0.6.0" 2>/dev/null`
+ pkg_cv_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-0.8 >= 0.8.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -14986,12 +14986,12 @@ if test -n "$GEE_LIBS"; then
pkg_cv_GEE_LIBS="$GEE_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= 0.6.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gee-1.0 >= 0.6.0") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.8.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_GEE_LIBS=`$PKG_CONFIG --libs "gee-1.0 >= 0.6.0" 2>/dev/null`
+ pkg_cv_GEE_LIBS=`$PKG_CONFIG --libs "gee-0.8 >= 0.8.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -15012,14 +15012,14 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-1.0 >= 0.6.0" 2>&1`
+ GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-0.8 >= 0.8.0" 2>&1`
else
- GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-1.0 >= 0.6.0" 2>&1`
+ GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-0.8 >= 0.8.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GEE_PKG_ERRORS" >&5
- as_fn_error $? "Package requirements (gee-1.0 >= 0.6.0) were not met:
+ as_fn_error $? "Package requirements (gee-0.8 >= 0.8.0) were not met:
$GEE_PKG_ERRORS
@@ -15418,7 +15418,7 @@ fi
LIBUNITY_CFLAGS="$GLIB2_CFLAGS $GOBJECT2_CFLAGS $GIO2_CFLAGS $GIO_UNIX2_CFLAGS $GEE_CFLAGS $DEE_CFLAGS $DBUSMENU_CFLAGS"
LIBUNITY_LIBS="$GLIB2_LIBS $GOBJECT2_LIBS $GIO2_LIBS $GIO_UNIX2_LIBS $GEE_LIBS $DEE_LIBS $DBUSMENU_LIBS"
-LIBUNITY_PACKAGES="--pkg glib-2.0 --pkg gobject-2.0 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg gee-1.0 --pkg dee-1.0 --pkg Dbusmenu-0.4"
+LIBUNITY_PACKAGES="--pkg glib-2.0 --pkg gobject-2.0 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg gee-0.8 --pkg dee-1.0 --pkg Dbusmenu-0.4"
--- libunity-6.12.0.orig/configure.ac
+++ libunity-6.12.0/configure.ac
@@ -187,7 +187,7 @@ PKG_CHECK_MODULES(GLIB2, [glib-2.0 >= $G
PKG_CHECK_MODULES(GOBJECT2, [gobject-2.0 >= $GLIB_REQUIRED ])
PKG_CHECK_MODULES(GIO2, [gio-2.0 >= $GLIB_REQUIRED ])
PKG_CHECK_MODULES(GIO_UNIX2, [gio-unix-2.0])
-PKG_CHECK_MODULES(GEE, [gee-1.0 >= 0.6.0])
+PKG_CHECK_MODULES(GEE, [gee-0.8 >= 0.8.0])
PKG_CHECK_MODULES(DEE, [dee-1.0 >= 1.0.4])
PKG_CHECK_MODULES(DBUSMENU, [dbusmenu-glib-0.4 >= 0.3.93])
PKG_CHECK_MODULES(GTK3, [gtk+-3.0 >= 3.4.1])
@@ -195,7 +195,7 @@ PKG_CHECK_MODULES(GMODULE, [gmodule-2.0
LIBUNITY_CFLAGS="$GLIB2_CFLAGS $GOBJECT2_CFLAGS $GIO2_CFLAGS $GIO_UNIX2_CFLAGS $GEE_CFLAGS $DEE_CFLAGS $DBUSMENU_CFLAGS"
LIBUNITY_LIBS="$GLIB2_LIBS $GOBJECT2_LIBS $GIO2_LIBS $GIO_UNIX2_LIBS $GEE_LIBS $DEE_LIBS $DBUSMENU_LIBS"
-LIBUNITY_PACKAGES="--pkg glib-2.0 --pkg gobject-2.0 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg gee-1.0 --pkg dee-1.0 --pkg Dbusmenu-0.4"
+LIBUNITY_PACKAGES="--pkg glib-2.0 --pkg gobject-2.0 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg gee-0.8 --pkg dee-1.0 --pkg Dbusmenu-0.4"
AC_SUBST(LIBUNITY_CFLAGS)
AC_SUBST(LIBUNITY_LIBS)
AC_SUBST(LIBUNITY_PACKAGES)
--- libunity-6.12.0.orig/unity-protocol-private.pc.in
+++ libunity-6.12.0/unity-protocol-private.pc.in
@@ -8,5 +8,5 @@ Description: Library defining the dbus s
Version: @VERSION@
Libs: -L${libdir}/libunity -lunity-protocol-private
Cflags: -I${includedir}/unity/unity
-Requires: glib-2.0 gthread-2.0 gobject-2.0 gio-2.0 dee-1.0 gee-1.0
+Requires: glib-2.0 gthread-2.0 gobject-2.0 gio-2.0 dee-1.0 gee-0.8
--- libunity-6.12.0.orig/unity.pc.in
+++ libunity-6.12.0/unity.pc.in
@@ -9,5 +9,5 @@ Description: Library for developing appl
Version: @VERSION@
Libs: -L${libdir} -lunity
Cflags: -I${includedir}/unity/unity
-Requires: glib-2.0 gthread-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 dee-1.0 gee-1.0 dbusmenu-glib-0.4
+Requires: glib-2.0 gthread-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 dee-1.0 gee-0.8 dbusmenu-glib-0.4
--- End Message ---
--- Begin Message ---
The attached patch is included in the initial release of libunity in Debian.
--- End Message ---