Commit graph

117 commits

Author SHA1 Message Date
fosslinux
73b8916e1f Remove with-sysroot from binutils
This option is erroneous and only worked by chance.

sysroot is prepended to all library search paths when working correctly,
eg, /usr/lib turns into /usr/usr/lib when --with-sysroot=/usr.
2023-02-06 16:58:10 +11:00
fosslinux
6bed629a81 Add $triplet-$prog symlinks to binutils 2023-02-06 16:58:10 +11:00
fosslinux
5509e6bb6e Change binutils to unknown-linux-musl triplet 2023-02-06 16:58:10 +11:00
Dor Askayo
4204a180e1 Rename /usr/lib/musl to /usr/lib/i386-unknown-linux-musl 2023-01-29 00:09:39 +02:00
Dor Askayo
59a13f0d09 Add LIBDIR variable for the musl library directory
LIBDIR should be used where possible to avoid unnecessary
duplication in build scripts that target the musl toolchain.

No change in package hashes.
2023-01-29 00:09:38 +02:00
Dor Askayo
c3a745c997 Truncate .env file when writing to it
This makes no functional difference in practice, but is a bit cleaner
in case init scripts are executed multiple times (for testing or
otherwise).
2023-01-29 00:06:57 +02:00
fosslinux
5e768d3752
Merge pull request #197 from doraskayo/avoid-variable-export
Avoid exporting variables in build scripts
2023-01-28 08:37:12 +11:00
Dor Askayo
3921660396 Avoid exporting variables in build scripts
Environment variables "pollute" the build environment of packages and
can affect their output.

This change results in the removal of some files from packages that
were not meant to be packaged. It also removes the need for a
workaround in automake 1.10.3 to manually remove such files.

Variables are now saved in an .env file for each system and included
in scripts that need them using the dot operation.
2023-01-27 22:19:52 +02:00
Andrius Štikonas
a35196a5e4 Build python 3.11 statically. 2023-01-27 19:10:48 +00:00
Andrius Štikonas
4f9f56f006 Use relative symlinks for python installs. 2023-01-25 18:26:22 +00:00
Andrius Štikonas
26872c01bf Add --enable-ipv6 to some versions of python to make builds reproducible 2023-01-25 02:39:14 +00:00
Andrius Štikonas
f2e542ef0c Do not build doc directory of automake 2.11 and 2.15.
There is a race condition there that often causes builds to fail.
Fixes: #184
2023-01-24 22:45:52 +00:00
Andrius Štikonas
89c7c10b8e Add artificial symlinks to musl package to ease its use. 2023-01-21 02:00:36 +00:00
Andrius Štikonas
5f805e65f3 Fix reproducibility issue in curl. 2023-01-20 22:16:31 +00:00
fosslinux
6ec368ce37 Change Python -> python
(lowercase convention)
2023-01-18 22:57:04 +11:00
fosslinux
a4d1a445ac Add documentation 2023-01-18 08:20:35 +11:00
fosslinux
d0a522113f Fix QEMU/chroot differences in outputs for Python 2023-01-18 08:20:34 +11:00
fosslinux
42fa6c24c1 Add Python-3.11.1 2023-01-18 08:20:34 +11:00
fosslinux
d28ea08295 Add Python-3.8.16 2023-01-18 08:20:34 +11:00
fosslinux
d1d422abc5 Add Python-3.4.10 2023-01-18 08:20:34 +11:00
fosslinux
f34defc485 Add Python-3.3.7 2023-01-18 08:20:34 +11:00
fosslinux
2325df7f38 Add Python-3.1.5 2023-01-18 08:20:34 +11:00
fosslinux
eadc92cf38 Add Python-2.5.6 2023-01-18 08:20:34 +11:00
fosslinux
a94c8dbdce Add Python-2.3.7 2023-01-18 08:20:34 +11:00
fosslinux
13eaba86e8 Add Python-2.0.1 2023-01-18 08:20:34 +11:00
Andrius Štikonas
68c6544df0 Fix invocation of after.sh hook.
bash "${FILE}" does not work when FILE is unset.
2023-01-13 20:26:55 +00:00
Andrius Štikonas
938d919503 Fix creation of binary tar packages.
Closes #223
2023-01-13 01:09:57 +00:00
fosslinux
f4ebc241ac Fix linters (whoops!) 2023-01-07 19:12:50 +11:00
fosslinux
d91deb50c9 Remove XBPS 2023-01-05 20:44:19 +11:00
fosslinux
a89c76cc73 Fix musl-1.2.3 when umask on host system is not 022 2023-01-02 16:44:23 +11:00
fosslinux
fcaa778e93 Add SOURCE_DATE_EPOCH
Simply set SOURCE_DATE_EPOCH=0 globally.
2023-01-02 16:44:23 +11:00
fosslinux
667370a726 Set HOME 2023-01-02 16:44:23 +11:00
Andrius Štikonas
e5edc55847 Update ca-certificates to 3.86.
This temporarily should fix checksum error due to certificate expiry.
2022-12-12 00:54:06 +00:00
Eduardo Sánchez Muñoz
8adab8b568 Improve reproduciblity of some packages
I figure these out when trying to run the build in docker, which provides an environment slightly different to the one used when building in qemu/chroot/bwrap with rootfs.py
2022-12-01 23:14:38 +01:00
fosslinux
e6c43ebd6a Remove relic from pre-new sources 2022-10-30 21:07:57 +11:00
Andrius Štikonas
effac229c1 Update to zlib-1.2.13 and fix its download url. 2022-10-21 12:14:50 +02:00
Andrius Štikonas
a1505e1c68 Fix --external-sources mode.
Fixes #210
2022-10-21 12:12:52 +02:00
Andrius Štikonas
3900cf04ca Move musl build with shared libraries after autogen. 2022-10-05 01:33:19 +01:00
fosslinux
10a55522a2 Change sources getting method.
- Rather than defining the urls where they are gotten (python sysa,
  python sysc, inside sysc), a spec file is now used that is easily
  interpretable and tool-independent.
- This is interpreted by rootfs.py and inside sysc.
- This is also used to make sources available and extract sources.
- Manual dirname selection is no longer required as is tarball renaming
  upon download - all of this is handled automatically.

Fixes #188
2022-10-02 09:48:20 +11:00
Andrius Štikonas
0d4abd0223 Add autogen-5.18.16. 2022-09-29 00:00:02 +01:00
Andrius Štikonas
997cd15453 Add sed 4.8 2022-09-23 22:03:32 +01:00
Andrius Štikonas
7588bddd8e Apply a workaround from automake-1.11 to try to fix occasional build failures.
Closes #184
2022-09-21 23:01:20 +01:00
Andrius Štikonas
f9d83f3a35 Add grep 3.7. 2022-09-20 00:16:43 +01:00
Andrius Štikonas
e748d62a62 Build gperf statically
Build both static and shared libraries for:
* libunistring
* libatomic_ops
* libffi
* gc
2022-09-19 14:33:36 +01:00
Andrius Štikonas
ee853d91fe
Merge pull request #200 from stikonas/which
Add which 2.21.
2022-09-17 14:31:30 +01:00
Andrius Štikonas
263dd982cc
Merge pull request #199 from rick-masters/fix-vars-to-make-automake
Provide same vars to make as configure in case make re-runs configure.
2022-09-17 11:29:13 +01:00
Andrius Štikonas
9f3f65f146 Add which 2.21. 2022-09-17 11:12:10 +01:00
rick-masters
bbca0f1e81 Provide same vars to make as configure in case make re-runs configure. 2022-09-16 18:13:36 +00:00
Dor Askayo
9d84539a70 Set --libdir when configuring gettext 0.21 2022-09-16 00:04:38 +03:00
Dor Askayo
3e3f7036f2 Set --libdir when configuring curl 7.83.0 2022-09-16 00:01:48 +03:00