Compilation fails with the following message: x86_64-pc-linux-gnu-g++ -O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=core2 -fPIC -I/usr/include/poppler/qt4 -I/usr/include/poppler -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -c /var/tmp/portage/dev-python/python-poppler-qt4-0.18.1/work/python-poppler-qt4-0.18.1-python2_7/temp.linux-x86_64-2.7/sippopplerqt4QList0600QLinkedList0100QPointF.cpp -o /var/tmp/portage/dev-python/python-poppler-qt4-0.18.1/work/python-poppler-qt4-0.18.1-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/python-poppler-qt4-0.18.1/work/python-poppler-qt4-0.18.1-python2_7/temp.linux-x86_64-2.7/sippopplerqt4QList0600QLinkedList0100QPointF.o In file included from /var/tmp/portage/dev-python/python-poppler-qt4-0.18.1/work/python-poppler-qt4-0.18.1-python2_7/temp.linux-x86_64-2.7/sippopplerqt4QList0600QLinkedList0100QPointF.cpp:7:0: types.sip: In function 'int convertTo_QList_0600QLinkedList_0100QPointF(PyObject*, void**, int*, PyObject*)': /var/tmp/portage/dev-python/python-poppler-qt4-0.18.1/work/python-poppler-qt4-0.18.1-python2_7/temp.linux-x86_64-2.7/sipAPIpopplerqt4.h:1657:67: error: 'sipWrapperType {aka struct _sipWrapperType}' has no member named 'type' #define sipReleaseInstance(p, wt, s) sipReleaseType((p), (wt)->type, (s)) ^ types.sip:231:7: note: in expansion of macro 'sipReleaseInstance' sipReleaseInstance(t, sipClass_TYPE, state); ^ /var/tmp/portage/dev-python/python-poppler-qt4-0.18.1/work/python-poppler-qt4-0.18.1-python2_7/temp.linux-x86_64-2.7/sipAPIpopplerqt4.h:1657:67: error: 'sipWrapperType {aka struct _sipWrapperType}' has no member named 'type' #define sipReleaseInstance(p, wt, s) sipReleaseType((p), (wt)->type, (s)) ^ types.sip:236:5: note: in expansion of macro 'sipReleaseInstance' sipReleaseInstance(t, sipClass_TYPE, state); ^ error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1 This bug is reproducible by 'emerge -1v python-poppler-qt4'.
Created attachment 458472 [details] build.log
# emerge --info '=dev-python/python-poppler-qt4-0.18.1' Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r3, 4.8.6-rt-gnu-rt5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.8.6-rt-gnu-rt5-x86_64-Intel-R-_Core-TM-_i3-2350M_CPU_@_2.30GHz-with-gentoo-2.3 KiB Mem: 8064224 total, 3612296 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 03 Jan 2017 06:43:53 +0000 sh dash 0.5.9.1-r1 ld GNU ld (Gentoo 2.27 p1.0) 2.27 app-shells/bash: 4.4_p5-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1_rc4::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.1::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.23::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.27::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.4.0-r2::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git@github.com:lilrc/gentoo.git priority: -1000 lilrc location: /home/kalle/lilrc-overlay masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE @MISC-FREE freedist" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=core2" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --binpkg-changed-deps=y --binpkg-respect-use=y --buildpkg-exclude app-admin/lilrc-update --buildpkg-exclude app-emulation/virtualbox-modules --buildpkg-exclude sys-fs/vhba --buildpkg-exclude sys-kernel/* --buildpkg-exclude virtual/*" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo" INSTALL_MASK="/etc/systemd /usr/lib/systemd" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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 alloca alsa amd64 aspell bluetooth cairo cd cdda cddb cdr cracklib crypt cups curl deblob djvu dri drm dssi dvd dvdr dvi exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb imap inotify jack javascript jit jpeg keymap ladspa lame lapack latex libkms libnotify libsamplerate lv2 mad matplotlib mp3 mpeg netifrc networkmanager nptl octave ogg opengl openmp openrc orc pam pdf png policykit postscript qt4 qt5 readline sndfile spell ssl startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode upower usb v4l vaapi vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4 sse4_1 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LINGUAS="en en_GB" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby24" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="i965 intel" XFCE_PLUGINS="battery brightness power" Unset: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= dev-python/python-poppler-qt4-0.18.1::gentoo was built with the following: USE="" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4"
I can confirm this as I have issues. Would a version bump fix the issue? https://github.com/wbsoft/python-poppler-qt4/releases If something really needs the 0.18.x series, there is a 0.18.2 release.
(In reply to Jon from comment #3) > I can confirm this as I have issues. > > Would a version bump fix the issue? > https://github.com/wbsoft/python-poppler-qt4/releases > > If something really needs the 0.18.x series, there is a 0.18.2 release. Well, I tried 0.24.0 and still no joy. I even added in a patch from master that was supposed to add more compatibility and nope.
fwiw, this incompatibility with sip-4.18's ABI has also been discussed elsewhere because frescobaldi segfaults with python-poppler-qt4 (this same error also occurs when using python-poppler-qt[5]-0.24.1 and frescobaldi from git). however, if using python-poppler-qt-0.24.1, recompiling should fix the issue. With python-poppler-qt4, though, compilation fails. See this thread: https://github.com/wbsoft/frescobaldi/issues/838.
*** This bug has been marked as a duplicate of bug 606704 ***