Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133804 - RESTRICT="binchecks" support
Summary: RESTRICT="binchecks" support
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-05-19 12:29 UTC by Jakub Moc (RETIRED)
Modified: 2006-05-26 14:24 UTC (History)
2 users (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 Jakub Moc (RETIRED) gentoo-dev 2006-05-19 12:29:25 UTC
When emerging kernels/linux-headers, portage spends a bunch of minutes doing QA scanelf checks on plaintext files, which is kinda needless... Disabling these checks should be possible for such cases.
Comment 1 solar (RETIRED) gentoo-dev 2006-05-19 13:10:30 UTC
This should be extended to skip suid checks also and a few other install tasks that are not really needed for sys-kernel/*-{sources,headers}
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-23 10:49:27 UTC
CCing BSD, our freebsd-source is even bigger than *-sources.
Comment 3 solar (RETIRED) gentoo-dev 2006-05-24 06:45:19 UTC
Partially InSVN right now. Please ensure this restriction is never used from any 
eclass as eclasses are often inherited by ebuilds that don't always pertain to 
exactly what you are trying to filter. For the moment it's only going to short 
circuit the scanelf checks. But in the long run it should handle the other things.

So in *-sources and *-headers and fbsd-source feel free to add an explicit 
calls to 'RESTRICT='binchecks strip' 
(but everywhere else in the tree it's use will be frowned upon with vengeance)
Comment 4 Zac Medico gentoo-dev 2006-05-24 15:14:31 UTC
I see that solar committed support for RESTRICT="binchecks" in svn r3409 along with the QA stuff for bug 131779.
Comment 5 Zac Medico gentoo-dev 2006-05-25 07:09:54 UTC
This has been released in 2.1_pre2-r3.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-05-26 14:24:23 UTC
solar, if we do this in the kernel stuff we are probably going to add it to kernel-2.eclass. No non-kernel-source/header packages will ever use that eclass. Any comments, head on over to bug 134453 :)