Your message dated Wed, 4 May 2011 12:52:12 +0200
with message-id <20110504105211.gj19...@dorei.kerker.die-welt.net>
and subject line 0.5.0-1 builds fine with gold --no-add-needed
has caused the Debian Bug report #615744,
regarding libindicate: ftbfs with gold or ld --no-add-needed
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 ow...@bugs.debian.org
immediately.)


-- 
615744: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615744
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libindicate
Version: 0.4.1-2
Severity: important
Tags: sid
User: peter.fritzs...@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/libindicate to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
Making all in reference
make[4]: Entering directory 
`/build/user-libindicate_0.4.1-2-amd64-EyGhIr/libindicate-0.4.1/docs/reference'
gtk-doc: Scanning header files
cd . && \
          gtkdoc-scan --module=libindicate --source-dir=../../libindicate 
--ignore-headers="dbus-indicate-client.h dbus-indicate-server.h 
dbus-listener-client.h dbus-listener-server.h listener-marshal.h"  
if grep -l '^..*$' ./libindicate.types > /dev/null 2>&1 ; then \
            CC="/bin/bash ../../libtool --mode=compile gcc -I../.. -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libdbusmenu-0.1 -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include      -g -O2 -g -O2" LD="/bin/bash ../../libtool 
--mode=link gcc  -g -O2 -g -O2  -Wl,-z,defs -Wl,--as-needed" RUN="/bin/bash 
../../libtool --mode=execute" CFLAGS=" -g -O2 -g -O2" 
LDFLAGS="../../libindicate/libindicate.la -Wl,-z,defs -Wl,--as-needed" 
gtkdoc-scangobj --nogtkinit --type-init-func="g_type_init()" 
--module=libindicate --output-dir=. ; \
        else \
            cd . ; \
            for i in libindicate.args libindicate.hierarchy 
libindicate.interfaces libindicate.prerequisites libindicate.signals ; do \
               test -f $i || touch $i ; \
            done \
        fi
gtk-doc: Compiling scanner
libtool: compile:  gcc -I../.. -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libdbusmenu-0.1 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -g -O2 -g -O2 -g -O2 
-c libindicate-scan.c  -fPIC -DPIC -o .libs/libindicate-scan.o
libtool: compile:  gcc -I../.. -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libdbusmenu-0.1 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -g -O2 -g -O2 -g -O2 
-c libindicate-scan.c -o libindicate-scan.o >/dev/null 2>&1
gtk-doc: Linking scanner
libtool: link: gcc -g -O2 -g -O2 -Wl,-z -Wl,defs -Wl,--as-needed 
.libs/libindicate-scan.o -Wl,-z -Wl,defs -Wl,--as-needed -o 
.libs/libindicate-scan  ../../libindicate/.libs/libindicate.so -pthread 
/usr/bin/ld: .libs/libindicate-scan.o: undefined reference to symbol 
'g_enum_get_value'
/usr/bin/ld: note: 'g_enum_get_value' is defined in DSO 
/usr/lib64/libgobject-2.0.so.0 so try adding it to the linker command line
/usr/lib64/libgobject-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Linking of scanner failed: 
make[4]: *** [scan-build.stamp] Error 1
make[4]: Leaving directory 
`/build/user-libindicate_0.4.1-2-amd64-EyGhIr/libindicate-0.4.1/docs/reference'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



--- End Message ---
--- Begin Message ---
Version: 0.5.0-1

Your log indicates (haha) that it FTBFSd with --as-needed (and obviously 
binutils-gold).

I tried building libindicate 0.5.0-1 on amd64 with
 - binutils and --as-needed
 - binutils-gold and --as-needed
 - binutils-gold and --no-add-needed
all builds suceeded, I'm closing this bug now.
(Versioned to 0.5.0-1 as I have no time/interest/desire to try older 
libindicate versions in the same scenario.)

Regards
Evgeni

-- 
Bruce Schneier can read and understand Perl programs.


--- End Message ---

Reply via email to