| Summary: | Error during DEB package build | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Lucian Musat <georgex.l.musat> |
| Component: | hob | Assignee: | Marius Avram <marius.avram> |
| Status: | VERIFIED WORKSFORME | QA Contact: | Alexandru Roman <alexandru.costinx.roman> |
| Severity: | normal | ||
| Priority: | Medium | CC: | belen.barros.pena, bluelightning, bogdanx.a.voiculescu, cristiana.voicu, poky.bs.watcher, poky.watcher, valentin.popa |
| Version: | 1.6 | ||
| Target Milestone: | 1.7 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Lucian Musat
2014-04-01 10:37:32 UTC
With the same meta data, did you try build deb from the command line? And was is succesful? Hello, Tried from command line and this is the output: NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Index creation command 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz' failed with return code 1: gzip: abort: write error on Packages.gz ERROR: Function failed: do_rootfs WARNING: Debian package install does not support BAD_RECOMMENDATIONS ERROR: Logfile of failure stored in: /home/lucian/work/poky/build/tmp/work/genericx86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.10336 ERROR: Task 7 (/home/lucian/work/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' ERROR: Index creation command 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz' failed with return code 1: gzip: abort: write error on Packages.gz ERROR: Function failed: do_rootfs ERROR: Logfile of failure stored in: /home/lucian/work/poky/build/tmp/work/genericx86-poky-linux/core-image-minimal-initramfs/1.0-r0/temp/log.do_rootfs.10341 ERROR: Task 141 (/home/lucian/work/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb, do_rootfs) failed with exit code '1' In log file: DEBUG: Executing python function rootfs_deb_bad_recommendations DEBUG: Python function rootfs_deb_bad_recommendations finished DEBUG: Executing python function rootfs_process_ignore DEBUG: Python function rootfs_process_ignore finished DEBUG: Executing python function rootfs_runtime_mapping DEBUG: Python function rootfs_runtime_mapping finished DEBUG: Executing python function do_rootfs NOTE: ###### Generate rootfs ####### NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; PSEUDO_UNLOAD=1 /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/apt-ftparchive release >> Release' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/core2-32; PSEUDO_UNLOAD=1 /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/apt-ftparchive packages > Packages' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/core2-32; /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/genericx86; PSEUDO_UNLOAD=1 /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/apt-ftparchive packages > Packages' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/core2-32; PSEUDO_UNLOAD=1 /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/apt-ftparchive release >> Release' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/genericx86; /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/genericx86; PSEUDO_UNLOAD=1 /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/apt-ftparchive release >> Release' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; PSEUDO_UNLOAD=1 /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/apt-ftparchive packages > Packages' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz' ... NOTE: Executing 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; PSEUDO_UNLOAD=1 /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/apt-ftparchive release >> Release' ... ERROR: Index creation command 'cd /home/lucian/work/poky/build/tmp/deploy/deb/all; /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz' failed with return code 1: gzip: abort: write error on Packages.gz What are the permissions on that file / directory? Can you see anything that would indicate why there would be a "write error"? Hello Paul, The file permissions are ok, and also switching to RPM or IPK worked. So no clues as to why it would say "write error" then? I am guessing that the gzip binary delivered is wrong. I see that it tries to archive the folder "Packages" into Packages.gz as it says in the log: "/home/lucian/work/m5-rc1/poky/build/tmp/sysroots/x86_64-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz" That is the line that throws the error. I have tried to zip it using OpenSuse's gzip and works, but using the gzip binary in the pigz-native folder that is being used, it fails saying that Packages.gz exists: lucian@linux-1kfx:~/work/poky/build/tmp/deploy/deb/all> rm Packages.gz lucian@linux-1kfx:~/work/poky/build/tmp/deploy/deb/all> /home/lucian/work/poky/build/tmp/sysroots/i686-linux/usr/bin/pigz-native/gzip Packages -c > Packages.gz Packages.gz exists -- overwrite (y/n)? n gzip: Packages.gz exists -- skipping lucian@linux-1kfx:~/work/poky/build/tmp/deploy/deb/all> gzip Packages -c > Packages.gz lucian@linux-1kfx:~/work/poky/build/tmp/deploy/deb/all> Haven't seen this error in the latest builds. (In reply to comment #7) > Haven't seen this error in the latest builds. If we can no longer reproduce this problem, can we mark the bug as resolved - works for me? Thanks! Ok, setting to Resolved. verified on master: ea562de57590c966cd5a75fda8defecd397e6436 |