Created attachment 532080 [details] scribus-1.5.3-r1 build log /var/tmp/portage/app-office/scribus-1.5.3-r1/work/scribus-1.5.3/scribus/plugins/import/pdf/importpdf.cpp:534:61: error: invalid conversion from ‘ const GooString*’ to ‘GooString*’ [-fpermissive] QString ocgName = UnicodeParsedString(oc->getName()); ~~~~~~~~~~~^~ In file included from /var/tmp/portage/app-office/scribus-1.5.3-r1/work/scribus-1.5.3/scribus/plugins/import/pdf/importpdf.cpp:29:0: /var/tmp/portage/app-office/scribus-1.5.3-r1/work/scribus-1.5.3/scribus/plugins/import/pdf/importpdf.h:84:10: note: initializing argument 1 of ‘QString PdfPlug::UnicodeParsedString(GooString*)’ QString UnicodeParsedString(GooString *s1); ^~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-office/scribus-1.5.3-r1/work/scribus-1.5.3/scribus/plugins/import/pdf/importpdf.cpp:553:61: error: invalid conversion from ‘ const GooString*’ to ‘GooString*’ [-fpermissive] QString ocgName = UnicodeParsedString(oc->getName()); ~~~~~~~~~~~^~ <snip> In file included from /var/tmp/portage/app-office/scribus-1.5.3-r1/work/scribus-1.5.3/scribus/plugins/import/pdf/importpdf.cpp:29:0: /var/tmp/portage/app-office/scribus-1.5.3-r1/work/scribus-1.5.3/scribus/plugins/import/pdf/importpdf.h:84:10: note: initializing argument 1 of ‘QString PdfPlug::UnicodeParsedString(GooString*)’ QString UnicodeParsedString(GooString *s1); ^~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. * ERROR: app-office/scribus-1.5.3-r1::gentoo failed (compile phase): * ninja -v -j1 -l0 failed
Likely related to the upgrade to app-text/poppler-0.64.0
Nevertheless missing emerge --info.
emerge --info Portage 2.3.38 (python 2.7.14-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-7.3.0, glibc-2.26-r7, 4.16.9-gentoo x86_64) ================================================================= System uname: Linux-4.16.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1 KiB Mem: 32839752 total, 21313812 free KiB Swap: 6291452 total, 6291452 free Timestamp of repository gentoo: Fri, 18 May 2018 13:26:46 +0000 Head commit of repository gentoo: a01dd0940f841b61c981121829bb48fac09a99b2 sh bash 4.4_p19 ld GNU ld (Gentoo 2.30 p2) 2.30.0 app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.14-r2::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo dev-util/cmake: 3.11.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r2::gentoo sys-devel/gcc: 7.3.0-r1::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 tcgOverlay location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CC="gcc" CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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" CXX="g++" CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch 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://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O2 -Wl,--as-needed" LINGUAS="en_US en" MAKEOPTS="-j5" 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 aalib acl acpi activities aes alsa amd64 amr apache2 audiofile avahi avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm chromecast cleartype cli corefonts crypt cups curl cxx dbus declarative djvu dri dssi dts dv dvb dvd dvdr ebook emboss encode exif fam fdk ffmpeg flac fortran gdbm gif glamor gmp google gphoto2 gpm gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea kwallet ladspa lame lash lcms libffi libnotify linguas_en_US lv2 lzma mad marble midi mmap mmx mmxext mng modules mozilla mp3 mp4 mpeg mtp musicbrainz ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt3support qt5 readline rtmp sasl scanner sdl seccomp semantic-desktop slp smp sndfile speex spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst wav wavpack wayland widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xine xkb xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" 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="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel modesetting" 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_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Happens here too, and there looks to be a fix for this in upstream svn. https://bugs.scribus.net/view.php?id=15289
Same here. Even when casting away those const problems, compile will crash some files later because of a few pure virtual member functions. I'd also suspect the poppler-0.65.0 update short before, will check that when time permits.
manually masking both app-text/poppler-0.65.0 and -0.64.0 (and hence enforcing -0.63.0) makes scribus compile again, but -0.65.0 is required by sci-libs/gdal-2.2.3-r1, what currently is the only version in portage. So maybe at least part of the problem is introduced with app-text/poppler-0.64.0.
*** Bug 657706 has been marked as a duplicate of this bug. ***
scribus is building fine on my system with poppler-0.64.0, ebuild only fails with 0.65
(In reply to hangglider from comment #6) > but -0.65.0 is required by sci-libs/gdal-2.2.3-r1 It is not.
(In reply to Robert Sebastian Gerus from comment #4) > Happens here too, and there looks to be a fix for this in upstream svn. > https://bugs.scribus.net/view.php?id=15289 See https://github.com/scribusproject/scribus/commit/7d4ceeb5cac32287769e3c0238699e0b3e56c24d.patch and https://github.com/scribusproject/scribus/commit/76561c1a55cd07c268f8f2b2fea888532933700b.patch If the second patch does not apply fine, running sed -e 's/UnicodeParsedString(const /UnicodeParsedString(/g' on it might resolve the rejections, however I tested that only with scribus 1.5.4(!).
I tried making the patches linked in #10 work with scribus-1.5.3-r1 (the only one in the tree aside from the 9999 version), but it takes too much fiddling to make them fit, which makes me think they're clearly meant to be applied to a different version of scribus.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402f130003a7d3ca58863ba2b8a9430f569f0d5e commit 402f130003a7d3ca58863ba2b8a9430f569f0d5e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-06-20 14:41:17 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-06-20 16:30:49 +0000 app-office/scribus: 1.5.4 version bump, fix build with poppler-0.64.0 Closes: https://bugs.gentoo.org/656036 Closes: https://bugs.gentoo.org/657802 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-office/scribus/Manifest | 2 + app-office/scribus/scribus-1.5.4.ebuild | 243 ++++++++++++++++++++++++++++++++ app-office/scribus/scribus-9999.ebuild | 26 ++-- 3 files changed, 253 insertions(+), 18 deletions(-)