Summary: | Emerge of any tbz2 from LiveCD fails with message "CATEGORY info missing from info chunk, aborting...". | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bob Barry <bobb> |
Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jrmalaq, meyerm, mr_bones_, vincenzo_ml |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Bob Barry
2003-09-18 03:16:03 UTC
This might be another data point: I just created a package with: emerge -B ./gcc-3.2.3-r2.ebuild on one machine, copied the resulting tbz2 file over to another machine and I get the same error when I try to `emerge /usr/portage/packages/sys-devel/gcc-3.2.3-r2.tbz2` Portage 2.0.49-r15 on both machines. Do you have the same problem with the latest stable version of portage? I ran into the "CATEGORY infor missing from info chunk, aborting" error, but NOT from the LiveCD. Scenario: I do `emerge -u world` only about once per quarter, prefering to upgrade only individual things in between. I had done the recent (2.0.50) portage upgrade, and went through the same problems everyone else had. I was about 6 packages past that, however, when suddenly I got to gawk-3.1.3-r1. It compiled, installed fine, but then I got the above error. Working with rac in #gentoo, he suggested that I [re]move the /usr/portage/packages directory. That didn't change anything. Then I realized that I also had buildpkgs active, so I tried FEATURES=-buildpkg emerge gawk And it merged no problem. As to *why* this fixed the problem, I don't know. rac asked me to annotate this experience here. Recommend this be assigned to the portage team Maybe another data point: A few days after comment #4, I did an `emerge -kp something` I got this: These are the packages that I would merge, in order: !!! Invalid binary package: gawk-3.1.3-r1.tbz2 !!! Invalid binary package: gnome-python-1.4.4.tbz2 !!! Invalid binary package: offlineimap-4.0.0.tbz2 Calculating dependencies ...done! [binary R ] app-office/openoffice-ximian-1.1.50 Note that the gawk one is the one I was having trouble with, and gnome-python and offlineimap were two packages that python-updater FAILED to upgrade (though I'm not sure why). That was AFTER the python 2.3 upgrade, but BEFORE the portage 2.0.50 upgrade. Could it be that some inconsitency has crept in in the actual .tbz2 format between versions, somehow connected to the python or portage upgrade? Packages since then seem ok... AfC My first time working with gentoo. I was running emerge from Internet sources. I am running on SPARC version on Sun Ultra 30.
I got the same error after updating portage when I tried to emerge gnome.
I then tried to emerge xfree separately, thinking it might be an issue with the gnome package. Same error.
I then downloaded the LIVECD set and tried to emerge from binary packcage. Same error.
-p(retend) replies with:
!!! Invalid binary package: xfree-4.3.0-r4.tbz2
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-base/xfree-4.3.0-r2 to /
!!! CATEGORY info missing from info chunk, aborting...
Some of this I think I can work out... At least the '*.tbz2' versions. I don't think explicit paths or filenames work with emerge. If you're going to paste output or report instances of this, please also post the _exact_ command used and emerge info. re-assigning to the Portage team since this is not a release bug. Try this as a solution, uncomment: PORTDIR=/usr/portage PKGDIR=${PORTDIR}/packages in /etc/make.conf Had a similar problem when emerging packages from source: Example: (22:20) beast root # emerge -pv extutils-pkgconfig These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-perl/extutils-pkgconfig-1.02 4 kB Total size of downloads: 4 kB (22:20) beast root # emerge extutils-pkgconfig Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/extutils-pkgconfig-1.02 to / >>> Downloading http://192.168.5.1/portage/distfiles/ExtUtils-PkgConfig-1.02.tar.gz --22:20:47-- http://192.168.5.1/portage/distfiles/ExtUtils-PkgConfig-1.02.tar.gz => `/home/portage/distfiles/ExtUtils-PkgConfig-1.02.tar.gz' Connecting to 192.168.5.1:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,651 [application/x-tar] 100%[=================================================================================================================>] 4,651 --.--K/s 22:20:47 (18.79 MB/s) - `/home/portage/distfiles/ExtUtils-PkgConfig-1.02.tar.gz' saved [4651/4651] >>> md5 src_uri ;-) ExtUtils-PkgConfig-1.02.tar.gz >>> Unpacking source... >>> Unpacking ExtUtils-PkgConfig-1.02.tar.gz to /var/tmp/portage/extutils-pkgconfig-1.02/work >>> Source unpacked. Checking if your kit is complete... Looks good Writing Makefile for ExtUtils::PkgConfig cp lib/ExtUtils/PkgConfig.pm blib/lib/ExtUtils/PkgConfig.pm Manifying blib/man3/ExtUtils::PkgConfig.3pm >>> Install extutils-pkgconfig-1.02 into /var/tmp/portage/extutils-pkgconfig-1.02/image/ category dev-perl Installing /var/tmp/portage/extutils-pkgconfig-1.02/image/usr/lib/perl5/vendor_perl/5.8.3/ExtUtils/PkgConfig.pm Installing /var/tmp/portage/extutils-pkgconfig-1.02/image/usr/share/man/man3/ExtUtils::PkgConfig.3pm Writing /var/tmp/portage/extutils-pkgconfig-1.02/image//usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/ExtUtils/PkgConfig/.packlist Appending installation info to /var/tmp/portage/extutils-pkgconfig-1.02/image//usr/lib/perl5/5.8.3/i686-linux/perllocal.pod man: gzipping man page: ExtUtils::PkgConfig.3pm prepallstrip: strip: >>> Completed installing into /var/tmp/portage/extutils-pkgconfig-1.02/image/ ./ ./usr/ ./usr/share/ ./usr/share/perl/ ./usr/share/perl/gentoo-pods/ ./usr/share/perl/gentoo-pods/5.8.3/ ./usr/share/perl/gentoo-pods/5.8.3/extutils-pkgconfig-1.02.pod ./usr/share/perl/gentoo-pods/5.8.3/extutils-pkgconfig-1.02.pod.arch ./usr/share/man/ ./usr/share/man/man3/ ./usr/share/man/man3/ExtUtils::PkgConfig.3pm.gz ./usr/share/doc/ ./usr/share/doc/extutils-pkgconfig-1.02/ ./usr/share/doc/extutils-pkgconfig-1.02/Changes.gz ./usr/share/doc/extutils-pkgconfig-1.02/MANIFEST.gz ./usr/share/doc/extutils-pkgconfig-1.02/README.gz ./usr/lib/ ./usr/lib/perl5/ ./usr/lib/perl5/vendor_perl/ ./usr/lib/perl5/vendor_perl/5.8.3/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/ExtUtils/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/ExtUtils/PkgConfig/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/ExtUtils/PkgConfig/.packlist ./usr/lib/perl5/vendor_perl/5.8.3/ExtUtils/ ./usr/lib/perl5/vendor_perl/5.8.3/ExtUtils/PkgConfig.pm ./usr/lib/perl5/5.8.3/ ./usr/lib/perl5/5.8.3/i686-linux/ >>> Done. !!! CATEGORY info missing from info chunk, aborting... To install, I have to do the following... (22:21) beast root # cd /var/tmp/portage/extutils-pkgconfig-1.02/image (22:21) beast image # tar -cv * -f - | tar -C / -xvf - ... (22:22) beast image # emerge inject dev-perl/extutils-pkgconfig-1.02 !!! BAD COUNTER in 'dev-perl/extutils-pkgconfig-1.02' >>> Injected dev-perl/extutils-pkgconfig-1.02. This is irritating to say the least. I heard somewhere on the forums that this can be caused by a lack of disk space... According to df: (22:22) beast image # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda7 7.7G 6.2G 1.6G 80% / /dev/hda1 4.0G 3.6G 441M 90% /hd/win2k /dev/hda5 10G 8.9G 1.2G 89% /hd/apps /dev/hda6 1.1G 276M 751M 27% /hd/temp /dev/sde5 17G 8.0G 9.0G 47% /hd/pub/0 /dev/sdf5 17G 696M 17G 5% /hd/pub/1 /dev/sdg5 17G 281M 17G 2% /hd/pub/2 /dev/sdb5 8.6G 5.9G 2.7G 69% /hd/media/0 /dev/sdh1 8.5G 7.1G 1.5G 83% /hd/media/1 /dev/sdc5 4.2G 2.3G 2.0G 53% /hd/data/0 /dev/sdd5 4.3G 4.0K 4.3G 1% /hd/data/1 tmpfs 442M 0 442M 0% /dev/shm I'll try running emerge portage later tonight and see if it clears up then, but in the meantime -- I'll post this to shed some more light. I have this problem too, emerging kdeartwork, sharefonts, freefonts, artwiz-fonts and other fonts. I tried emerging other packages and they seems to work, like mm-sources. I have a bunch of disk space. Anything new on this topic? I just wanted to update libxml2 and after the ">>> Done." I got the same "!!! CATEGORY info missing from info chunk, aborting..." error... OK, problem... I've found the "solution" to my specific problem. <sh> yavin packages # ls -l total 1552 -rw-r--r-- 1 root portage 1575153 Apr 3 19:08 All drwxr-xr-x 2 root users 4096 Apr 3 19:08 dev-libs drwxr-sr-x 2 root users 4096 Apr 3 16:31 net-libs yavin packages # ls -l dev-libs/ total 0 lrwxrwxrwx 1 root root 25 Apr 3 19:08 libxml2-2.6.6.tbz2 -> ../All/libxml2-2.6.6.tbz2 yavin packages # ls -l net-libs/ total 0 lrwxrwxrwx 1 root users 27 Apr 3 16:31 libwww-5.4.0-r2.tbz2 -> ../All/libwww-5.4.0-r2.tbz2 yavin packages # </sh> So I deleted everything and the emerge just finishes nice. Portage can now place the packages where they belong to. But the question is, how was this possible... I just reemerged libxml2 and libwww. Worked... Comment #12 The All directory does not have execute permissions. I haven't traced the portage code for binaries yet, but I imagine you'll get that error if it cannot read the file at all. Comment #4 & #5 The "invalid binary" message is more than likely caused by bug #46096. Comment #3 & #9 There is something really strange happening there. Especially with #3 where the packages directory was emptied and the error still occurred. Can anyone experiencing this problem confirm that the permissions are correct on the packages directory and any subdirectories? Also, can you confirm that the All directory contains all the packages and that the category directories contain symlinks into the All directory? Wierd thing ... I checked up the permissions on my package directory... (13:49) beast i686 # ls -l total 260 -rw-r--r-- 1 root root 264789 Mar 14 01:32 All <-- Huh? drwxr-xr-x 2 root root 75 Mar 7 22:21 dev-perl drwxr-xr-x 2 root root 6 Mar 14 01:33 games-fps drwxr-xr-x 2 root root 59 Mar 14 01:32 media-libs drwxr-xr-x 2 root root 33 Mar 5 18:24 net-mail "All" oddly enough, was a _file_ not a directory. Removing the file seems to have fixed the problem.... a test emerge reveals... (13:50) beast i686 # emerge -pv dev-perl/Storable These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-perl/Storable-2.09 [2.07-r1] 117 kB Total size of downloads: 117 kB (13:50) beast i686 # emerge --buildpkg dev-perl/Storable Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/Storable-2.09 to / >>> Downloading http://192.168.5.1/portage/distfiles/Storable-2.09.tar.gz --13:50:55-- http://192.168.5.1/portage/distfiles/Storable-2.09.tar.gz => `/home/portage/distfiles/Storable-2.09.tar.gz' Connecting to 192.168.5.1:80... connected. HTTP request sent, awaiting response... 200 OK Length: 120,159 [application/x-tar] 100%[================================================================================================================>] 120,159 --.--K/s 13:50:55 (12.10 MB/s) - `/home/portage/distfiles/Storable-2.09.tar.gz' saved [120159/120159] >>> md5 src_uri ;-) Storable-2.09.tar.gz >>> Unpacking source... >>> Unpacking Storable-2.09.tar.gz to /var/tmp/portage/Storable-2.09/work >>> Source unpacked. Checking if your kit is complete... Looks good Processing hints file hints/linux.pl Writing Makefile for Storable cp Storable.pm blib/lib/Storable.pm AutoSplitting blib/lib/Storable.pm (blib/lib/auto/Storable) /usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap Storable.xs > Storable.xsc && mv Storable.xsc Storable.c gcc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.09\" -DXS_VERSION=\"2.09\" -fPIC "-I/usr/lib/perl5/5.8.3/i686-linux/CORE" Storable.c distcc[21942] (dcc_parse_multiplier) ERROR: bad multiplier "/0 " in host specification distcc[21942] (dcc_build_somewhere) Warning: failed to distribute, running locally instead Running Mkbootstrap for Storable () chmod 644 Storable.bs rm -f blib/arch/auto/Storable/Storable.so LD_RUN_PATH="" gcc -shared -L/usr/local/lib Storable.o -o blib/arch/auto/Storable/Storable.so chmod 755 blib/arch/auto/Storable/Storable.so cp Storable.bs blib/arch/auto/Storable/Storable.bs chmod 644 blib/arch/auto/Storable/Storable.bs >>> Install Storable-2.09 into /var/tmp/portage/Storable-2.09/image/ category dev-perl Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/Storable.so Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/Storable.bs Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Storable.pm Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/logcroak.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/logcarp.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/CAN_FLOCK.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/show_file_magic.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/read_magic.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/store.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nstore.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_store.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_nstore.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_store.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/store_fd.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nstore_fd.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_store_fd.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/freeze.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nfreeze.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_freeze.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/retrieve.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_retrieve.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_retrieve.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/fd_retrieve.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/thaw.al Installing /var/tmp/portage/Storable-2.09/image/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/autosplit.ix Writing /var/tmp/portage/Storable-2.09/image//usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/.packlist Appending installation info to /var/tmp/portage/Storable-2.09/image//usr/lib/perl5/5.8.3/i686-linux/perllocal.pod man: prepallstrip: strip: strip: usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/Storable.so >>> Completed installing into /var/tmp/portage/Storable-2.09/image/ ./ ./usr/ ./usr/share/ ./usr/share/perl/ ./usr/share/perl/gentoo-pods/ ./usr/share/perl/gentoo-pods/5.8.3/ ./usr/share/perl/gentoo-pods/5.8.3/Storable-2.09.pod ./usr/share/perl/gentoo-pods/5.8.3/Storable-2.09.pod.arch ./usr/share/doc/ ./usr/share/doc/Storable-2.09/ ./usr/share/doc/Storable-2.09/ChangeLog.gz ./usr/share/doc/Storable-2.09/MANIFEST.gz ./usr/share/doc/Storable-2.09/README.gz ./usr/lib/ ./usr/lib/perl5/ ./usr/lib/perl5/vendor_perl/ ./usr/lib/perl5/vendor_perl/5.8.3/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/ ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/Storable.so ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/Storable.bs ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/logcroak.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/logcarp.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/CAN_FLOCK.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/show_file_magic.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/read_magic.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/store.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nstore.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_store.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_nstore.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_store.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/store_fd.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nstore_fd.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_store_fd.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/freeze.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nfreeze.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_freeze.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/retrieve.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_retrieve.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_retrieve.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/fd_retrieve.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/thaw.al ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/autosplit.ix ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/.packlist ./usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Storable.pm ./usr/lib/perl5/5.8.3/ ./usr/lib/perl5/5.8.3/i686-linux/ >>> Done. >>> extracting info >>> extracting Storable-2.09 >>> Merging dev-perl/Storable-2.09 to / --- /usr/ --- /usr/share/ --- /usr/share/perl/ --- /usr/share/perl/gentoo-pods/ --- /usr/share/perl/gentoo-pods/5.8.3/ >>> /usr/share/perl/gentoo-pods/5.8.3/Storable-2.09.pod >>> /usr/share/perl/gentoo-pods/5.8.3/Storable-2.09.pod.arch --- /usr/share/doc/ >>> /usr/share/doc/Storable-2.09/ >>> /usr/share/doc/Storable-2.09/ChangeLog.gz >>> /usr/share/doc/Storable-2.09/MANIFEST.gz >>> /usr/share/doc/Storable-2.09/README.gz --- /usr/lib/ --- /usr/lib/perl5/ --- /usr/lib/perl5/vendor_perl/ --- /usr/lib/perl5/vendor_perl/5.8.3/ --- /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/ --- /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/ >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/ >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/Storable.so >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/Storable.bs >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/logcroak.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/logcarp.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/CAN_FLOCK.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/show_file_magic.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/read_magic.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/store.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nstore.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_store.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_nstore.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_store.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/store_fd.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nstore_fd.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_store_fd.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/freeze.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/nfreeze.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_freeze.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/retrieve.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/lock_retrieve.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/_retrieve.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/fd_retrieve.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/thaw.al >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/autosplit.ix >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Storable/.packlist >>> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Storable.pm --- /usr/lib/perl5/5.8.3/ --- /usr/lib/perl5/5.8.3/i686-linux/ * Caching service dependencies... >>> dev-perl/Storable-2.09 merged. >>> Recording dev-perl/Storable in "world" favorites file... dev-perl/Storable selected: 2.07-r1 protected: 2.09 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging dev-perl/Storable-2.07-r1... No package files given... Grabbing a set. <<< obj /usr/share/doc/Storable-2.07-r1/README.gz <<< obj /usr/share/doc/Storable-2.07-r1/MANIFEST.gz <<< obj /usr/share/doc/Storable-2.07-r1/ChangeLog.gz <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/thaw.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/store_fd.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/store.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/show_file_magic.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/retrieve.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/read_magic.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/nstore_fd.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/nstore.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/nfreeze.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/logcroak.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/logcarp.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/lock_store.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/lock_retrieve.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/lock_nstore.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/freeze.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/fd_retrieve.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/autosplit.ix <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/_store_fd.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/_store.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/_retrieve.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/_freeze.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/Storable.so <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/Storable.bs <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable/CAN_FLOCK.al <<< obj /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Storable.pm <<< dir /usr/share/doc/Storable-2.07-r1 <<< dir /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto/Storable --- !empty dir /usr/share/perl/gentoo-pods/5.8.0 --- !empty dir /usr/share/perl/gentoo-pods --- !empty dir /usr/share/perl --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/auto --- !empty dir /usr/lib/perl5/vendor_perl/5.8.0/i686-linux --- !empty dir /usr/lib/perl5/vendor_perl/5.8.0 --- !empty dir /usr/lib/perl5/vendor_perl --- !empty dir /usr/lib/perl5 --- !empty dir /usr/lib --- !empty dir /usr * Caching service dependencies... * Caching service dependencies... >>> Auto-cleaning packages ... (13:49) beast i686 # ls -l total 260 -rw-r--r-- 1 root root 264789 Mar 14 01:32 All drwxr-xr-x 2 root root 75 Mar 7 22:21 dev-perl drwxr-xr-x 2 root root 6 Mar 14 01:33 games-fps drwxr-xr-x 2 root root 59 Mar 14 01:32 media-libs drwxr-xr-x 2 root root 33 Mar 5 18:24 net-mail >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. (13:52) beast i686 # _ So in my case, it was an issue of a directory mysteriously becoming a file. Perhaps portage should do a check first, before building a package... if [ not -d "$PKGDIR/All" ]; then rm -frv "$PKGDIR/All" && mkdir -pv "$PKGDIR/All" fi Something along those lines Yes - just like my "All". It wasn't only not executable but it was a file and not a directory. I was having this problem as well when doing an merge -b of a package that I have created in my overlay directory. I checked the permissions on the package directroy and they are the same as everything else in portage. I removed everything within the package directory and I still could not get it to build my package. Note that I have keepwork set in my FEATURES in make.conf. So I tried removing the /var/db/pkg/<categpry>/<package> directory for the package which did not fix it. I then tried removing the temporary directory /var/tmp/portage/<package> entirely and that fixed it for me, so it seems like it may be an interaction between keepwork and buildpackage. However, when I moved the /var/tmp/portage package back and did the emerge again, it worked without a hitch, which indicates that the problem may really be an interaction between /var/db/pkg and keeptemp. Some time passess.... Aha! Removing the /var/db/pkg/<category>/<package>/CATEGORY file causes this exact problem! Putting the file back doesn't fix it if you have keeptemp on _unless_ you also remove the working directory. Or perhaps the source could be patched to tell people that their /var/db/pkg tree is messed up and how to fix it. Perhaps keepwork should check that the /var/db/pkg/<category>/<package> files are all there and regenerate them if required. Perhaps others that have this problem could report if removing the directories in /var/db/pkg and /var/tmp for the package they are building works for them. I've found a problem in portage src in comment #16. (Thanks Nick) It's "keepwork" problem. keepwork would keep work directory but delete build-info directory, which has "CATEGORY" etc. build-info is made in the "compile" phase. But when .compiled file exists in work direcotry, the phase is skipped. So, build-info would not be made in next emerge and a broken package would be made. I'll fix it... Fixed in CVS May I know what is the quickest way to fix this? I am just experimenting gentoo and am totally blocked by this (I just can't leave my laptop alone compiling kde for a day, It would burn). What do I have to do? I know linux but not gentoo, and have the packages from the live cd. ok got comment: i just builded a package with quickpkg (coreutils) and i couldn't emerge it anymore, if i did the exact same package 20 mins later with ebuild -B coreutils and then tries to emerge the tbz2 it did work! i'm using portage portage-2.0.50-r8 this is the error message i had when trying the to emerge the quickpgk one: SeJo@powke All $ emerge coreutils-5.2.1.tbz2 Calculating dependencies Traceback (most recent call last): File "/usr/bin/emerge", line 2528, in ? retval,favorites=mydepgraph.select_files(myfiles) File "/usr/bin/emerge", line 858, in select_files mykey=mytbz2.getelements("CATEGORY")[0]+"/"+os.path.basename(x)[:-5] IndexError: list index out of range Found a bug in quickpkg whereby the following would produce a broken package: cd /var/db/pkg/sys-apps quickpkg portage-2.0.51_pre7 where as this wouldn't: cd /var/db/pkg quickpkg sys-apps/portage-2.0.51_pre7 This bug is now fixed. Can anybody reproduce binary packages bug other than with quickpkg? Bug has been fixed and released in stable portages on or before 2.0.51-r2 Please reopen, I am having the same Problem with sys-apps/portage-2.0.51-r15 . The bug reappeared. Johnny |