Hello Gentoo Video Team, I am trying to build shotcut and I keep hitting this bug. It feels like a dependency that isn't defined in the ebuild but I can't figure out which one. Thanks for the help, Evan >>> Emerging (1 of 2) media-libs/mlt-7.28.0-r1::gentoo * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * mlt-7.28.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mlt-7.28.0.tar.gz to /tmp/portage/media-libs/mlt-7.28.0-r1/work >>> Source unpacked in /tmp/portage/media-libs/mlt-7.28.0-r1/work >>> Preparing source in /tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0 ... * Source directory (CMAKE_USE_DIR): "/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0" * Build directory (BUILD_DIR): "/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build" * Applying mlt-6.10.0-swig-underlinking.patch ... [ ok ] * Applying mlt-6.22.1-no_lua_bdepend.patch ... [ ok ] * Applying mlt-7.0.1-cmake-symlink.patch ... [ ok ] * Applying mlt-7.28.0-fix-32bit.patch ... patching file src/mlt++/mlt++.vers patching file src/mlt++/mlt++.vers patching file src/mlt++/mlt++.vers [ ok ] >>> Source prepared. >>> Configuring source in /tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0 ... * Source directory (CMAKE_USE_DIR): "/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0" * Build directory (BUILD_DIR): "/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build" cmake -C /tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON -DCLANG_FORMAT=OFF -DGPL=ON -DGPL3=ON -DMOD_QT=OFF -DMOD_GLAXNIMATE=OFF -DMOD_KDENLIVE=ON -DMOD_PLUS=ON -DMOD_SDL1=OFF -DMOD_SOX=OFF -DMOD_SPATIALAUDIO=OFF -DUSE_LV2=OFF -DUSE_VST2=OFF -DMOD_AVFORMAT=yes -DMOD_FREI0R=yes -DMOD_GDK=yes -DMOD_JACKRACK=yes -DMOD_RESAMPLE=no -DMOD_OPENCV=yes -DMOD_MOVIT=yes -DMOD_QT6=no -DMOD_GLAXNIMATE_QT6=no -DMOD_RTAUDIO=no -DMOD_RUBBERBAND=no -DMOD_SDL2=yes -DBUILD_TESTING=yes -DMOD_VIDSTAB=no -DMOD_XINE=no -DMOD_XML=yes -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build/gentoo_toolchain.cmake /tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0 loading initial cache file /tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 13.3.1 -- The CXX compiler identification is GNU 13.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.3.0") -- Checking for module 'sdl2' -- Found sdl2, version 2.30.7 -- Checking for module 'fftw3' -- Found fftw3, version 3.3.10 -- Checking for module 'libexif' -- Found libexif, version 0.6.24 -- Checking for module 'fontconfig' -- Found fontconfig, version 2.15.0 -- Checking for module 'libxml-2.0' -- Found libxml-2.0, version 2.12.9 -- Checking for module 'libavformat' -- Found libavformat, version 60.16.100 -- Checking for module 'libswscale' -- Found libswscale, version 7.5.100 -- Checking for module 'libavutil' -- Found libavutil, version 58.29.100 -- Checking for module 'libavcodec' -- Found libavcodec, version 60.31.102 -- Checking for module 'libavfilter' -- Found libavfilter, version 9.12.100 -- Checking for module 'libavdevice' -- Found libavdevice, version 60.3.100 -- Checking for module 'libswresample' -- Found libswresample, version 4.12.100 -- Checking for module 'frei0r' -- Found frei0r, version 1.8 -- Checking for module 'gdk-pixbuf-2.0' -- Found gdk-pixbuf-2.0, version 2.42.10 -- Checking for module 'pango' -- Found pango, version 1.52.2 -- Checking for module 'pangoft2' -- Found pangoft2, version 1.52.2 -- Found JACK: /usr/lib64/libjack.so (found version "1.9.22") -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.78.6 -- Looking for ladspa.h -- Looking for ladspa.h - found -- Found OpenCV: /usr (found version "4.9.0") found components: tracking -- Checking for module 'movit' -- Found movit, version git -- Found OpenGL: /usr/lib64/libOpenGL.so -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Checking for module 'libebur128' -- Found libebur128, version 1.2.6 CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find Kwalify (missing: Kwalify_EXECUTABLE) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) cmake/FindKwalify.cmake:11 (find_package_handle_standard_args) CMakeLists.txt:343 (find_package) -- Configuring incomplete, errors occurred! * ERROR: media-libs/mlt-7.28.0-r1::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3090: Called cmake_src_configure * environment, line 1501: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=media-libs/mlt-7.28.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/mlt-7.28.0-r1::gentoo'`. * The complete build log is located at '/tmp/portage/media-libs/mlt-7.28.0-r1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-libs/mlt-7.28.0-r1/temp/environment'. * Working directory: '/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build' * S: '/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0' >>> Failed to emerge media-libs/mlt-7.28.0-r1, Log file: >>> '/tmp/portage/media-libs/mlt-7.28.0-r1/temp/build.log' * Messages for package media-libs/mlt-7.28.0-r1: * ERROR: media-libs/mlt-7.28.0-r1::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3090: Called cmake_src_configure * environment, line 1501: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=media-libs/mlt-7.28.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/mlt-7.28.0-r1::gentoo'`. * The complete build log is located at '/tmp/portage/media-libs/mlt-7.28.0-r1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-libs/mlt-7.28.0-r1/temp/environment'. * Working directory: '/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build' * S: '/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0' emerge --info '=media-libs/mlt-7.28.0-r1::gentoo' Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop, gcc-13, glibc-2.40-r5, 6.6.52-gentoo-6.6.47-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.6.52-gentoo-6.6.47-gentoo-x86_64-AMD_Ryzen_7_7840HS_w-_Radeon_780M_Graphics-with-glibc2.40 KiB Mem: 32139280 total, 16351312 free KiB Swap: 35651580 total, 35651580 free Timestamp of repository gentoo: Wed, 11 Dec 2024 06:00:00 +0000 Head commit of repository gentoo: a3279ed61cc71e3c2d1ac428db50272fd27a8103 sh bash 5.2_p37 ld GNU ld (Gentoo 2.42 p6) 2.42.0 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.6::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.5.2::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo dev-lang/rust-bin: 1.81.0-r100::gentoo, 1.82.0-r100::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.55.1::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.42-r2::gentoo, 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 18.1.8-r6::gentoo sys-devel/gcc: 13.3.1_p20241115::gentoo, 14.2.1_p20241116::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo sys-devel/llvm: 18.1.8-r6::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 3 sync-rsync-extra-opts: Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE @FREE @BINARY-REDISTRIBUTABLE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" 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="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="rsync://mirror.csclub.uwaterloo.ca/gentoo-distfiles rsync://mirrors.ircam.fr/pub/gentoo-distfiles/ https://gentoo.mirrors.ovh.net/gentoo-distfiles/ rsync://ftp.spline.inf.fu-berlin.de/gentoo-distfiles/ rsync://ftp.gwdg.de/gentoo/ https://ftp.uni-hannover.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ rsync://mirror.netzwerge.de/gentoo rsync://mirror.rackspace.com/gentoo/ https://mirrors.evoluso.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ rsync://ftp.snt.utwente.nl/gentoo rsync://ftp.vectranet.pl/gentoo/ rsync://mirrors.mit.edu/gentoo-distfiles/ https://mirrors.rit.edu/gentoo/" LANG="C.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j8 -l5" PKGDIR="/usr/portage/packages" 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="/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds qml qt5 qt6 readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx1103_r1 gfx1102 gfx90a gfx906 gfx908 gfx1030" 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" 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="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB de hu es_ES fr hu nl pl ja" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="ARC M68k" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_lide70 cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 epsonds escl fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs20xx kvs1025 leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pieusb pixma plustek plustek_pp qcam ricoh ricoh2 rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp" VIDEO_CARDS="amdgpu radeonsi intel vesa fbdev" 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d2efa9a697b559e827e06b4d06ffde839a89bd4 commit 1d2efa9a697b559e827e06b4d06ffde839a89bd4 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-12-12 22:18:04 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-12-12 22:18:29 +0000 media-libs/mlt: Hard-disable BUILD_TESTING Closes: https://bugs.gentoo.org/946325 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-libs/mlt/mlt-7.28.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you I can confirm the fix works.
How did you hit this exactly? The tests are restricted (RESTRICT=test) and FEATURES=test emerge ... doesn't show USE=test being enabled because of that restriction. Are you manually enabling USE=test? If so, please don't do that. It doesn't *run* the tests and it just controls building tests + dependencies for them. If you want to run testsuites for packages, use (only) FEATURES=test.
(In reply to Sam James from comment #3) > How did you hit this exactly? > > The tests are restricted (RESTRICT=test) and FEATURES=test emerge ... > doesn't show USE=test being enabled because of that restriction. > > Are you manually enabling USE=test? If so, please don't do that. It doesn't > *run* the tests and it just controls building tests + dependencies for them. > > If you want to run testsuites for packages, use (only) FEATURES=test. I have had a lot of video editing and CAD/CAM software that was kind of unstable so I like running the package self tests on install. So I have used the /etc/portage/package.use/ to set the USE=test on. How is USE=test meant to be used?
(In reply to Evan Foss from comment #4) > > How is USE=test meant to be used? Pretend USE=test doesn't exist (as setting it won't do what you want) and instead set FEATURES=test in package.env/env for packages you want to run testsuites for.
(In reply to Sam James from comment #5) > (In reply to Evan Foss from comment #4) > > > > How is USE=test meant to be used? > > Pretend USE=test doesn't exist (as setting it won't do what you want) and > instead set FEATURES=test in package.env/env for packages you want to run > testsuites for. ok. What is USE=test for?
> It doesn't *run* the tests and it just controls building tests + dependencies for them. i.e. you should view it as an internal hack.