simple-scan fails to compile when libhandy is built without vala support. Error message: error: Package `libhandy-1' not found in specified Vala API directories or GObject-Introspection GIR directories Adding vala use flag to libhandy allow to compile simple-scan. Reproducible: Always Steps to Reproduce: 1. Build libhandy without vala support 2. Building simple-scan fails 3. # emerge --info Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/desktop, gcc-10.3.0, glibc-2.33, 5.11.13-gentoo x86_64) ================================================================= System uname: Linux-5.11.13-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-glibc2.2.5 KiB Mem: 32913844 total, 14889488 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 17 Apr 2021 08:45:01 +0000 Head commit of repository gentoo: 1487c37bac81d9148d6a5ac78aef0b4337a5d967 Head commit of repository pf4public: bee7cebb3683c66bb5e8baa49546995a9e0410f4 sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p8::gentoo, 3.8.9::gentoo, 3.9.4::gentoo dev-lang/rust-bin: 1.51.0::gentoo dev-util/cmake: 3.20.1::gentoo sys-apps/baselayout: 2.7-r2::gentoo sys-apps/sandbox: 2.23::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.3.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.33::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage/ priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: pf4public location: /usr/local/portage/pf4public sync-type: git sync-uri: https://github.com/PF4Public/gentoo-overlay.git masters: gentoo slonko location: /usr/local/portage/local masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" 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 -march=native -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,-z,now" LINGUAS="en en_US en_GB nl pl" MAKEOPTS="-j9" PKGDIR="/var/cache/binpkgs" 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" USE="X a52 aac accessibility acpi adns alsa amd64 ao appindicator atm audiofile ayatana bash-completion berkdb bidi branding bzip2 cairo calendar caps cdda cddb clamav cli colord crypt css cups curl cxx dbus dga dri dts dv dvb dvd encode exif expat fbcon ffmpeg fftw filecaps flac fontconfig ftp gd gdbm geoip geolocation ggi gif gimp glut gmp gnutls gphoto2 gpm graphicsmagick graphviz gstreamer gtk gui guile gzip hddtemp iconv icu imagemagick imap imlib inotify introspection ipv6 javascript jbig jit joystick jpeg jpeg2k lame lcms ldap libass libcaca libffi libglvnd libnotify libsamplerate libtirpc libwww lm-sensors luajit lz4 lzma lzo m17n-lib mad magic maildir matroska mbox mhash mikmod mmap mms mng modplug modules mp3 mp4 mpeg mpi mplayer mtp multilib musepack ncurses nls nntp nocd nptl nsplugin offensive ogg openal opencl openexr opengl openmp opus orc osc pam pango pch pcre pdf pie plotutils png policykit posix postscript ppds pulseaudio qt5 quicktime raw readline recode scanner sdl seccomp session slang slp smp snappy sndfile snmp sockets sound sox speex spell split-usr ssl startup-notification svg syslog systemd szip taglib tcmalloc tcpd theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vcd vdpau verify-sig videos vim-syntax vorbis vulkan wavpack webkit webp wmf wxwidgets x264 x265 xcb xcomposite xft xml xmlrpc xmp xmpp xosd xpm xscreensaver xv xvid zip zlib zstd" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US en-GB nl pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="charset lua gzip gzip_static proxy rewrite uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Excellent bug report, thank you.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d61df39afc0b7ae1441c3b2a48ed4a0a6ba3ea commit 40d61df39afc0b7ae1441c3b2a48ed4a0a6ba3ea Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-04-17 22:22:23 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-04-17 22:22:26 +0000 media-gfx/simple-scan: Depend on libhandy[vala] Closes: https://bugs.gentoo.org/783411 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-gfx/simple-scan/simple-scan-40.0.ebuild | 1 + 1 file changed, 1 insertion(+)