Bug 1502

Summary: [multilib] No support for multilibs and deb package backend
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jiajun Xu <jiajun.xu>
Component: coreAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: dongxiao.xu, josh, ke.yu, meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, sgw, song.liu
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard: (Test Plan Ready)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jiajun Xu 2011-09-20 09:44:49 UTC
tree/branch: poky/1.1_M4
commit: 6462c158fc482e495c1171ffc7747e2ad650a292

With 1.1 M4 branch, if I set machine to qemux86-64 and build lib64 sato image with deb, yocto will report 'lib64-dpkg' is unbuildable.

########
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'lib64-dpkg' (but virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/images/core-image-sato.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'lib64-dpkg' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lib64-dpkg']
ERROR: Required build target 'lib64-core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib64-core-image-sato', 'lib64-dpkg']
ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/command.py", line 207, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/cooker.py", line 1102, in buildTargets
    taskdata.add_unresolved(localdata, self.status)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 558, in add_unresolved
    self.remove_runtarget(self.getrun_id(target))
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/taskdata.py", line 519, in remove_buildtarget
    raise bb.providers.NoProvider(target)
NoProvider: lib64-core-image-sato
########
Comment 1 Richard Purdie 2011-09-21 22:01:04 UTC
This is a valid issue but the dpkg/deb backend is not supported for 1.1. This should be a post 1.1 bug.
Comment 2 Richard Purdie 2011-09-21 22:07:13 UTC
To clarify, deb/dpkg is known not to work with multilibs.
Comment 3 Richard Purdie 2011-11-17 06:10:23 UTC
I'm changing this to a multilib enhancement request. Its known not to work and isn't something we've planned to support at this time.
Comment 4 Joshua Lock - Disabled 2011-12-21 21:59:36 UTC
*** Bug 1739 has been marked as a duplicate of this bug. ***
Comment 5 Joshua Lock - Disabled 2011-12-21 22:00:17 UTC
Can anyone give me an indication of what work is required here? I'm looking at fixing up and maintaining our Debian packaging support.
Comment 6 Richard Purdie 2012-01-04 15:12:45 UTC
Josh: Try and talk to me at some point about this, its probably easier to talk through it.