Bug#615717: gamine: ftbfs with gold or ld --no-add-needed

Matthias Klose doko at debian.org
Mon Feb 28 00:52:33 UTC 2011


Package: gamine
Version: 1.1-1
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed.  For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking

Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian.  Please have a look at
http://packages.qa.debian.org/gamine to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
dpkg-source: info: building gamine in gamine_1.1-1.diff.gz
dpkg-source: warning: ignoring deletion of file debian/prerm
dpkg-source: info: building gamine in gamine_1.1-1.dsc
 debian/rules build
dh build --with quilt
   dh_testdir
   dh_quilt_patch
Applying patch makefile-DESTDIR.diff
patching file Makefile

Now at patch makefile-DESTDIR.diff
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/build/user-gamine_1.1-1-amd64-ukBqKw/gamine-1.1'
/usr/bin/make PREFIX=/usr BINDIR=/usr/games DESTDIR=/build/user-gamine_1.1-1-amd64-ukBqKw/gamine-1.1/debian/tmp PKGDATADIR=/usr/share/games/gamine
make[2]: Entering directory `/build/user-gamine_1.1-1-amd64-ukBqKw/gamine-1.1'
gcc -o gamine.o -c gamine.c -Wall -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include    -DDATADIR=\""/usr/share/games/gamine"\"  -DLOCALDIR=\""/usr/share/locale"\"
gamine.c: In function 'get_cairo_context':
gamine.c:132:18: warning: assignment makes pointer from integer without a cast
gcc -o gamine gamine.o -g  -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lpango-1.0 -lfreetype -lfontconfig -lcairo -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lgconf-2 -lglib-2.0    -DDATADIR=\""/usr/share/games/gamine"\"  -DLOCALDIR=\""/usr/share/locale"\"
/usr/bin/ld: gamine.o: undefined reference to symbol 'XGrabKeyboard'
/usr/bin/ld: note: 'XGrabKeyboard' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gamine] Error 1
make[2]: Leaving directory `/build/user-gamine_1.1-1-amd64-ukBqKw/gamine-1.1'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/user-gamine_1.1-1-amd64-ukBqKw/gamine-1.1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Pkg-games-devel mailing list