Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612516 - [RAP] media-video/vlc-2.2.4-r1: "Aborting due to QA concerns: there are files installed outside the prefix"
Summary: [RAP] media-video/vlc-2.2.4-r1: "Aborting due to QA concerns: there are files...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-13 17:46 UTC by WGH
Modified: 2017-06-21 11:41 UTC (History)
0 users

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


Attachments
complete build log (build.log.xz,74.37 KB, application/x-xz)
2017-03-13 17:48 UTC, WGH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description WGH 2017-03-13 17:46:13 UTC
* QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/doc
 * /usr/share/doc/vlc-2.2.4-r1
 * /usr/share/doc/vlc-2.2.4-r1/bugreport-howto.txt
 * /usr/share/doc/vlc-2.2.4-r1/libvlc
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/gtk_player.c
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/libvlc_DVD_ripper.c
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/wx_player.cpp
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/vlc-thumb.c
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/QtPlayer
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/QtPlayer/player.cpp
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/QtPlayer/player.h
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/QtPlayer/QtVLC.pro
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/QtPlayer/LICENSE
 * /usr/share/doc/vlc-2.2.4-r1/libvlc/QtPlayer/main.cpp
 * /usr/share/doc/vlc-2.2.4-r1/fortunes.txt
 * /usr/share/doc/vlc-2.2.4-r1/intf-vcd.txt
 * /usr/share/kde4
 * /usr/share/kde4/apps
 * /usr/share/kde4/apps/solid
 * /usr/share/kde4/apps/solid/actions
 * /usr/share/kde4/apps/solid/actions/vlc-openvcd.desktop
 * /usr/share/kde4/apps/solid/actions/vlc-opencda.desktop
 * /usr/share/kde4/apps/solid/actions/vlc-openbd.desktop
 * /usr/share/kde4/apps/solid/actions/vlc-opendvd.desktop
 * ERROR: media-video/vlc-2.2.4-r1::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 603:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  27:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: there are files installed outside the prefix"

Reproducible: Always




!!! Section 'gentoo_prefix' in repos.conf has name different from repository name 'gentoo' set inside repository
Portage 2.3.4 (python 3.4.6-final-0, prefix/linux-standalone/amd64, gcc-5.4.0, glibc-2.24-r1, 3.2.0-4-amd64 x86_64)
=================================================================
System uname: Linux-3.2.0-4-amd64-x86_64-QEMU_Virtual_CPU_version_0.12.5-with-debian-7.1
KiB Mem:    12334320 total,   6124864 free
KiB Swap:     688124 total,    677788 free
Timestamp of repository gentoo: Mon, 13 Mar 2017 17:30:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8_p20160608::rap
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /home/wgh/gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    eclass-overrides: rap

rap
    location: /home/wgh/gentoo/usr/portage-stage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/android.git
    masters: gentoo
    eclass-overrides: rap

ACCEPT_KEYWORDS="amd64 ~amd64 ~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -O2 -pipe"
DISTDIR="/home/wgh/gentoo/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/home/wgh/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/wgh/gentoo/"
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="/home/wgh/gentoo/var/tmp"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix readline seccomp session ssl tcpd unicode zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" 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="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 WGH 2017-03-13 17:48:15 UTC
Created attachment 466904 [details]
complete build log
Comment 2 Fabian Groffen gentoo-dev 2017-03-19 16:18:34 UTC
this might need something like this, but I cannot test it:

--- a/media-video/vlc/vlc-2.2.4-r1.ebuild
+++ b/media-video/vlc/vlc-2.2.4-r1.ebuild
@@ -307,7 +307,7 @@ src_configure() {
        local myconf
 
        # Compatibility fix for Samba 4.
-       use samba && append-cppflags "-I/usr/include/samba-4.0"
+       use samba && append-cppflags "-I${EPREFIX}/usr/include/samba-4.0"
 
        # We need to disable -fstack-check if use >=gcc 4.8.0.
        # See bug #499996
@@ -315,10 +315,10 @@ src_configure() {
 
        # Needs libresid-builder from libsidplay:2 which is in another directory...
        # FIXME!
-       append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
+       append-ldflags "-L${EPREFIX}/usr/$(get_libdir)/sidplay/builders/"
 
        if use truetype || use projectm ; then
-               local dejavu="/usr/share/fonts/dejavu/"
+               local dejavu="${EPREFIX}/usr/share/fonts/dejavu/"
                myconf="--with-default-font=${dejavu}/DejaVuSans.ttf \
                                --with-default-font-family=Sans \
                                --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf
@@ -339,7 +339,7 @@ src_configure() {
        econf \
                ${myconf} \
                --enable-vlc \
-               --docdir=/usr/share/doc/${PF} \
+               --docdir=${EPREFIX}/usr/share/doc/${PF} \
                --disable-dependency-tracking \
                --disable-optimizations \
                --disable-update-check \
Comment 3 Benda Xu gentoo-dev 2017-06-21 11:41:34 UTC
Works for me and committed.  Thanks Fabian and WGH.