Warning: Error with navigation contributor "BrowserModule"

Ticket #159 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

pmerging python fubarred python

Reported by: onox Owned by:
Priority: critical Milestone: 0.4.3
Component: pkgcore Version: 0.4
Keywords: Cc:

Description (last modified by ferringb) (diff)

<<< dir:/usr/lib/python2.4/idlelib
<<< dir:/usr/lib/python2.4/hotshot
<<< dir:/usr/lib/python2.4/encodings
<<< dir:/usr/lib/python2.4/email/test/data
<<< dir:/usr/lib/python2.4/email/test
<<< dir:/usr/lib/python2.4/email
<<< dir:/usr/lib/python2.4/distutils/tests
<<< dir:/usr/lib/python2.4/distutils/command
<<< dir:/usr/lib/python2.4/distutils
<<< dir:/usr/lib/python2.4/curses
<<< dir:/usr/lib/python2.4/compiler
<<< dir:/usr/lib/python2.4/bsddb/test
<<< dir:/usr/lib/python2.4/bsddb
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/pkgcore/bin/ebuild-env/filter-env", line 5, in ?
    from pkgcore.scripts import filter_env
  File "/usr/lib64/python2.4/site-packages/pkgcore/__init__.py", line 6, in ?
    import os
ImportError: No module named os
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/pkgcore/bin/ebuild-env/filter-env", line 5, in ?
    from pkgcore.scripts import filter_env
  File "/usr/lib64/python2.4/site-packages/pkgcore/__init__.py", line 6, in ?
    import os
ImportError: No module named os
>>> Adding dev-lang/python-2.4.4-r9 to world file
finished

Attachments

bloody-python-2.4.4.tbz2 Download (97.8 KB) - added by onox 2 years ago.
CONTENTS_before_pkgcore Download (247.5 KB) - added by onox 2 years ago.
CONTENTS file before pkgcore fubarred python
CONTENTS_after_pkgcore Download (252.9 KB) - added by onox 2 years ago.

Change History

Changed 2 years ago by onox

comment:1 Changed 2 years ago by anonymous

 http://pastebin.ca/966335

Bloody trac -_-

comment:2 Changed 2 years ago by onox

Using any python program gives:

Could not find platform independent libraries <prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'import site' failed; use -v for traceback Traceback (most recent call last):

File "/usr/bin/equery", line 16, in ?

import os

ImportError?: No module named os

Changed 2 years ago by onox

CONTENTS file before pkgcore fubarred python

Changed 2 years ago by onox

comment:3 Changed 2 years ago by ferringb

  • Description modified (diff)

For the life of me, I can't replicate this. Few thoughts-

  1. is there a /usr/lib symlink still?
  2. merge failure in question, was this a fresh install? In other words, literally bootstrapping? if not, what was doing the merges previously? Always pkgcore, or mix of pkgcore/portage? If paludis kindly state also- each PM has slightly different merging/contents approaches, knowing what was involved would help to narrow the area to search for this issue.

comment:4 Changed 2 years ago by ferringb

  • Status changed from new to closed
  • Resolution set to fixed

Corrected in 0.4.4 (few issues afoot here- primarily portage installed contents aren't realpath'd, which pkgcore recently became sensitive to).

Note: See TracTickets for help on using tickets.