Comments (15)
I have not gotten around to porting gettext-tiny
from simple Makefiles to a build system generated by GNU's autotools. The current source of gettext-tiny
does not use libtool... i think i ran into a problem 1-2 years ago where a package required some sort of library archive or file made from libtool with gettext-tiny
source.
I may reconsider using a different build/configure system if autotools are hard coded for GNU's autotools (M4, autoconf, automake, etc.)
from cmlfs.
So far....
Ninja -> Samurai
zlib -> zlib-ng
gzip -> pigz
pkg-config -> pkgconf [done]
m4 -> ibara's m4
from cmlfs.
But sorry, I use Toybox for replacing some packages e.g bc
, coreutils
, file
, findutils
, grep
, inetutils
, procps
, sed
, sysklogd
, and tar
. So, I also replace man
instead of man-db
and not installing man-pages
for temporary.
diffutils
, awk
, make
, and patch
are still GNU because of compability that most packages using GNU implementation style (which is powerful). psmisc
in toybox-0.8.5 just available for killall
command.
This is very time waste to configure commands for first time (I created every config for some steps). Since toybox still developed and not all commands are available.
In my concepts, I was trying to build with less GNU utils and libraries lol 😄
from cmlfs.
In my concepts, I was trying to build with less GNU utils and libraries lol smile
I may start another repo with that as the purpose
I did rebuild llvmtools
to replace Ninja with Samurai to drop libffi
and python3
. Definitely made llvmtools smaller:
python3+libffi+ninja: ~ 140Mb ( .tar.xz )
Samurai + no python3 + no libffi + no ninja: ~ 116Mb ( .tar.xz )
from cmlfs.
I did rebuild llvmtools to replace Ninja with Samurai to drop libffi and python3
Libcxxabi requires python. Definately need to add libffi + python3 to llvmtools
from cmlfs.
And when prefer to build CMLFS with *BSD portable programs and libraries instead of GNU 😸
- netbsd-libedit
- netbsd-curses
- openbsd-m4 (not suitable)
- openbsd-yacc
from cmlfs.
@owl4ce how about gettext-tiny? Sometimes, autotools (autoconf+automake+m4+etc] run fine for regenerating configure for coreutils ... other times it fails. Have you had any similar experiences?
from cmlfs.
@owl4ce how about gettext-tiny? Sometimes, autotools (autoconf+automake+m4+etc] run fine for regenerating configure for coreutils ... other times it fails. Have you had any similar experiences?
Yes, thats works like a charm 👍🏻
from cmlfs.
Autoconf fail to configure using OpenBSD M4 (Ibara's)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
configure: autobuild project... GNU Autoconf
configure: autobuild revision... 2.71
configure: autobuild hostname... localh3art
configure: autobuild timestamp... 20210706T073551Z
checking for a shell whose -n mode is known to work... /bin/sh
checking for characters that cannot appear in file names... none
checking whether directories can have trailing spaces... yes
checking for expr... /usr/bin/expr
checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.
GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
from cmlfs.
Autoconf fail to configure using OpenBSD M4 (Ibara's)
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./build-aux/install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl configure: autobuild project... GNU Autoconf configure: autobuild revision... 2.71 configure: autobuild hostname... localh3art configure: autobuild timestamp... 20210706T073551Z checking for a shell whose -n mode is known to work... /bin/sh checking for characters that cannot appear in file names... none checking whether directories can have trailing spaces... yes checking for expr... /usr/bin/expr checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH. GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended. GNU M4 1.4.15 uses a buggy replacement strstr on some systems. Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
fixed by defining M4
export M4=/usr/bin/m4
./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
configure: autobuild project... GNU Autoconf
configure: autobuild revision... 2.71
configure: autobuild hostname... localh3art
configure: autobuild timestamp... 20210706T075522Z
checking for a shell whose -n mode is known to work... /bin/sh
checking for characters that cannot appear in file names... none
checking whether directories can have trailing spaces... yes
checking for expr... /usr/bin/expr
checking for GNU M4 that supports accurate traces... /usr/bin/m4
checking whether /usr/bin/m4 accepts --gnu... no
configure: WARNING: the version of M4 that was found does not support -g
configure: WARNING: using it with POSIXLY_CORRECT set may cause problems
checking how m4 supports trace files... --error-output
checking for perl... /usr/bin/perl
checking whether /usr/bin/perl Fcntl::flock is implemented... yes
checking for emacs... no
checking for xemacs... no
checking for emacs... no
checking where .elc files should go... ${datadir}/emacs/site-lisp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking whether make is case sensitive... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating tests/atlocal
config.status: creating Makefile
config.status: executing tests/atconfig commands
from cmlfs.
But.. build fails caused by autom4te that still needs GNU M4.
from cmlfs.
https://github.com/openbsd/ports/tree/master/devel/autoconf/2.71
from cmlfs.
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Why-GNU-M4.html
from cmlfs.
But.. build fails caused by autom4te that still needs GNU M4.
Looks like autom4te has to be patched for Ibara's M4
from cmlfs.
I'll move this to discussions
from cmlfs.
Related Issues (20)
- References to `systemctl` during boot HOT 2
- utmps utmpx.h already includes utmps/utmpx.h HOT 4
- i686 (cross-compile on amd64): Python3 Build stalls under Chroot HOT 10
- Could we also have Heirloom NG as an alternative to GNU Coreutils in the future? HOT 63
- Python3 need to be rebuilt after final system clang is built HOT 8
- Clarity on CMLFS_TARGET at 1-cgnutools/4-musl HOT 2
- Compiler Warning: "-fuse-ld=' taking a path is deprecated"
- LLVM Compilation Failed HOT 1
- Unable to Compile Kernel HOT 25
- What are the packages that cannot be build without GCC? HOT 4
- Fail at Stage-0 (1-Mussel) HOT 6
- What is the state of CMLFS methods for cross-compiling? HOT 34
- Patch for musl's utmp.h is incomplete HOT 5
- OpenSSL needs certificates HOT 1
- LLVM-17.0.5: Stage 2 Clang has sysroot set as /llvmtools HOT 11
- Udev [from systemd] wont configure for final system; expects util-linux installed HOT 2
- Mention of `systemd-hwdb` when executing `udevadm` HOT 1
- Drop GNU's cpio for bsdcpio [provided by libarchive] HOT 14
- Autotools Broken -- `autoreconf` runs but exits with errors HOT 1
- Binutils: libctf fails to compile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmlfs.