Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138120 - upgrading xorg-x11 breaks python and portage
Summary: upgrading xorg-x11 breaks python and portage
Status: RESOLVED DUPLICATE of bug 132135
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Highest blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 138586 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-26 16:28 UTC by eipi
Modified: 2006-06-30 08:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eipi 2006-06-26 16:28:50 UTC
Hi, 

emerge -uDv world stopped on the following:

/etc/X11/xserver/C/print/models/HPLJ4family/fonts/9nb00094.pmf
>>> /etc/X11/xserver/C/print/models/HPLJ4family/fonts/fonts.alias
>>> /etc/X11/xserver/C/print/models/HPLJ4family/fonts/fonts.dir
>>> /etc/X11/xserver/C/print/models/HPLJ4family/fonts/lpr0ye1a.pmf
>>> /etc/X11/xserver/C/print/models/HPLJ4family/fonts/README
--- /etc/X11/xserver/en_US/
--- /etc/X11/xserver/en_US/print/
>>> /etc/X11/xserver/en_US/print/Xprinters -> ../../C/print/Xprinters
>>> /etc/X11/xserver/en_US/print/ddx-config -> ../../C/print/ddx-config
>>> /etc/X11/xserver/en_US/print/models -> ../../C/print/models
--- /etc/X11/xserver/en_US/print/attributes/
>>> /etc/X11/xserver/en_US/print/attributes/document
>>> /etc/X11/xserver/en_US/print/attributes/job -> ../../../C/print/attributes/job
>>> /etc/X11/xserver/en_US/print/attributes/printer -> ../../../C/print/attributes/printer
--- /etc/X11/lbxproxy/
>>> /etc/X11/lbxproxy/AtomControl
>>> /etc/X11/X -> ../../usr/X11R6/bin/Xorg
>>> /etc/X11/xorg.conf.example
>>> /etc/X11/chooser.sh
>>> /etc/X11/startDM.sh
--- /etc/X11/Sessions/
>>> /etc/X11/Sessions/Xsession
>>> /etc/X11/xorg.conf
--- /etc/init.d/
>>> /etc/init.d/xprint
cycle
>>> /etc/init.d/xdm
cycle
>>> /etc/init.d/xfs
--- /etc/profile.d/
--- /etc/env.d/
>>> /etc/env.d/10xorg
--- /etc/pam.d/
>>> /etc/pam.d/xdm
>>> /etc/pam.d/xserver
--- /etc/conf.d/
>>> /etc/conf.d/xfs
--- /var/
--- /var/lib/
--- /var/lib/xdm/
>>> /var/lib/xdm/.keep
--- /var/lib/xkb/
>>> /var/lib/xkb/README
Traceback (most recent call last):
  File "/usr/lib/portage/bin/emerge", line 3524, in ?
    mydepgraph.merge(pkglist)
  File "/usr/lib/portage/bin/emerge", line 2056, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
  File "/usr/lib/portage/pym/portage.py", line 3056, in doebuild
    vartree=vartree, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 3265, in merge
    mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 6714, in merge
    cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 6348, in treewalk
    self.mergeme(srcroot,destroot,outfile,None,secondhand,cfgfiledict,mymtime)
  File "/usr/lib/portage/pym/portage.py", line 6513, in mergeme
    mymtime=movefile(mysrc,mydest,newmtime=thismtime,sstat=mystat, mysettings=self.settings)
  File "/usr/lib/portage/pym/portage.py", line 3118, in movefile
    dstat=os.lstat(os.path.dirname(dest))
OSError: [Errno 2] No such file or directory: '/usr/lib64/X11'
tux #    

The last package that has been upgraded is:
tux #  tail /var/log/emerge.log
1151319086:  === (11 of 208) Cleaning (sys-kernel/gentoo-sources-2.6.16-r9::/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.16-r9.ebuild)
1151319087:  === (11 of 208) Compiling/Merging (sys-kernel/gentoo-sources-2.6.16-r9::/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.16-r9.ebuild)
1151319147:  >>> AUTOCLEAN: sys-kernel/gentoo-sources
1151319147:  --- AUTOCLEAN: Nothing unmerged.
1151319147:  === (11 of 208) Post-Build Cleaning (sys-kernel/gentoo-sources-2.6.16-r9::/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.16-r9.ebuild)
1151319147:  ::: completed emerge (11 of 208) sys-kernel/gentoo-sources-2.6.16-r9 to /
1151319147:  >>> emerge (12 of 208) x11-base/xorg-x11-6.8.2-r7 to /
1151319147:  === (12 of 208) Cleaning (x11-base/xorg-x11-6.8.2-r7::/usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r7.ebuild)
1151319148:  === (12 of 208) Compiling/Merging (x11-base/xorg-x11-6.8.2-r7::/usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r7.ebuild)
1151321625:  *** terminating.
tux #            

Since then, when I run emerge, I have:
tux ~ # emerge
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]


!!! Failed to complete python imports. These are internal modules for
!!! python and failure here indicates that you have a problem with python
!!! itself and thus portage is not able to continue processing.

!!! You might consider starting python with verbose flags to see what has
!!! gone wrong. Here is the information we got for this exception:
    No module named fcntl

Traceback (most recent call last):
  File "/usr/bin/emerge", line 12, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 20, in ?
    import os,string,types,signal,fcntl,errno
ImportError: No module named fcntl

tux ~ #           

And so, I am unable to give you the emerge --info for the same reason.

Python seems to be dead:
tux ~ # python
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 2.4.2 (#1, Dec 10 2005, 06:24:23)
[GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
tux ~ #

What is going on? How can I recover the state of my gentoo system?

Thanks for your (quick) reply. Regards.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-27 02:49:09 UTC

*** This bug has been marked as a duplicate of 132135 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-30 08:55:40 UTC
*** Bug 138586 has been marked as a duplicate of this bug. ***