public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* UHD (from meta-oe) failure when rpm packaging selected
@ 2013-01-23 13:29 Philip Balister
  2013-01-23 14:18 ` Mark Hatle
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Balister @ 2013-01-23 13:29 UTC (permalink / raw)
  To: openembedded-core

The recipe builds fine with ipk only, but when you add rpm packaging the
recipe fails to build with:

so.5 libncurses.so.5
Processing files: uhd-dbg-3.5.0-r3.0.armv7a_vfp_neon
Finding  Provides:
/home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
Finding  Requires:
/home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.requires
Processing files: uhd-dev-3.5.0-r3.0.armv7a_vfp_neon
Finding  Provides:
/home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
error: line 719: Illegal char '-' in EVR:

error: Failed to find Provides:


RPM build errors:
    line 719: Illegal char '-' in EVR:

    Failed to find Provides:
DEBUG: Python function do_package_rpm finished

Any suggestions?

Philip



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

* Re: UHD (from meta-oe) failure when rpm packaging selected
  2013-01-23 13:29 UHD (from meta-oe) failure when rpm packaging selected Philip Balister
@ 2013-01-23 14:18 ` Mark Hatle
  2013-01-23 14:32   ` Philip Balister
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Hatle @ 2013-01-23 14:18 UTC (permalink / raw)
  To: openembedded-core

On 1/23/13 7:29 AM, Philip Balister wrote:
> The recipe builds fine with ipk only, but when you add rpm packaging the
> recipe fails to build with:
>
> so.5 libncurses.so.5
> Processing files: uhd-dbg-3.5.0-r3.0.armv7a_vfp_neon
> Finding  Provides:
> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
> Finding  Requires:
> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.requires
> Processing files: uhd-dev-3.5.0-r3.0.armv7a_vfp_neon
> Finding  Provides:
> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
> error: line 719: Illegal char '-' in EVR:
>
> error: Failed to find Provides:
>
>
> RPM build errors:
>      line 719: Illegal char '-' in EVR:

The line above is from the generated spec file.  Look at 
/home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.spec 
-- line 719 and see what it contains.

In RPM there is a rule that the Epoch, Version and Release may not contain a 
"-".  So a translation should have occurred to change it to either a + or a _.. 
  (I don't remember which at the moment.)

>      Failed to find Provides:
> DEBUG: Python function do_package_rpm finished
>
> Any suggestions?
>
> Philip
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




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

* Re: UHD (from meta-oe) failure when rpm packaging selected
  2013-01-23 14:18 ` Mark Hatle
@ 2013-01-23 14:32   ` Philip Balister
  2013-01-23 15:47     ` Mark Hatle
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Balister @ 2013-01-23 14:32 UTC (permalink / raw)
  To: Mark Hatle; +Cc: openembedded-core

On 01/23/2013 09:18 AM, Mark Hatle wrote:
> On 1/23/13 7:29 AM, Philip Balister wrote:
>> The recipe builds fine with ipk only, but when you add rpm packaging the
>> recipe fails to build with:
>>
>> so.5 libncurses.so.5
>> Processing files: uhd-dbg-3.5.0-r3.0.armv7a_vfp_neon
>> Finding  Provides:
>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
>>
>> Finding  Requires:
>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.requires
>>
>> Processing files: uhd-dev-3.5.0-r3.0.armv7a_vfp_neon
>> Finding  Provides:
>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
>>
>> error: line 719: Illegal char '-' in EVR:

[balister@mini ~]$ wc -l
thuvia/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.spec

719
thuvia/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.spec

The last line is blank.

Philip

>>
>> error: Failed to find Provides:
>>
>>
>> RPM build errors:
>>      line 719: Illegal char '-' in EVR:
> 
> The line above is from the generated spec file.  Look at
> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.spec
> -- line 719 and see what it contains.
> 
> In RPM there is a rule that the Epoch, Version and Release may not
> contain a "-".  So a translation should have occurred to change it to
> either a + or a _..  (I don't remember which at the moment.)
> 
>>      Failed to find Provides:
>> DEBUG: Python function do_package_rpm finished
>>
>> Any suggestions?
>>
>> Philip
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> 



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

* Re: UHD (from meta-oe) failure when rpm packaging selected
  2013-01-23 14:32   ` Philip Balister
@ 2013-01-23 15:47     ` Mark Hatle
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2013-01-23 15:47 UTC (permalink / raw)
  To: Philip Balister; +Cc: openembedded-core

On 1/23/13 8:32 AM, Philip Balister wrote:
> On 01/23/2013 09:18 AM, Mark Hatle wrote:
>> On 1/23/13 7:29 AM, Philip Balister wrote:
>>> The recipe builds fine with ipk only, but when you add rpm packaging the
>>> recipe fails to build with:
>>>
>>> so.5 libncurses.so.5
>>> Processing files: uhd-dbg-3.5.0-r3.0.armv7a_vfp_neon
>>> Finding  Provides:
>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
>>>
>>> Finding  Requires:
>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.requires
>>>
>>> Processing files: uhd-dev-3.5.0-r3.0.armv7a_vfp_neon
>>> Finding  Provides:
>>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.provides
>>>
>>> error: line 719: Illegal char '-' in EVR:
>
> [balister@mini ~]$ wc -l
> thuvia/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.spec
>
> 719
> thuvia/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.spec
>
> The last line is blank.

The only other thing I can think of is that the uhd.provides or uhd.requires 
file are returning a line with an invalid character.. but it's rare that they 
return values with full version information.

Can you put the uhd.spec, uhd.provides and uhd.requires files somewhere I can 
look at them, I can probably spot the problem fairly quickly.

--Mark

> Philip
>
>>>
>>> error: Failed to find Provides:
>>>
>>>
>>> RPM build errors:
>>>       line 719: Illegal char '-' in EVR:
>>
>> The line above is from the generated spec file.  Look at
>> /home/balister/src/oe-core/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/uhd/1_3.5.0-r3.0/uhd.spec
>> -- line 719 and see what it contains.
>>
>> In RPM there is a rule that the Epoch, Version and Release may not
>> contain a "-".  So a translation should have occurred to change it to
>> either a + or a _..  (I don't remember which at the moment.)
>>
>>>       Failed to find Provides:
>>> DEBUG: Python function do_package_rpm finished
>>>
>>> Any suggestions?
>>>
>>> Philip
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>>




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

end of thread, other threads:[~2013-01-23 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 13:29 UHD (from meta-oe) failure when rpm packaging selected Philip Balister
2013-01-23 14:18 ` Mark Hatle
2013-01-23 14:32   ` Philip Balister
2013-01-23 15:47     ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox