The ROS (http://www.ros.org/) team uses qemu and docker to build native arm packages on our buildfarm. So this is a pretty significant roadblock for us as we prepare our next release based on bionic.
Many of our build processes rely on bash scripts, but even if we were to port all of those away from bash, it's an essential package and building an image without it is not really tenable. I have packaged bash with the -no-pie flag restored and that's working for us at the moment, but even incorporating that into our image baking process is not very clean (https://github.com/osrf/multiarch-docker-image-generation/pull/21). If upstream's solution is not preferred. Is there another way to get bash working under qemu within the release window? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bash in Ubuntu. https://bugs.launchpad.net/bugs/1751011 Title: bash crashes in qemu-user environments (bionic) Status in bash package in Ubuntu: Triaged Status in bash package in Debian: Fix Released Bug description: Attempts to launch bash in an arm64 qemu-user environment in bionic results in the following error message: bash: xmalloc: .././shell.c:1709: cannot allocate 10 bytes (0 bytes allocated) This causes any qemu/chroot based bootstrapping to fail as many packages invoke bash during postinst. Version: bash_4.4.18-1ubuntu1_arm64 Release: 18.04 pre-release QEMU: 2.8.0 This appears to have been reported and fixed in the corresponding Debian package (https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=889869) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1751011/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp