Thank you for the report, Ilya. The Debian package is fixed now. Ilya Barygin a écrit : > Package: units-filter > Version: 3.3-1 > Severity: normal > Tags: upstream patch > User: debian-...@lists.debian.org > Usertags: ld-as-needed > > The package fails to build when --as-needed linker option is enabled, > because of incorrect order of parameters passed to ld. Here's a log of > failed build in Ubuntu: > https://launchpadlibrarian.net/74110378/buildlog_ubuntu-oneiric-i386.units-filter_3.3-1_FAILEDTOBUILD.txt.gz > > See also > http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries > > The following patch was used in Ubuntu to fix the problem. > https://launchpad.net/ubuntu/+source/units-filter/3.3-1ubuntu1 > > --- units-filter-3.3.orig/src/Makefile > +++ units-filter-3.3/src/Makefile > @@ -14,7 +14,7 @@ > sh units-test > > units-filter : unitesparser.o > - ${CXX} $(CXXFLAGS) $(LIBS) -o units-filter unitesparser.o > + ${CXX} $(CXXFLAGS) -o units-filter unitesparser.o $(LIBS) > > unitesparser.o : uniteslex.cc unitesparser.cc > ${CXX} $(CXXFLAGS) -c $(RECODE_SUPPORT) unitesparser.cc > > -- System Information: > Debian Release: wheezy/sid > APT prefers oneiric > APT policy: (500, 'oneiric') > Architecture: i386 (i686) > > Kernel: Linux 2.6.38-10-generic (SMP w/2 CPU cores) > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > Shell: /bin/sh linked to /bin/dash > > >
-- Georges KHAZNADAR et Jocelyne FOURNIER 22 rue des mouettes, 59240 Dunkerque France. Téléphone +33 (0)3 28 29 17 70
signature.asc
Description: Digital signature