Created attachment 541158 [details] Build log Previously installed this version. Today portage wanted to rebuild it. * Package: app-text/llpp-26b_p20180114 * Repository: gentoo * Maintainer: xmw@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/app-text/llpp-26b_p20180114/work >>> Preparing source in /var/tmp/portage/app-text/llpp-26b_p20180114/work/llpp-26b_p20180114 ... * Applying llpp-26b-WM_CLASS.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/llpp-26b_p20180114/work/llpp-26b_p20180114 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/llpp-26b_p20180114/work/llpp-26b_p20180114 ... /var/tmp/portage/app-text/llpp-26b_p20180114/temp/environment: line 1995: freetype-config: command not found sh mkhelp.sh KEYS 26b_p20180114 printf let version ="%s";;\n 26b_p20180114 ocamlopt.opt -c -o link.o -ccopt -O -include ft2build.h -D_GNU_SOURCE -DUSE_FONTCONFIG -std=c99 -Wextra -Wall -pedantic-errors -Wunused-parameter -Wsign-compare -Wshadow link.c cc1: fatal error: ft2build.h: No such file or directory compilation terminated. [...] blondie ~ # emerge --info Portage 2.3.43 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r5, 4.17.4-gentoo x86_64) ================================================================= System uname: Linux-4.17.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6 KiB Mem: 16293988 total, 1878596 free KiB Swap: 33554428 total, 33554428 free Timestamp of repository gentoo: Thu, 26 Jul 2018 18:00:01 +0000 Head commit of repository gentoo: 5b94fa1b6e51299fa96139ae9952e858e7a41552 sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo dev-util/cmake: 3.12.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.1::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-r3::gentoo sys-devel/gcc: 7.3.0-r3::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.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded sync-rsync-verify-max-age: 24 torbrowser location: /var/lib/layman/torbrowser masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" 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.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/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 -march=native" DISTDIR="/mnt/backup/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" 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 clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j4 -l3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded" 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 acl acpi adns aio alsa amd64 audiofile berkdb bluetooth bogofilter branding brotli bzip2 cacert cairo caps cdda cddb cdr chromecast cli compat conntrack consolekit crypt cups curl cxx dane dbus dns dnssec doc dot dri dri3 drm dts dvb dvd dvdr egl emboss encode exif expat extra faad fam fdk ffmpeg flac fontconfig fortran fox ftdi gbm gd gdbm gegl geoip gif gimp glamor gmp gnuplot gpm grc gstreamer gtk gtk3 http2 iconv icu id3tag imagemagick introspection ipsec ipv6 jadetex jpeg jpeg2k kate kms latex lcms ldap libass libedit libnotify libsamplerate libtirpc libvisual lm_sensors lz4 lzma lzo mad matroska microdns minizip mng mod modplug modules moodbar mount mp3 mp4 mpeg mtp multilib ncurses netgroups netlink nls nptl ogg opengl openh264 openmp opus pam pango pcap pcre pcre16 pdf png policykit postproc ppds printsupport pulseaudio python qemu qt4 qt5 readline realtime rtlsdr rtsp savedconfig scrypt sctp seccomp sieve smime smtp spamassassin spell sqlite ssh ssl startup-notification svc svg taglib tcpd theora threads tiff tk toolbar tools truetype twolame udev udisks unicode unwind upnp upower urandom usb utils v4l vaapi vdpau vim-syntax vlc vorbis vpx vulkan wavpack webp wifi wmf wxwidgets x264 x265 xattr xcb xetex xface xinerama xml xosd xpm xscreensaver xv xvid xvmc zeroconf zlib zstd" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 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="emu efi-64 pc" INPUT_DEVICES="keyboard mouse synaptics evdev roccat_savu" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="arm x86_64" RUBY_TARGETS="ruby24" SANE_BACKENDS="pie" USERLAND="GNU" VIDEO_CARDS="intel nouveau i965 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_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Seems related to today's mupdf update: !!! existing preserved libs: >>> package: app-text/mupdf-1.13.0 * - /usr/lib64/libmupdf.so.1.12.0 * used by /usr/bin/llpp (app-text/llpp-26b_p20180114)
On a Gentoo stable, media-libs/freetype-2.9.1-r3 is installed, and I have a /usr/bin/freetype-config # eix freetype [I] media-libs/freetype Available versions: (2) 2.8^d ~2.9^d 2.9.1-r3^d ~2.9.1-r4^d **9999^d {X +adobe-cff bindist bzip2 +cleartype_hinting debug doc fontforge harfbuzz infinality png static-libs utils ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 2.9.1-r3(2)^d(05:11:14 PM 06/04/2018)(adobe-cff bzip2 cleartype_hinting png -X -bindist -debug -doc -fontforge -harfbuzz -infinality -static-libs -utils ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="-32 -64 -x32") # ls -l /usr/bin/freetype-config -rwxr-xr-x 1 root root 5432 Jun 4 17:11 /usr/bin/freetype-config On a Gentoo unstable, media-libs/freetype-2.9.1-r4 is installed, and I have no /usr/bin/freetype-config # eix freetype [I] media-libs/freetype Available versions: (2) 2.8^d (~)2.9^d 2.9.1-r3^d (~)2.9.1-r4^d **9999^d {X +adobe-cff bindist bzip2 +cleartype_hinting debug doc fontforge harfbuzz infinality png static-libs utils ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 2.9.1-r4(2)^d(12:09:59 PM 06/06/2018)(X adobe-cff bzip2 cleartype_hinting doc png utils -bindist -debug -fontforge -harfbuzz -infinality -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") # ls -l /usr/bin/freetype-config ls: cannot access '/usr/bin/freetype-config': No such file or directory Almost the same USE flags, none that look related?
Confirm. malc do some fixes though http://repo.or.cz/llpp.git/ (not sure how much related to this one)
This is probably related to [tracker] bug #654792
In the ebuild, replace: local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE -DUSE_FONTCONFIG -std=c99 -Wextra -Wall -pedantic-errors -Wunused-parameter -Wsign-compare -Wshadow" with: local ccopt="$(pkg-config --cflags freetype2 ) -O -include ft2build.h -D_GNU_SOURCE -DUSE_FONTCONFIG -std=c99 -Wextra -Wall -pedantic-errors -Wunused-parameter -Wsign-compare -Wshadow" and ebuild will work.
Works as long as you don't upgrade mupdf to 1.14.
(In reply to Sh2d000w from comment #5) (In reply to Arve Barsnes from comment #6) > Works as long as you don't upgrade mupdf to 1.14. Nice workaround, thanks.
mupdf 1.14 became stable. llpp can't be built.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045561eb7c94dc7d4acf061a421d541c3a3d3e58 commit 045561eb7c94dc7d4acf061a421d541c3a3d3e58 Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2018-12-22 07:41:29 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2018-12-22 07:49:04 +0000 app-text/llpp: version bump to 30 Closes: https://bugs.gentoo.org/662206 Closes: https://bugs.gentoo.org/672360 Signed-off-by: Tim Harder <radhermit@gentoo.org> app-text/llpp/Manifest | 1 + app-text/llpp/files/Makefile | 90 ++++++++++++++++++++++++++++++++ app-text/llpp/files/llpp-30-keysym.patch | 55 +++++++++++++++++++ app-text/llpp/files/llpp.desktop | 14 +++++ app-text/llpp/llpp-30.ebuild | 70 +++++++++++++++++++++++++ 5 files changed, 230 insertions(+)