Commit Graph

1053 Commits

Author SHA1 Message Date
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
Juan RP
8e7b21a472 xbps-src: force reconfiguration of ca-certificates. 2015-10-31 08:19:09 +01:00
Juan RP
0cd87b3cdd xbps-src: perform bootstrapping in two phases.
- binary-bootstrap unpacks all pkgs and configure base-files.
- after accessing the chroot for the first time all pkgs are configured.

This should fix the issue of ca-certificates not generating the certs.
2015-10-31 07:59:06 +01:00
Juan RP
3a64a0f770 xbps-src: remove ca-certificates workaround; will be fixed correctly. 2015-10-31 07:51:56 +01:00
Juan RP
7e92158bbd xbps-src: only reconfigure ca-certificates if /etc/ssl/certs does not exist. 2015-10-30 15:54:13 +01:00
Juan RP
c7611a9292 xbps-src: document ca-certificates stupid kludge. 2015-10-30 15:36:43 +01:00
Juan RP
0d55d32ba0 xbps-src: force reconfiguration of ca-certificates only in the chroot. 2015-10-30 15:33:57 +01:00
Juan RP
64f6a3af72 xbps-src: force reconfiguration of ca-certificates also in "bootstrap-update". 2015-10-30 15:20:18 +01:00
Juan RP
f9eec82888 xbps-src: force reconfiguration of ca-certificates if it's there. 2015-10-30 15:19:46 +01:00
Juan RP
f45746714d xbps-src: bootstrap needs GNU make too. 2015-10-24 11:15:45 +02:00
Juan RP
08efa2cca1 xbps-src: -f <phase> now works for configure/build/install/pkg phases. 2015-09-24 15:45:47 +02:00
Juan RP
465e481b70 xbps-src: cleanup masterdir/tmp in the 'clean' target too. 2015-09-03 07:36:27 +02:00
Jürgen Buchmüller
793a156a0f Implement XBPS_DISTFILES_MIRROR (second try)
The idea is to remove some burden from the original download
locations for distfiles by specifying one or more mirror locations.

+ Works with http:// or ftp:// mirrors for all $XBPS_CHROOT_CMD variants
+ Works with file:// mirrors together with uchroot and proot
2015-08-31 15:48:22 +02:00
Juan RP
cef388f07b xbps-src: introduce a new target: "sort-dependencies".
This expects a variable argument list with package names that will be
returned to stdout topologically sorted.

$ ./xbps-src sort-dependencies libarchive-devel liblzma-devel libxbps zlib-devel bzip2-devel
bzip2
xz
zlib
libarchive
xbps
2015-08-16 10:47:35 +02:00
Juan RP
45bc2bea04 xbps-src: use $XBPS_INSTALL_CMD in binary-bootstrap.
This way local repo is always preferred rather than remote repos declared
via XBPS_INSTALL_ARGS.
2015-08-05 11:59:58 +02:00
Juan RP
472bf5092a xbps-src: print supported cross targets by inspecting the cross-profiles dir. 2015-07-14 12:07:15 +02:00
Juan RP
d24e75514f xbps-src: document xbps-0.46 signing and require 0.46. 2015-07-12 10:05:39 +02:00
Juan RP
95538529b4 xbps-src: XBPS_MAKEJOBS cannot be readonly, it's overwritten later. 2015-07-11 20:51:15 +02:00
jbu
919afe94fc xbps-src: Add purge-distfiles command
Closes #1970
2015-07-06 10:02:25 +02:00
jbu
b30cbd9870 xbps-src: implement a by_sha256 hash cache 2015-07-04 11:18:46 +02:00
Juan RP
21e8243ce5 xbps-src: use XBPS_INSTALL_ARGS to repair bootstrap-update. 2015-06-09 09:23:06 +02:00
Juan RP
08fac2d108 xbps-src: detect musl hosts correctly in 'binary-bootstrap'. 2015-06-07 10:21:08 +02:00
Juan RP
3493f3c229 xbps-src: requires xbps>=0.45 now. 2015-06-03 11:32:47 +02:00
Juan RP
49bb3056a5 xbps-src: handle old base-files pkgs too. 2015-06-03 10:50:57 +02:00
Juan RP
428c34d1f0 xbps-src: reconfigure base-files not base-directories. 2015-06-03 10:44:58 +02:00
jbu
b1af6a413e xbps-src: unified ccache directory
- I turns out that ccache is very well capable of recognizing different
  compilers and using only files stored to the cache by each compiler.
- To avoid large parts of a cache becoming useless just because a compiler
  was rebuilt during some (bootstrap) stage, rely on the contents of
  the compiler binary for identification instead of mtime + size.
2015-05-18 20:27:09 +02:00
Juan RP
ef097888c0 xbps-src: get native arch via xbps-uhelper arch not uname -m.
This will detect void hosts running with musl.
2015-05-14 11:22:19 +02:00
Juan RP
92fd6e7fec xbps-src: unbreak binary-bootstrap arch. 2015-05-11 09:03:03 +02:00
Juan RP
c7bf669b74 xbps-src: make binary-bootstrap skip remote repos with -N. 2015-05-11 08:34:29 +02:00