Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370941 - net-print/gutenprint-5.2.6 fails to compile
Summary: net-print/gutenprint-5.2.6 fails to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 22:04 UTC by Thomas
Modified: 2011-09-06 18:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info gutenprint (emerge-info,5.13 KB, text/plain)
2011-06-09 22:08 UTC, Thomas
Details
build.log (build.log,124.86 KB, text/plain)
2011-06-10 18:08 UTC, Thomas
Details
build.log (build.log,129.04 KB, text/plain)
2011-09-05 11:02 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2011-06-09 22:04:30 UTC
When trying to emerge net-print/gutenprint-5.2.6, the build failed with the error message

LC_ALL= LANG= LANGUAGE= STP_MODULE_PATH=../../src/main/.libs:../../src/main STP_DATA_PATH=../../src/xml STP_LOCALEDIR=../../src/cups/catalog ./cups-genppd.5.2  -l C -p ppd/C
/tmp/portage/net-print/gutenprint-5.2.6/work/gutenprint-5.2.6/src/cups/.libs/cups-genppd.5.2: symbol lookup error: ../../src/main/.libs/print-escp2.so: undefined symbol: stpi_data_path

This happens due to LD_LIBRARY_PATH being
/usr/lib:/tmp/portage/net-print/gutenprint-5.2.6/work/gutenprint-5.2.6/src/main/.libs
Thus the old libgutenprint.so.2 is taken from /usr/lib

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =net-print/gutenprint-5.2.6

Actual Results:  
Build fails


Workaround: remove old libgutenprint* from /usr/lib
Comment 1 Thomas 2011-06-09 22:08:10 UTC
Created attachment 276427 [details]
emerge --info gutenprint
Comment 2 Rafał Mużyło 2011-06-10 00:21:48 UTC
No, that kind of error usually comes from wrong order of dependent libs in Makefile.am.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-10 14:51:06 UTC
Please attach the entire build log.
Comment 4 Thomas 2011-06-10 18:08:06 UTC
Created attachment 276559 [details]
build.log
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-11 14:57:34 UTC
Comment on attachment 276559 [details]
build.log

Please set LANG=C - not everyone reads German.
Comment 6 Dennis Schridde 2011-09-05 11:02:43 UTC
Created attachment 285605 [details]
build.log

I think I am experiencing the same or at least a very similar issue:
make[5]: Leaving directory `/var/tmp/portage/net-print/gutenprint-5.2.7/work/gutenprint-5.2.7/src/cups'
LC_ALL= LANG= LANGUAGE= STP_MODULE_PATH=../../src/main/.libs:../../src/main STP_DATA_PATH=../../src/xml ./cups-genppd.5.2  -l C -p ppd/C
./var/tmp/portage/net-print/gutenprint-5.2.7/work/gutenprint-5.2.7/src/cups/.libs/cups-genppd.5.2: symbol lookup error: /var/tmp/portage/net-print/gutenprint-5.2.7/work/gutenprint-5.2.7/src/cups/.libs/cups-genppd.5.2: undefined symbol: stp
_parameter_has_category_value

Please reopen.
Comment 7 marek wojciechowski 2011-09-05 16:27:57 UTC
The same here for 5.2.7
Comment 8 Gary E. Miller 2011-09-06 17:14:47 UTC
Same here on 5.2.7.  Please reopen.
Comment 9 Gary E. Miller 2011-09-06 18:44:21 UTC
There is an easy work around:
    emerge --unmerge gutenprint
    emerge gutenprint