Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 224279

Summary: why don't dodoc/dobin/dosym/etc die on error?
Product: Gentoo Linux Reporter: Colin Macdonald <cbm>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 223491, 224277    
Bug Blocks:    

Description Colin Macdonald 2008-05-30 23:15:57 UTC
My apologies if this is well-known but I've fixed 2 ebuilds this week that silently failed because dosym or dobin failed and the only sign of failure was buried in the /var/log/portage/foo.log file.

Wouldn't it be better if dobin and friends just died on failure?  Alternatively, the ebuild could specify something like:
  dosym foo bar || die

FWIW: the bugs where #223491, #224277.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-31 16:41:28 UTC
Please discuss this kind of thing on the gentoo-dev@ mailing list. Bugzilla gets kind of messy when it's used as a message board. :)
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-09-09 14:23:04 UTC
Reopen, to close properly.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2008-09-09 14:23:19 UTC

*** This bug has been marked as a duplicate of bug 138792 ***