Bug 11729

Summary: Opkg doesn't support multilib
Product: [Yocto Project Subprojects] opkg Reporter: Koen Kooi <koen>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED NOTABUG QA Contact:
Severity: critical    
Priority: Undecided CC: ndec13, wmills
Version: unspecified   
Target Milestone: 0.4.4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Koen Kooi 2017-06-28 08:58:46 UTC
When enabling multilib using a stock OE-core opkg is the default package manager, but doesn't actually support multilib. The yocto project docs (which are actually poky docs, but that's different bug) also fail to mention any issues with opkg.
Looking at the config samples, those don't reference package manager issues either.

Reasonable outcomes would be:

1) Opkg supports multilib
2) OE aborts during parse time when encountering (multilib && opkg).
Comment 1 Bill Mills 2017-07-28 18:36:52 UTC
Does dpkg have the same issue?
Comment 2 Alejandro del Castillo 2020-07-30 16:12:27 UTC
From the package manager perspective, it only install files (there is no multilib concept), so the support for multilib comes from OE, not opkg.

I went ahead and tried with the latest poky to build core-image-multilib-example, which builds and installs a lib32 version of bash, using the multilib capabilities of OE. It worked.

Closing as non-reproducible, feel free to re-open if there is an underlying issue that my testing didn't exercised.