Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549400 - net-print/cups-filters fails to build: filter/pdf.cxx:296:34: error no matching function for call to 'Object::dictSet(const char*&, Object*)'
Summary: net-print/cups-filters fails to build: filter/pdf.cxx:296:34: error no matchi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-13 18:24 UTC by Alex Cannon
Modified: 2016-03-23 05:28 UTC (History)
1 user (show)

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


Attachments
emerge -ptvuDN world lacking poppler (emerge-t_seeing_if_cups_filters_updates_poppler_to_fix_dependency_bug.txt,89.87 KB, text/plain)
2015-05-13 18:26 UTC, Alex Cannon
Details
emerge -av poppler (emerge_poppler.txt,3.75 KB, text/plain)
2015-05-14 01:31 UTC, Alex Cannon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Cannon 2015-05-13 18:24:54 UTC
When doing emerge -avuDN world, after having already updated @system, cups-filters failed to build. Some investigating revealed that my version of app-text/poppler-0.18.3 is very old, but it isn't in the list of packages being updated. I noticed in the cups-filters ebuild that no version requirement for poppler is present.

I haven't tested updating poppler and trying it again, but isn't having poppler not updating in a world upgrade a bug?

Reproducible: Always




Portage 2.2.14 (python 2.7.9-final-0, default/linux/x86/13.0, gcc-4.8.3, glibc-2.19-r1, 2.6.32.65 i686)
=================================================================
System uname: Linux-2.6.32.65-i686-Pentium_III_-Coppermine-with-gentoo-2.2
KiB Mem:      512892 total,     15172 free
KiB Swap:    1060248 total,    866788 free
Timestamp of tree: Wed, 13 May 2015 03:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.1.4-r3, 3.2.3-r2, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.5.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -mmmx -msse -mfpmath=sse"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=pentium3 -fomit-frame-pointer -mmmx -msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://gentoo.llarian.net/ http://mirror.datapipe.net/gentoo http://chod.cwru.edu/gentoo ftp://chod.cwru.edu/gentoo ftp://linux.cs.lewisu.edu/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acc acl alsa apache2 berkdb bittorrent bzip2 caps cdda cddb cdparanoia cli consolekit cracklib crypt cups curl cxx dbus dga divx4linux dlz dri dvd dvdread encode esd esound exif extensions extras faad fasttrack fdformat ffmpeg finger fltk fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp gimpprint gnutella gnutls gopher gpm gtk gtkstyle gudev iconv idn imagemagick imap imlib innodb iproute2 ipv6 javascript joystick jpeg kde kdepim libkms libopts live mad maildir mikmod minizip mmx mmxext mng mod modules motif mp2 mp3 mpeg msn mysql nas ncurses nls nntp nptl ogg openft opengl openmp oscar otr pam pcre png pnm policykit ppds qt qt3 qt3support quicktime readline ruby sasl scanner sdl semantic-desktop server session slp sms snmp softmmu speex sse ssl sve svg tcpd theora tiff truetype unicode usb v4l vchkpw vorbis x264 x86 xa xft xml xmms xv xvid yahoo zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="cgi actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Alex Cannon 2015-05-13 18:26:38 UTC
Created attachment 403208 [details]
emerge -ptvuDN world lacking poppler

This is a paste of my emerge -ptvuDN world install list which does not include poppler.
Comment 2 Rafał Mużyło 2015-05-13 20:19:16 UTC
This looks interesting.
First of all, does the output of 'emerge -avuDN @world' differ ? (not sure if it even can, but check anyway).
Do you perhaps have a package.mask entry for more recent app-text/poppler versions ?
What's the output of 'qdepends -Q poppler' ?
Comment 3 Alex Cannon 2015-05-14 01:24:35 UTC
emerge -avuDN @world does not list poppler.

# qdepends poppler
app-text/poppler-0.18.3: >=media-libs/fontconfig-2.6.0 >=media-libs/freetype-2.3.9 sys-libs/zlib net-misc/curl virtual/jpeg =media-libs/lcms-1* >=media-libs/libpng-1.4:0 media-libs/tiff:0 dev-util/pkgconfig >=dev-util/cmake-2.8.4 >=sys-apps/findutils-4.4.0

I'll attach the output of emerge -av poppler.
Comment 4 Alex Cannon 2015-05-14 01:31:37 UTC
Created attachment 403228 [details]
emerge -av poppler

It looks like my old version is somehow being required. If cups-filters required a newer version as a dependency, then I think this should result in a blocked package situation.
Comment 5 Rafał Mużyło 2015-05-14 09:38:13 UTC
I've said 'qdepends -Q'.

Anyway, this is (to a point) INVALID - app-text/xpdf is no longer in the tree.
Comment 6 Rafał Mużyło 2015-05-14 09:41:53 UTC
...that is to say: perhaps cups-filters could have bumped its poppler dep a bit, but this problem isn't reproducible with the current tree.
Comment 7 Alex Cannon 2015-05-14 15:37:06 UTC
Couldn't someone else potentially run in to this issue not knowing that xpdf is still installed?
Comment 8 Alex Cannon 2015-05-14 15:39:23 UTC
Also, aren't package technically supposed to install without error, updating dependencies as necessary, without the use of the -u or -D flags?
Comment 9 Alex Cannon 2015-05-16 03:53:53 UTC
# qdepends -Q poppler
app-text/texlive-core-2011-r5
dev-tex/luatex-0.70.1-r2

Now that xpdf is gone, poppler is in the @world install list but it's in the wrong order after cups-filters, so the build still fails.
Comment 10 SpanKY gentoo-dev 2016-03-23 05:28:25 UTC
we force a newer version of poppler now:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975c7dc9a226bd4b8f9e9321212c590acfa13c1f