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.
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?
I agree. We need to resolve this issue by updating / translating the architecture..
I believe Qing's patch resolved this. Please re-verify. Fix: http://git.pokylinux.org/cgit.cgi/poky/commit/?h=bernard&id=8797e389c6bd84a20da4cafce1df8568213d3b85