Summary: | media-gfx/zbar-0.23-r1: configure: error: Unable to find GraphicsMagick: | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joonas Niilola <juippis> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log autoconf.out build.log config.log build.log |
I wonder if it needs the library or if it's just a pkg-config check (bit like kmod the other day, bug 702568 perhaps). GM lacks multilib as does IM which makes sense given the ABI instability. (In reply to Sam James from comment #1) > I wonder if it needs the library or if it's just a pkg-config check (bit > like kmod the other day, bug 702568 perhaps). GM lacks multilib as does IM > which makes sense given the ABI instability. It's the native build which is failing so not multilib. Need: !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-gfx/zbar-0.23-r1/work/zbar-0.23-abi_x86_64.amd64/config.log * ERROR: media-gfx/zbar-0.23-r1::gentoo failed (configure phase):. Looking at the ebuild, it has weird conditions regarding imagemagick and graphicsmagick relationship: imagemagick? ( !graphicsmagick? ( media-gfx/imagemagick:=[png,jpeg?] ) graphicsmagick? ( media-gfx/graphicsmagick:=[png,jpeg?] ) (bot nothing about -imagemagick graphicsmagick) src_configure: if multilib_is_native_abi; then # both must be enabled to use GraphicsMagick if use graphicsmagick; then myeconfargs+=( --with-graphicsmagick --without-imagemagick ) elif use imagemagick; then myeconfargs+=( --with-imagemagick --without-graphicsmagick ) else myeconfargs+=( --without-imagemagick --without-graphicsmagick ) fi disregarding the comment about both having to be enabled, src_configure looks fine, but the block in COMMON_DEPEND doesn't. Created attachment 795362 [details]
build.log
Created attachment 795365 [details]
autoconf.out
After installing gettext: Created attachment 795368 [details]
build.log
Created attachment 795371 [details]
config.log
After installing graphicsmagick and not touching the ebuild I get past that error, onto another issue. This package... anyway since it's m-n I can fix it based on the reasoning in #c3 if you agree - that the handling of graphicsmagick dep is wrong in COMMON_DEPEND. Created attachment 795389 [details]
build.log
(In reply to Joonas Niilola from comment #3) > Looking at the ebuild, it has weird conditions regarding imagemagick and > graphicsmagick relationship: > > imagemagick? ( > !graphicsmagick? ( media-gfx/imagemagick:=[png,jpeg?] ) > graphicsmagick? ( media-gfx/graphicsmagick:=[png,jpeg?] ) > > (bot nothing about -imagemagick graphicsmagick) > > src_configure: > if multilib_is_native_abi; then > # both must be enabled to use GraphicsMagick > if use graphicsmagick; then > myeconfargs+=( > --with-graphicsmagick > --without-imagemagick > ) > elif use imagemagick; then > myeconfargs+=( > --with-imagemagick > --without-graphicsmagick > ) > else > myeconfargs+=( > --without-imagemagick > --without-graphicsmagick > ) > fi > > disregarding the comment about both having to be enabled, src_configure > looks fine, but the block in COMMON_DEPEND doesn't. Ah, right! See https://bugs.gentoo.org/314431#c28 for how the logic should work, i.e. I think the dependencies are okay, but the src_configure logic isn't. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c9cdacf049a7af3a8ead57312188e813b47108 commit 48c9cdacf049a7af3a8ead57312188e813b47108 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-08-02 10:12:21 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-08-02 10:13:56 +0000 media-gfx/zbar: fix configure logic for imagemagick<->graphicsmagick - tested on stable amd64. Closes: https://bugs.gentoo.org/784362 Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-gfx/zbar/zbar-0.23.90.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) |
Created attachment 700995 [details] build.log build.log attached. Looks to be a multilib issue.