From: Lang Hurst <lang@tharin.com>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] portage broken
Date: Wed, 12 Jun 2002 20:59:00 -0700 [thread overview]
Message-ID: <20020612205900.5775118b.lang@tharin.com> (raw)
Good Day. I've posted my problem to both the gentoo-user list and to the forums on gentoo.org and while I've found several mentions of this problem, I've yet to find a solution other than the M$ sounding "reinstall."
emerge is broken on my system (XFS, 2.4.19-gentoo-r5). It seems to be something with python, but I really don't know enough about gentoo, or really python either, to track it down.
emerge rsync WORKS
emerge -s [package] WORKS
emerge [package] errors out everytime with:
ValueError: invalid literal for long():
as in:
> emerge portage
Calculating dependencies ...done!
>>> emerge sys-apps/portage-1.9.13 to /
>>> Unpacking source...
>>> Source unpacked.
gcc -Wall -O2 sandbox.c -o sandbox
gcc -Wall -O2 -c -o libsandbox.o libsandbox.c
gcc -Wall -O2 libsandbox.o -o libsandbox.so -ldl --shared
>>> Install portage-1.9.13 into /var/tmp/portage/portage-1.9.13/image/ category sys-apps
running install
running build
running build_ext
building 'missingos' extension
creating build
creating build/temp.linux-i686-2.2
gcc -DNDEBUG -march=i686 -O3 -pipe -fPIC -I/usr/include/python2.2 -c missingos.c -o build/temp.lin
ux-i686-2.2/missingos.o -O2 -mcpu=i686 -pipe
creating build/lib.linux-i686-2.2
gcc -shared build/temp.linux-i686-2.2/missingos.o -o build/lib.linux-i686-2.2/missingos.so
running install_lib
creating /var/tmp/portage/portage-1.9.13/image/usr
creating /var/tmp/portage/portage-1.9.13/image/usr/lib
creating /var/tmp/portage/portage-1.9.13/image/usr/lib/python2.2
creating /var/tmp/portage/portage-1.9.13/image/usr/lib/python2.2/site-packages
copying build/lib.linux-i686-2.2/missingos.so -> /var/tmp/portage/portage-1.9.13/image/usr/lib/pyt
hon2.2/site-packages
warning: install: modules installed to '/var/tmp/portage/portage-1.9.13/image/usr/lib/python2.2/si
te-packages/', which is not in Python's module search path (sys.path) -- you'll have to change the
search path yourself
Listing /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages ...
Compiling /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/output.py ...
Compiling /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py ...
Compiling /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/xpak.py ...
Listing /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages ...
Compiling /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/output.py ...
Compiling /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py ...
Compiling /var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/xpak.py ...
strip:
/var/tmp/portage/portage-1.9.13/image/usr/lib/python2.2/site-packages/missingos.so
/var/tmp/portage/portage-1.9.13/image/usr/lib/portage/bin/tbz2tool
/var/tmp/portage/portage-1.9.13/image/usr/lib/portage/bin/sandbox
/var/tmp/portage/portage-1.9.13/image/lib/libsandbox.so
>>> Completed installing into /var/tmp/portage/portage-1.9.13/image/
>>> Merging sys-apps/portage-1.9.13 to /
Traceback (most recent call last):
File "/usr/bin/emerge", line 1242, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 619, in merge
retval=portage.doebuild(y,"merge",myroot,edebug)
File "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py", line 1
102, in doebuild
return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-in
fo",myroot,myebuild=settings["EBUILD"])
File "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py", line 1
354, in merge
mylink.merge(pkgloc,infloc,myroot,myebuild)
File "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py", line 3
180, in merge
self.treewalk(mergeroot,myroot,inforoot,myebuild)
File "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py", line 2
858, in treewalk
packagecounter=long(globalcounterfile.readline())
ValueError: invalid literal for long():
emerge errors out with the same error with anypackage. I'm pretty happy with the way my system is set up right now, but I'm sure that someday I'll want to upgrade or add applications. I don't really want to jump through the hoops of configuring postfix, apache, X, etc. again real soon.
Hopefully someone here can point me to a way of saving the system without doing a reinstall. Thanks for your time.
-Lang
next reply other threads:[~2002-06-13 4:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-13 3:59 Lang Hurst [this message]
2002-06-13 16:11 ` [gentoo-dev] portage broken Francisco Gimeno
-- strict thread matches above, loose matches on Subject: below --
2002-06-13 16:23 lang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020612205900.5775118b.lang@tharin.com \
--to=lang@tharin.com \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox