Bug 5943 - Deb packages are created with arch x86_64 but they should be created as amd64
Summary: Deb packages are created with arch x86_64 but they should be created as amd64
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5.1
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.6 M4
Assignee: Ricardo Ribalda
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-11 09:51 UTC by Ricardo Ribalda
Modified: 2014-05-12 16:31 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Propossed fix (1.23 KB, patch)
2014-03-11 09:51 UTC, Ricardo Ribalda
no flags Details | Diff
Continuation to Propossed fix (2.51 KB, patch)
2014-03-11 17:35 UTC, Ricardo Ribalda
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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