Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719262 - app-arch/rpm2targz-9.0.0.5g-r2: QA Notice: the following files are outside of the prefix
Summary: app-arch/rpm2targz-9.0.0.5g-r2: QA Notice: the following files are outside of...
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: PATCH
Depends on:
Blocks:
 
Reported: 2020-04-24 16:52 UTC by Olivier Huber
Modified: 2021-01-21 16:30 UTC (History)
0 users

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


Attachments
patch proposal (rpm2targz.patch,336 bytes, patch)
2020-04-24 16:52 UTC, Olivier Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2020-04-24 16:52:30 UTC
Created attachment 634400 [details, diff]
patch proposal

* QA Notice: the following files are outside of the prefix:       
 * /usr                                                                                                                                
 * /usr/bin                                                                                                                            
 * /usr/bin/rpmunpack                                                                                                                  
 * /usr/bin/rpm2txz                                                                                                                    
 * /usr/bin/rpm2tarxz                                                                                                                  
 * /usr/bin/rpm2tgz                                                                                                                    
 * /usr/bin/rpm2tarlzma                                                                                                                
 * /usr/bin/rpm2tbz2                                                                                                                   
 * /usr/bin/rpm2tarbz2                                                                                                                 
 * /usr/bin/rpm2tar                                                                                                                    
 * /usr/bin/rpmoffset                                                                                                                  
 * /usr/bin/rpm2targz                                                                                                                  
 * ERROR: app-arch/rpm2targz-9.0.0.5g-r2::gentoo failed:                                                                               
 *   Aborting due to QA concerns: there are files installed outside the prefix
 *                                                                                                                                                                                                                                                                             
 * Call stack:                                                                                                                         
 *   misc-functions.sh, line 592:  Called install_qa_check                                                                                                                                                                                                                     
 *   misc-functions.sh, line 132:  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"                                                                                                                                                                        
 *                                                                                                                                     
 * If you need support, post the output of `emerge --info '=app-arch/rpm2targz-9.0.0.5g-r2::gentoo'`,                                  
 * the complete build log and the output of `emerge -pqv '=app-arch/rpm2targz-9.0.0.5g-r2::gentoo'`.                                                                                                                                                                           
 * The complete build log is located at '/dev/shm/portage/app-arch/rpm2targz-9.0.0.5g-r2/temp/build.log'.                                                                                                                                                                      
 * The ebuild environment file is located at '/dev/shm/portage/app-arch/rpm2targz-9.0.0.5g-r2/temp/environment'.
 * Working directory: '/dev/shm/portage/app-arch/rpm2targz-9.0.0.5g-r2/image/local/tmp/huber/prefix'       
 * S: '/dev/shm/portage/app-arch/rpm2targz-9.0.0.5g-r2/work/rpm2targz-9.0.0.5g'

Patch is attached.

$ emerge --info app-arch/rpm2targz

Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.0/no-multilib/prefix/kernel-3.2+, gcc-9.3.0, glibc-2.31-r2, 4.4.180-102-default x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.180-102-default-x86_64-Intel-R-_Core-TM-_i5-6500_CPU_@_3.20GHz-with-SuSE-42.3-x86_64
KiB Mem:     8053048 total,    625452 free
KiB Swap:    8384508 total,   5058884 free
Timestamp of repository gentoo: Fri, 24 Apr 2020 12:30:01 +0000
Head commit of repository gentoo: e7660d41c70d1c01a0bbd06ecbaad3be2a8968d4
Head commit of repository science: bc44451d56ba7f057b2a476d23ebb6b32730c8ca

sh bash 5.0_p16
ld GNU ld (Gentoo 2.32 p3) 2.32.0
app-shells/bash:          5.0_p16::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo
dev-util/cmake:           3.17.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.32-r2::gentoo, 2.33.1-r1::gentoo, 2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

gentoo
    location: /scratch/huber/usr_portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

localrepo
    location: /local/tmp/huber/prefix/usr/local/portage
    masters: gentoo

science
    location: /local/tmp/huber/prefix/var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo/sci
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /local/tmp/huber/prefix/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /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 /local/tmp/huber/prefix/etc/env.d /local/tmp/huber/prefix/etc/gentoo-release"
CXXFLAGS="-O2 -pipe -O2 -pipe -march=native"
DISTDIR="/local/tmp/huber/prefix/usr/portage/distfiles"
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 force-prefix ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans unprivileged xattr"
FFLAGS="-O2 -pipe -O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/local/tmp/huber/prefix/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/local/tmp/huber/prefix/"
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="/dev/shm/"
USE="acl amd64 berkdb bzip2 caps cli crypt curl dri eselect-ldso fftw fortran gdbm hdf5 iconv ipv6 jpeg json lapack latex libtirpc lz4 lzma metis ncurses nls nptl openmp pcre pdf png postscript prefix python readline seccomp split-usr sqlite ssl stunnel tcpd threads tiff tools unicode utils vim-syntax webp xattr xkb xml yaml zlib zstd" 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" 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 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF X86 WebAssembly" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

app-arch/rpm2targz-9.0.0.5g-r2::localrepo was built with the following:
USE="(prefix)"
Comment 1 Fabian Groffen gentoo-dev 2021-01-21 16:30:42 UTC
destdir fix is applied in latest version, thanks!