* Issue with package_rpm : can't install files named "%name..."
@ 2013-10-28 13:44 Sebastien MENNETRIER
2013-10-28 15:11 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Sebastien MENNETRIER @ 2013-10-28 13:44 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 545 bytes --]
Hi all,
I try to cross-compile and install rubygems and the gems contain some
directories and files named "%name...".
To create the rpm package, a spec file that contains the list of all files
and directories that must be in the rpm package is generated in do_package.
The rpm process replace all the "%name" in the spec file by the name of the
package. So the package process try to include some file and directory that
doesn't exist.
How can I resolve this issue ? Is it a bug in package_rpm.bbclass ?
Best regards,
Seb
[-- Attachment #2: Type: text/html, Size: 4600 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Issue with package_rpm : can't install files named "%name..."
2013-10-28 13:44 Issue with package_rpm : can't install files named "%name..." Sebastien MENNETRIER
@ 2013-10-28 15:11 ` Paul Eggleton
2013-10-28 15:42 ` Sebastien MENNETRIER
0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-10-28 15:11 UTC (permalink / raw)
To: Sebastien MENNETRIER; +Cc: openembedded-core
Hi Sebastien,
On Monday 28 October 2013 14:44:57 Sebastien MENNETRIER wrote:
> I try to cross-compile and install rubygems and the gems contain some
> directories and files named "%name...".
>
> To create the rpm package, a spec file that contains the list of all files
> and directories that must be in the rpm package is generated in do_package.
>
> The rpm process replace all the "%name" in the spec file by the name of the
> package. So the package process try to include some file and directory that
> doesn't exist.
>
> How can I resolve this issue ? Is it a bug in package_rpm.bbclass ?
It is a limitation in package_rpm.bbclass's current behaviour, yes. It
probably needs to be fixed to escape % at the start of a filename when writing
out the spec file (assuming that is possible, that is). Could you please file a
bug for this (at bugzilla.yoctoproject.org)?
Thanks,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Issue with package_rpm : can't install files named "%name..."
2013-10-28 15:11 ` Paul Eggleton
@ 2013-10-28 15:42 ` Sebastien MENNETRIER
2013-10-29 16:13 ` Sebastien MENNETRIER
0 siblings, 1 reply; 4+ messages in thread
From: Sebastien MENNETRIER @ 2013-10-28 15:42 UTC (permalink / raw)
To: Paul Eggleton; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]
Paul,
Thanks for your answer. I filled a bug :
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5397
Regards,
Seb
2013/10/28 Paul Eggleton <paul.eggleton@linux.intel.com>
> Hi Sebastien,
>
> On Monday 28 October 2013 14:44:57 Sebastien MENNETRIER wrote:
> > I try to cross-compile and install rubygems and the gems contain some
> > directories and files named "%name...".
> >
> > To create the rpm package, a spec file that contains the list of all
> files
> > and directories that must be in the rpm package is generated in
> do_package.
> >
> > The rpm process replace all the "%name" in the spec file by the name of
> the
> > package. So the package process try to include some file and directory
> that
> > doesn't exist.
> >
> > How can I resolve this issue ? Is it a bug in package_rpm.bbclass ?
>
> It is a limitation in package_rpm.bbclass's current behaviour, yes. It
> probably needs to be fixed to escape % at the start of a filename when
> writing
> out the spec file (assuming that is possible, that is). Could you please
> file a
> bug for this (at bugzilla.yoctoproject.org)?
>
> Thanks,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
[-- Attachment #2: Type: text/html, Size: 1920 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Issue with package_rpm : can't install files named "%name..."
2013-10-28 15:42 ` Sebastien MENNETRIER
@ 2013-10-29 16:13 ` Sebastien MENNETRIER
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien MENNETRIER @ 2013-10-29 16:13 UTC (permalink / raw)
To: Paul Eggleton; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]
Hi,
I tried to create a patch to fix this issue :
http://lists.openembedded.org/pipermail/openembedded-core/2013-October/085689.html
Regards,
Seb
2013/10/28 Sebastien MENNETRIER <s.mennetrier@innotis.org>
> Paul,
>
> Thanks for your answer. I filled a bug :
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=5397
>
> Regards,
> Seb
>
>
> 2013/10/28 Paul Eggleton <paul.eggleton@linux.intel.com>
>
>> Hi Sebastien,
>>
>> On Monday 28 October 2013 14:44:57 Sebastien MENNETRIER wrote:
>> > I try to cross-compile and install rubygems and the gems contain some
>> > directories and files named "%name...".
>> >
>> > To create the rpm package, a spec file that contains the list of all
>> files
>> > and directories that must be in the rpm package is generated in
>> do_package.
>> >
>> > The rpm process replace all the "%name" in the spec file by the name of
>> the
>> > package. So the package process try to include some file and directory
>> that
>> > doesn't exist.
>> >
>> > How can I resolve this issue ? Is it a bug in package_rpm.bbclass ?
>>
>> It is a limitation in package_rpm.bbclass's current behaviour, yes. It
>> probably needs to be fixed to escape % at the start of a filename when
>> writing
>> out the spec file (assuming that is possible, that is). Could you please
>> file a
>> bug for this (at bugzilla.yoctoproject.org)?
>>
>> Thanks,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>>
>
>
[-- Attachment #2: Type: text/html, Size: 2621 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-29 16:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 13:44 Issue with package_rpm : can't install files named "%name..." Sebastien MENNETRIER
2013-10-28 15:11 ` Paul Eggleton
2013-10-28 15:42 ` Sebastien MENNETRIER
2013-10-29 16:13 ` Sebastien MENNETRIER
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.