rpmlint errors

Quentin Spencer qspencer at ieee.org
Wed Aug 24 14:30:11 UTC 2005


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.


>> 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.


>> Another related question--I'm using a configuration file 
>> /etc/ld.so.conf.d/atlas-%{arch}.conf, and rpmlint wants me to do 
>> %config(noreplace) in front of it. Can anyone explain what the 
>> noreplace does? It's not documented in the Maximum RPM doc.
>
>
> It means that if a subsequent package update creates a file of that 
> name with different content, and the user has modified the file in the 
> existing package, the existing package is kept and the new file is 
> installed with a .rpmnew extension. Without the (noreplace), the 
> original file is renamed with a .rpmsave extension and the new file 
> gets  installed with the original name.


OK. Good to know. Thanks.

-Quentin





More information about the fedora-extras-list mailing list