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

Bug 901245

Summary: net-print/cups-filters-1.28.17-r1: ld pdf.cxx undefined reference to QPDF*
Product: Gentoo Linux Reporter: psh0r <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor CC: gentoo
Priority: Low    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=901243
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info
emerge -pqv
build log
emerge --info

Description psh0r 2023-03-14 20:56:30 UTC
Created attachment 857745 [details]
build log

Using gcc environment on default/linux/amd64/17.1/clang profile:

 * ERROR: net-print/cups-filters-1.28.17-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.28.17-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.28.17-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/work/cups-filters-1.28.17'
 * S: '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/work/cups-filters-1.28.17'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (net-print/cups-filters-1.28.17-r1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/temp/build.log'
 *
Comment 1 psh0r 2023-03-14 20:56:55 UTC
Created attachment 857747 [details]
emerge --info
Comment 2 psh0r 2023-03-14 20:57:30 UTC
Created attachment 857749 [details]
emerge -pqv
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-14 23:17:55 UTC
This has -std=c++11 in it. Did you set that?
Comment 4 psh0r 2023-03-14 23:57:56 UTC
Created attachment 857753 [details]
build log

Build log of 1.28.17-r1 (was 1.28.17 for some reason)
Comment 5 psh0r 2023-03-14 23:59:03 UTC
Created attachment 857755 [details]
emerge --info

updated emerge --info after emerge --sync
Comment 6 psh0r 2023-03-15 00:12:37 UTC
If I emerge app-text/qpdf and app-text/poppler using gcc, I can also emerge net-print/cups-filters using gcc.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-15 05:35:04 UTC
(In reply to psh0r from comment #6)
> If I emerge app-text/qpdf and app-text/poppler using gcc, I can also emerge
> net-print/cups-filters using gcc.

libstdc++ and libc++ are ABI compatible, so you can't build part of your system with one, and part of your system with another, unfortunately.

Clang can be told to use libstdc++, but gcc can't be told to use libc++ either.