Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459296 - devmanual ebuild-writing/error-handling outdated
Summary: devmanual ebuild-writing/error-handling outdated
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Devmanual Team
URL: http://devmanual.gentoo.org/ebuild-wr...
Whiteboard:
Keywords:
: 468926 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-26 11:52 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2013-05-10 22:57 UTC (History)
1 user (show)

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 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-02-26 11:52:54 UTC
The current documentation says:

"Some portage-provided functions will automatically die upon failure. Others will not. It is for example safe to omit the || die after a call to epatch, but not emake. The reason is that external binaries are not able to call die that is a bash function. You can see what commands are external binaries with ls /usr/lib*/portage/bin/ebuild-helpers."

But for EAPI>=4 the ebuild-helpers don't need to be followed by "|| die", so this documentation needs to be updated.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-02-26 13:05:27 UTC
It is already listed here

http://devmanual.gentoo.org/ebuild-writing/eapi/index.html

But I guess we can do a cross-reference
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2013-05-10 21:43:07 UTC
*** Bug 468926 has been marked as a duplicate of this bug. ***
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-05-10 22:57:29 UTC
I pushed the following fix

http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=ce65c40e89184b7d17d051e0ba58ffdff705344c