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

Bug 713718

Summary: dev-qt/qtmultimedia-5.14.1 build fails trying to include /src/multimedia
Product: Gentoo Linux Reporter: wyvern5
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description wyvern5 2020-03-20 22:38:35 UTC
Snippet of build log:


x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DHAVE_WIDGETS -DGST_USE_UNSTABLE_API -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_MULTIMEDIAGSTTOOLS_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_REENTRANT -I. -I. -I/src/multimedia -Icamerabin -I../../../../include -I../../../../include/QtMultimediaGstTools -I../../../../include/QtMultimediaGstTools/5.14.1 -I../../../../include/QtMultimediaGstTools/5.14.1/QtMultimediaGstTools -I../../../../include/QtMultimediaWidgets/5.14.1 -I../../../../include/QtMultimediaWidgets/5.14.1/QtMultimediaWidgets -I../../../../include/QtMultimedia/5.14.1 -I../../../../include/QtMultimedia/5.14.1/QtMultimedia -I../../../../include/QtMultimediaWidgets -I../../../../include/QtMultimedia -isystem /usr/include/qt5/QtWidgets/5.14.1 -isystem /usr/include/qt5/QtWidgets/5.14.1/QtWidgets -isystem /usr/include/qt5/QtGui/5.14.1 -isystem /usr/include/qt5/QtGui/5.14.1/QtGui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore/5.14.1 -isystem /usr/include/qt5/QtCore/5.14.1/QtCore -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I/usr/lib64/gstreamer-1.0/include -isystem /usr/include/libdrm -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/orc-0.4 -isystem /usr/include/gstreamer-1.0 -I/usr/lib64/libffi/include -isystem /usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -isystem /usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/camerabinserviceplugin.o camerabinserviceplugin.cpp
cc1plus: error: /src/multimedia: Permission denied

Reproducible: Always

Steps to Reproduce:
1. emerge qtmultimedia

Actual Results:  
The build fails.


# emerge --info '=dev-qt/qtmultimedia-5.14.1::gentoo'                                                  

Portage 2.3.89 (python 3.7.6-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-9.2.0, glibc-2.29-r7, 4.19.97-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-6850K_CPU_@_3.60GHz-with-gentoo-2.6
KiB Mem:    65883580 total,  12330192 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 20 Mar 2020 14:15:01 +0000
Head commit of repository gentoo: b847a9ab7cc1d5830251e11ae238d60df8967784
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

mbp_local
    location: /usr/local/portage/local-overlay
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 avahi berkdb branding bzip2 cairo cdda cdr cli consolekit crypt cups dbus declarative dri dts dv dvd dvdr emboss encode exif ffmpeg flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg jpeg2k kde kipi kwallet lcms ldap libnotify libtirpc mad matroska mikmod mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 quicktime readline sdl seccomp semantic-desktop speex spell split-usr ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vdpau vorbis widgets wxwidgets wxwindows x264 xattr xcb xcomposite xinerama xml xv xvid zeroconf zlib zsh-completion" ABI_X86="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 proxy proxy_http" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="arm aarch64" QEMU_USER_TARGETS="arm aarch64" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



# emerge -pqv '=dev-qt/qtmultimedia-5.14.1::gentoo'                                                        [ebuild     U ] dev-qt/qtmultimedia-5.14.1 [5.13.2-r1] USE="alsa gstreamer* pulseaudio qml widgets -debug (-gles2) -openal -test"
Comment 1 wyvern5 2020-03-20 22:39:01 UTC
Created attachment 623514 [details]
build log
Comment 2 Andreas Sturmlechner gentoo-dev 2020-03-20 23:15:51 UTC
Hm, I was not able to reproduce the problem with your use flag settings.
Comment 3 wyvern5 2020-03-21 14:35:51 UTC
An `emerge -e qtmultimedia` ended up with the same failure. What can I do to help troubleshoot?
Comment 4 wyvern5 2020-03-28 17:52:01 UTC
This seems to be where that include is coming from: https://github.com/qt/qtmultimedia/blob/dev/src/plugins/gstreamer/camerabin/camerabin.pro#L8

I'm not familiar with that build but maybe $${SOURCE_DIR}/src/multimedia has SOURCE_DIR unset or set to empty string, thus resulting in /src/multimedia?
Comment 5 wyvern5 2020-03-28 19:04:53 UTC
Unsurprisingly, building without USE=gstreamer completes successfully.
Comment 6 Chiitoo gentoo-dev 2020-03-31 11:52:38 UTC
Does the issue still happen after the successful build?
Comment 7 wyvern5 2020-03-31 15:26:41 UTC
Yes, I still see the same error starting from a fully up to date system when I `emerge kdemultimedia-meta`, which requires qtmultimedia with +gstreamer.
Comment 8 Andreas Sturmlechner gentoo-dev 2020-12-26 09:31:19 UTC
Please test with 5.15.x.