Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 704482

Summary: app-office/scribus-1.5.5 with app-text/poppler-0.84.0: error: ‘class GlobalParams’ has no member named ‘getEnableFreeType’
Product: Gentoo Linux Reporter: Erik Zeek <zeekec>
Component: Current packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, gentoo, hangglider, neil, paddlaren
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Erik Zeek 2020-01-01 16:08:54 UTC
Created attachment 602204 [details]
build log

/gentoo/tmp/portage/app-office/scribus-1.5.5/work/scribus-1.5.5/scribus/plugins/import/pdf/slaoutput.cpp: In member function ‘void SlaOutputDev::startDoc(PDFDoc*, XRef*, Catalog*)’:
/gentoo/tmp/portage/app-office/scribus-1.5.5/work/scribus-1.5.5/scribus/plugins/import/pdf/slaoutput.cpp:1232:16: error: ‘class GlobalParams’ has no member named ‘getEnableFreeType’
 1232 |  globalParams->getEnableFreeType(),
      |                ^~~~~~~~~~~~~~~~~

Portage 2.3.84 (python 3.7.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.30-r3, 5.4.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.6-gentoo-x86_64-AMD_Ryzen_7_1700X_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    32885144 total,   7535812 free
KiB Swap:   16777212 total,  16436732 free
Timestamp of repository gentoo: Wed, 01 Jan 2020 15:00:01 +0000
Head commit of repository gentoo: 8bc3811f5d9066c563054ec92ac92bef5e866c9e
sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
ccache version 3.7.6 [disabled]
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-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo, 3.8.1::gentoo
dev-util/ccache:          3.7.6::gentoo
dev-util/cmake:           3.16.2-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            9.2.0-r3::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::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: /gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: -i --chown=portage:portage
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

bobwya
    location: /gentoo/local/layman/bobwya
    sync-type: laymansync
    sync-uri: https://github.com/bobwya/miscellaneous_ebuilds.git
    masters: gentoo
    priority: 50

farmboy0
    location: /gentoo/local/layman/farmboy0
    sync-type: laymansync
    sync-uri: https://github.com/farmboy0/portage-overlay.git
    masters: gentoo
    priority: 50

science
    location: /gentoo/local/layman/science
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50

sigmoid
    location: /gentoo/local/layman/sigmoid
    sync-type: laymansync
    sync-uri: git://github.com/sigmoidal/gentoo-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /gentoo/local/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

zeekec
    location: /gentoo/local/portage
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb -mtune=native -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /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 -pipe -ggdb -mtune=native -march=native"
DISTDIR="/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j 3 --rebuild-if-new-slot=y --backtrack=30"
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 -ggdb -mtune=native -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy cgroup clean-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ggdb -mtune=native -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j16 --load-average=32"
PKGDIR="/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-i --chown=portage:portage"
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="/gentoo/tmp"
USE="R X a52 aac aacs acpi activities additions addressbook aesicm aften agent alevt alsa amd64 amr amrenc ancient animgif ansi ao apache apache2 apm app archive armadillo atm audiofile audit auto-completion autoipd autotools avahi baremetal bash-completion bcache bcmath bdf berkdb bittorrent bl blas bloodsuckermaps bluetooth bluray bmp boost branding btrfs bwscheduler bzip2 c++0x c++11 cacert cairo calendar caps ccache cdda cdinstall cdparanoia cdr cgi cgroup-hybrid charts cheats chm chromium cilk clamav clang clangcodemodel clangstaticanalyzer cli client clippy cloudprint cmake codec2 collada colordiff concurrent contactnotes context contrast contrib contribdnn cookie_check corefonts cron crypt cryptsetup csc cscope css ctype cups curl custom-optimization cxx cycles d d3d9 data datavis dbus debug-frame declarative designer detex development devhelp device-mapper dga dhcp dia discouraged discover distinct-l djvu dmraid dnn dns docbook doctool dos dot double-precision down-root downloadorder drafts dri dri3 drm drmaa dropbox dts dv dvd dvdnav dvdr dvi ebook egl eigen elf elfutils embedded emboss emf emovix enca encode enscript epoll epspdf epub ethernet evdev excel exif extensions extra extra-cardsets extra-ciphers extraengine faac faad facedetect faillog fam fancy farstream fastcgi fat fax fcgi ffmpeg fftw filter finger firmware fits flac flash flatfile flickr fluidsynth fontconfig fontforge fortran fortran95 fortune fpx freedoom frei0r ftp fullscreen fuse gadu games garden gcj gd gdal gdbm gdml gegl gentoo-dev geoclue geoip geolocation geos ghcbootstrap gif gimp git gkrellm glade gles glgd glib glide glut gme gml gmp gmtfull gmttria gnome-online-accounts gnomecanvas gnuplot go gog gold google gopher gpac gpg gphoto2 gpm grammar graph graphics graphite graphviz grass groupwise grub gsf gsl gsm gstreamer gtk gtk3 gts gui guile gzip gzip-el haptic hardlink harfbuzz hash hbci hddtemp hdf hdf5 hdri help heterogeneous highlight history hpijs hscolour html htmlreport http humanities hunspell hyphenation iconv icq icu id3tag ide idea idn ieee1394 ignore-case image imagemagick imagequant imaging imap imlib importd infinality inifile inkjar innodb-lz4 innodb-lzo innodb-snappy inotify inspector introspection iostats iproute2 ipv6 ipython iwd jai java javascript jbig jit jmf john jpeg jpeg2k json kde kdecards kdenlive kdrive kernel kipi kpathsea kvm kwallet ladspa lame lapack lash lasi latex lcms ldap legacy-systray lensfun libass libburn libdrm libffi libfuzzer libkms liblockfile libnotify libssh2 libtirpc libv4l libvirt libvirtd libwww lightning lights live llvm lm-sensors lm_sensors localstorage lock log log4j logrotate logviewer logwatch lqr lua lua-cairo lua-imlib lua-rsvg luatex lv2 lvm lxc lyrics lz4 lzma lzo mad magic magicmime magnetgenerator mail maildir man manhole map mapimg maps marble markdown math mathml matplotlib matroska mbrola md5sum mdadm mdnsresponder-compat media mediaplayer mediawiki melt metadata-analysis-api metapost mhash midi mikmod mime mixer mjpeg mmap mms mng mod modpack module mono mopac7 mount mozdom mp3 mp3tunes mp4 mpeg mpfr mpi_njtree mplayer mpqc mpris ms mtp mudflap multiarch multilib multimedia multiprocess multiuser musepack music musicbrainz mysql mysqli nano-syntax nat native-extensions natspec nbconvert ncat ncurses ndiff net nethack netpbm network network-cron networking networkmanager nfs nfsdcld nfsv4 nfsv41 nls nmap-update nntp nocd notebook nowlistening nping npp nptl nsplugin nss nsscache ntfs ntfsprogs ntp numpy nut nuv nvme nvtt oauth objc objc++ objc-gc ocr octave odbcmanual odf ofa offensive offlinehelp ofx ogg ogm okular opencl opencv openexr opengl openimageio openinventor openmp openssl opensslcrypt optimization opus orc osc oscar osd osdmenu osgapps osmesa otr ots overlay pager pam pam_ssh pango paranoidmsg parcheck parse-clocks parted pbs pci pcntl pcre pcre16 pdf pdfannotextractor pdl2 pdo pgm pgplot phonon phyp physfs pim pipe pkcs7 plasma player playlist plazes plotutils plugins plymouth png pnm policykit pop portage portmon positioning posix postfix postproc postscript ppds pptx printsupport proj proprietary-codecs psf pstricks publishers pulseaudio pvr pygments python q16 q32 q8 qalculate qd qemu qhull qml qrcode qt5 qthelp qtmedia quesoglc quicktime quota qwt radio rar raw rc5 rcs readline redfish redland regex remix remote rendering reports reviewboard rfc3779 rle rls rogue romio root rpm rrdcgi rrdtool rss rsync-verify rtc rtf rtmp rubberband rustfmt samba sanitize sasl sbcl scale0tilt scanner science scotch screencast script scripting scripts scripttools scrypt sdk sdl sdl-image sdlgfx search seccomp secure-delete semantic-desktop sensord sensors server setproctitle setup sftp sha3 sha512 shadow sharedmem shm shorten sift sigsegv sip skins skydrive slp smime smp smpeg sms snappy sndfile snmp soap sockets socks solver songs sound sounds soup sourceview sox spamassassin sparse speech speex spell sphinx spice split-usr sql sqlite ssh ssh-agent ssl staging stars startup-notification statistics stats steamfonts steamgames_trine2 steamgames_witcher2 stream streaming subject-rewrite subtitles subunit suexec suid superlu svc svg swig symlink synaptics sync-plugin-portage syslog system-binutils system-boost system-cairo system-clang system-crontab system-ffmpeg system-icu system-jpeg system-jsoncpp system-libs system-libyaml system-llvm system-lua system-qemu system-renpy system-seabios system-sqlite system-tbb systemd sysv-utils sysvipc szip t1lib taamey taglib tcl tcpd telepathy templates testbed testlib tex4ht texi2html textures tga themes theora thesaurus threads threadsafe thumbnail thunar tiff timezone tinfo tk tls tokenizer toolbar tools transcode translator trayicon truetype tts tty-helpers tv_check tv_combiner tv_pick_cgi twolame udev udisks udunits uefi umfpack uml unicode unicode_collation unique unzip update_drivedb upnp upower urandom urlpicpreview usb user-session utempter utils uudeview uuid v4l vaapi vala vamp vc vde vdpau vdr verify-file video videos virgl virt-network virtfs virtualbox visio vlc vnc voice vorbis vpx vserver vte vulkan warmstarts wav wavpack wayland weather weather-metar web webcam webchannel webengine webinterface weboob webp webpresence webrtc webrtc-aec websockets webtools wide-unicode widevine widgets wifi wiki winbind wineappdb wininst winpopup wma wma-fixed wmf wordperfect wpg wps wxwidgets x11extras x264 x265 xattr xcb xcomposite xerces-c xetex xface xforms xft xine xinerama xkb xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xnest xorg xosd xpm xrandr xray xrender xslt xtended xterm xv xvfb xvid xz youtube zeroconf zip zlib zvbi" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="intel8x0 intel8x0m pxa2xx-ac97 pxa2xx-soc hda-intel" APACHE2_MODULES="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 cgi cgid authn_core authz_core unixd socache_shmcb lbmethod_bytraffic slotmem_shm" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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 efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport scripting-javascript wiki-publisher scripting-beanshell" LLVM_TARGETS="AMDGPU BPF X86 WebAssembly" 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="python3_6 python2_7 python3_7 python3_8" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64 aarch64 aarch64_be arm armeb" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="canon canon630u canon_dr canon_pp hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s net pnm" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu virgl" 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_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

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

app-office/scribus-1.5.5::gentoo was built with the following:
USE="boost hunspell minimal pdf scripts templates tk -debug -examples -graphicsmagick -osg" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
Comment 1 Andreas Sturmlechner gentoo-dev 2020-01-01 16:17:03 UTC
*** Bug 704460 has been marked as a duplicate of this bug. ***
Comment 2 hangglider 2020-01-01 19:18:04 UTC
Same applies here (~amd64). app-text/poppler-0.84.0 is needed for net-print/cups-filters-1.26.0, and scribus doesn't compile against that.
Comment 3 Jeremy Stent 2020-01-02 00:47:00 UTC
It appears as if Poppler has "moved enablefreetype out of GlobalParams (https://gitlab.freedesktop.org/poppler/poppler/commit/1496a00af0cb5f4c39d255493501957ef6a7f7da).  We can edit scribus/plugins/import/pdf/slaoutput.cpp line 1232 to replace this call with "true".  This enables things to compile.
Comment 4 Andreas Sturmlechner gentoo-dev 2020-01-02 00:49:20 UTC
Could you report it upstream? Maybe it is already fixed there, does 9999 build?
Comment 6 Larry the Git Cow gentoo-dev 2020-01-02 20:26:56 UTC
The bug has been closed via the following commit(s):

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

commit 4ffdbba60050b08a2f1546481e699b65c69e1529
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-01-02 20:00:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-02 20:26:42 +0000

    app-office/scribus: Fix build with app-text/poppler-0.84.0
    
    Reported-by: Erik Zeek <zeekec@gmail.com>
    Thanks-to: Julien Papasian <julien.papasian@gmail.com>
    Closes: https://bugs.gentoo.org/704482
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../scribus/files/scribus-1.5.5-poppler-0.84.patch | 34 ++++++++++++++++++++++
 app-office/scribus/scribus-1.5.5.ebuild            |  3 +-
 2 files changed, 36 insertions(+), 1 deletion(-)