Unable to generate linaro images using qemu-linaro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using qemu-user-static with live build to do cross image creation:
https:/
When using Debian qemu-user-static 1.0+dfsg-3, the images are created successfully.
When using Ubuntu qemu-user-static 1.0.50-
[...]
I: Configuring initramfs-tools...
W: Failure while configuring base packages. This will be re-attempted up to five times.
I: Configuring libssl1.0.0...
*** %n in writable segment detected ***
W: Failure while configuring base packages. This will be re-attempted up to five times.
*** %n in writable segment detected ***
W: Failure while configuring base packages. This will be re-attempted up to five times.
*** %n in writable segment detected ***
W: Failure while configuring base packages. This will be re-attempted up to five times.
*** %n in writable segment detected ***
W: Failure while configuring base packages. This will be re-attempted up to five times.
I: Base system installed successfully.
[2012-03-06 12:59:52] lb_bootstrap_cache save
P: Saving bootstrap stage to cache...
P: Begin unmounting filesystems...
P: Saving caches...
[2012-03-06 12:59:53] lb_chroot
P: Setting up cleanup function
[2012-03-06 12:59:53] lb_chroot_cache restore
[2012-03-06 12:59:53] lb_chroot_devpts install
[2012-03-06 12:59:53] lb_testroot
P: Begin mounting /dev/pts...
[2012-03-06 12:59:53] lb_chroot_proc install
[2012-03-06 12:59:53] lb_testroot
P: Begin mounting /proc...
[2012-03-06 12:59:53] lb_chroot_selinuxfs install
[2012-03-06 12:59:54] lb_testroot
[2012-03-06 12:59:54] lb_chroot_sysfs install
[2012-03-06 12:59:54] lb_testroot
P: Begin mounting /sys...
[2012-03-06 12:59:54] lb_chroot_
P: Configuring file /etc/debian_chroot
[2012-03-06 12:59:54] lb_chroot_dpkg install
P: Configuring file /sbin/start-
[2012-03-06 12:59:54] lb_chroot_tmpfs install
[2012-03-06 12:59:54] lb_chroot_sysv-rc install
P: Configuring file /usr/sbin/
[2012-03-06 12:59:54] lb_chroot_upstart install
P: Configuring file /sbin/initctl
[2012-03-06 12:59:55] lb_chroot_hosts install
P: Configuring file /etc/hosts
[2012-03-06 12:59:55] lb_chroot_resolv install
P: Configuring file /etc/resolv.conf
[2012-03-06 12:59:55] lb_chroot_hostname install
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
[2012-03-06 12:59:55] lb_chroot_apt install
P: Configuring file /etc/apt/apt.conf
[2012-03-06 12:59:55] lb_chroot_archives chroot install
P: Configuring file /etc/apt/
*** %n in writable segment detected ***
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)
P: Begin unmounting filesystems...
P: Saving caches...
Command exited with non-zero status 134
I don't have a reduced test case but the setup can be easily reproduced.
If you give me some instructions to get more information, I'll happily try.
Changed in qemu-linaro: | |
status: | Fix Committed → Fix Released |
This abort comes from glibc. It's possible that the newer glibc found in Ubuntu precise introduces additional asserts that were not an issue previously. If you use one of the qemu-arm-static builds from the linaro-maintainers tools ppa build for an older release, is the problem reproducible?