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
Created attachment 276427 [details] emerge --info gutenprint
No, that kind of error usually comes from wrong order of dependent libs in Makefile.am.
Please attach the entire build log.
Created attachment 276559 [details] build.log
Comment on attachment 276559 [details] build.log Please set LANG=C - not everyone reads German.
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.
The same here for 5.2.7
Same here on 5.2.7. Please reopen.
There is an easy work around: emerge --unmerge gutenprint emerge gutenprint