When setting USE="-pdf", kde-apps/kitinerary-19.12.0 fails to build with this error: src/config-kitinerary.h:29:28: error: operator '<<' has no left operand 29 | #define KPOPPLER_VERSION ((<<16)|(<<8)|()) That macro is defined by CMake variable expansion in src/config-kitinerary.h.cmake: #define KPOPPLER_VERSION_STRING "@Poppler_VERSION@" #define KPOPPLER_VERSION_MAJOR @POPPLER_VERSION_MAJOR@ #define KPOPPLER_VERSION_MINOR @POPPLER_VERSION_MINOR@ #define KPOPPLER_VERSION_PATCH @POPPLER_VERSION_PATCH@ #define KPOPPLER_VERSION ((@POPPLER_VERSION_MAJOR@<<16)|(@POPPLER_VERSION_MINOR@<<8)|(@POPPLER_VERSION_PATCH@)) However, with USE="-pdf", none of these are populated, leading to the syntax error. It seems the Poppler support is no longer optional. This is new for version 19.12.0. 19.08.3 worked with USE="-pdf". Reproducible: Always # emerge --info kitinerary Portage 2.3.82 (python 3.6.10-final-0, default/linux/amd64/17.1/hardened, gcc-9.2.0, glibc-2.30-r3, 5.4.3-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.4.3-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.6 KiB Mem: 16334168 total, 4881112 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Thu, 19 Dec 2019 22:15:01 +0000 Head commit of repository gentoo: 466ce315c6cc118fd3d2c542ea4607be5dbac42a Head commit of repository creideiki: c5fa426fec43da5cd5166376d6aecf5f9f85b667 sh bash 5.0_p11 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 5.0_p11::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.6.10::gentoo, 3.7.6::gentoo, 3.8.0::gentoo dev-util/cmake: 3.16.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r2::gentoo sys-devel/binutils: 2.32-r1::gentoo, 2.33.1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: --timeout=10 sync-rsync-verify-max-age: 24 creideiki location: /usr/local/portage sync-type: git sync-uri: https://github.com/creideiki/portage masters: gentoo rion location: /var/lib/layman/rion masters: gentoo priority: 50 seden location: /var/lib/layman/seden masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 torbrowser location: /var/lib/layman/torbrowser masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /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" EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --quiet-build=n --verbose-conflicts" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--enable-new-dtags" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=10" 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 acl alsa amd64 bzip2 cairo consolekit crypt cups cxx dbus dri dri3 egl flac fontconfig gif glamor hardened iconv ipv6 jpeg kde libtirpc lm-sensors mp3 multilib ncurses nls nptl ogg opengl openmp pam pcre pie png policykit qt3support qt5 readline seccomp split-usr ssl ssp tiff truetype udisks unicode upower vaapi vorbis xattr xcb xkb xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis 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 wacom libinput" KERNEL="linux" L10N="en en-US en-GB sv sv-SE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ================================================================= Package Settings ================================================================= kde-apps/kitinerary-19.12.0::gentoo was built with the following: USE="barcode -debug pdf -test" ABI_X86="(64)" FEATURES="sandbox distlocks protect-owned usersync buildpkg userfetch network-sandbox ipc-sandbox sfperms config-protect-if-modified binpkg-docompress assume-digests ebuild-locks parallel-install preserve-libs usersandbox binpkg-logs parallel-fetch unmerge-orphans merge-sync strict fixlafiles binpkg-dostrip unmerge-logs userpriv multilib-strict news unknown-features-warn pid-sandbox xattr"
Created attachment 600178 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11abe51681175aeb324bb1b4b46d00b84f5025df commit 11abe51681175aeb324bb1b4b46d00b84f5025df Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-21 09:27:40 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-12-21 09:28:24 +0000 kde-apps/kitinerary: Temporarily drop USE pdf Currently -pdf is broken and stable branch still not fixed. Closes: https://bugs.gentoo.org/703398 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-apps/kitinerary/kitinerary-19.12.0.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
*** Bug 709254 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233b926090071dd5153b5ae90ac8958f7234ad5d commit 233b926090071dd5153b5ae90ac8958f7234ad5d Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-21 09:27:40 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-02-11 10:50:11 +0000 kde-apps/kitinerary: Temporarily drop USE pdf Currently -pdf is broken and stable branch still not fixed. Closes: https://bugs.gentoo.org/703398 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-apps/kitinerary/kitinerary-19.12.2.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=04accc6917fd3346271b15e3690b7b4efc90f5c2 commit 04accc6917fd3346271b15e3690b7b4efc90f5c2 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-21 09:27:40 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-02-12 23:10:48 +0000 kde-apps/kitinerary: Drop USE pdf in stable branch Bug: https://bugs.gentoo.org/703398 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-apps/kitinerary/kitinerary-19.12.49.9999.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)