Hi all,
I try to compile and install some packages(opengles and bootchart) to
image, and find that the packages build successfully but fail to install.
Is there someone meet the same issue or know how to fix this issue? Thanks
a lot!
BTW, The image build with no verification ( ./build_image --board=${BOARD}
test --noenable_rootfs_verification).
Detailed info:
cr) ((21c6b03...)) min@pnp-build2 ~/trunk/src/scripts $
./mount_gpt_image.sh --board=x86-generic
--from=../build/images/x86-generic/latest/chromiumos_test_image.bin
1+0 records in
1+0 records out
1 byte (1 B) copied, 2.7348e-05 s, 36.6 kB/s
Setting up symlinks for /usr/local for /tmp/s/dev_image
INFO : Image specified by
/home/min/trunk/src/build/images/x86-generic/R22-2671.0.2012_07_31_1331-a1
mounted at /tmp/m successfully.
*Opengles*
* *
(cr) ((21c6b03...)) min@pnp-build2 ~/trunk/src/scripts $ cros_workon
--board=x86-generic start opengles-headers
WARNING : Already working on x11-drivers/opengles-headers
(cr) ((21c6b03...)) min@pnp-build2 ~/trunk/src/scripts $ cros_workon
--board=x86-generic start opengles
WARNING : Already working on x11-drivers/opengles
(cr) ((21c6b03...)) min@pnp-build2 ~/trunk/src/scripts $ emerge-x86-generic
-k --root=/tmp/m opengles
Calculating dependencies... done!
>>> Starting parallel fetch
>>> Emerging binary (1 of 2) x11-drivers/opengles-headers-9999 from
chromiumos for /tmp/m/
* opengles-headers-9999.tbz2 MD5 SHA1 size ;-) ... [
ok ]
>>> Extracting info
* Running stacked hooks for pre_pkg_setup
* sysroot_build_bin_dir
...
[ ok ]
>>> Extracting x11-drivers/opengles-headers-9999
pbzip2: *WARNING: Trailing garbage after EOF ignored!
>>> Installing (1 of 2) x11-drivers/opengles-headers-9999 to /tmp/m/
* Removing /usr/lib*/*.la
* Removing /etc/init.d
* Removing /etc/conf.d
* Removing /etc/logrotate.d
* Removing /etc/sandbox.d
* Removing /usr/share/bash-completion
* Removing /usr/share/man
* Removing /usr/share/info
* Removing /usr/share/doc
* Running stacked hooks for pre_pkg_preinst
* wrap_old_config_scripts
...
[ ok ]
>>> Emerging binary (2 of 2) x11-drivers/opengles-9999 from chromiumos for
/tmp/m/
* opengles-9999.tbz2 MD5 SHA1 size ;-) ... [
ok ]
>>> Extracting info
* Running stacked hooks for pre_pkg_setup
* sysroot_build_bin_dir
...
[ ok ]
>>> Extracting x11-drivers/opengles-9999
pbzip2: *WARNING: Trailing garbage after EOF ignored!
>>> Installing (2 of 2) x11-drivers/opengles-9999 to /tmp/m/
* Removing /usr/lib*/*.la
* Removing /etc/init.d
* Removing /etc/conf.d
* Removing /etc/logrotate.d
* Removing /etc/sandbox.d
* Removing /usr/share/bash-completion
* Removing /usr/share/man
* Removing /usr/share/info
* Removing /usr/share/doc
* Running stacked hooks for pre_pkg_preinst
* wrap_old_config_scripts
...
[
ok ]
!!! Cannot write to '/tmp/m/usr/lib/debug'.
>>> Failed to install x11-drivers/opengles-9999 to /tmp/m/, Log file:
'/build/x86-generic/tmp/portage/logs/x11-drivers:opengles-9999:20120801-011 347.log'
*bootchart*
emerge-x86-generic -k --root=/tmp/m bootchart
Calculating dependencies... done!
>>> Emerging binary (1 of 1) app-benchmarks/bootchart-0.9.2-r1 from
chromiumos for /tmp/m/
* bootchart-0.9.2-r1.tbz2 MD5 SHA1 size ;-) ... [
ok ]
>>> Extracting info
* Running stacked hooks for pre_pkg_setup
* sysroot_build_bin_dir
...
[ ok ]
>>> Extracting app-benchmarks/bootchart-0.9.2-r1
pbzip2: *WARNING: Trailing garbage after EOF ignored!
>>> Installing (1 of 1) app-benchmarks/bootchart-0.9.2-r1 to /tmp/m/
* Removing /usr/lib*/*.la
* Removing /etc/init.d
* Removing /etc/conf.d
* Removing /etc/logrotate.d
* Removing /etc/sandbox.d
* Removing /usr/share/bash-completion
* Removing /usr/share/man
* Removing /usr/share/info
* Removing /usr/share/doc
* Running stacked hooks for pre_pkg_preinst
* wrap_old_config_scripts ...
[
ok ]
!!! Cannot write to '/tmp/m/usr/lib/debug'.
>>> Failed to install app-benchmarks/bootchart-0.9.2-r1 to /tmp/m/, Log
file:
'/build/x86-generic/tmp/portage/logs/app-benchmarks:bootchart-0.9.2-r1:2012 0801-015545.log'
Best regards
Min