Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933615 - media-gfx/sane-frontends-1.0.14-r6 don't find sane libraries or headers from media-gfx/sane-backends-1.2.1 at configure step
Summary: media-gfx/sane-frontends-1.0.14-r6 don't find sane libraries or headers from ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-06-05 15:00 UTC by Zentoo
Modified: 2024-11-21 16:21 UTC (History)
8 users (show)

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


Attachments
emerge --info (emerge-info.out,6.71 KB, text/plain)
2024-06-06 09:37 UTC, Zentoo
Details
build log (media-gfx:sane-frontends-1.0.14-r6:20240606-092902.log.gz,4.28 KB, application/gzip)
2024-06-06 09:37 UTC, Zentoo
Details
emerge --info (info,8.24 KB, text/plain)
2024-08-14 12:28 UTC, manwe
Details
Patch to fix the configure testing for the sane-backend libraries (fix_configure_test.patch,1.55 KB, patch)
2024-09-17 05:41 UTC, Nuitari
Details | Diff
ebuild that contains what's needed to fix the socket.h issue in sanei_debug (sane-frontends-1.0.14-r7.ebuild,1.52 KB, application/vnd.gentoo.ebuild)
2024-09-17 05:43 UTC, Nuitari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zentoo 2024-06-05 15:00:17 UTC
media-gfx/sane-frontends don't find sane libraries or headers from media-gfx/sane-backends at configure step and print the following error:

checking for sane-config... /usr/bin/sane-config
checking for SANE - version >= 1.0.0... no
*** Could not run SANE test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SANE or finding the wrong
*** version of SANE. If it is not finding SANE, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location.  Also, make sure you have run ldconfig if that
*** is required on your system.
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
**********************************************************************
ERROR: Couldn't find SANE libraries (sane-backends). Possible reasons:
     - sane-backends isn't installed (install sane-backends before
       sane-frontends)
     - the SANE header files aren't installed (if you installed
       SANE as RPM make sure you also included the sane-devel RPM)
     - the SANE libraries can't be found because /usr/local/lib/ isn't
       searched by the dynamic linker (see INSTALL for details)
**********************************************************************

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2024-06-05 16:52:39 UTC
Please attach the build log, config.log, and provide emerge --info.
Comment 2 Zentoo 2024-06-06 09:37:10 UTC
Created attachment 895235 [details]
emerge --info
Comment 3 Zentoo 2024-06-06 09:37:39 UTC
Created attachment 895236 [details]
build log
Comment 4 manwe 2024-08-14 12:28:43 UTC
Created attachment 900103 [details]
emerge --info

same problem
Comment 5 Nuitari 2024-09-17 05:40:50 UTC
The configure fails because the test uses is missing a #include <stdlib.h>
I'll upload a patch and ebuild that fixes it
Comment 6 Nuitari 2024-09-17 05:41:39 UTC
Created attachment 903172 [details, diff]
Patch to fix the configure testing for the sane-backend libraries

Signed-off-by: Stephane Bakhos <nuitari@nuitari.net>
Comment 7 Nuitari 2024-09-17 05:43:31 UTC
Created attachment 903173 [details]
ebuild that contains what's needed to fix the socket.h issue in sanei_debug

Signed-off-by: Stephane Bakhos <nuitari@nuitari.net>
Comment 8 Michael Orlitzky gentoo-dev 2024-11-11 00:46:38 UTC
I saw this but then realized that I don't use the frontends. From the looks of it, there's a newer debian release with patches for this issue.