Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636708 - app-text/poppler-0.61.0 installs bogus *.pc files
Summary: app-text/poppler-0.61.0 installs bogus *.pc files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-06 16:52 UTC by octoploid
Modified: 2017-11-07 16:21 UTC (History)
5 users (show)

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


Attachments
cups-filters-1.17.9-build.log (cups-filters-1.17.9-build.log,38.71 KB, text/plain)
2017-11-07 14:08 UTC, iGentoo
Details
workaround patch... (poppler-0.61.0-pkgconfig.patch,2.88 KB, patch)
2017-11-07 14:10 UTC, iGentoo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description octoploid 2017-11-06 16:52:24 UTC
For example /usr/lib64/pkgconfig/poppler.pc (diff good vs. bad):

@@ -1,11 +1,10 @@
 prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib64
-includedir=${prefix}/include
+libdir=lib64
+includedir=include
 
 Name: poppler
 Description: PDF rendering library
-Version: 0.60.1
+Version: 0.61.0
 
 Libs: -L${libdir} -lpoppler
 Cflags: -I${includedir}/poppler

This leads to compile failures for packages that depend on poppler.
Comment 1 iGentoo 2017-11-07 14:08:46 UTC
Created attachment 502928 [details]
cups-filters-1.17.9-build.log

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/libpng16 -Iinclude/poppler -I./filter/pdftoopvp/oprs -I./filter/pdftoopvp/opvp -Wall -march=native -O2 -pipe -frecord-gcc-switches -std=c++11 -Wall  -D_GNU_SOURCE -c -o pdftoopvp-OPVPSplashClip.o `test -f 'filter/pdftoopvp/oprs/OPVPSplashClip.cxx' || echo './'`filter/pdftoopvp/oprs/OPVPSplashClip.cxx
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/libpng16 -Iinclude/poppler -I./filter/pdftoopvp/oprs -I./filter/pdftoopvp/opvp -Wall -march=native -O2 -pipe -frecord-gcc-switches -std=c++11 -Wall  -D_GNU_SOURCE -c -o pdftoopvp-OPVPSplash.o `test -f 'filter/pdftoopvp/oprs/OPVPSplash.cxx' || echo './'`filter/pdftoopvp/oprs/OPVPSplash.cxx
filter/pdftoopvp/oprs/OPRS.cxx:9:10: fatal error: cpp/poppler-version.h: No such file or directory
 #include "cpp/poppler-version.h"
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:3927: pdftoopvp-OPRS.o] Error 1
make[1]: *** Waiting for unfinished jobs....
filter/pdftoopvp/oprs/OPVPSplashClip.cxx:2:10: fatal error: splash/SplashXPathScanner.h: No such file or directory
 #include "splash/SplashXPathScanner.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
filter/pdftoopvp/oprs/OPVPSplash.cxx:9:10: fatal error: cpp/poppler-version.h: No such file or directory
 #include "cpp/poppler-version.h"
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:3941: pdftoopvp-OPVPSplashClip.o] Error 1
make[1]: *** [Makefile:3955: pdftoopvp-OPVPSplash.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-print/cups-filters-1.17.9/work/cups-filters-1.17.9'



Portage 2.3.13 (python 3.6.3-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.26-r2, 4.13.11-gentoo.x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.11-gentoo.x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.4.1
KiB Mem:     6117952 total,   1266136 free
KiB Swap:    6291452 total,   6291452 free
Head commit of repository gentoo: 17cc4e7ddc1bb5a2ae4e168e4d01cc6c4b2b3abf

sh dash 0.5.9.1-r3
ld GNU gold (Gentoo 2.29.1 p3 2.29.1) 1.14
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.6.3::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.0_rc4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    sync-user: portage
    priority: -1000
    eclass-overrides: local-repo

local-repo
    location: /usr/local/portage
    masters: gentoo

Installed sets: @local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color=n --keep-going --oneshot"
FCFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="V=1 -j5"
PKGDIR="/var/portage/packages"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9T0"
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 acl amd64 audit berkdb bzip2 cli cracklib crypt cxx dbus dri egl fortran gdbm gles2 iconv icu ipv6 jpeg modules multilib ncurses nls nptl opengl openmp pam pax_kernel pcre pic png policykit pulseaudio readline seccomp session ssl systemd tcpd unicode vdpau vim-syntax wayland xattr zlib" ABI_X86="64 32 x32" 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="mmx mmxext sse sse2 sse3 sse4_1 ssse3" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-text/poppler-0.61.0::gentoo was built with the following:
USE="cairo cxx introspection jpeg jpeg2k lcms png utils -cjk -curl -debug -doc -nss -qt4 -qt5 -tiff" ABI_X86="64"


net-print/cups-filters-1.17.9::gentoo was built with the following:
USE="dbus foomatic jpeg png postscript -ipp_autosetup -ldap -pclm -pdf -perl -static-libs -test -tiff -zeroconf" ABI_X86="64"
CXXFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches -std=c++11"
Comment 2 iGentoo 2017-11-07 14:10:12 UTC
Created attachment 502930 [details, diff]
workaround patch...
Comment 3 Larry the Git Cow gentoo-dev 2017-11-07 15:07:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e54cf75538fa0428cfe4989105bdb60116d8945c

commit e54cf75538fa0428cfe4989105bdb60116d8945c
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2017-11-07 15:05:38 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2017-11-07 15:07:06 +0000

    app-text/poppler: Revbump to fix broken pkgconfig files.
    
    Bug: https://bugs.gentoo.org/636708
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 .../files/poppler-0.61.0-qt5_pc_in_typo.patch      | 24 ++++++++++++++++++++++
 ...pler-0.61.0.ebuild => poppler-0.61.0-r1.ebuild} |  5 +++++
 2 files changed, 29 insertions(+)}
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-11-07 15:08:09 UTC
Please test and report your results.
Comment 5 octoploid 2017-11-07 16:21:07 UTC
Works fine now. Thanks.