Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30693 - errors in sys-apps/portage-2.0.49-r12
Summary: errors in sys-apps/portage-2.0.49-r12
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Highest blocker
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 13:24 UTC by Jeremy Huddleston (RETIRED)
Modified: 2011-10-30 22:20 UTC (History)
0 users

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 Jeremy Huddleston (RETIRED) gentoo-dev 2003-10-08 13:24:36 UTC
$ emerge /usr/portage/sys-apps/portage/portage-2.0.49-r12.ebuild 
Calculating dependencies ...done! 
>>> emerge (1 of 1) sys-apps/portage-2.0.49-r12 to / 
 
... 
 
 * NOTICE: PLEASE *REPLACE* your make.globals. All user changes to variables 
 * in make.globals should be placed in make.conf. DO NOT MODIFY make.globals. 
 
 * Feature additions are noted in help and make.conf descriptions. Update 
 * them using 'etc-update' please. Maintaining current configs for portage 
 * and other system packages is fairly important for the continued health 
 * of your system. 
 
Recalculating the counter... FAILED to update counter. 
!!! This is a problem. 
>>> Clearing invalid entries in dependancy cache... ...done! 
Traceback (most recent call last): 
  File "<string>", line 1, in ? 
  File "/usr/lib/python2.2/py_compile.py", line 47, in compile 
    f = open(file) 
IOError: [Errno 2] No such file or directory: '/usr/lib/portage/pym/
portage.py' 
 
!!! ERROR: sys-apps/portage-2.0.49-r12 failed. 
!!! Function pkg_postinst, Line 270, Exitcode 1 
!!! (no error message) 
 
>>> Regenerating /etc/ld.so.cache... 
>>> sys-apps/portage-2.0.49-r12 merged. 
 
... 
 
$ emerge sync 
>>> starting rsync with rsync://192.168.0.1/gentoo-portage... 
This is a private rsync mirror for gentoo. 
 
receiving file list ... 
61897 files to consider 
rsync[12052] (receiver) heap statistics: 
  arena:        8622776   (bytes from sbrk) 
  ordblks:          789   (chunks not in use) 
  smblks:             2 
  hblks:              1   (chunks from mmap) 
  hblkhd:        258048   (bytes from mmap) 
  usmblks:            0 
  fsmblks:           40 
  uordblks:     7623504   (bytes used) 
  fordblks:      999272   (bytes free) 
  keepcost:       55992   (bytes in releasable chunk) 
 
Number of files: 61897 
Number of files transferred: 0 
Total file size: 49106973 bytes 
Total transferred file size: 0 bytes 
Literal data: 0 bytes 
Matched data: 0 bytes 
File list size: 1454631 
Total bytes written: 164 
Total bytes read: 1454711 
 
wrote 164 bytes  read 1454711 bytes  21877.82 bytes/sec 
total size is 49106973  speedup is 33.75 
 
>>> Updating Portage cache... 
Traceback (most recent call last): 
  File "/usr/bin/emerge", line 1817, in ? 
    portage.db["/"]["porttree"].dbapi.flush_auxcache() 
AttributeError: portdbapi instance has no attribute 'flush_auxcache' 
 
 

Reproducible: Always
Steps to Reproduce:
1. emerge /usr/portage/sys-apps/portage/portage-2.0.49-r12.ebuild 
2. 
3. 
Actual Results:  
see details 


Notice the portage versions differ as reported by emerge info and qpkg -I -v 
portage 
 
$ qpkg -I -v portage 
sys-apps/portage-2.0.49-r12 * 
 
$ emerge info 
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.20-gentoo-r5) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz 
Gentoo Base System version 1.4.3.10p1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer 
-falign-functions=4 -falign-jumps=4 -falign-loops=4" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/
share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/
share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/
share/config" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer 
-falign-functions=4 -falign-jumps=4 -falign-loops=4" 
DISTDIR="/usr/local/download/portage/distfiles" 
FEATURES="ccache autoaddcvs sandbox userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/
Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/local/download/portage/packages-pentium4" 
PORTAGE_TMPDIR="/usr/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/download/portage" 
SYNC="rsync://192.168.0.1/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod 
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib 
directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo 
svga ggi tcltk java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl 
perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 
ldap snmp cdr scanner 3ds acl acpi acpi4linux activefilter afs altivec amd 
apache2 atlas autofs bidi clamav clisp cmucl cscope curl dedicated dga dnd doc 
dv dvd emacs emacs-w3 ethereal evo expat faad fax fbcon ffmpeg flash 
fluidsynth gb gcl gd gd-external geoip glut gmtfull gmthigh gmtsuppl gmttria 
gnomedb gps gstreamer gtk2 icc imagemagick imap innodb ipalias ipv6 jack 
javascript jbig jikes joystick junit justify kerberos krb4 lcd lcms ldam leim 
libdsk libgda lids lirc lua lucid matroska mbox mcal md5sum mng mozaccess 
mozcalendar mozinterfaceinfo mozxmlterm mpi mule nowin nviz oav objc odbc 
offensive ofx oldworld openal parse-clocks passfile pcap pcmcia pda php pic 
plotutils pnp ppds prelude psyco qhull radeon rplay samba sasl skey slp socks5 
sox sqlite src sse stencil-buffer tiff transcode transparent-proxy trusted 
type1 usb videos vim-with-x wmf wxwin wxwindows X509 Xaw3d xchattext xface 
xine xinerama xml xosd xvid zeo mozsvg"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2003-10-08 13:25:58 UTC
bumping the severity because I can't roll back...

$ emerge /usr/portage/sys-apps/portage/portage-2.0.49-r10.ebuild
Calculating dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 2111, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 787, in select_files
    if not self.create(["ebuild",portage.root,mykey],None,"--onlydeps" not
in myopts):
  File "/usr/bin/emerge", line 747, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 846, in select_dep
    mycheck=portage.dep_check(depstring,self.mydbapi[myroot],myuse=myuse)
TypeError: dep_check() got an unexpected keyword argument 'myuse'

(13:25:03 Wed Oct 08 2003 root@cloud)
~ $ emerge portage
Calculating dependencies \
!!! Problem in sys-apps/portage dependencies.
!!! dep_check() got an unexpected keyword argument 'myuse'
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-10-08 23:16:47 UTC
This was fixed many hours ago.
You have a partial install.

Either use a rescue portage, and emerge sync && emerge portage,
or mv /etc/*.py /usr/lib/portage/pym