SliTaz SliTaz Forum

You are not logged in.

#1 2022-10-14 16:52:49

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

Is libcomerr3 correctly built?

In the libcomerr3 receipt: [c]PROVIDE="libcomerr"[/c]

When a package provides another one I remove the provided package.

After I removed libcomerr I got the message

[c]e2fsck: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory[/c]

at boot.

/lib/libcom_err.so.2 is installed by libcomerr and libcomerr is a dependence of e2fsprogs.

Shouldn't libcomerr3 install /lib/libcom_err.so.2 and its target /lib/libcom_err.so.2.1?

Offline

#2 2022-10-26 20:44:31

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

Re: Is libcomerr3 correctly built?

libcomerr3 is not a drop-in replacement for libcomerr.

PROVIDE="libcomerr" should be removed from the libcomerr3 receipt.

libcomerr is not a drop-in replacement for libcomerr3.

PROVIDE="libcomerr3" should be removed from the libcomerr receipt.

e2fsprogs builds libcom_err.so.2 and e2fsck, then links them together.

libcomerr WANTS="e2fsprogs"

If cook is able to build e2fsprogs,then libcom_err.so.* are packaged into libcomerr tazpkg.

/lib/libcom_err.so.2 -> libcom_err.so.2.1

/lib/libcom_err.so.2.1

/usr/lib/libcom_err.so -> /lib/libcom_err.so.2

libcomerr3 WANTS="krb5"

/usr/lib/libcom_err.so -> libcom_err.so.3.0

/usr/lib/libcom_err.so.3 -> libcom_err.so.3.0

/usr/lib/libcom_err.so.3.0

The linux distributions I checked(arch,debian-sid,crux-3.7,fedora-rawhide) build e2fsprogs against libcom_err.so.2

Offline

#3 2022-11-04 12:22:47

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

Re: Is libcomerr3 correctly built?

Hi mojo,

Very clear explanation, I'm going to rebuild my libcomerr3 package after modifying the receipt.

Thanks.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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