Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 843563

Summary: media-plugins/gst-plugins-qt5-1.18.4::guru fails to configure before build
Product: GURU Reporter: Alexey Skobkin <skobkin-ru>
Component: Package issuesAssignee: tea <tea+gentoo>
Status: UNCONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.gz

Description Alexey Skobkin 2022-05-10 08:38:57 UTC
media-plugins/gst-plugins-qt5-1.18.4 fails to build at the configure phase.

Portage 3.0.30 (python 3.10.4-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.3.0, glibc-2.35-r4, 5.17.6-gentoo-skobkin x86_64)
=================================================================
System uname: Linux-5.17.6-gentoo-skobkin-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.35
KiB Mem:    65767308 total,  52599316 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 10 May 2022 07:48:24 +0000
Head commit of repository gentoo: f87fab92b3c5c5a6fab0d52fedad4b5b5f2f3746

Timestamp of repository 4nykey: Mon, 09 May 2022 20:52:20 +0000
Head commit of repository 4nykey: ac3ca1fcfc2b3617a627349a0aaf96ba26feec7b

Timestamp of repository Case_Of: Mon, 09 May 2022 20:52:24 +0000
Head commit of repository Case_Of: 5dbaca9409253d96c681e76a4817b05d6cde73a0

Timestamp of repository HomeAssistantRepository: Mon, 09 May 2022 20:52:39 +0000
Head commit of repository HomeAssistantRepository: 2f2ce9ad5d9b4c9e66e3d6ff4751eb783a31f89e

Timestamp of repository activehome: Mon, 09 May 2022 20:52:06 +0000
Head commit of repository activehome: b06d4ae0eff63dcac5802beae06f34156813896d

Timestamp of repository guru: Tue, 10 May 2022 08:03:23 +0000
Head commit of repository guru: 2c6accca78e72c13b3e934cbbd10cec37de65d0f

Timestamp of repository miramir: Mon, 09 May 2022 20:52:11 +0000
Head commit of repository miramir: 443d9a773333821b11bb5cf30e5cf0dd17905d80

Timestamp of repository mva: Mon, 09 May 2022 20:52:11 +0000
Head commit of repository mva: 621d3f67b06a055b769634b7558173bbbab94d1f

Timestamp of repository rasdark: Mon, 09 May 2022 22:43:07 +0000
Head commit of repository rasdark: 7d83efa06f14fe77a1c902a8f1ba0c47b5998a70

Head commit of repository ring-overlay: 94a41086caad1ebdc8e5c127eebbf1779e766b9f

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.8.13::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.5-r1::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.3::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo

Case_Of
    location: /var/db/repos/Case_Of
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/Case_Of.git
    masters: gentoo

HomeAssistantRepository
    location: /var/db/repos/HomeAssistantRepository
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/HomeAssistantRepository.git
    masters: gentoo

activehome
    location: /var/db/repos/activehome
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/activehome.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

miramir
    location: /var/db/repos/miramir
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/miramir.git
    masters: gentoo

mva
    location: /var/db/repos/mva
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mva.git
    masters: gentoo

rasdark
    location: /var/db/repos/rasdark
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/rasdark.git
    masters: gentoo

ring-overlay
    location: /var/db/repos/ring-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/jami-overlay.git
    masters: gentoo

skobkin
    location: /var/db/repos/skobkin
    masters: gentoo

Installed sets: @optfeatures
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
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 buildpkg buildpkg-live cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news nodoc parallel-fetch parallel-install 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.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j32"
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/zsh"
USE="X a52 aac acl acpi activities amd64 avx bash-completion bluetooth branding bzip2 cairo cdr cli crypt cups curl curlwrappers cxx dbus declarative dga djvu dri dts dv dvd dvdr encode exif fbcon ffmpeg flac fortran gif git gnutls gpm gtk gtk3 gui gzip hddtemp iconv icu idn imagemagick inotify ipv6 jabber jack jit jpeg kde kwallet lame lcms libass libglvnd libnotify libtirpc lm_sensors lzma lzo mad matroska mhash mime mmap mmx mmxext mng modemmanager mp3 mp4 mpeg mplayer multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit posix ppds pulseaudio qml qt5 raw readline samba sasl sdl seccomp semantic-desktop session sharedmem smp sockets sound spell split-usr sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg systemd taglib tcmalloc theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vdpau vhosts videos vnc vorbis vulkan wayland widgets wxwidgets x264 x265 xattr xcb xcomposite xft xinerama xml xmpp xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0 php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python3_10" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="amdgpu" 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:  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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Reproducible: Always

Steps to Reproduce:
1. Try to emerge nheko
2. Get media-plugins/gst-plugins-qt5-1.18.4 as a dependency
Actual Results:  
Build fails

Expected Results:  
Build successful
Comment 1 Alexey Skobkin 2022-05-10 08:40:39 UTC
Created attachment 777926 [details]
build.log.gz

Build log.

../gst-plugins-good-1.18.4/ext/qt/meson.build:36: WARNING: Project targeting '>= 0.48' but tried to use feature introduced in '0.54.0': native arg in add_languages.
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 (gcc 11.3.0 "x86_64-pc-linux-gnu-g++ (Gentoo 11.3.0 p4) 11.3.0")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 ld.bfd 2.38
qmake found: NO need ['>= 5', '< 6']
Run-time dependency qt5 (modules: Core, Gui, Qml, Quick) found: NO (tried pkgconfig and config-tool)

../gst-plugins-good-1.18.4/ext/qt/meson.build:41:0: ERROR: Dependency "qt5" not found, tried pkgconfig and config-tool

A full log can be found at /tmp/portage/media-plugins/gst-plugins-qt5-1.18.4/work/gst-plugins-good-1.18.4-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: media-plugins/gst-plugins-qt5-1.18.4::guru failed (configure phase):
Comment 2 tea 2022-05-10 23:41:21 UTC
The problem is that Qt5 packages don't support multilib, the gstreamer-meson eclass doesn't support turning off multilib and package.use.mask doesn't work in overlays. So you will have to disable the abi_x86_32 USE-flag manually for this package.

While trying to reproduce this bug, I encountered another bug (meson doesn't find moc) that is fixed in <https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=ae3b369>.