I first wrote about this here: https://forums.gentoo.org/viewtopic-t-1162505.html Here is my emerge --info: Portage 3.0.45.2 (python 3.11.2-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.37-r1, 6.2.7-gentoo x86_64) ================================================================= System uname: Linux-6.2.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz-with-glibc2.37 KiB Mem: 8116504 total, 3322816 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Fri, 17 Mar 2023 21:30:01 +0000 Head commit of repository gentoo: d4dda640b7ff642848dbe89e55b9e0b6dcd500a9 Head commit of repository gentoo-static: ab021d941743fd6b5c46f71b249b74cd1b42bf7c Head commit of repository librewolf: f3c7632bb84121ec4149941420b398fd440140c4 sh bash 5.2_p15-r2 ld GNU ld (Gentoo 2.40 p3) 2.40.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r2::gentoo dev-lang/perl: 5.36.0-r2::gentoo dev-lang/python: 3.11.2_p2::libressl dev-lang/rust: 1.67.1::libressl dev-util/cmake: 3.26.0::gentoo dev-util/meson: 1.0.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.46::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.40-r3::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r1::gentoo sys-devel/gcc: 12.2.1_p20230304::gentoo sys-devel/gcc-config: 2.10::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 15.0.7::gentoo sys-devel/make: 4.4.1::gentoo sys-kernel/linux-headers: 6.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r1::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 gentoo-static location: /var/db/repos/gentoo-static sync-type: git sync-uri: https://github.com/NeddySeagoon/gentoo-static.git masters: gentoo volatile: False guru location: /var/lib/layman/guru masters: gentoo priority: 50 volatile: True libressl location: /var/lib/layman/libressl masters: gentoo priority: 50 volatile: True librewolf location: /var/db/repos/librewolf sync-type: git sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git masters: gentoo priority: 50 volatile: False mv location: /var/lib/layman/mv masters: gentoo priority: 50 volatile: True steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 volatile: True ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -flto=4" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -flto=4" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe -march=native -flto=4" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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" FFLAGS="-O2 -pipe -march=native -flto=4" GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j4" PKGDIR="/var/cache/binpkgs" 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 alsa amd64 asm git grub ipv6 libglvnd libressl lto man native-symlinks olde-gentoo pgo samba split-usr ssl test-rust threads verify-sig" ABI_X86="32 64" CPU_FLAGS_X86="mmx sse sse2 mmxext" CURL_SSL="libressl" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" GRUB_PLATFORMS="efi-64" KERNEL="linux" LUA_SINGLE_TARGET="luajit" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LFLAGS, LIBTOOL, LINGUAS, 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
Please include the full build.log as an attachment here.
Here is the build.log. https://github.com/stefan11111/pastebin/blob/main/build.log Here is what happens if I try to launch feh build against media-libs/imlib2-1.9.1-r1. $ feh feh WARNING: ./.steampath does not exist - skipping feh: symbol lookup error: feh: undefined symbol: imlib_add_path_to_font_path Everything works fine with media-libs/imlib2-1.9.1-r1
Not an attachment but good enough :p Thanks.
Don't know if the new title is right, as feh does not build with media-libs/imlib2-1.9.1-r1. This problem happens even without -flto=4 in my cflags
(In reply to stefan11111 from comment #4) > Don't know if the new title is right, as feh does not build with > media-libs/imlib2-1.9.1-r1. > This problem happens even without -flto=4 in my cflags media-libs/imlib2-1.11.0, not media-libs/imlib2-1.9.1-r1
This seems to happen with USE="-text" (no LTO here).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413944e04de5273043eb344e946b5e331719bfff commit 413944e04de5273043eb344e946b5e331719bfff Author: Piotr Karbowski <slashbeast@gentoo.org> AuthorDate: 2023-03-20 18:20:15 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2023-03-20 18:20:15 +0000 media-gfx/feh/feh: 3.9.1-r1 revbump with new imlib2 handling. Closes: https://bugs.gentoo.org/902077 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> media-gfx/feh/feh-3.9.1-r1.ebuild | 74 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+)
That fixed the issue
(In reply to Larry the Git Cow from comment #7) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=413944e04de5273043eb344e946b5e331719bfff I would like to suggest more compact dependency form: Instead of || ( >=media-libs/imlib2-1.11.0[X,text] <media-libs/imlib2-1.11.0[X] ) just use atom USE defaults: media-libs/imlib2[X,text(+)] Because for earlier versions text functions were enabled unconditionally.
Thanks for the suggestion, I forgot this specifier was a thing. Will commit without revbump, since behavior remains the same, in a moment. If you use feh feel free to jump in as another maintainer too.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19c064f8036149579544321d47d46c86b87c90a commit a19c064f8036149579544321d47d46c86b87c90a Author: Piotr Karbowski <slashbeast@gentoo.org> AuthorDate: 2023-03-22 17:47:05 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2023-03-22 17:47:05 +0000 media-gfx/feh: 3.9.1-r1: Simplify COMMON_DEPEND. Bug: https://bugs.gentoo.org/902077 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> media-gfx/feh/feh-3.9.1-r1.ebuild | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)