| Summary: | Poky core-image-minimal fails to build with package_deb | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jeremy Powell <jeremy> | ||||
| Component: | deployment | Assignee: | Richard Purdie <richard.purdie> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Andra Necula <andrax.g.necula> | ||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, bogdanx.a.voiculescu, richard.purdie | ||||
| Version: | 1.6 | ||||||
| Target Milestone: | 1.6 M5 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
So problems with the DpkgIndexer as I see them (which the attached patch resolves) are: 1. The arguments to apt-ftparchive to create the "Packages" file are incorrect (path argument is missing. 2. The arguments to apt-ftparchive to create the "Release" file are incorrect (path argument is missing. 3. The arguments to gzip were incorrect are incorrect for the version of gzip being used (pigz) 4. The commands appear to being run in parallel, which seems to be incorrect Problems 1 and 2 mean that the output is incorrect Problems 3 causes the build to fail Problem 4 might cause incorrect results and/or the build to fail Please see the patch set I sent to the mailing list, it keeps the benefit of the parallelism but should resolve the issues you're seeing. Fixed in master with: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b503d35e7e56dc66447eb2bc83e3277862d328b9 http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=da097095c6f1bd1785ed770b45be45e458b97d8e http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=68f3a571f422170ef0fcef0243cdb6fadc11fade Verified on poky 2d1660112e54653f7bb763939d0416472c49fe01 Ubuntu 14.04, x86_64 Cheers! Andra |
Created attachment 1861 [details] Fix various issues in package_manager.py for DpkgIndexer Default local.conf file except: PACKAGE_CLASSES ?= "package_deb" Build fails due to a few issues in DpkgIndexer. My colleague and I have created a patch to resolve the issue which is attached, although we don't really know that much about Python/Yocto so somebody probably wants to review this!