You are not logged in.
Pages: 1
tazpkg rdepends seems to only work with awk from busybox. Once gawk is installed it miserably breaks with awk errors.
I guess the busybox awk and gawk are not fully compatible.
It seems that 2 initialization in a for loop are not supported by gawk. However after correcting this problem in one place other awk errors pop up. Unfortunately I have no knowledge of awk in order to propose a patch at this time.
has anybody bumped into this problem ?
Offline
Thanks: http://hg.slitaz.org/tazpkg/rev/889e293abdc7
Offline
nice! (pourquoi je n'y ai pas pensé ? c'est presque embarassant...)
however a comment would be in order to understand and remember why this particular reference to awk is preceded by the busybox workaround...
Offline
In my 3+ years with slitaz a similar issue came up in tazpkg with busybox wget and users installing gnu wget. All slitaz scripts are written using busybox applets.
Unfortunately there can be differences in the busybox applet and the full version installed from the repo which will cause a script to malfunction.
By specifying busybox awk in the script it uses the awk applet in busybox instead of the full version of awk from gawk.tazpkg which is in your $PATH so the tazpkg script works as intended.
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]