Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947312 - =media-gfx/digikam-8.5.0 [scanner]: libksane is not found
Summary: =media-gfx/digikam-8.5.0 [scanner]: libksane is not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard: fixed in 8.6.0
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2025-01-01 17:03 UTC by David Kredba
Modified: 2025-01-06 20:56 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,22.30 KB, text/x-log)
2025-01-01 17:03 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2025-01-01 17:03:54 UTC
Created attachment 915649 [details]
build.log

=media-gfx/digikam-8.5.0 states it can't find libksane present on my system during its configure phase.

emerge --info media-gfx/digikam
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.40-r7, 6.12.7-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.7-gentoo-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.40
KiB Mem:    65774524 total,  25796188 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 01 Jan 2025 08:15:00 +0000
Head commit of repository gentoo: 5bfb0efe34be9619ed955caf09989c908e41fa8a
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.3::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.8::gentoo
dev-lang/rust-bin:         1.81.0-r101::gentoo, 1.83.0::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.6::gentoo
llvm-core/lld:             18.1.8::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.42::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r7::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: no
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:

x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -flto=9 -ggdb3 -pipe -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -flto=9 -ggdb3 -pipe -march=znver2"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -flto=9 -ggdb3 -pipe -march=znver2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -flto=9 -ggdb3 -pipe -march=znver2"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://gentoo.mirror.web4u.cz/ https://mirror.leaseweb.com/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -fuse-linker-plugin"
LEX="flex"
LINGUAS="cs en"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="a52 aac acl alsa amd64 avif blas bluetooth branding bzip2 caps cdda cddb cdr cet colord crypt cups dbus djvu dts dvb dvd dvdr elogind encode exif ffmpeg fftw flac fontconfig fortran gd gdbm geoip gif gmp gnuplot graphviz gsl gsm hdf5 heif iconv idn imagemagick ipv6 jbig jpeg jpeg2k jpegxl kde ladspa lame lapack lcms libass libsamplerate libtirpc lzma lzo mad matroska mms mng modplug mp3 mp4 mpeg mtp musepack musicbrainz ncurses nls ogg opencl openexr openmp opus pam pcre pdf plotutils png postscript pulseaudio qt6 quicktime readline seccomp semantic-desktop slang smp sndfile sox speex spell split-usr ssl svg szip taglib test-rust theora threads tiff truetype udev unicode usb v4l vaapi verify-sig vorbis vulkan wavpack wayland webp x264 xattr xml xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words stage" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="cs en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="scripting-beanshell scripting-javascript nlpsolver" LLVM_TARGETS="AMDGPU BPF X86" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp hp3500" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
Package Settings
=================================================================

media-gfx/digikam-8.5.0::gentoo would be built with the following:
USE="addressbook calendar gphoto2 heif imagemagick jpegxl lensfun openmp panorama scanner semantic-desktop spell video -debug -geolocation -mysql"

>>> Attempting to run pkg_info() for 'media-gfx/digikam-8.5.0'


kde-apps/libksane-24.12.0::gentoo was built with the following:
USE="-debug -kwallet"

equery f kde-apps/libksane
* Searching for libksane in kde-apps ...
* Contents of kde-apps/libksane-24.12.0:
/usr
/usr/include
/usr/include/KSaneWidgets6
/usr/include/KSaneWidgets6/KSaneWidget
/usr/include/KSaneWidgets6/ksane_export.h
/usr/include/KSaneWidgets6/ksane_version.h
/usr/include/KSaneWidgets6/ksanewidget.h
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/lib64
/usr/lib/debug/usr/lib64/libKSaneWidgets6.so.24.12.0.debug
/usr/lib64
/usr/lib64/cmake
/usr/lib64/cmake/KSaneWidgets6
/usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6Config.cmake
/usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6ConfigVersion.cmake
/usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6Targets-relwithdebinfo.cmake
/usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6Targets.cmake
/usr/lib64/libKSaneWidgets6.so -> libKSaneWidgets6.so.6
/usr/lib64/libKSaneWidgets6.so.24.12.0
/usr/lib64/libKSaneWidgets6.so.6 -> libKSaneWidgets6.so.24.12.0
/usr/share
/usr/share/doc
/usr/share/doc/libksane-24.12.0
/usr/share/doc/libksane-24.12.0/AUTHORS
/usr/share/doc/libksane-24.12.0/README.md
/usr/share/doc/libksane-24.12.0/TODO
Comment 1 Andreas Sturmlechner gentoo-dev 2025-01-05 20:32:17 UTC
Assuming this is just reporting a cmake warning, scanner feature should actually be present, right?

It is an upstream issue, feel free to report it there.

Their KSaneWidgets6 porting commit

https://invent.kde.org/graphics/digikam/-/commit/bec36a84e2999adad3bcf78608255f8c78b1b503

failed to also touch

https://invent.kde.org/graphics/digikam/-/blob/master/core/CMakeLists.txt?ref_type=heads#L204
Comment 2 Andreas Sturmlechner gentoo-dev 2025-01-05 20:48:12 UTC
Their cMake is actually broken in that place as well...
Comment 3 Larry the Git Cow gentoo-dev 2025-01-05 21:05:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baeebddb71704ddae6c7e978ddb3385b864b2a1a

commit baeebddb71704ddae6c7e978ddb3385b864b2a1a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-01-05 20:44:09 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-01-05 21:05:21 +0000

    media-gfx/digikam: Fix upstream's cmake yet again
    
    This time HAVE_KSANE not being set w/ KF6-based cmake module name.
    
    Closes: https://bugs.gentoo.org/947312
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/digikam/digikam-8.5.0-r1.ebuild          | 134 +++++++++++++++++++++
 .../files/digikam-8.5.0-cmake-have_ksane.patch     |  28 +++++
 2 files changed, 162 insertions(+)
Comment 4 David Kredba 2025-01-06 08:02:52 UTC
Thank you very much!

Reported upstream as https://bugs.kde.org/show_bug.cgi?id=498305.