Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399313

Summary: net-print/foomatic-db-engine-3.0.20060720 fails to build (underlinking / as-needed?)
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 397189    
Bug Blocks:    
Attachments: build log

Description Andreas K. Hüttel archtester gentoo-dev 2012-01-18 20:15:09 UTC
Created attachment 299263 [details]
build log

foomatic-combo-xml.c: In Funktion »loadfile«:
foomatic-combo-xml.c:106:44: Warnung: attempt to free a non-heap object [standardmäßig aktiviert]
/var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/temp/ccJMLDrH.o: In function `parseXMLFromStdin':
/var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2260: undefined reference to `xmlCreatePushParserCtxt'
/var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2263: undefined reference to `xmlParseChunk'
/var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2265: undefined reference to `xmlParseChunk'
/var/tmp/portage/net-print/foomatic-db-engine-3.0.20060720/work/foomatic-db-engine-3.0-20060720/foomatic-perl-data.c:2267: undefined reference to `xmlFreeParserCtxt'
...
...
...
Comment 1 Rafał Mużyło 2012-01-18 20:27:02 UTC
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -I/usr/include/libxml2 -lxml2 -lz -lm -o foomatic-perl-data foomatic-perl-data.c

First of all, is that with forced --as-needed or is that a quirk of the build system ? Or is that perhaps gold ?

Other than that, the order does seem consistent with common --as-needed failures.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-01-18 21:24:20 UTC
sorry, it's with gcc-4.6.2 using forced --as-needed and forced --no-add-needed

did not expect anyone else to look at this bug so soon :)
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-03-09 01:23:41 UTC
Removed from the tree