Skip to contentSkip to conversation

UHD (from meta-oe) failure when rpm packaging selected

DISCUSSION Philip Balister 2 participants 4 messages Jan 23, 2013

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 14 lines · Philip Balister

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:

Quoted 5 lines

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.)

Quoted 12 lines

Failed to find Provides:
DEBUG: Python function do_package_rpm finished

Any suggestions?

Philip

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 9 lines · Mark Hatle
Quoted 8 lines · Philip Balister

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

Quoted 8 lines
Quoted 8 lines

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

Quoted 35 lines
Quoted 6 lines

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.)

Quoted 12 lines

Failed to find Provides:
DEBUG: Python function do_package_rpm finished

Any suggestions?

Philip

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 19 lines · Philip Balister
Quoted 9 lines · Mark Hatle
Quoted 8 lines · Philip Balister

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

Quoted 8 lines
Quoted 8 lines

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:

Quoted 7 lines

[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

Quoted 37 lines

Philip

Quoted 35 lines
Quoted 6 lines

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.)

Quoted 12 lines

Failed to find Provides:
DEBUG: Python function do_package_rpm finished

Any suggestions?

Philip

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core