Commit graph

8 commits

Author SHA1 Message Date
dholland
de73f20ecb Add support for BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM, as per
discussion on tech-pkg.

BROKEN_ON_PLATFORM and NOT_FOR_PLATFORM are the same, except that
(now) BROKEN_ON_PLATFORM sets PKG_FAIL_REASON and NOT_FOR_PLATFORM
sets PKG_SKIP_REASON. BROKEN_EXCEPT_FOR_PLATFORM and ONLY_FOR_PLATFORM
correspond in the same way.

The idea is that going forward we will distinguish unbuildable
packages that theoretically ought to be fixed (these are BROKEN) from
packages where it doesn't make sense to build (these are NOT_FOR)...
examples of the former include most non-64-bit-clean packges; examples
of the latter include OS-specific language bindings.

A general review of the uses of NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM
(converting many of them to BROKEN...) is coming up.

Similarly, a general review of the uses of PKG_FAIL_REASON and
PKG_SKIP_REASON is coming up.

For this to become useful, pbulk needs to be taught to report failing
and skipped packages differently - the idea is that failing packages
should be reported up front and skipped packages don't need to be. This
has not been done yet, but one set of things at a time...
2015-01-01 06:06:06 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
rillig
5388235d5a typo 2008-11-05 08:24:23 +00:00
tnn
dc868fa9b5 Add support for NOT_FOR_BULK_PLATFORM, which works similar
to NOT_FOR_PLATFORM, but only active when BATCH is defined.
Can be used to mark packages that are known to stall the bulk builds on
certain platforms.
2008-05-26 22:05:46 +00:00
rillig
1205636186 Added a check for PKG_INSTALLATION_TYPES. 2007-02-10 09:01:05 +00:00
rillig
9e832d3e5c Ignore ccache and distcc in PKGSRC_COMPILER for the check for
ONLY_FOR_COMPILER. For the opposite test, using NOT_FOR_COMPILER, they
may still be specified.

Fixes PR 35173.
2006-12-03 21:58:20 +00:00
rillig
aaaa83002a Readded the check for NO_SKIP and documented that variable. 2006-12-03 21:47:26 +00:00
rillig
714dc5ff6b Moved the code that checks for PKG_FAIL_REASON and PKG_SKIP reason from
the internal/ directory to misc/, since it is not really internal to
pkgsrc.

Fixed the case where PKG_SKIP_REASON was not noticed by the bulk builds.

Added the NOT_FOR_UNPRIVILEGED and ONLY_FOR_UNPRIVILEGED variables.
2006-11-26 08:37:03 +00:00