You are not logged in.
Pages: 1
Hello,
In the cook log of [c]slitaz-toolchain[/c] I can see
Build dependencies to remove: 1
Removing: gawk
but [c]slitaz-toolchain[/c] has no [c]BUILD_DEPENDS[/c] in its [c]receipt[/c].
How this is possible?
Offline
slitaz-toolchain is a meta package that executes the build of 5 packages listed in it's depends.
Determine the build depends of every depends of slitaz-toolchain and the depends of wanted.
Wanted triggers the build of a package that a subpackage must source it's files from.
Subpackage or split package examples are -dev,-base,linux-,firmware-
glibc-dev is a depends of slitaz-toolchain
glibc-dev wanted glibc
glibc build depends includes gawk
make is a depends of slitaz-toolchain
make depends on glibc-base
glibc-base wanted glibc
glibc build depends includes gawk
Offline
Thank you very much mojo.
I did this search but looked only at the [c]BUILD_DEPENDS[/c] variables.
Looking deeper in the receipt of glibc I found gawk hidden at line 72:
[c][ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk[/c]
with always this comment
[c]# SliTaz is a Busybox based OS, why we so small and fast. Using gawk by
# default to build package will not ensure package work with Busybox awk
# and so should NOT be use to cook.[/c]
We use gawk but we shouldn't... 
Thanks again.
Offline
As far as I understood mojo (and my experience with starting a wok from scratch using LFS instructions shares the same), it's not that we generally use gawk though we shouldn't.
It's just that some single packages require gawk and not busybox awk, glibc as "the foundation of the whole system" being one of them.
So we just use gawk where absolutely necessary and rely on busbybox awk wherever we can...
Sorry, if I misinterpreted your last comment...
Offline
Pages: 1
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]