Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502036 - sys-libs/ncurses-5.9-r3 - Aborting due to QA concerns: there are files installed outside the prefix
Summary: sys-libs/ncurses-5.9-r3 - Aborting due to QA concerns: there are files instal...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 22:04 UTC by Thomas Kolb
Modified: 2014-03-02 03:53 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,50.37 KB, application/x-gzip)
2014-02-21 22:04 UTC, Thomas Kolb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kolb 2014-02-21 22:04:56 UTC
Created attachment 370978 [details]
build.log.gz

When emerging sys-libs/ncurses-5.9-r3 with --prefix, it fails with the following message:

# emerge -av1 --prefix=/tmp/transcode ncurses

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/include
 * /usr/include/ncursesw
 * /usr/include/ncursesw/etip.h
 * /usr/include/ncursesw/cursslk.h
 * /usr/include/ncursesw/cursesw.h
 * /usr/include/ncursesw/cursesp.h
 * /usr/include/ncursesw/cursesm.h
 * /usr/include/ncursesw/cursesf.h
 * /usr/include/ncursesw/cursesapp.h
 * /usr/include/ncursesw/form.h
 * /usr/include/ncursesw/menu.h
 * /usr/include/ncursesw/eti.h
 * /usr/include/ncursesw/panel.h
 * /usr/include/ncursesw/nc_tparm.h
 * /usr/include/ncursesw/term_entry.h
 * /usr/include/ncursesw/tic.h
 * /usr/include/ncursesw/ncurses_dll.h
 * /usr/include/ncursesw/termcap.h
 * /usr/include/ncursesw/unctrl.h
 * /usr/include/ncursesw/ncurses.h
 * /usr/include/ncursesw/curses.h
 * /usr/include/ncursesw/term.h
 * /usr/lib64
 * /usr/lib64/libcurses.so
 * /usr/lib64/pkgconfig
 * /usr/lib64/pkgconfig/panelw.pc
 * /usr/lib64/pkgconfig/ncurses++w.pc
 * /usr/lib64/pkgconfig/ncursesw.pc
 * /usr/lib64/pkgconfig/menuw.pc
 * /usr/lib64/pkgconfig/formw.pc
 * /usr/lib64/pkgconfig/panel.pc
 * /usr/lib64/pkgconfig/ncurses++.pc
 * /usr/lib64/pkgconfig/ncurses.pc
 * /usr/lib64/pkgconfig/menu.pc
 * /usr/lib64/pkgconfig/form.pc
 * ERROR: sys-libs/ncurses-5.9-r3::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 1276:  Called install_qa_check
 *   misc-functions.sh, line  238:  Called install_qa_check_prefix
 *   misc-functions.sh, line  870:  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 '=sys-libs/ncurses-5.9-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-5.9-r3::gentoo'`.
 * The complete build log is located at '/tmp/portage/sys-libs/ncurses-5.9-r3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-libs/ncurses-5.9-r3/temp/environment'.
 * Working directory: '/tmp/portage/sys-libs/ncurses-5.9-r3/image/tmp/transcode'
 * S: '/tmp/portage/sys-libs/ncurses-5.9-r3/work/ncurses-5.9'
!!! post install failed; exiting.

>>> Failed to emerge sys-libs/ncurses-5.9-r3 for /home/thomas/tmp/ffmpeg_for_cip/tmp/transcode/, Log file:

>>>  '/tmp/portage/sys-libs/ncurses-5.9-r3/temp/build.log'

 * Messages for package sys-libs/ncurses-5.9-r3 merged to /home/thomas/tmp/ffmpeg_for_cip/:

 * ERROR: sys-libs/ncurses-5.9-r3::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 1276:  Called install_qa_check
 *   misc-functions.sh, line  238:  Called install_qa_check_prefix
 *   misc-functions.sh, line  870:  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 '=sys-libs/ncurses-5.9-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-5.9-r3::gentoo'`.
 * The complete build log is located at '/tmp/portage/sys-libs/ncurses-5.9-r3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-libs/ncurses-5.9-r3/temp/environment'.
 * Working directory: '/tmp/portage/sys-libs/ncurses-5.9-r3/image/tmp/transcode'
 * S: '/tmp/portage/sys-libs/ncurses-5.9-r3/work/ncurses-5.9'




# emerge --info '=sys-libs/ncurses-5.9-r3::gentoo'  
!!! Repository 'octave' is missing masters attribute in '/var/lib/layman/octave/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'octave' is missing masters attribute in '/var/lib/layman/octave/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, unavailable, 3.13.0-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.13.0-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.2
KiB Mem:     4047288 total,    205064 free
KiB Swap:    8901624 total,   8900004 free
Timestamp of tree: Fri, 21 Feb 2014 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
Repositories: gentoo steam-overlay hasufell sigrok octave local cfr34k-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3 Q3AEULA AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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=core2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/tmp/packages/"
PORTAGE_CONFIGROOT="/home/thomas/tmp/ffmpeg_for_cip/"
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"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam-overlay /var/lib/layman/hasufell /var/lib/layman/sigrok /var/lib/layman/octave /usr/local/portage/local /usr/local/portage/cfr34k-overlay"
SYNC="rsync://tkolb.de/gentoo-portage"
USE="aac acl amd64 amr avx berkdb bzip2 cli cracklib crypt cxx dri encode fortran gdbm gsm iconv ipv6 jpeg2k libass libcaca mmx modplug modules mp3 multilib ncurses network nls nptl openmp openssl opus pam pcre readline rtmp schroedinger session sse sse2 ssl ssse3 tcpd theora threads unicode vorbis vpx x264 xvid 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" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="sirf nmea" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm mipsel x86_64" QEMU_USER_TARGETS="arm mipsel" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="niash" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev v4l r600" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

sys-libs/ncurses-5.9-r3 was built with the following:
USE="cxx (multilib) unicode -ada -debug -doc -gpm -minimal -profile -static-libs -tinfo -trace" ABI_X86="64 -32 -x32"



Complete build.log is attached.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-02-27 05:19:38 UTC
Hello,

       --prefix=DIR
              Set the EPREFIX environment variable.

You are trying to use Gentoo Prefix, but normal Gentoo Linux at the same time? I guess there is a missing thought here? What is the intent exactly?

Thanks.
Comment 2 Thomas Kolb 2014-03-02 03:07:37 UTC
Hello,

looks like this was a misunderstanding on my side. I didn't realize at that time that Gentoo Prefix was a special project and the --prefix option was for use with that environment only.

The intention was to build some packages for use on another computer without privileges, and found the --prefix switch in the emerge man page. I assumed that the EPREFIX variable is just used to set the value for the --prefix parameter for configure scripts and similar settings for other build systems. As it seemed to do just that for most packages and failed for ncurses, I thought there was something wrong with this ebuild. Seems like I was on the wrong track here.

Now I'm using Gentoo Prefix as intended, and it works great so far (also when merging ncurses). So the mistake was on my end.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-03-02 03:53:34 UTC
Thanks for the update, I'll close this report.