Commit graph

1081 commits

Author SHA1 Message Date
Jürgen Buchmüller
4ca83f7f90 xbps-src: update GCC version to 8.2.0 2018-08-15 06:50:23 +02:00
Duncaen
5334409c12 Revert "xbps-src: ensure 'changelog' is available"
This reverts commit 1441834458.
2018-05-04 16:46:41 +02:00
Toyam Cox
1441834458 xbps-src: ensure 'changelog' is available 2018-05-04 09:27:48 -04:00
Michael Gehring
e3f56ecb01 xbps-src: support caching go builds
Piggyback on the existing XBPS_CCACHE logic to enable/disable. Stored in
${XBPS_HOSTDIR}/gocache.
2018-03-19 08:29:05 +01:00
Michael Gehring
70102792c1 Revert "xbps-src: temporarily turn on debug output for xbps-rindex"
This reverts commit 1a6579043d.
2018-03-04 22:19:23 +00:00
Michael Gehring
1a6579043d xbps-src: temporarily turn on debug output for xbps-rindex 2018-03-04 15:26:15 +01:00
Michael Gehring
c84f58bb8d xbps-src: support $NO_COLOR 2018-02-28 12:54:54 +01:00
Jürgen Buchmüller
909c890a67 xbps-src: enable CCACHE_COMPRESS to save space
Using CCACHE_COMPRESS is transparent. It compresses manifests and object
files in the cache but can read both, compressed and uncompress files.
2017-12-07 16:39:18 +01:00
Michael Gehring
1a5b47bcc3 xbps-src: always enable checks for the check target 2017-11-20 13:02:30 +00:00
Michael Gehring
565de75a06 xbps-src: flip logic of -Q 2017-11-20 13:02:30 +00:00
Jürgen Buchmüller
f06915551b xbps-src: export XBPS_GCC_VERSION* 2017-11-05 12:05:23 +01:00
Jürgen Buchmüller
1c2290eec1 gcc: update to 7.2.0 2017-11-02 15:57:31 +01:00
Toyam Cox
332a6aaf23 xbps-src: make show-avail work as documented 2017-09-23 21:44:25 -04:00
Toyam Cox
bfbfbf2cab xbps-src: use -1 to trigger errors on missing deps 2017-09-04 16:34:18 -04:00
Toyam Cox
52a560fa39 xbps-src: add show-pkg-var mode for dxpb's usage 2017-08-29 13:23:54 -04:00
Toyam Cox
f7e3ea1a7e xbps-src: change -q and -Q flag meanings 2017-08-29 13:23:54 -04:00
Toyam Cox
debdd551f4 xbps-src: add quiet mode 2017-08-29 13:23:54 -04:00
Toyam Cox
fc7015fd7e xbps-src: respect XBPS_ARCH as environment variable 2017-08-29 13:23:54 -04:00
Toyam Cox
04f489e839 xbps-src: expand usage of ignore-problems in reading pkgs 2017-08-29 13:23:54 -04:00
Toyam Cox
5a7e73b89a xbps-src: add informative run mode 2017-08-29 13:23:54 -04:00
Michael Gehring
133f31a5ef xbps-src: s/repoache/repocache/ 2017-07-27 13:56:25 +02:00
Michael Gehring
31db228f9b xbps-src: allow update-check for broken packages 2017-07-01 22:31:17 +00:00
Enno Boland
33c1040159 Merge branch 'master' into check 2017-06-05 14:58:57 +02:00
Duncaen
102fc6f99f xbps-src: portability fixes 2017-05-24 20:02:46 +02:00
Jürgen Buchmüller
5a11957d14 Merge branch 'master' into check 2017-05-02 09:18:52 +02:00
Jürgen Buchmüller
272114cd05 xbps-src: trying to fix FFLAGS construction
This still isn't perfect. When the common/xbps-src/shutils/chroot.sh
function chroot_init() is called, the value for $XBPS_FFLAGS, which is
defined in common/build-profiles/bootstrap.sh, is empty.

Put the immediate value into the generated /etc/xbps/xbps-src.conf
file until someone finds out where passing the value of $XBPS_FFLAGS
throughout the scripts is missing.
2017-03-08 17:36:22 +01:00
Jürgen Buchmüller
c31dd888f6 xbps-src: implement a 'check' stage
Add another stage 'check' between 'build' and 'install'. It is be enabled using the
variable XBPS_CHECK_PKGS=yes and disabled if unset, set to "0" or "no" in your
local etc/conf.

A new xbps-src option `-q` for `quick` will disable XBPS_CHECK_PKGS by overriding it to 0.
If enabled, `common/xbps-src/shutils/xbps-src-docheck.sh` checks for an existing
`do_check()` function in the package's template and, if it exists, calls it.

A new template variable `checkdepends` may be present and list packages required
to run the `do_check()` function. Example: `checkdepends="bc unittest-cpp"`.
2017-03-08 11:33:48 +01:00
Jürgen Buchmüller
cb7df7b544 xbps-src: update XBPS_GCC_VERSION* 2017-02-06 03:38:06 +01:00
ojab
2083d0ff8e Export XBPS_PKG_COMPTYPE so setting it in configuration actually works (#5459) 2017-01-04 19:29:56 +01:00
Enno Boland
a0e3cb9a42 gcc: update to 6.2.1. 2016-11-27 18:37:02 +01:00
Juergen Buchmueller
fd9ff4fedf xbps-src: Define XBPS_GCC_VERSION
To simplify testing for the currently used gcc version introduce
global environment variables to avoid running `gcc --version`.
2016-10-25 23:19:58 +02:00
Toyam Cox
7c9d1f61b0 xbps-src: allow show of broken pkgs 2016-10-20 19:49:57 -04:00
Juan RP
a5e248c730 xbps-src: require automake, libtool and pkg-config in the host for bootstrap.
This fixes bootstrapping of libarchive. Close #4516.
2016-07-28 08:02:37 +02:00
Enno Boland
05ff430223 xbps-src: Preprocess arguments using getopt in order to allow options before and after XBPS_TARGET. 2016-07-04 16:38:22 +02:00
Juan RP
af11e6c891 xbps-src: set XBPS_CHROOT_CMD=uchroot with -t; improve desc for -a. 2016-04-27 17:03:24 +02:00
Juan RP
561ab61608 xbps-src: make i686 masterdirs (glibc) work on x86_64/musl hosts. 2016-04-13 08:07:02 +02:00
Enno Boland
096aac3603 xbps-src: add consistency check
`xbps-src consistency-check` iterates over all templates and looks for
potentially broken dependencies.
2016-03-22 00:36:30 +01:00
Enno Boland
16050ad3f2 hooks/pre-pkg: fixed mtime support for packages.
overwrites the mtime of all files in a package with the commit-date
of the package.
2016-02-19 16:21:56 +01:00
Steve Prybylski
f18def49cd xbps-src: export XBPS_ALLOW_RESTRICTED. 2015-12-27 02:19:02 -05:00
Juan RP
e69b2491b7 xbps-src: fix -t by appending to XBPS_CHROOT_CMD_ARGS instead. 2015-12-12 10:13:22 +01:00
Juan RP
0a58fd0c01 Revert "xbps-src: fix uchroot chroot-style to not overwrite XBPS_CHROOT_CMD_ARGS."
This reverts commit ba4bba2031.
2015-12-12 10:12:33 +01:00
Juan RP
ba4bba2031 xbps-src: fix uchroot chroot-style to not overwrite XBPS_CHROOT_CMD_ARGS. 2015-12-12 10:03:41 +01:00
Juan RP
c9dede4e23 xbps-src: force glibc locale generation on musl hosts.
localedef is only available with glibc, so that defer locale creation
once the chroot is ready.

This fixes installing bootstrap glibc pkgs on musl hosts.
2015-12-12 07:35:30 +01:00
Jürgen Buchmüller
7e72db86c6 xerces-c: set DISABLE_CCACHE=yes for i686
Re-enable the shared CCACHE_DIR which was not the root
cause of the problems.
2015-11-19 16:11:43 +01:00
Jürgen Buchmüller
9bd521e9bd xerces-c: no need to disable PIE for i686
It seems that sharing a common CCACHE_DIR for all compilers
is problematic between at least x86_64 and i686 in some cases.
Revert to using per architecture ccache directories.
2015-11-19 15:18:35 +01:00
Juan RP
60110c0c2f xbps-src: the 'show-var' target now sources native build-profile too. 2015-11-14 11:51:45 +01:00
Juan RP
2d9b01bce5 xbps-src: make 'show-var' source environment/setup.
This makes XXX_SITE vars work.
2015-11-14 10:25:39 +01:00
Juan RP
cacdf5e724 xbps-src: use host git(1) to detect current branch.
This now guesses correctly the current git branch when the target
masterdir does not match the host architecture.
2015-11-13 10:54:14 +01:00
Juan RP
eae488d3c4 xbps-src: typo fix for zap. 2015-11-02 20:32:12 +01:00
Juan RP
5f030fe2f1 xbps-src: force reconfiguration of bootstrap pkgs on chroot setup.
Right now ca-certificates internally requires the `openssl` utility
to generate /etc/ssl/certs. Certainly we need to perform this task
only once and iff we are within the chroot, because the host might
not have it in PATH.

This should fix the travis issue seen since xbps-0.48 was released.
2015-11-02 20:25:16 +01:00