Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765202 - media-gfx/sane-backends-1.0.31 fails to compile
Summary: media-gfx/sane-backends-1.0.31 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 765343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-13 09:18 UTC by Agostino Sarubbo
Modified: 2021-01-14 07:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,25.42 KB, text/plain)
2021-01-13 09:19 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,202.26 KB, text/plain)
2021-01-13 09:19 UTC, Agostino Sarubbo
Details
build.log.gz (build.log.gz,29.20 KB, application/gzip)
2021-01-13 22:14 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-01-13 09:18:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/sane-backends-1.0.31 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-13 09:19:00 UTC
Created attachment 682636 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-13 09:19:02 UTC
Created attachment 682639 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-01-13 09:19:03 UTC
Possible context of error(s):

configure: error: poppler-glib requested but not found
Comment 4 Larry the Git Cow gentoo-dev 2021-01-13 09:33:14 UTC
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(-)
Comment 5 Torsten Kaiser 2021-01-13 17:47:27 UTC
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?
Comment 6 Larry the Git Cow gentoo-dev 2021-01-13 19:01:48 UTC
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(-)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-13 19:41:18 UTC
*** Bug 765343 has been marked as a duplicate of this bug. ***
Comment 8 Pacho Ramos gentoo-dev 2021-01-13 22:14:08 UTC
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.