Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346847 - Ability to turn off some QA for binary only packages
Summary: Ability to turn off some QA for binary only packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 349307
  Show dependency tree
 
Reported: 2010-11-26 16:49 UTC by Sébastien Fabbro (RETIRED)
Modified: 2010-12-22 19:52 UTC (History)
0 users

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 Sébastien Fabbro (RETIRED) gentoo-dev 2010-11-26 16:49:29 UTC
Would be nice to have the ability for binary only packages not to go through some of the QA checks that ebuild devs can not do anything about. Something like a QA_PREBUILT_DONT_CHECK variable as proposed in bug #330211.
Comment 1 Zac Medico gentoo-dev 2010-11-26 19:34:22 UTC
There's already a QA_PREBUILT variable:

This should contain a list of file paths, relative to the image
directory, of files that are pre-built binaries. Paths
listed here will be appended to each of the QA_* variables
listed below. The paths may contain fnmatch-like patterns
which will be internally translated to regular expressions for
the QA_* variables that support regular expressions instead
of fnmatch patterns. The translation mechanism simply replaces
'*' with '.*'.

Alternatively, there's also RESTRICT=binchecks.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2010-12-02 21:53:49 UTC
OK. A couple things: 
* spelling error in ebuild.sh: QA_EXECSTAC missing a K
* how about not caring about respecting LDFLAGS when QA_PREBUILT is set?
Comment 3 Zac Medico gentoo-dev 2010-12-02 22:07:58 UTC
(In reply to comment #2)
> * spelling error in ebuild.sh: QA_EXECSTAC missing a K

Thanks, fixed in git:

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

> * how about not caring about respecting LDFLAGS when QA_PREBUILT is set?

The QA_DT_HASH variable controls the LDFLAGS check, and paths from QA_PREBUILT are already added to QA_DT_HASH.
Comment 4 Zac Medico gentoo-dev 2010-12-21 19:01:15 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > * spelling error in ebuild.sh: QA_EXECSTAC missing a K
> 
> Thanks, fixed in git:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=fb318d753312539efb06fabbade6caa6afaf36a4

This is included in portage-2.1.9.26.
Comment 5 Zac Medico gentoo-dev 2010-12-22 18:31:16 UTC
Does QA_PREBUILT do everything that you want, or is something else needed here?
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2010-12-22 19:46:46 UTC
QA_PREBUILT does it all so far. Thanks.
Comment 7 Zac Medico gentoo-dev 2010-12-22 19:52:45 UTC
Ok, I guess we can consider this fixed. Please file a new bug if you find any more issues.