Control: affects -1 + rauc

(Note that rauc is still in NEW, I hope that this affects works anyhow.
This bug will make rauc FTBFS on sparc64.)

On Tue, Jul 23, 2019 at 09:14:53AM +0000, Uwe Kleine-König wrote:
> the test suite for rauc (currently in NEW) provokes a Bus error in
> mksquashfs on sparc64 (tested on kyoto.debian.net in a sid chroot).
> Reproduction is as follows:
> 
>       install casync dbus dbus-x11 debhelper e2fsprogs faketime grub-common 
> libcurl4-gnutls-dev, libglib2.0-dev, libjson-glib-dev libssl-dev libtool 
> squashfs-tools systemd git
> 
>       git clone https://github.com/rauc/rauc.git
>       sed -i 's/0x73717368$/GUINT32_FROM_LE(0x73717368)/' src/bundle.c
>       sh autogen.sh
>       ./configure
>       make check
>       rm -rf /tmp/rauc-*
>       ./test/bundle.test

An easier trigger is to have a file that is at least 1 block (i.e.
131072 bytes) big.

So:

        $ mkdir tmp

        $ rm -f image

        $ dd if=/dev/zero of=tmp/file bs=131072 count=1
        1+0 records in
        1+0 records out
        131072 bytes (131 kB, 128 KiB) copied, 0.00163719 s, 80.1 MB/s

        $ mksquashfs tmp image
        Parallel mksquashfs: Using 32 processors
        Creating 4.0 filesystem on image, block size 131072.
        Bus error

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature

Reply via email to