Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901245 - net-print/cups-filters-1.28.17-r1: ld pdf.cxx undefined reference to QPDF*
Summary: net-print/cups-filters-1.28.17-r1: ld pdf.cxx undefined reference to QPDF*
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Low minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-14 20:56 UTC by psh0r
Modified: 2023-03-15 05:35 UTC (History)
1 user (show)

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


Attachments
build log (build.log,312.81 KB, text/x-log)
2023-03-14 20:56 UTC, psh0r
Details
emerge --info (emerge--info.txt,17.30 KB, text/plain)
2023-03-14 20:56 UTC, psh0r
Details
emerge -pqv (emerge-pqv.txt,146 bytes, text/plain)
2023-03-14 20:57 UTC, psh0r
Details
build log (build.log,327.73 KB, text/x-log)
2023-03-14 23:57 UTC, psh0r
Details
emerge --info (emerge--info.txt,18.20 KB, text/plain)
2023-03-14 23:59 UTC, psh0r
Details

Note You need to log in before you can comment on or make changes to this bug.
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.