Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621300 - net-print/cups-filters-1.13.5 fails to build with undefined reference to QPDF* stuff
Summary: net-print/cups-filters-1.13.5 fails to build with undefined reference to QPDF...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-09 15:09 UTC by Moritz Schlarb
Modified: 2017-06-10 06:12 UTC (History)
2 users (show)

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


Attachments
build log (build.log,117.80 KB, text/x-log)
2017-06-09 15:09 UTC, Moritz Schlarb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Schlarb 2017-06-09 15:09:31 UTC
Created attachment 475720 [details]
build log

Emerging net-print/cups-filters-1.13.5 failed with

libtool: link: x86_64-pc-linux-gnu-g++ -std=c++0x -march=native -O2 -pipe -Wall -pedantic -D_GNU_SOURCE -march=native -O2 -pipe -Wl,-O2 -o pdftopdf pdftopdf-p
dftopdf.o pdftopdf-pdftopdf_jcl.o pdftopdf-pdftopdf_processor.o pdftopdf-qpdf_pdftopdf_processor.o pdftopdf-pptypes.o pdftopdf-nup.o pdftopdf-intervalset.o pd
ftopdf-qpdf_tools.o pdftopdf-qpdf_xobject.o pdftopdf-qpdf_pdftopdf.o pdftopdf-qpdf_cm.o  -lqpdf -lcupsimage -lcups -lgnutls -lpthread -lm -lcrypt -lz -ltiff -
ljpeg -ldl
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -I./cupsfilters/ -march=native -O2 -pipe -Wall -pedantic -std=gnu99 -D_GNU_SOURCE  -march=n
ative -O2 -pipe -Wl,-O2 -o commandtoescpx commandtoescpx-commandtoescpx.o -lcupsimage -lcups -lgnutls -lz -lpthread -lm -lcrypt -lz -ltiff -ljpeg -ldl 
pdftopdf-qpdf_pdftopdf_processor.o: In function `QPDF_PDFTOPDF_Processor::emitFilename(char const*)':
qpdf_pdftopdf_processor.cc:(.text+0x28e): undefined reference to `QPDFWriter::setMinimumPDFVersion(std::__cxx11::basic_string<char, std::char_traits<char>, st
d::allocator<char> > const&)'
qpdf_pdftopdf_processor.cc:(.text+0x2b7): undefined reference to `QPDFWriter::setExtraHeaderText(std::__cxx11::basic_string<char, std::char_traits<char>, std:
:allocator<char> > const&)'
qpdf_pdftopdf_processor.cc:(.text+0x314): undefined reference to `QPDFWriter::setMinimumPDFVersion(std::__cxx11::basic_string<char, std::char_traits<char>, st
d::allocator<char> > const&)'

and many more lines with undefined references to QPDF stuff (see build.log).

thinkmo ~ # emerge -pqv '=net-print/cups-filters-1.13.5::gentoo'
[ebuild     U ] net-print/cups-filters-1.13.5 [1.5.0] USE="dbus foomatic jpeg pdf%* png postscript%* tiff -ldap -perl -static-libs -zeroconf" 

thinkmo ~ # emerge --info '=net-print/cups-filters-1.13.5::gentoo'
Portage 2.3.5 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.3
KiB Mem:     7968188 total,   1675284 free
KiB Swap:    4194300 total,   4194256 free
Timestamp of repository gentoo: Fri, 09 Jun 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.12.6::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

moopoo
    location: /opt/moopoo
    masters: gentoo
    priority: 0

local
    location: /usr/local/portage
    masters: gentoo
    priority: 1

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-march=native -O2 -pipe -Wl,-O2"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aes alsa amd64 appindicator berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cryptsetup cups curl cxx dbus dri dts dvb dvd dvdr eds egl emboss encode evo exif fam fdk ffmpeg firefox flac fontconfig fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gold gpg gpm gstreamer gtk gtk3 iconv idn introspection ipv6 jack javafx jpeg lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl offensive ogg opengl openmp opus pam pango pcre pcsc-lite pdf pkcs11 png policykit popcnt ppds pulseaudio python qt3support qt4 readline s3tc samba sdl seccomp session smartcard spell spice sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification svg systemd taglib tcpd theora thinkpad threads tiff trayicon truetype udev udisks unicode upower usb usbredir vaapi vim-syntax vorbis vpx vte wayland wxwidgets x264 xa xattr xcb xinerama xml xv xvid xwayland zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-EN en-US de de-DE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_EN en_US de de_DE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-06-10 04:30:07 UTC
This looks like GCC 5 upgrade fallout. Please check out this news item:
https://gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html

Specifically in this case, it looks like app-text/qpdf needs rebuilding.
Comment 2 Moritz Schlarb 2017-06-10 06:12:05 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> This looks like GCC 5 upgrade fallout. Please check out this news item:
> https://gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html
> 
> Specifically in this case, it looks like app-text/qpdf needs rebuilding.

Damn, sorry, yes, that was it...

I (and my bash_history) would swear that I did the revdep-rebuild run - but it also looks like I did that *before* using gcc-config to change the compiler...

It works now, sorry for the noise and thanks for the tip!