bash
- glaucus only uses
bashin the bootstrap process to build certain packages (see Bashisms section below) - glaucus does not provide
bashin the final system
Prepare
Section titled “Prepare”autoreconfbreaks build
Configure
Section titled “Configure”- Does not cross compile with ease because of hardcoded variables
- Does not link against
libediteven withLIBS=-leditandlibreadline.a; however, it builds fine with--enable-readlineand--with-installed-readline - Links against
terminfofromnetbsd-curseson glaucus and builds fine with--with-curses
- Add
no-paralleltooptin case of race conditions betweeny.tab.candbuiltins/libbuiltins.a
- Disabled on glaucus as
bashis not part of the final system
Package
Section titled “Package”- glaucus removes
bin/bashbug
Bashisms
Section titled “Bashisms”ld/genscripts.shfrombinutils; glaucus usesllvm binary utilitiesinsteadbuildconf.shfromexpatlibcaplibedittoybox: hard to patchzlib-ng; glaucus usessortix libzinstead
5.2.37is broken; glaucus uses5.3- Cross breaks with
LIBS=-lnsssas it links hostman2htmlto crossnsss; glaucus no longer usesnsss
References
Section titled “References”- https://glfs-book.github.io/glfs/introduction/bash-profile.html
- https://gnu.org/software/bash/manual/html_node/Command-Grouping.html
- https://gnu.org/software/bash/manual/html_node/Optional-Features.html
- https://linuxfromscratch.org/blfs/view/svn/postlfs/profile.html
- https://mywiki.wooledge.org/BashPitfalls
- https://mywiki.wooledge.org/BashWeaknesses