Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948473 - net-news/rssguard-4.8.1 fails to build with USE="libmpv"
Summary: net-news/rssguard-4.8.1 fails to build with USE="libmpv"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-21 01:30 UTC by Nick Soveiko
Modified: 2025-01-26 15:20 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,15.31 KB, application/gzip)
2025-01-21 01:30 UTC, Nick Soveiko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Soveiko 2025-01-21 01:30:45 UTC
Created attachment 917193 [details]
build.log

I've installed net-news/rssguard yesterday, and being not satisfied with default feature set, decided to turn on libmpv support via the USE flag. That's when emerge failed.
Comment 1 Nick Soveiko 2025-01-21 01:31:57 UTC
$ emerge --info '=net-news/rssguard-4.8.1::gentoo'
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-r5, 6.6.67-gentoo-ns x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.67-gentoo-ns-x86_64-Intel-R-_Core-TM-_i3-10105_CPU_@_3.70GHz-with-glibc2.40
KiB Mem:    16191020 total,   5712104 free
KiB Swap:   16777208 total,  15522600 free
Timestamp of repository gentoo: Sun, 19 Jan 2025 12:30:00 +0000
Head commit of repository gentoo: 4e1496105854f27dd632ebad1f03712e0cc99a27
Timestamp of repository guru: Fri, 17 Jan 2025 14:33:26 +0000
Head commit of repository guru: 1ca117df78bec56d8d3d9f9a1e321fa5db75eea3

Timestamp of repository nest: Thu, 16 Jan 2025 14:18:16 +0000
Head commit of repository nest: 710dd36644510dd702cb47d87111b75a0325fa1b

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.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.11_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.83.0::gentoo
llvm-core/clang:           15.0.7-r3::gentoo, 18.1.8-r6::gentoo, 19.1.4::gentoo
llvm-core/lld:             15.0.7::gentoo, 18.1.8::gentoo, 19.1.4::gentoo
llvm-core/llvm:            15.0.7-r7::gentoo, 18.1.8-r6::gentoo, 19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::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.11::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-extra-opts: 
    sync-rsync-verify-max-age: 24

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

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -mharden-sls=all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/applications/google-chrome.desktop /usr/share/applications/signal-desktop.desktop /usr/share/easy-rsa /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 -pipe -march=native -mtune=native -mharden-sls=all"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs 4 --load-average 8 --ask y --ask-enter-invalid --alert y"
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 -pipe -march=native -mtune=native -mharden-sls=all"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks downgrade-backup 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 suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native -mharden-sls=all"
GENTOO_MIRRORS="https://tux.rainside.sk/gentoo/ https://gentoo.mirror.root.lu/ https://mirror.leaseweb.com/gentoo/"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8 -l9"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 apparmor bash-completion bindist bluetooth branding bzip2 cairo cdda cddb cdr cet cli crypt cups dbus dri dts dvb dvd dvdr elogind emboss encode exif ffmpeg fftw flac fortran fuse gdbm gif gpm gtk gui hddtemp iconv icu idn jpeg lcms libglvnd libnotify libtirpc lm-sensors mad mbox mng modules-sign mp3 mp4 mpeg mtp ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf png policykit ppds qt5 readline replaygain sdl sdl2 seccomp spell split-usr ssl startup-notification svg system-icu system-jpeg system-png system-sqlite test-rust tiff truetype udev udisks unicode upower usb v4l vaapi verify-sig vorbis vulkan webp wxwidgets x264 xattr xcb xfce xinerama xml xv xvid zlib" 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" 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 sse3 sse4_1 sse4_2 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 en-CA" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" VIDEO_CARDS="intel i965 iris vesa" 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, 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

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

net-news/rssguard-4.8.1::gentoo was built with the following:
USE="sqlite -libmpv -mysql -qtmultimedia -webengine"
Comment 2 Nick Soveiko 2025-01-21 01:32:58 UTC
$ emerge -pqv '=net-news/rssguard-4.8.1::gentoo'

[ebuild   R   ] net-news/rssguard-4.8.1  USE="libmpv* sqlite -mysql -qtmultimedia -webengine"
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-01-21 15:12:54 UTC
could you try if enabling USE=wayland on dev-qt/qtbase helps?
Comment 4 Nick Soveiko 2025-01-22 18:08:30 UTC
(In reply to Michał Górny from comment #3)
> could you try if enabling USE=wayland on dev-qt/qtbase helps?

yep, that did the trick. dunno why -- i don't have wayland and it is disabled globally. media-libs/mesa and x11-libs/gtk+ also had to be rebuilt with wayland support.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-01-22 18:35:25 UTC
Hmm, this is weird.  I see the code is guarded by QT_FEATURE_wayland.  I'm going to rebuild qt6 with USE=-wayland to debug this, but it'll take some time.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-01-22 18:55:01 UTC
Okay, I see the problem:

/usr/include/qt6/QtGui/qtgui-config.h:#define QT_FEATURE_wayland -1

I'm going to facepalm for a minute, then report it upstream.
Comment 7 Larry the Git Cow gentoo-dev 2025-01-22 19:15:39 UTC
The bug has been closed via the following commit(s):

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

commit 1896fac74ffa1cdb67fd9c9d3d85a618096c5d40
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-01-22 19:10:47 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-01-22 19:15:35 +0000

    net-news/rssguard: Fix build failure with dev-qt/qtbase[-wayland]
    
    Closes: https://bugs.gentoo.org/948473
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../files/rssguard-4.8.1-qt-feature-checks.patch   | 70 ++++++++++++++++++++++
 net-news/rssguard/rssguard-4.8.1.ebuild            |  5 ++
 2 files changed, 75 insertions(+)
Comment 8 Nick Soveiko 2025-01-26 15:12:49 UTC
is this fix going to be pushed out as 4.8.1-r1?
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-26 15:20:58 UTC
(In reply to Nick Soveiko from comment #8)
> is this fix going to be pushed out as 4.8.1-r1?

No, it's in 4.8.1. It's a build-time only issue so no need to revbump.