package with binaries only in /usr/sbin: rpmlint "no binaries" error, empty debuginfo
Michael Schwendt
mschwendt at gmail.com
Fri Mar 30 07:43:07 UTC 2012
On Fri, 30 Mar 2012 00:28:23 -0700, ES (Eric) wrote:
> I'm working on packaging HP's LTFS filesystem (which uses fuse), and it
> has binaries only in /usr/sbin. rpmlint complains that there are no
> binaries, and the debuginfo package is empty.
>
> [eric at p1 SPECS]$ rpm -qlvp ../RPMS/x86_64/hpltfs-1.2.2-1.x86_64.rpm
> -rw-r--r-- 1 root root 1217 Mar 30 00:11
> /etc/ltfs.conf
> -rw-r--r-- 1 root root 400 Mar 30 00:11
> /etc/ltfs.conf.local
> -rwxr-xr-x 1 root root 3698 Mar 30 00:11
> /etc/rc.d/init.d/ltfs
> -rwxr-xr-x 1 root root 5895 Mar 30 00:11
> /usr/sbin/ltfs
> -rwxr-xr-x 1 root root 5929 Mar 30 00:11
> /usr/sbin/ltfsck
> -rwxr-xr-x 1 root root 5929 Mar 30 00:11
> /usr/sbin/mkltfs
> -rwxr-xr-x 1 root root 5929 Mar 30 00:11
> /usr/sbin/unltfs
Rather short files => suspicious! Read on. ;)
> drwxr-xr-x 2 root root 0 Mar 30 00:11
> /usr/share/doc/hpltfs-1.2.2
> -rw-r--r-- 1 root root 26536 Mar 30 00:11
> /usr/share/doc/hpltfs-1.2.2/COPYING.LIB
> -rw-r--r-- 1 root root 3144 Aug 23 2011
> /usr/share/doc/hpltfs-1.2.2/INSTALLING.linux
> -rw-r--r-- 1 root root 11268 Aug 31 2011
> /usr/share/doc/hpltfs-1.2.2/README.txt
> [eric at p1 SPECS]$ rpmlint hpltfs.spec ../RPMS/x86_64/hpltfs-*.rpm
> ../SRPMS/hpltfs-1.2.2-1.src.rpm
> hpltfs.x86_64: E: no-binary
> hpltfs.x86_64: E: incorrect-fsf-address
> /usr/share/doc/hpltfs-1.2.2/COPYING.LIB
> hpltfs-debuginfo.x86_64: E: empty-debuginfo-package
> 3 packages and 1 specfiles checked; 3 errors, 12 warnings.
> [warnings edited out for brevity]
>
> How do I placate rpmlint and get a proper debuginfo, short of moving the
> binaries into /usr/bin?
Run the more helpful rpmlint -i as not to misunderstand what "no-binary"
refers to.
More information about the devel
mailing list