Summary: | media-gfx/sane-backends-1.0.31 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
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: | drmccoy, pacho, polynomial-c |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=765379 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
1-config.log build.log.gz |
Description
Agostino Sarubbo
2021-01-13 09:18:58 UTC
Created attachment 682636 [details]
build.log
build log and emerge --info
Created attachment 682639 [details]
1-config.log
1-config.log
Possible context of error(s): configure: error: poppler-glib requested but not found The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735fdc02942c9c3cec54d686ecdfaec58515c0c5 commit 735fdc02942c9c3cec54d686ecdfaec58515c0c5 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-01-13 09:33:02 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-13 09:33:11 +0000 media-gfx/sane-backends: Depend on app-text/poppler[cairo] Closes: https://bugs.gentoo.org/765202 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> media-gfx/sane-backends/sane-backends-1.0.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) I'm still seeing this error due to multilib issues. thoregon ~ # emerge -pv poppler These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-text/poppler-21.01.0:0/106::gentoo USE="cairo curl cxx doc introspection jpeg jpeg2k lcms nss png qt5 tiff utils -cjk -debug" 0 KiB -> poppler[cairo] is available. But: checking for libusb-1.0... yes checking for libcurl... yes checking for poppler-glib... no configure: error: poppler-glib requested but not found !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31-abi_x86_32.x86/config.log * ERROR: media-gfx/sane-backends-1.0.31::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 4146: Called multilib-minimal_src_configure * environment, line 2824: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' The problem seems to be, that sane-backends is multilib and because I have ABI_X86="32 64" for wine, sane also wants a 32bit poppler library. But the poppler ebuild does not seem to support multilib, so the 32bit sane-backends build fails to find poppler-glib, even if the portage dependency app-text/poppler[cairo] is fulfilled. After deactivating the (for me unneeded) backend escl, the build worked. So the easiest way to fix might be a use dependency to XOR escl and ABI_X86=32? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff087acb69c4915a994b05f88502ef72c1c10e45 commit ff087acb69c4915a994b05f88502ef72c1c10e45 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-01-13 19:01:37 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-13 19:01:46 +0000 media-gfx/sane-backends: Only enable poppler-glib for native ABI Bug: https://bugs.gentoo.org/765202 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> media-gfx/sane-backends/sane-backends-1.0.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) *** Bug 765343 has been marked as a duplicate of this bug. *** Created attachment 682768 [details]
build.log.gz
It keeps failing, but with a different error:
In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/escl/escl_pdf.c:39:
/usr/include/poppler/glib/poppler.h:22:10: fatal error: glib-object.h: No such file or directory
22 | #include <glib-object.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
|