Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ do_file() {
prefix_ref=${reference}
# All git repositories we already use remove "v"s from the beginning
# of branch/tag names in the tarball prefix
if echo "${reference}" | grep -Eq "^v[0-9]"; then
# except for gitlab
if echo "${reference}" | grep -Eq "^v[0-9]" | grep -vq gitlab; then
prefix_ref=$(echo "${reference}" | sed "s/^v//")
fi
prefix=$(basename "${repo}" | sed "s/.git$//")-${prefix_ref}
Expand Down
117 changes: 59 additions & 58 deletions parts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1074,18 +1074,6 @@ patch 2.7.6
Our old patch was built with manual makefile and used mes libc.
This is a newer version which we need in order to import gnulib into gettext.

gettext 0.21
============

GNU Gettext is an internationalization and localization system used for writing
multilingual programs.

texinfo 6.7
===========

Texinfo is a typesetting syntax used for generating documentation. We can now use
``makeinfo`` script to convert ``.texi`` files into ``.info`` documentation format.

gcc 4.7.4
=========

Expand All @@ -1104,6 +1092,65 @@ This version of binutils provides a more comprehensive set of programming tools
creating and managing binary programs. It also includes modern versions of the ``ld``
linker, the ``as`` assembler and the ``ar`` program.

musl 1.2.5
==========

With GCC and binutils supporting a musl-based toolchain natively, musl itself is rebuilt
with support for dynamic linking.

python 2.0.1
============

Everything is in place to bootstrap the useful programming language/utility
Python. While Python is largely written in C, many parts of the codebase are
generated from Python scripts, which only increases as Python matured over time.

We begin with Python 2.0.1, which has minimal generated code, most of which can
be removed. Lib/{keyword,token,symbol} scripts are rewritten in C and used to
regenerate parts of the standard library. Unicode support and sre (regex)
support is stripped out.

Using the stripped-down first version of Python 2.0.1, Python 2.0.1 is rebuilt,
including Unicode and regex support (required for future Python builds). The
first version is insufficient to run the Lib/{keyword,token,symbol} scripts, so
those continue to use the C versions.

Precompiled Python code at this point is highly unreproducible, so it is
deleted (JIT compiled instead). This makes Python itself slower, but this is of
little consequence.

python 2.3.7
============

Python 2.0.1 is sufficient to build Python 2.3.7.

Differences to 2.0.1:

* The new "ast" module, performing parsing of Python, is generated from a
parsing specification using Python code.
* 2.0.1 is insufficient to run 2.3.7's unicode regeneration, so Unicode
support is again stripped out.

Python 2.3.7 is then rebuilt to include Unicode support.

gperf 3.1
=========

``gperf`` is a perfect hash function generator (hash function is injective).

gettext 0.26
============

GNU Gettext is an internationalization and localization system used for writing
multilingual programs. Now that we have Python 2.3 and gperf, we can regenerate
all the pregenerated files in Gettext and so build it.

texinfo 6.7
===========

Texinfo is a typesetting syntax used for generating documentation. We can now use
``makeinfo`` script to convert ``.texi`` files into ``.info`` documentation format.

perl 5.15.7
===========

Expand Down Expand Up @@ -1209,11 +1256,6 @@ perl 5.42.0

5.42 is the latest version of Perl! The Perl bootstrap is complete.

gperf 3.1
=========

``gperf`` is a perfect hash function generator (hash function is injective).

libunistring 0.9.10
===================

Expand Down Expand Up @@ -1279,47 +1321,6 @@ We use the `gnu-autogen-bootstrapping <https://github.com/schierlm/gnu-autogen-b
project to rebuild those and create (slightly crippled) ``autogen`` that
is then able to build a full-featured version.

musl 1.2.5
==========

With GCC and binutils supporting a musl-based toolchain natively, musl itself is rebuilt
with support for dynamic linking.

python 2.0.1
============

Everything is in place to bootstrap the useful programming language/utility
Python. While Python is largely written in C, many parts of the codebase are
generated from Python scripts, which only increases as Python matured over time.

We begin with Python 2.0.1, which has minimal generated code, most of which can
be removed. Lib/{keyword,token,symbol} scripts are rewritten in C and used to
regenerate parts of the standard library. Unicode support and sre (regex)
support is stripped out.

Using the stripped-down first version of Python 2.0.1, Python 2.0.1 is rebuilt,
including Unicode and regex support (required for future Python builds). The
first version is insufficient to run the Lib/{keyword,token,symbol} scripts, so
those continue to use the C versions.

Precompiled Python code at this point is highly unreproducible, so it is
deleted (JIT compiled instead). This makes Python itself slower, but this is of
little consequence.

python 2.3.7
============

Python 2.0.1 is sufficient to build Python 2.3.7.

Differences to 2.0.1:

* The new "ast" module, performing parsing of Python, is generated from a
parsing specification using Python code.
* 2.0.1 is insufficient to run 2.3.7's unicode regeneration, so Unicode
support is again stripped out.

Python 2.3.7 is then rebuilt to include Unicode support.

python 2.5.6
============

Expand Down
20 changes: 10 additions & 10 deletions steps/SHA256SUMS.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ b687370caaa654ba2fc622188240f50ea305a1c926accbced153df9179697adf autoconf-2.53_
b363f22b42418fb2507bf722b0a6b5b03410ac58c44c400767d650d828696eaa autoconf-2.69_0.tar.bz2
cde51b816fcce47742064f9dc0b4871e4194190be5065dc1852b39339cc9115b autoconf-2.71_0.tar.bz2
6ff691e3ddd4f3d1796d28b07a2a96691dbd9801844c99ccbe660da59dabd74b autoconf-archive-2021.02.19_0.tar.bz2
df5afd05f14dcc23fba79c5fbfda9694f85e5eae10b842b5cc0b58f0dbac5153 autogen-5.18.16_0.tar.bz2
8d0a3f35b7f67cfd5a5963ae08bf25282aed718466200f16c526b3c957385f5a autogen-5.18.16_0.tar.bz2
02a426e82a52d4a2cd7e73fe3dc5a2c58b3ed100f24a92c57e42511fd86e247c automake-1.10.3_0.tar.bz2
34925adeaa2876a5e068adeb17b71fe7c7105244c3cb5439d33f7406310674da automake-1.11.2_0.tar.bz2
7e36e9e4b3957c95b6de8ff475c9b37aa007e2f9735b01c0eaf14b711fdd112f automake-1.15.1_0.tar.bz2
Expand All @@ -23,7 +23,7 @@ c5807850a377e4bb9aa4121d9781d145bdd80327626a9419630a75ce2c8d9c71 automake-1.9.6
86c58a6f3c68414ae4aa694831bd8326106c7d2dac6183470c875b0ac982be65 bash-5.2.15_0.tar.bz2
e5a0c306550ccfbea0b0e0a8ac121dfb1439759441916050778c448b02b8b301 bc-1.08.1_0.tar.bz2
6591838fbfcd64b88435cd948ebe6fcfd6c22b0993935bd0a19310e767da9e94 binutils-2.30_0.tar.bz2
e551655372836e16687ee02b14bb92ce37028c04a89b2bafaf1a90a2c692ff10 binutils-2.41_0.tar.bz2
3281578f74e40919d5c9378a766bf3ca5340840aec75b7a6441222166617017a binutils-2.41_0.tar.bz2
d5bec340bf90562db749f4dc7fead5c622eb27e439658628636bc601bfc237fa binutils-2.41_1.tar.bz2
5182bedc1c68f9908ed782dbb0a79c0a5b262fe8b1f9c6eea6d7e7186696827e bison-2.3_0.tar.bz2
b3b99ebf348f4a3ff1af29e958cab745232d3400d6604ab6ef8450538f6a0738 bison-3.4.1_0.tar.bz2
Expand Down Expand Up @@ -58,13 +58,13 @@ cb31f4298edf591b8c27ea76f35c5c97794629187f3e08169a8ef54cc738f2fb gcc-15.2.0_0.t
d34de902de6de9204abedb834c4c39fbb95b993e545fbb090de2b028fa1d4a61 gcc-4.0.4_0.tar.bz2
2f13b3306832d882536c97d0302f2ec1801193086dbbe62388f930858e5728a3 gcc-4.0.4_1.tar.bz2
931f105104b446dff5be30927e6e98d798844e6cd446b246f30def11984a9587 gcc-4.7.4_0.tar.bz2
b1df809b03347ae8360162c512bd7589611e735638c795cc54f0f032a8439727 gettext-0.21_0.tar.bz2
5d8ad088f1a4fbd70545f777866c6c0b219fbfb425b82187e2705f365c1dd81f gettext-0.26_0.tar.bz2
96f33b53c24f5f46a23c2b9eef8147e684c796889a83bdd39254a73393594a49 gmp-6.2.1_0.tar.bz2
8138c02c4fef718c97827f1d6476e2fc83433ff06eff4820b53589b5419b7e15 gperf-3.1_0.tar.bz2
8fb02e7145c2befab10bace272ef3004700b6ef0ef58d3573bd69de25e0c9e1b gperf-3.1_0.tar.bz2
c1989fc2855dbb0350c4e5b677028306614a9f4b5cb6c01fd459c5e1abf592b9 grep-2.4_0.tar.bz2
69a57d4a696f3559f821b50b9d5d4174e81801767ed8d0d00f1f3234e92ec251 grep-3.7_0.tar.bz2
3f3247c7d05fcef0d9f624a523afa01257207584045eb7efb7fb8f29fc782c7a grep-3.7_0.tar.bz2
d7a28778c1199604ba7af0e706c56c65fa345cae7e80646956f1be71ae30b448 grub-2.06_0.tar.bz2
9d6732935e6eb800b03f54c37e173d6a862fa1008aad51b7bf95fb6018599eb7 guile-3.0.9_0.tar.bz2
16c4e88be3f88314205f0296e77a0e7c81026eccdc5764bd2b91dec4bfdcbca0 guile-3.0.9_0.tar.bz2
893bb26efb8b1789702b8fd1a3ed72951990c8e38ab650c5220992405e79b96e gzip-1.13_0.tar.bz2
f27e1eaafa7ab198d2ed549aecfd8a1205d960f59a509789a159997565abd6d4 heirloom-devtools-070527_0.tar.bz2
8d2015b87337abbf287f7a39ee4cf53514120b5d3e90a93fe7d533dcc43f14fa help2man-1.36.4_0.tar.bz2
Expand All @@ -78,7 +78,7 @@ de10b5b3d1b721c8d8365d524c13f524b2c9cb5eff1f891698b1aa4915a73092 libffi-3.3_0.t
9e1932db252894478dc98985f931312cbe5ee0eb40db251c75c79dd01294b15b libmd-1.1.0_0.tar.bz2
311cc3a5ad4126b030b32bc1e9e787bd55caa861626d210bab4eb81e50244125 libtool-2.2.4_0.tar.bz2
a9ddd248e490623caeb0380089d03bc638e78af5c4fb65426f3b7f73521af604 libtool-2.4.7_0.tar.bz2
4f05d64d4504c03f13a3045f4db85c12bd456944bc9159f381b00fda4daced9d libunistring-0.9.10_0.tar.bz2
dc71ee51f5da2211b4e49f10375a0600b7d85f8ed581fe98d3b825ab1447b221 libunistring-0.9.10_0.tar.bz2
e34195462aa376c9ad92d77d68ef519c911100c06fe2f3929b260d0a811a4288 linux-4.14.341-openela_0.tar.bz2
c97644d0db5b3de127b048683afee6d31453441d97ba5dea71df5838b13542a4 linux-headers-4.14.341-openela_0.tar.bz2
748aafe25363c9777b2970b54d29d3f60d7ed3a07b0839415de37061f13358ff m4-1.4.19_0.tar.bz2
Expand Down Expand Up @@ -139,15 +139,15 @@ c040926b75186c69914713973cf5c198813a51808663666fd3fca32f989ebbff python-3.1.5_1
cbb181be22b304f76a286300e3324f7e03e0316bf5662e0d6e416d68fb6514e4 python-3.4.10_0.tar.bz2
59fc4a344f0ee270b72a9cf21e9a03087520c2b1563be8b42470cf723941ef64 python-3.8.16_0.tar.bz2
18d517fa1195aa82e3e0eb7f261eb3addb9a43492040b16be04571639781577e sed-4.0.9_0.tar.bz2
3e7c9ab6da24fa44e115af66e077b5692f5293ffb7bc82c54fb91663900867d3 sed-4.8_0.tar.bz2
24519735491cf6e8fa79f1c3e123c830ca3529ddb61dfe393584dad32732a594 sed-4.8_0.tar.bz2
fe8bbc246d82e99c482337f1443c5313268823667dccebca6cd004e6cf6b4a7c shadow-4.14.3_0.tar.bz2
daf24af74bf78e7e0d1351113a76aea7aff1effd5219ee6fc775f59eff6d2437 tar-1.34_0.tar.bz2
b3675b0d72677f30559386e1756e85a0a5065d738bb6206457a5a8d51b8bd0ce tcc-0.9.27_0.tar.bz2
03454c87049198998bc2c8c2c04b7c3312551a7c233097eabc5e67a4a07bd056 tcc-0.9.27_1.tar.bz2
ab49972345d0c05f79b9370530829792e8c5c3b7fe283fc90e1dff26c2d0f6db tcc-0.9.27_2.tar.bz2
8576a7c99802bb462dd044ef7df7263192f1acfabde47462afd6145ffec1e4f1 tcc-0.9.27_3.tar.bz2
626d9b78a87a42fd68a59e0e9c67e008d9be29575628165e49e526c767f71c07 texinfo-6.7_0.tar.bz2
ac74bde2c277d6eb25125e0abfd353ad268a61b8f4a5308adfd6638046b409ac texinfo-6.7_0.tar.bz2
b54b1aa40dc08eec51982fd581a64a900e2598ba29acc6ca9c2b1b2321603b49 util-linux-2.19.1_0.tar.bz2
29572bca4d4d404cb9fa542462e3d167367448dba263970282cae11df2aa3879 which-2.21_0.tar.bz2
9075b6832d8d7b094775c8e6ead763851aec96f4559d8cd62ce0a25e7a8a70ab which-2.21_0.tar.bz2
d7357c5a73e4a0adb07220392316185716c42003fe7e63b63ba8493f12f3621b xz-5.6.4_0.tar.bz2
9b10db90e06129fd174d48edb60a6d1e2fa72944fccef420431f8e836adcf972 zlib-1.3.1_0.tar.bz2
4 changes: 2 additions & 2 deletions steps/binutils-2.41/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ src_configure() {
src_compile() {
make -C bfd headers
for dir in libiberty libsframe bfd opcodes libctf binutils gas gprof ld; do
make "${MAKEJOBS}" -C $dir tooldir=${PREFIX} CFLAGS="-std=c99"
make "${MAKEJOBS}" -C $dir tooldir=${PREFIX} CFLAGS="-std=c99" MAKEINFO=true
done
}

src_install() {
for dir in libiberty bfd opcodes libctf libsframe binutils gas gprof ld; do
make -C $dir tooldir=${PREFIX} DESTDIR="${DESTDIR}" install
make -C $dir tooldir=${PREFIX} DESTDIR="${DESTDIR}" MAKEINFO=true install
done

# Create triplet symlinks
Expand Down
1 change: 0 additions & 1 deletion steps/gcc-4.7.4/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ src_configure() {
src_compile() {
ln -s . "build/build-${TARGET}"
for dir in libiberty libcpp libdecnumber gcc; do
# We have makeinfo now but it is not happy with gcc .info files, so skip it
make "${MAKEJOBS}" -C build/$dir LIBGCC2_INCLUDES=-I"${PREFIX}/include" \
STMP_FIXINC= GMPLIBS="-lmpc -lmpfr -lgmp" MAKEINFO=true
done
Expand Down
35 changes: 0 additions & 35 deletions steps/gettext-0.21/pass1.sh

This file was deleted.

2 changes: 0 additions & 2 deletions steps/gettext-0.21/sources

This file was deleted.

Loading
Loading