[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#971928: fakeroot: Change to use fixed message sizes broke m68k



Source: fakeroot
Severity: important
User: debian-68k@lists.debian.org
Usertags: m68k
X-Debbugs-Cc: debian-68k@lists.debian.org

Hello!

The change in [1] to use fixed-width members in fake_msg broke fakeroot
on m68k as this change altered the offsets in the fakestat struct due to
the additional #pragma pack(4) statements [2]:

> libfakeroot, when sending message: Invalid argument

On m68k, the default alignment is 16 bits, not 32 bits which is why the
change in [1] affected the offsets in the fakestat struct.

So, for m68k, the #pragma pack() statements will need to be guarded.

Thanks,
Adrian

> [1] https://salsa.debian.org/clint/fakeroot/-/commit/2a53909e732b19ccbaf6d1534e932dff74fa757e
> [2] https://buildd.debian.org/status/fetch.php?pkg=mergerfs&arch=m68k&ver=2.31.0-1&stamp=1602276375&raw=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: