SliTaz SliTaz Forum

You are not logged in.

#1 2021-12-19 17:28:31

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

gawk, a build depend of slitaz-toolchain?

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

#2 2021-12-19 20:23:34

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: gawk, a build depend of slitaz-toolchain?

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

#3 2021-12-19 23:25:39

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: gawk, a build depend of slitaz-toolchain?

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... wink

Thanks again.

Offline

#4 2021-12-27 16:48:09

Filou
Moderator
Registered: 2011-05-03
Posts: 256

Re: gawk, a build depend of slitaz-toolchain?

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]