Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-apps/portage-2.1.11.9 fails[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
todd93
Guru
Guru


Joined: 30 Oct 2006
Posts: 455
Location: Missouri

PostPosted: Sun Oct 07, 2012 12:56 pm    Post subject: sys-apps/portage-2.1.11.9 fails[SOLVED] Reply with quote

Hi, I have been having some issues lately and I can't quite put my finger on why, but sys-apps/portage-2.1.11.9 fails to emerge. I think it is causing some other issues throughout my system. I saw a post with a similar problem that I am having, but not the same. That problem centered around python. Having successfully updated python, I'm still having the issue, and am hoping someone could hopefully shed some light on it for me. Here is the error that I'm having:
Code:

>>> Installing (1 of 1) sys-apps/portage-2.1.11.9
 * checking 360 files for package collisions
>>> Merging sys-apps/portage-2.1.11.9 to /
 * Running preinst sanity tests...
Traceback (most recent call last):
  File "/var/tmp/portage/sys-apps/portage-2.1.11.9/image/usr/lib64/portage/pym/portage/tests/runTests", line 47, in <module>
    if not path or not os.path.samefile(path[0], PORTAGE_BIN_PATH):
  File "/usr/lib64/python3.2/posixpath.py", line 174, in samefile
    s1 = os.stat(f1)
OSError: [Errno 2] No such file or directory: '/usr/lib64/ccache/bin'
 * ERROR: sys-apps/portage-2.1.11.9 failed (preinst phase):
 *   preinst sanity tests failed
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called pkg_preinst
 *   environment, line 2584:  Called die
 * The specific snippet of code:
 *               "$test_runner" || die "preinst sanity tests failed";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-2.1.11.9'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-2.1.11.9'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.11.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.11.9/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-2.1.11.9'
 * S: '/var/tmp/portage/sys-apps/portage-2.1.11.9/work/portage-2.1.11.9'
!!! FAILED preinst: 1

>>> Failed to install sys-apps/portage-2.1.11.9, Log file:

>>>  '/var/tmp/portage/sys-apps/portage-2.1.11.9/temp/build.log'

 * Messages for package sys-apps/portage-2.1.11.9:

 * ERROR: sys-apps/portage-2.1.11.9 failed (preinst phase):
 *   preinst sanity tests failed
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called pkg_preinst
 *   environment, line 2584:  Called die
 * The specific snippet of code:
 *               "$test_runner" || die "preinst sanity tests failed";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-2.1.11.9'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-2.1.11.9'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.11.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.11.9/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-2.1.11.9'
 * S: '/var/tmp/portage/sys-apps/portage-2.1.11.9/work/portage-2.1.11.9'

 * GNU info directory index is up-to-date

not sure why it fails in that way, I am entering 'emerge -av portage' and that's what happens. The biggest problem I am having is trouble with some use flags, such as I emerge a package without a use flag, and it still equeries as if the use flag is still in the package, things like that. I would really appreciate some input on this. I am happy to post more info if it is needed, just say the word!!

Thanks so much!!
Todd


Last edited by todd93 on Sun Oct 07, 2012 1:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4258

PostPosted: Sun Oct 07, 2012 1:13 pm    Post subject: Reply with quote

while waiting zmedico answer, i suppose you could try disable ccache as the error imply it.
FEATURES="-ccache" emerge -1 portage

You could post emerge --info as it won't kill you, and it's always good to get.
Back to top
View user's profile Send private message
todd93
Guru
Guru


Joined: 30 Oct 2006
Posts: 455
Location: Missouri

PostPosted: Sun Oct 07, 2012 1:21 pm    Post subject: Reply with quote

krinn wrote:
while waiting zmedico answer, i suppose you could try disable ccache as the error imply it.
FEATURES="-ccache" emerge -1 portage

You could post emerge --info as it won't kill you, and it's always good to get.


OMG I feel like a fool, I disabled the ccache, and everything went fine, Thanks so much, this one is SOLVED!!

Todd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum