Bug 851 - qemux86-64 packages packaged as qemux86
Summary: qemux86-64 packages packaged as qemux86
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: x86 x86_64
: High major
Target Milestone: 1.0 M4
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-11 01:35 UTC by Qing He
Modified: 2011-03-16 19:00 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Qing He 2011-03-11 01:35:19 UTC
Within tmp/deploy/rpm/qemux86-64, every file has a suffix of .qemux86.rpm, and repo creators like createrepo also recognizes these packages as qemux86 ones.

This is likely to break the package retrieving from the repo.
Comment 1 Qing He 2011-03-11 01:42:09 UTC
Some findings after a brief investigation:

${PACKAGE_ARCH} is qemux86-64 and this is passed to rpmbuild as
     --target qemux86-64-poky-linux-gnu
   That's where it goes wrong.

I don't know the reason to use qemux86-64 instead of qemux86_64 at the very beginning, but guess it's to avoid things like FOO_qemux86_64 in bitbake?

Can we use MACHINE_ARCH_qemux86-64 = "qemux86_64" and not break anything?
Comment 2 Mark Hatle 2011-03-15 08:39:46 UTC
I agree.  We need to resolve this issue by updating / translating the architecture..
Comment 3 Mark Hatle 2011-03-16 19:00:58 UTC
I believe Qing's patch resolved this.  Please re-verify.

Fix: http://git.pokylinux.org/cgit.cgi/poky/commit/?h=bernard&id=8797e389c6bd84a20da4cafce1df8568213d3b85