[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages violating policy 8.2



Christoph Berg <myon@debian.org> writes:

> Re: Goswin von Brederlow 2006-05-19 <[🔎] 878xoyars7.fsf@informatik.uni-tuebingen.de>
>> The line below looks for all packages with a *.so.* file in (/usr)/lib
>> and a file in (/usr)/bin. The assumption is that anything with a
>> *.so.* file in the system library dirs is a library package and those
>> may not have files in (/usr)/bin.
>
>> sdate                   Christoph Berg <myon@debian.org>
>
> Bogus. (sdate is a fakeroot fork and needs a .so in /usr/lib/ for
> technical reasons.)

What reasons would that be?

mrvn@storage:~ftp/debian% dpkg -c pool/main/f/fakeroot/fakeroot_1.5.8_i386.deb | grep "\(bin\|lib\)"
drwxr-xr-x root/root         0 2006-03-17 01:11:32 ./usr/bin/
-rwxr-xr-x root/root      3072 2006-03-17 01:11:01 ./usr/bin/fakeroot-tcp
-rwxr-xr-x root/root     18088 2006-03-17 01:11:32 ./usr/bin/faked-tcp
-rwxr-xr-x root/root      3076 2006-03-17 01:11:02 ./usr/bin/fakeroot-sysv
-rwxr-xr-x root/root     13972 2006-03-17 01:11:32 ./usr/bin/faked-sysv
drwxr-xr-x root/root         0 2006-03-17 01:11:32 ./usr/lib/
drwxr-xr-x root/root         0 2006-03-17 01:11:32 ./usr/lib/libfakeroot/
-rwxr-xr-x root/root     23684 2006-03-17 01:11:32 ./usr/lib/libfakeroot/libfakeroot-tcp.so
-rwxr-xr-x root/root     22720 2006-03-17 01:11:32 ./usr/lib/libfakeroot/libfakeroot-sysv.so
-rwSr--r-- root/root      2656 2006-03-17 01:11:32 ./usr/lib/libfakeroot-tcp.so
-rwSr--r-- root/root      2656 2006-03-17 01:11:32 ./usr/lib/libfakeroot-sysv.so
drwxr-xr-x root/root         0 2006-03-17 01:11:29 ./usr/lib64/
drwxr-xr-x root/root         0 2006-03-17 01:11:32 ./usr/lib64/libfakeroot/
-rwxr-xr-x root/root     33728 2006-03-17 01:11:32 ./usr/lib64/libfakeroot/libfakeroot-tcp.so
-rwxr-xr-x root/root     32584 2006-03-17 01:11:32 ./usr/lib64/libfakeroot/libfakeroot-sysv.so

Fakeroot itself didn't need it so why should a fork need it all of a
sudden? Fakeroot is policy 8.2 compliant.


The sdate package looks odd to me anyway:

-rw-r--r-- root/root      5112 2006-04-25 16:35:40 ./usr/lib/libsdate/libsdate.so.0.0.1
-rw-r--r-- root/root       819 2006-04-25 16:35:34 ./usr/lib/libsdate/libsdate.la
-rw-r--r-- root/root      3418 2006-04-25 16:35:40 ./usr/lib/libsdate/libsdate.a
-rwSr--r-- root/root      2640 2006-04-25 16:35:40 ./usr/lib/libsdate.so.0.0.1
-rw-r--r-- root/root       810 2006-04-25 16:35:35 ./usr/lib/libsdate.la
-rw-r--r-- root/root       866 2006-04-25 16:35:40 ./usr/lib/libsdate.a

Why do you have a public and non-public version of the library?


The package description says sdate uses LD_PRELOAD. All you need on
top of that is to set LD_LIBRARY_PATH to include the
/usr/lib*/libsdate/ directories and you can use non-public libs
only. Just like fakeroot.

Also please consider providing both 32 and 64bit flavours of the
libraries. Just like fakeroot.

> Christoph

MfG
        Goswin



Reply to: