Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21446 - emerge -b or --buildpkgonly fails occasionally
Summary: emerge -b or --buildpkgonly fails occasionally
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-21 17:16 UTC by Brian Bernstein
Modified: 2011-10-30 22:18 UTC (History)
0 users

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


Attachments
fixed (bugs.21446.patch,442 bytes, patch)
2003-08-02 22:50 UTC, Masatomo Nakano (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Bernstein 2003-05-21 17:16:54 UTC
This seems to occur whenever a package is attempted to be made which was previously compiled.  
It appears to attempt to obtain the files from /var/tmp/portage/<package name>/image, however it 
doesn't realize that the files are not there.  Rather than attempting to recompile, it just attempts to 
tar up an empty directory, tar fails, but emerge does not care and believes the process succeeded. 
Here's some output with kde-3.1.3 as an example: 
emerge --buildpkgonly kde 
  Calculating dependencies ...done! 
>>> emerge (1 of 1) kde-base/kde-3.1.2 to / 
>>> Unpacking source... 
>>> Source unpacked. 
 
>>> Install kde-3.1.2 into /var/tmp/portage/kde-3.1.2/image/ category kde-base 
man: 
prepallstrip: 
strip: 
>>> Completed installing into /var/tmp/portage/kde-3.1.2/image/ 
 
tar: *: Cannot stat: No such file or directory 
tar: Error exit delayed from previous errors 
>>> Done. 
     >>> Regenerating /etc/ld.so.cache... 
 
  * GNU info directory index is up-to-date. 
 
This is very annoying and should be fixed.  If anything, portage should alteast not think the process 
succeeded when it didn't.
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2003-08-02 22:50:07 UTC
Created attachment 15414 [details, diff]
fixed
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2003-08-20 14:05:02 UTC
fixed in portage-2.0.49_pre18