Re: Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder)

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

 



On Tue, 21 Feb 2012, Gregory Farnum wrote:
> On Tue, Feb 21, 2012 at 11:07 AM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> > On Tue, 21 Feb 2012, Guido Winkelmann wrote:
> >> Hi,
> >>
> >> With Ceph 0.42, I am unable to create an RPM from supplied spec-file.
> >>
> >> When running rpmbuild -ba ceph-0.42/ceph.spec, the command fails at the end
> >> with this:
> >>
> >> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> >> /root/rpmbuild/BUILDROOT/ceph-0.42-6.fc14.x86_64
> >> error: Installed (but unpackaged) file(s) found:
> >>    /usr/bin/ceph-dencoder
> >>
> >>
> >> RPM build errors:
> >>     Installed (but unpackaged) file(s) found:
> >>    /usr/bin/ceph-dencoder
> >>
> >> I could get it to build anyway by including the line
> >>
> >> %{_bindir}/ceph-dencoder
> >>
> >> in the files section of the spec file.
> >
> > Adding ceph-dencoder (and man page) to the .deb and .rpm now.  Thanks!
> 
> Wouldn't it be better to only install those with the ceph-devel
> packages? Users won't ever want those binaries.

It's useful for general debugging, e.g. examing xattrs on filestore 
objects.  We don't really have a separate package for extraneous optional 
tools, though.  I was just going to lump it into ceph-common with all the 
other command line tools.

sage

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux