Bug 1869

Summary: [IPK] meta-toolchain-gmae: do_populate_sdk failed with package_ipk
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Dexuan Cui <dexuan.cui>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: 1.2   
Target Milestone: 1.2 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dexuan Cui 2011-12-26 17:31:17 UTC
Recently(maybe 1+ months already) , with ipk and deb packaging, meta-toolchain-gmae can't build.
I decide to report 2 bugs for ipk/deb respectively since the cause seems different.

This bug entry is for ipk. See bug 1870 for deb.

BTW, core-image-sato-sdk builds fine for all of deb/rpm/ipk. I did the tests on my x86-64 Ubuntu 11.04.

--------------

The ipk build log is:

OE Build Configuration:
BB_VERSION        = "1.15.0"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1+snapshot-20111226"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto        = "master:f5aa3bbda623c8fae3a761d72fddc95631ad0706"
...

| Configuring libgm'
| + for keyword_die in '"exit 1"' '"Collected errors"' ERR Fail
| + for keyword_die in '"exit 1"' '"Collected errors"' ERR Fail
| + for keyword_die in '"exit 1"' '"Collected errors"' ERR Fail
| + for keyword_die in '"exit 1"' '"Collected errors"' ERR Fail
| + echo 'log_check: There were error messages in the logfile'
| log_check: There were error messages in the logfile
| + echo -e 'log_check: Matched keyword: [Fail]\n'
| log_check: Matched keyword: [Fail]


log.do_populate_sdk shows:

mkdir: cannot create directory `/var/lib/opkg': Permission denied
mkdir: cannot create directory `/var/lib/opkg': Permission denied
mkdir: cannot create directory `/var/lib/opkg': Permission denied
mkdir: cannot create directory `/var/lib/opkg': Permission denied
gtk-update-icon-cache: Failed to open file /usr/share/icons/DMZ-Black/.icon-theme.cache : Permission denied
gtk-update-icon-cache: Failed to open file /usr/share/icons/DMZ-White/.icon-theme.cache : Permission denied
Comment 2 Dexuan Cui 2012-01-04 20:36:42 UTC
(In reply to comment #1)
> Fixed in master with
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c4de612298266653130dd2e5b8378f62dda77e9f

I can verify the bug doesn't exist now.