rpmlint errors
Paul Howarth
paul at city-fan.org
Wed Aug 24 14:48:54 UTC 2005
Quentin Spencer wrote:
> Paul Howarth wrote:
>
>> Quentin Spencer wrote:
>>
>>> In the ATLAS package I'm working on, I'm getting some rpmlint errors
>>> and warnings in the devel package that don't make sense to me. I've
>>> put all of the headers in /usr/include/atlas, and they're all causing
>>> this error:
>>>
>>> E: atlas-devel script-without-shellbang
>>> /usr/include/atlas/atlas_reflvl3.h
>>
>>
>>
>> This file is probably installed with executable permissions, and
>> shouldn't be.
>
>
>
> You're right. I'm not sure how that happened. Thanks.
It probably has the wrong permissions straight out of the tarball, and
is just copied into place at install-time.
>>> W: atlas-devel dangling-relative-symlink /usr/lib/atlas/libblas.so
>>> libblas.so.3.0
>>
>>
>> I have some library symlinks in /usr/lib and some in /usr/lib/atlas,
>> but only the ones in /usr/lib/atlas are giving me this:
>>
>> What does your package put in /usr/lib/atlas?
>>
>> $ rpm -qlpv atlas...rpm | fgrep /usr/lib/atlas
>>
>
> rpm -qlpv atlas-3.6.0-1.i386.rpm | fgrep /usr/lib/atlas
> drwxr-xr-x 2 root root 0 Aug 24 08:46 /usr/lib/atlas
> lrwxrwxrwx 1 root root 14 Aug 24 08:45
> /usr/lib/atlas/libblas.so.3 -> libblas.so.3.0
> -rwxr-xr-x 1 root root 3111732 Aug 24 08:46
> /usr/lib/atlas/libblas.so.3.0
> lrwxrwxrwx 1 root root 16 Aug 24 08:45
> /usr/lib/atlas/liblapack.so.3 -> liblapack.so.3.0
> -rwxr-xr-x 1 root root 4193604 Aug 24 08:46
> /usr/lib/atlas/liblapack.so.3.0
>
> rpm -qlpv atlas-devel-3.6.0-1.i386.rpm | fgrep /usr/lib/atlas
> -rw-r--r-- 1 root root 5946556 Aug 24 08:45
> /usr/lib/atlas/libblas.a
> lrwxrwxrwx 1 root root 14 Aug 24 08:45
> /usr/lib/atlas/libblas.so -> libblas.so.3.0
> -rw-r--r-- 1 root root 5966622 Aug 24 08:45
> /usr/lib/atlas/liblapack.a
> lrwxrwxrwx 1 root root 16 Aug 24 08:45
> /usr/lib/atlas/liblapack.so -> liblapack.so.3.0
>
> As I noted, there are several libs in /usr/lib that don't cause this
> error (these two are treated differently because they are alternatives
> to libraries in other packages). I suspect that this is a case where
> rpmlint is wrong.
I agree. rpmlint normally ignores dangling symlinks for .so files if
their immediate parent directory is called "lib" or "lib64"; hence you
get the errors for files in /usr/lib/atlas but not for ones in /usr/lib.
Paul.
More information about the fedora-extras-list
mailing list