All of lore.kernel.org
 help / color / mirror / Atom feed
* Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder)
@ 2012-02-21 17:41 Guido Winkelmann
  2012-02-21 19:07 ` Sage Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Guido Winkelmann @ 2012-02-21 17:41 UTC (permalink / raw)
  To: ceph-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder)
  2012-02-21 17:41 Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder) Guido Winkelmann
@ 2012-02-21 19:07 ` Sage Weil
  2012-02-21 19:38   ` Gregory Farnum
  0 siblings, 1 reply; 4+ messages in thread
From: Sage Weil @ 2012-02-21 19:07 UTC (permalink / raw)
  To: Guido Winkelmann; +Cc: ceph-devel

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!

sage


> 
> Regards,
> 
> 	Guido
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder)
  2012-02-21 19:07 ` Sage Weil
@ 2012-02-21 19:38   ` Gregory Farnum
  2012-02-21 21:02     ` Sage Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Gregory Farnum @ 2012-02-21 19:38 UTC (permalink / raw)
  To: Sage Weil; +Cc: Guido Winkelmann, ceph-devel

On Tue, Feb 21, 2012 at 11:07 AM, Sage Weil <sage@newdream.net> 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.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder)
  2012-02-21 19:38   ` Gregory Farnum
@ 2012-02-21 21:02     ` Sage Weil
  0 siblings, 0 replies; 4+ messages in thread
From: Sage Weil @ 2012-02-21 21:02 UTC (permalink / raw)
  To: Gregory Farnum; +Cc: Guido Winkelmann, ceph-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1310 bytes --]

On Tue, 21 Feb 2012, Gregory Farnum wrote:
> On Tue, Feb 21, 2012 at 11:07 AM, Sage Weil <sage@newdream.net> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-21 21:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 17:41 Ceph 0.42: Cannot make RPM from spec-file (unpackaged file ceph-dencoder) Guido Winkelmann
2012-02-21 19:07 ` Sage Weil
2012-02-21 19:38   ` Gregory Farnum
2012-02-21 21:02     ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.