Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331315 - Unable to install file-5.04 (gentoo prefix) files outside prefix env.
Summary: Unable to install file-5.04 (gentoo prefix) files outside prefix env.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 12:51 UTC by Niklas Johansson
Modified: 2010-08-05 14:27 UTC (History)
0 users

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


Attachments
emerge --info =sys-apps/file-5.04 (A,3.93 KB, text/plain)
2010-08-05 12:52 UTC, Niklas Johansson
Details
emerge -pqv =sys-apps/file-5.04 (B,51 bytes, text/plain)
2010-08-05 12:53 UTC, Niklas Johansson
Details
build.log (C,51.64 KB, text/plain)
2010-08-05 12:53 UTC, Niklas Johansson
Details
environment (D,223.77 KB, text/plain)
2010-08-05 12:54 UTC, Niklas Johansson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Johansson 2010-08-05 12:51:57 UTC
I was unable to install file-5.04

To better read the log, my prefix is in echo $EPREFIX
/local/export/scratch/gentoo

here is the last part.

>>> Completed installing file-5.04 into /local/export/scratch/gentoo/var/tmp/portage/sys-apps/file-5.04/image/local/export/scratch/gentoo/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/libmagic.so.1.0.0
   usr/bin/file
   usr/lib/libmagic.a
ecompressdir: bzip2 -9 /local/export/scratch/gentoo/usr/share/man
removing executable bit: local/export/scratch/gentoo/usr/lib/libmagic.la
 * QA Notice: the following files are outside of the prefix:
 * /scratch
 * /scratch/gentoo
 * /scratch/gentoo/usr
 * /scratch/gentoo/usr/lib
 * /scratch/gentoo/usr/lib/python2.6
 * /scratch/gentoo/usr/lib/python2.6/site-packages
 * /scratch/gentoo/usr/lib/python2.6/site-packages/magic.so
 * /scratch/gentoo/usr/lib/python2.6/site-packages/Magic_file_extensions-0.1-py2.6.egg-info
 * ERROR: sys-apps/file-5.04 failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 1556:  Called install_qa_check
 *   misc-functions.sh, line   93:  Called install_qa_check_prefix
 *   misc-functions.sh, line  638:  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-apps/file-5.04',
 * the complete build log and the output of 'emerge -pqv =sys-apps/file-5.04'.
 * The complete build log is located at '/local/export/scratch/gentoo/var/tmp/portage/sys-apps/file-5.04/temp/build.log'.
 * The ebuild environment file is located at '/local/export/scratch/gentoo/var/tmp/portage/sys-apps/file-5.04/temp/environment'.
 * S: '/local/export/scratch/gentoo/var/tmp/portage/sys-apps/file-5.04/work/file-5.04'
!!! post install failed; exiting.

>>> Failed to emerge sys-apps/file-5.04, Log file:
Comment 1 Niklas Johansson 2010-08-05 12:52:45 UTC
Created attachment 241501 [details]
emerge --info =sys-apps/file-5.04
Comment 2 Niklas Johansson 2010-08-05 12:53:09 UTC
Created attachment 241503 [details]
emerge -pqv =sys-apps/file-5.04

emerge -pqv =sys-apps/file-5.04
Comment 3 Niklas Johansson 2010-08-05 12:53:43 UTC
Created attachment 241505 [details]
build.log

/local/export/scratch/gentoo/var/tmp/portage/sys-apps/file-5.04/temp/build.log
Comment 4 Niklas Johansson 2010-08-05 12:54:10 UTC
Created attachment 241507 [details]
environment

/local/export/scratch/gentoo/var/tmp/portage/sys-apps/file-5.04/temp/environment
Comment 5 Niklas Johansson 2010-08-05 12:56:33 UTC
Maybe helpful,

From the error messages it tries to install files to
 * /scratch
 * /scratch/gentoo
 * /scratch/gentoo/usr
 * /scratch/gentoo/usr/lib
 * /scratch/gentoo/usr/lib/python2.6
 * /scratch/gentoo/usr/lib/python2.6/site-packages
 * /scratch/gentoo/usr/lib/python2.6/site-packages/magic.so

I know that there is a symlink on my system
   scratch -> /local/export/scratch/

And this is part of my EPREFIX "place"
   echo $EPREFIX
   /local/export/scratch/gentoo

Comment 6 Niklas Johansson 2010-08-05 14:27:44 UTC
I found the problem. I think I messed up during my creation of the prefix "system".

Clearly something is wrong,,

DISTDIR="/scratch/gentoo/usr/portage/distfiles"
PKGDIR="/scratch/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/local/export/scratch/gentoo/"
PORTAGE_TMPDIR="/scratch/gentoo/var/tmp"
PORTDIR="/scratch/gentoo/usr/portage"

SOrry for the mistake