XDeb Cross-Compilation Environment

Registered by Loïc Minier

Starting from the Chromiumos-Build, we should provide a new XDeb tool allowing easy *true* cross-compilation.

 * rebranding of chromiumos-build
 * ignoring/breaking build-deps loops for single builds
 * testing against a subset of main, providing a default config to match non-crossable .debs

Blueprint information

Status:
Started
Approver:
Alexander Sack
Priority:
Essential
Drafter:
Loïc Minier
Direction:
Needs approval
Assignee:
Wookey
Definition:
Approved
Series goal:
Accepted for maverick
Implementation:
Deployment
Milestone target:
milestone icon ubuntu-10.10-beta
Started by
Alexander Sack

Whiteboard

Status:
xdeb 0.6.2 in maverick can now resolve/build only the specified packages, and use target packages file for cross-dependency resolution
pdebuild-cross(using internal xapt) works and is now installed in maverick.

https://wiki.linaro.org/CrossBuilding is a useful summary of current issues and status

[jamiebennett 2010-06-01] Ensure that the core toolchain (gcc, gld, gas, gdb) is available and validated with the cross development tools. DONE

[slangasek 2010-10-14] testing on Debian not a blocker for the blueprint's completion, marking as postponed

Work items:
[cjwatson] rebrand chromiumos-build to xdeb: DONE
change xdeb to only consider build-deps of the to be built packages: DONE
Test with a couple of gstreamer packages (see below): DONE
Teach xdeb to download target-arch Packages files: DONE
Teach xdeb to use target-arch dependencies for dependency resolution and package downloads: DONE
Reviewing state of cross-build tools on Debian and Ubuntu (xdeb, apt-ma-emu+experimental apt, apt-cross, xapt, pdebuild-cross): DONE
Write up state of tools and how-to for newcomers: DONE
Fix multistrap to work on Ubuntu: DONE
Fix pdebuild-cross to work on Ubuntu: DONE
Upload pdebuild-cross and multistrap fixes to Ubuntu: DONE
Make xdeb set PKG_CONFIG_LIBDIR if no cross-libdir on path: https://bugs.launchpad.net/ubuntu/+source/xdeb/+bug/623478: DONE
Test xdeb on Debian: POSTPONED

multistrap needs:
Ubuntu maverick config and cross-config files: DONE
Temporaily needs to understand apt-ftparchive URLs (whilst the cross-tools reside there): DONE
Needs to divert upstart/initscript binaries so that packages starting services don't fail to install: DONE

gst-plugins-good0.10 + gst-plugins-base0.10 + gstreamer0.10 is a good test case, all on the same xdeb line, build-deps imported from the archive
libpopt is a nice quick test case

Testing results:
Status of cross-building recorded on https://spreadsheets.google.com/ccc?key=0AnPR4S1Uev7KdDhHM2RxVGFFY2VQM01MVEJXbTZ3TkE&hl=en#gid=0
for pdebuild-cross/xapt and xdeb --only-explicit and xdeb local builds

(?)

Work Items