Bug 2678 - [Hob]deb packaging build failure
Summary: [Hob]deb packaging build failure
Status: VERIFIED WORKSFORME
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Cristian Iorga
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-02 16:41 UTC by Alexandru Palalau
Modified: 2012-09-17 20:21 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Palalau 2012-07-02 16:41:38 UTC
When selecting deb as root file system package format from Settings -> Other, the packaging process (at the end of the build) fails with the following log message:

***************************************************************************
# build with deb packages, qemux86, core image base
# system gzip 1.4


DEBUG: Executing shell function do_populate_sdk
dpkg-scanpackages: info: Wrote 7 entries to output Packages file.
dpkg-scanpackages: info: Wrote 3309 entries to output Packages file.
dpkg-scanpackages: info: Wrote 314 entries to output Packages file.
dpkg-scanpackages: info: Wrote 7 entries to output Packages file.
dpkg-scanpackages: info: Wrote 596 entries to output Packages file.
Installing TARGET packages
Ign file: ./ Release.gpg
Ign file: ./ Release.gpg
Ign file: ./ Release.gpg
Get:1 file: ./ Release [15B]
Ign file: ./ Packages
Get:2 file: ./ Release [12B]
Get:3 file: ./ Release [11B]
Ign file: ./ Packages
Ign file: ./ Packages

gzip: stdin: decompression OK, trailing garbage ignored
Err file: ./ Packages
  Sub-process /bin/gzip returned an error code (2)
W: Failed to fetch file:/home/zeeblex/git/poky/build/tmp-eglibc/deploy/deb/i586/./Packages.gz  Sub-process /bin/gzip returned an error code (2)

E: Some index files failed to download, they have been ignored, or old ones used instead.
ERROR: Function failed: do_populate_sdk (see /home/zeeblex/git/poky/build/tmp-eglibc/work/i586-oe-linux/hob-toolchain-1.0-r0/temp/log.do_populate_sdk.24429 for further information)
log.do_populate_sdk.24429 lines 1-28/28 (END)
**************************************************************************

Tried also to gunzip and then gzip the package (Packages.gz) back but no success with this either.
Comment 1 Saul Wold 2012-07-02 17:49:02 UTC
This is possibly a general Debian packaging bug, what OS are you using to do the testing?  It would be helpful in general to include OS info, as well as either tarball location or GIT hashes so that we can try to reproduce the issue.
Comment 2 Alexandru Palalau 2012-07-02 17:57:40 UTC
OS: Ubuntu Linux 12.04 LTS
Git commit ID: a5b2c1e4ce3ad4f2b9ea306c6d10f528c5ef8b66
Master branch
Comment 3 Shane Wang 2012-07-03 01:04:56 UTC
Alex, can you tell the build result of bitbake command line?
Comment 4 Shane Wang 2012-07-03 01:15:41 UTC
Alex, Hob is a tool to help you to build the images with user-friendly interface (nothing concrete). So Hob fails to build something, it is very possible that bitbake command line fails to build. Can you help to double check with bitbake command line, and report the bug for Hob only when the error happens only on the Hob side?
Comment 5 Alexandru Palalau 2012-07-24 14:59:56 UTC
The behavior did not reproduce with bitbake command line under the same commit.
I guess this is a hob issue only.
Comment 6 Jessica 2012-09-04 18:19:13 UTC
Hi Alex,

Is this problem still there?
Comment 7 Alexandru Palalau 2012-09-05 07:50:33 UTC
Hi,
I could not reproduce the behavior.
Double checked with one of my colleagues, and same result.
Changed status to Resolved/WorksForMe
Comment 8 Laurentiu Serban 2012-09-17 20:21:15 UTC
Setting this to verified in 1.3 M4