Package: nordugrid-arc-nox
Version: 1.1.0~rc6-2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: peter.fritzs...@gmx.de
Usertags: no-add-needed

when building with ld --as-needed, the build fails in
src/services/a-rex/grid-manager/loaders linking uploader:

/bin/bash ../../../../../libtool --tag=CXX --mode=link x86_64-linux-gnu-g++ -pthread -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/libxml2 -I../../../../../include -g -O2 -Wl,-z,defs -o uploader uploader-uploader.o uploader-janitor.o ../jobs/libjobs.la ../files/libfiles.la ../../../../../src/hed/libs/data/libarcdata2.la ../run/librun.la ../conf/libconf.la ../misc/libmisc.la -lnsl -lz -luuid

../files/.libs/libfiles.a(libfiles_la-info_types.o): In function `Arc::Software::operator std::basic_string<char, std::char_traits<char>, std::allocator<char> >() const': /scratch/packages/tmp/nordugrid-arc-nox-1.1.0~rc6/src/services/a-rex/grid-manager/files/../../../../../include/arc/client/../../../src/hed/libs/client/Software.h:255: undefined reference to `Arc::Software::operator()() const'
collect2: ld returned 1 exit status

can be fixed by adding
  ../../../../../src/hed/libs/client/libarcclient.la
to the link (as done with the downloader exe in the same Makefile).

However this doesn't seem to be the correct fix, it should be added as a dependency for libfiles in src/services/a-rex/grid-manager/files/Makefile.am

However libfiles_la_LIBADD is commented out there ...

other changes are more straightforward, patch at:
http://launchpadlibrarian.net/60660666/nordugrid-arc-nox_1.1.0%7Erc6-2build1_1.1.0%7Erc6-2ubuntu1.diff.gz



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to