head 1.14; access; symbols pkgsrc-2023Q4:1.14.0.14 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.14.0.12 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.14.0.10 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.8 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.6 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.4 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.14.0.2 pkgsrc-2022Q2-base:1.14 pkgsrc-2022Q1:1.9.0.10 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.8 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.6 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.4 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.2 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.7.0.14 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.12 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.10 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.6 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.8 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.4 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.2 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.6.0.20 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.18 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.16 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.14 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.12 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.10 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.8 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.4 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.2 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.5.0.16 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.14 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.12 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.10 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.8 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.6 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.4 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.2 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.4.0.58 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.56 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.54 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.52 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.50 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.48 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.46 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.44 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.42 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.40 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.38 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.36 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.34 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.32 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.30 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.28 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.26 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.24 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.22 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.20 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.18 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.16 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.14 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.12 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.10 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.8 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.6 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.2 pkgsrc-2008Q1:1.3.0.26 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.24 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.22 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.20 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.18 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.16 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.14 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.12 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.10 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.8 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.1.1.1.0.8 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.6 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.4 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.2 pkgsrc-2004Q1-base:1.1.1.1 bootstrap-pkgsrc-20040311:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.14 date 2022.06.15.20.17.32; author schmonz; state Exp; branches; next 1.13; commitid J4ipF8kt5iwDVaID; 1.13 date 2022.06.01.12.15.39; author gdt; state Exp; branches; next 1.12; commitid zD2I9LjKahFiIkGD; 1.12 date 2022.06.01.12.12.20; author gdt; state Exp; branches; next 1.11; commitid CAzBjgjkZfgaHkGD; 1.11 date 2022.05.01.08.06.46; author nia; state Exp; branches; next 1.10; commitid vfwoOrEpUmLFkkCD; 1.10 date 2022.04.07.15.16.55; author gdt; state Exp; branches; next 1.9; commitid iy6vm09sH936uhzD; 1.9 date 2021.02.12.13.00.48; author cjep; state Exp; branches; next 1.8; commitid oUfaKXWr9NlqcqHC; 1.8 date 2021.02.12.13.00.05; author cjep; state Exp; branches; next 1.7; commitid oR3YF3YWsGlZbqHC; 1.7 date 2019.04.04.04.20.26; author gutteridge; state Exp; branches; next 1.6; commitid gp8UiVxaO9BWaZhB; 1.6 date 2017.03.06.21.26.01; author sevan; state Exp; branches; next 1.5; commitid AaOhCYQ3aZv5fxIz; 1.5 date 2015.02.28.18.50.46; author prlw1; state Exp; branches; next 1.4; commitid QH6d3Lfut3n05Oby; 1.4 date 2008.06.18.21.37.31; author dmcmahill; state Exp; branches; next 1.3; 1.3 date 2005.02.16.11.02.50; author grant; state Exp; branches; next 1.2; 1.2 date 2005.02.15.09.39.06; author grant; state Exp; branches; next 1.1; 1.1 date 2004.03.11.13.03.59; author grant; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.03.11.13.03.59; author grant; state Exp; branches; next ; desc @@ 1.14 log @README.Linux: add a few notes for Alpine. @ text @$NetBSD: README.Linux,v 1.13 2022/06/01 12:15:39 gdt Exp $ # General Generally, bootstrapping on GNU/Linux is expected to Just Work with gcc. # Compilers ## gcc gcc is the standard approach. As of 2022 it has been reported that systems with gcc 4.8 (e.g. RHEL7) do not bootstrap, but that gcc7 (AWS-flavored RHEL7) and gcc8 (RHEL8) succeed. ## clang There are no reports of success or failure with clang. ## icc It was reported in 2008 that icc (Intel C++ Compiler) 8.0 and 8.1 have been tested on i386. See the old section at the end. # Alpine and derivatives After bootstrap, if you want to be using pkgsrc build/install locking, install a more featureful ps(1) than BusyBox's: apk add procps You may also find that pkgsrc needs a more featureful date(1), such as GNU's: apk add coreutils # Debian and derivatives For Debian and derivatives such as Ubuntu the following packages should be installed prior to attempting bootstrap: apt-get install cvs libncurses5 libncurses5-dev gcc g++ zlib1g-dev \ zlib1g libssl-dev libudev-dev # RedHat and derivatives In 2022, pkgsrc bootstrapped ok on RHEL 8.5, and packages generally worked. # NixOS stdenv.cc should be installed prior to attempting bootstrap. Please note that if you run the Nix garbage collector and it collects libc, every pkgsrc binary (including binaries generated during bootstrap) will need to be rebuilt. # musl Linux with musl was reported to work in 2022. # Termux (Android) In 2022, unprivileged bootstrap failed. # Very old information ## Details of using icc (last update 2005 To bootstrap using icc, assuming the default icc installation directory: env CC=/opt/intel_cc_80/bin/icc LDFLAGS=-static-libcxa \ ac_cv___attribute__=yes ./bootstrap note: icc 8.1 needs the `-i-static' argument instead of -static-libcxa. icc supports __attribute__, but the GNU configure test uses a nested function, which icc does not support. #undef'ing __attribute__ has the unfortunate side-effect of breaking many of the Linux header files, which cannot be compiled properly without __attribute__. The test must be overridden so that __attribute__ is assumed supported by the compiler. After bootstrapping, you should set PKGSRC_COMPILER in mk.conf: PKGSRC_COMPILER=icc The default installation directory for icc is /opt/intel_cc_80, which is also the pkgsrc default. If you have installed it into a different directory, set ICCBASE in mk.conf: ICCBASE=/opt/icc pkgsrc uses the static linking method of the runtime libraries provided by icc, so binaries can be run on other systems which do not have the shared libraries installed. Libtool, however, extracts a list of libraries from the ld(1) command run when linking a C++ shared library and records it, throwing away the -Bstatic and -Bdynamic options interspersed between the libraries. This means that libtool-linked C++ shared libraries will have a runtime dependency on the icc libraries until this is fixed in libtool. @ 1.13 log @README.Linux: Note RHEL 8.5 works Drop workaround for RHEL 3, because the report about 8.5 doesn't mention it, and RHEL 3 is so ancient that there's no reason to think the bug remains. @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.12 2022/06/01 12:12:20 gdt Exp $ d26 12 @ 1.12 log @README.Linux: Update from on-list comments musl works Termux does not work Add dates for ancient information @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.11 2022/05/01 08:06:46 nia Exp $ d34 4 a53 17 # RedHat and derivatives ## Very old hints about libattr (2008) Some versions of Linux (RHEL3 Update 2 for i386 for example) have a /usr/lib/libacl.la libtool archive file that lists /lib/libattr.la as a dependency. However, libattr.la does not exist in /lib/libattr.la. If this is the case, the bootstrap will fail with grep: /lib/libattr.la: No such file or directory /usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/.tools/bin/sed: can't read /lib/libattr.la: No such file or directory libtool: link: `/lib/libattr.la' is not a valid libtool archive The solution is to copy /usr/lib/libattr.la to /lib/libattr.la with: cp -p /usr/lib/libattr.la /lib @ 1.11 log @bootstrap: notes for NixOS @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.10 2022/04/07 15:16:55 gdt Exp $ d23 1 a23 1 Long ago, it was reported that icc (Intel C++ Compiler) 8.0 and 8.1 d42 8 d52 1 a52 1 ## Old, undated, information d67 1 a67 1 # General old, undated information d69 1 a69 1 ## Details of using icc @ 1.10 log @bootstrap: Rototill README.Linux Convert to markdown because the previous style was too confusing. A lot of this is ancient; mark it as such. Fold in comments from Peter Lai about working/non-working gcc versions. @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.9 2021/02/12 13:00:48 cjep Exp $ d34 8 @ 1.9 log @format @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.8 2021/02/12 13:00:05 cjep Exp $ d3 1 a3 1 Please read the general README file as well. d5 22 a26 1 ========================================================================== d29 1 a29 1 installed prior to attempting bootstrap d34 3 a36 1 ========================================================================== d51 1 a51 7 ========================================================================== Some versions of Linux (for example Debian GNU/Linux) need either libtermcap or libcurses (libncurses). Installing the distribution's libncurses-dev package (or equivalent) should fix related build problems. ========================================================================== d53 1 a53 2 pkgsrc supports both gcc (GNU Compiler Collection) and icc (Intel C++ Compiler). gcc is the default. icc 8.0 and 8.1 on i386 have been tested. @ 1.8 log @Add libncurses5 to the required libraries. Took me a little while to find this. The dev package can be installed without the actual library. @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.7 2019/04/04 04:20:26 gutteridge Exp $ d10 2 a11 1 apt-get install cvs libncurses5 libncurses5-dev gcc g++ zlib1g-dev zlib1g libssl-dev libudev-dev @ 1.7 log @README.Linux: minor tweak to a sentence @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.6 2017/03/06 21:26:01 sevan Exp $ d10 1 a10 1 apt-get install cvs libncurses5-dev gcc g++ zlib1g-dev zlib1g libssl-dev libudev-dev @ 1.6 log @Add instructions on installing required dependencies on Debian & derivatives to ensure a smooth process Taken from: https://imil.net/blog/2015/07/05/using-pkgsrc-on-debian-gnulinux/ @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.5 2015/02/28 18:50:46 prlw1 Exp $ d30 2 a31 2 or libcurses (libncurses). Installing the distributions libncurses-dev package (or equivalent) should fix the problem. @ 1.5 log @typo @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.4 2008/06/18 21:37:31 dmcmahill Exp $ d7 7 @ 1.4 log @Document the issue and workaround for missing /lib/libattr.la on some RHEL systems. @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.3 2005/02/16 11:02:50 grant Exp $ d16 1 a16 1 The soltion is to copy /usr/lib/libattr.la to /lib/libattr.la with: @ 1.3 log @note that icc 8.1 needs to be built with -i-static. @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.2 2005/02/15 09:39:06 grant Exp $ d5 17 d26 2 @ 1.2 log @add some info about using icc. @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $ d18 3 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: README.Linux,v 1.1 2004/01/12 03:54:00 jschauma Exp $ d8 36 @ 1.1.1.1 log @import the required bits of bootstrap-pkgsrc from 20040311. @ text @@