Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398657 - sys-apps/portage: ebuild helpers should die when given extra arguments
Summary: sys-apps/portage: ebuild helpers should die when given extra arguments
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 12:10 UTC by Sebastian Luther (few)
Modified: 2022-04-14 05:23 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 Sebastian Luther (few) 2012-01-12 12:10:54 UTC
Currently at least one ebuild helper function (newinitd) silently ignores extra arguments, which leads to some files not being installed (see bug 398655).

All helper functions should instead die if they are given unexpected arguments to avoid such issues.
Comment 1 Zac Medico gentoo-dev 2012-01-12 12:42:35 UTC
There's already a QA Notice in the latest release:

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

I suspect that this issue is rare enough that we can safely make it die for all EAPIs.