Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428386 - net-print/cups-filters fails to build against poppler-0.20[-cxx], version detection uses cpp header
Summary: net-print/cups-filters fails to build against poppler-0.20[-cxx], version det...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-28 02:11 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2016-03-23 05:29 UTC (History)
4 users (show)

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


Attachments
Build log (net-print:cups-filters-1.0.19:20120728-015031.log,28.17 KB, text/plain)
2012-07-28 02:11 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-28 02:11:39 UTC
Created attachment 319482 [details]
Build log

Portage 2.2.0_alpha120 (default/linux/amd64/10.0, gcc-4.6.3-asneeded, glibc-2.15-r2, 3.5.0 x86_64)
=================================================================
System uname: Linux-3.5.0-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Sat, 28 Jul 2012 01:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo flameeyes-overlay tante svmd
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.3 google-talkplugin skype-4.0.0.7-copyright Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/Visual-Paradigm/Visual_Paradigm_for_UML/resources/product_edition.properties /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,-z,now"
LINGUAS="it en"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/var/cache/portage/tree"
PORTDIR_OVERLAY="/home/flame/devel/repos/flameeyes-overlay /var/lib/layman/tante /home/flame/devel/work/svmd-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 berkdb bzip2 caps cli consolekit crypt cups dri fortran gdbm gmp gnome-keyring gnome-online-accounts iconv idn introspection ipv6 libnotify mmx modules mudflap multicall multilib ncurses networkmanager nls nptl openexr openmp pam pcre policykit pppd pulseaudio qt3support readline session sse sse2 sse3 sse4 sse4_1 ssl ssse3 unicode xattr xcb xinerama zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="nmea" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby19" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nouveau" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-07-28 08:57:13 UTC
Which poppler version do you have?
Comment 2 Philipp 2012-07-28 12:02:03 UTC
Same here. I have poppler-0.20.2
Comment 3 Albert W. Hopkins 2012-07-29 10:29:49 UTC
It builds fine when built against poppler-0.18.4-r1.
Comment 4 Aelia 2012-07-29 14:37:34 UTC
I got the same problem here but I found out that putting the USE cxx to poppler fixed the issue for me. Was about to report a bug but found this one open.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2012-07-29 16:58:34 UTC
Found the problem. The configure check that tests for poppler-0.20 relies on the cpp headers. As a workaround, I'll depend on poppler[cpp] for now, until we have a real fix.
Comment 6 Albert W. Hopkins 2012-07-30 17:12:51 UTC
There's another problem.  It seems if you don't compile poppler with USE=xpdf-headers then net-print also fails with.


    filter/pdftoopvp/oprs/OPVPSplash.cxx:20:22: fatal error: goo/gmem.h: No such file or directory


Let me know if you want me to open a seperate report for this.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2012-08-06 23:05:39 UTC
(In reply to comment #6)
> There's another problem.  It seems if you don't compile poppler with
> USE=xpdf-headers then net-print also fails with.
> 
> 
>     filter/pdftoopvp/oprs/OPVPSplash.cxx:20:22: fatal error: goo/gmem.h: No
> such file or directory

Already known and forced on in dependencies.
Comment 8 SpanKY gentoo-dev 2016-03-23 05:29:39 UTC
seems like the issue is resolved now that cups-filters forces poppler to be built with USE=cxx (among others)