Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder)
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.
Regards,
Guido
Quoted 17 lines · Guido Winkelmann
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-dencoderRPM build errors:
Installed (but unpackaged) file(s) found:
/usr/bin/ceph-dencoder
Quoted 5 lines
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!
sage
Quoted 10 lines
Regards,
Guido
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 18 lines · Sage Weil
Quoted 17 lines · Guido Winkelmann
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-dencoderRPM build errors:
Installed (but unpackaged) file(s) found:
/usr/bin/ceph-dencoder
Quoted 7 lines
Quoted 5 lines
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.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 21 lines · Gregory Farnum
Quoted 20 lines · Sage Weil
Quoted 19 lines · Guido Winkelmann
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-dencoderRPM build errors:
Installed (but unpackaged) file(s) found:
/usr/bin/ceph-dencoderI could get it to build anyway by including the line
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
%{_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