Summary: | media-gfx/feh: fails to compile with media-libs/imlib2-1.11.0 (undefined reference to `imlib_get_text_size') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | stefan11111 <stefan11111> |
Component: | Current packages | Assignee: | Piotr Karbowski (RETIRED) <slashbeast> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph, chiitoo, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
stefan11111
2023-03-18 19:37:19 UTC
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(-) |