/var/tmp/portage/app-office/calligra-3.2.1-r5/work/calligra-3.2.1/filters/karbon/pdf/SvgOutputDev.cpp: In member function ‘virtual void SvgOutputDev::drawString(GfxState*, const GooString*)’: /var/tmp/portage/app-office/calligra-3.2.1-r5/work/calligra-3.2.1/filters/karbon/pdf/SvgOutputDev.cpp:413:36: error: cannot convert ‘const std::shared_ptr<GfxFont>’ to ‘GfxFont*’ in initialization 413 | GfxFont * font = state->getFont(); | ~~~~~~~~~~~~~~^~ | | | const std::shared_ptr<GfxFont> /var/tmp/portage/app-office/calligra-3.2.1-r5/work/calligra-3.2.1/filters/karbon/pdf/SvgOutputDev.cpp: In member function ‘virtual void SvgOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, const int*, bool)’: /var/tmp/portage/app-office/calligra-3.2.1-r5/work/calligra-3.2.1/filters/karbon/pdf/SvgOutputDev.cpp:514:55: warning: unused parameter ‘ref’ [-Wunused-parameter] 514 | void SvgOutputDev::drawImage(GfxState *state, Object *ref, Stream *str, | ~~~~~~~~^~~ ninja: build stopped: subcommand failed. Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.1, glibc-2.34-r13, 5.17.6-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.17.6-gentoo-x86_64-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.34 KiB Mem: 32850648 total, 9047556 free KiB Swap: 36863996 total, 36863996 free Timestamp of repository gentoo: Tue, 10 May 2022 10:03:26 +0000 Head commit of repository gentoo: 8223830ace402fa581ce1d4e33ec22b804c28cb4 Timestamp of repository steam-overlay: Mon, 09 May 2022 20:52:14 +0000 Head commit of repository steam-overlay: 1540538352a153dbd3a4956419fe890782e1716d sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r9::gentoo dev-lang/python: 3.9.12::gentoo, 3.10.4::gentoo dev-lang/rust: 1.59.0::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 mylocal location: /usr/local/portage masters: gentoo priority: 0 steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo Installed sets: @esteam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" 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="/mnt/win_drv_d/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps 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="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j16" PKGDIR="/var/db/repos/gentoo/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" SHELL="/bin/bash" USE="X a52 aac aacs acl acpi activities alsa amd64 bluetooth bluray branding bzip2 cairo cdda cdr cec chm cli corefonts crypt cryptsetup css cups dav1d dbus declarative device-mapper djvu dmraid dri dts dvb dvd dvdr ebook elogind encode epub exif ffmpeg flac fortran fuse gdbm gif google gpg gphoto2 gpm gtk gui iconv icu idn ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc lirc lm-sensors logrotate lvm lz4 lzma lzo mad mdadm mjpeg mng mobi modemmanager mp3 mp4 mpeg mtp multilib multimedia ncurses networkmanager nfs nls nptl ntfs ogg opencl openexr opengl openmp pam pango pcre pdf pim pipewire plasma plymouth png policykit postscript ppds pulseaudio qml qt5 rar raw readline rtmp samba scanner screencast sdl seccomp semantic-desktop sftp share smartcard speech spell spice split-usr ssl startup-notification svg taglib thumbnail thunderbolt tiff touchpad truetype udev udf udisks unicode upower usb v4l vaapi vcd vdpau vnc vorbis vpx vulkan wayland webp widgets wifi wmf wxwidgets x264 x265 xattr xcb xfs xml xpm xv xvid xvmc yubikey zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul 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="efi-64 efi-32 emu pc qemu" INPUT_DEVICES="evdev joystick synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel vesa nouveau nvidia i965 radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS [ebuild N ] app-office/calligra-3.2.1-r5:5::gentoo USE="X activities charts crypt fontconfig handbook import-filter lcms pdf phonon truetype -debug -gemini -gsl -okular -spacenav -test" CALLIGRA_FEATURES="karbon sheets stage words" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB
Please attach the full build.log. Patches: https://invent.kde.org/office/calligra/-/commit/236bacbe13739414e919de868283b0caf2df5d8a https://invent.kde.org/office/calligra/-/commit/6b75bec784c9835c78993349845d8c2ef22ec3de https://invent.kde.org/office/calligra/-/commit/59eb4d2235b88408accf452421526b6f281cbab0
Created attachment 777971 [details] calligra.tar.gz
Yup,same here.
Created attachment 778136 [details, diff] 01_236bacbe13739414e919de868283b0caf2df5d8a.patch Modified patch applies cleanly part 1.
Created attachment 778139 [details, diff] 02_6b75bec784c9835c78993349845d8c2ef22ec3de.patch Modified patch applies cleanly part 2.
Created attachment 778142 [details, diff] 03_59eb4d2235b88408accf452421526b6f281cbab0.patch Modified patch applies cleanly part 3.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df1ed41c45ff68105b9f40ddbe40a93f680b60b commit 4df1ed41c45ff68105b9f40ddbe40a93f680b60b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-05-16 18:44:12 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-05-16 18:45:47 +0000 app-office/calligra: Fix build with >=app-text/poppler-22.04.0 Use upstream patches for app-text/poppler-22.03.0 instead of ArchLinux's. Closes: https://bugs.gentoo.org/843605 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-office/calligra/calligra-3.2.1-r5.ebuild | 3 +- .../files/calligra-3.2.1-poppler-22.03.0-1.patch | 73 +++++++++++++++++ .../files/calligra-3.2.1-poppler-22.03.0-2.patch | 94 ++++++++++++++++++++++ .../files/calligra-3.2.1-poppler-22.03.0.patch | 51 ------------ .../files/calligra-3.2.1-poppler-22.04.0.patch | 25 ++++++ 5 files changed, 194 insertions(+), 52 deletions(-)