SliTaz SliTaz Forum

You are not logged in.

#1 2015-10-03 08:32:40

llev
Member
Registered: 2011-12-09
Posts: 568

Big bug with "acl" installation

Hi,

I just tried to upgrade all rebuilt packages.

Then tazpkg got in an infinite loop when installing "acl".

It looks like /lib/libacl.so.1.1.0 somehow got truncated, but basically all GNU tools try to load it and fail: sed, cp, ls, unlzma... This makes tazpkg completely broken.

Fortunately I could repair by hand: download (busybox wget), unpack it (busybox unlzma), and copy the faulty file (busybox cp -a).

It looks like the receipt has no explicit install rule: probably there should be one using explicitly "busybox cp" and so on.

It's not the first time I get such bugs (all due to my using of GNU tools instead of default ones, I think). Maybe you could consider modifying tazpkg in this way:

sed="busybox sed"

cp="busybox cp"

...

$sed -i ...

$cp -a ...

...

What do you think?

Offline

#2 2015-10-03 11:49:34

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Big bug with "acl" installation

Hi llev,

Thank you for reporting!

SliTaz project still have "childhood diseases" with the GNU Utils / Coreutils / Busybox incompatibilities. Sorry.

I know the better decision: to using aliases. Something like that:

[c]alias wget='busybox wget'
alias cpio='busybox cpio'[/c]
This helps to keep all the rest of TazPkg code clean.

These days I preparing a huge changes in the TazPkg, and I'll include these aliases in the main TazPkg module.

Offline

#3 2015-10-03 14:50:20

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Big bug with "acl" installation

Don't be sorry! You do a great work and I upgrade only when I know I have some free time to face the problems ;-)

More bug reports coming!

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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