Bug 5943

Summary: Deb packages are created with arch x86_64 but they should be created as amd64
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ricardo Ribalda <ricardo.ribalda>
Component: coreAssignee: Ricardo Ribalda <ricardo.ribalda>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.5.1   
Target Milestone: 1.6 M4   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Propossed fix
none
Continuation to Propossed fix none

Description Ricardo Ribalda 2014-03-11 09:51:23 UTC
Created attachment 1806 [details]
Propossed fix

Although "x86", "i486", "i586", "i686" and  "pentium" are correctly mapped to i386 and "arm" to armel. x86_65 is not mapped to amd64.


This causes the following error:

root@qt5022:~# dpkg -i alsa-utils_1.0.27.2-r0_x86-64.deb
dpkg: error processing alsa-utils_1.0.27.2-r0_x86-64.deb (--install):
 package architecture (x86-64) does not match system (amd64)
Errors were encountered while processing:
 alsa-utils_1.0.27.2-r0_x86-64.deb
Comment 1 Ricardo Ribalda 2014-03-11 17:35:49 UTC
Created attachment 1808 [details]
Continuation to Propossed fix
Comment 2 Ricardo Ribalda 2014-03-11 17:37:15 UTC
populate_sdk_deb Must also be fixed with αΊ—he second patch to get meta-toolchain-sdk to work.

Map SDK_ARCH x86_64 to DEB_SDK_ARCH amd64

Without this patch meta-toolchain-gmae fails to do_populate_sdk

| The following packages have unmet dependencies:
|  nativesdk-packagegroup-sdk-host : Depends: nativesdk-autoconf but it
is not installable
|                                    Depends: nativesdk-libtool but it
is not installable
|                                    Depends: nativesdk-shadow but it is
not installable
|                                    Depends: nativesdk-unfs-server but
it is not installable
|                                    Depends: nativesdk-makedevs but it
is not installable
|                                    Depends: nativesdk-automake but it
is not installable
|                                    Depends: nativesdk-qemu but it is
not installable
|                                    Depends: nativesdk-pkgconfig but it
is not installable
|                                    Depends: nativesdk-pseudo but it is
not installable
|                                    Depends: nativesdk-qemu-helper but
it is not installable
|                                    Depends: nativesdk-opkg but it is
not installable
|  packagegroup-cross-canadian-qt5022 : Depends:
gdb-cross-canadian-x86-64 but it is not installable
|                                       Depends:
binutils-cross-canadian-x86-64 but it is not installable
|                                       Depends:
gcc-cross-canadian-x86-64 but it is not installable
|                                       Depends: meta-environment-qt5022
but it is not installable
Comment 3 Saul Wold 2014-03-11 22:14:13 UTC
Patches submitted, thanks!

One already accepted:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3beb4821122edbc9bedb4473d0b361d18e959add