Re: Bug#919961: sope: FTBFS on sh4: PrintfFormatScanner.m:43:9: error: wrong type argument to unary exclamation mark
Hi Yavor!
On 1/21/19 1:12 AM, Yavor Doganov wrote:
> On sh4, va_list is implemented as a struct, just like on arm* and
> alpha. I'd appreciate if you apply the attached trivial patch; it
> would allow sogo to be built on sh4 and will help us achieve the goal
> of having all GNUstep packages available on all architectures.
Thanks. I suggest upstreaming this patch if possible.
> FWIW, I have tested it in a QEMU-based sh4 chroot on amd64; it
> compiles fine but the build fails with:
>
> | dh_shlibdeps -a
> | dh_shlibdeps: file -e apptype -e ascii -e encoding -e cdf -e compress -e tar debian/libsope1/usr/lib/libNGMime.so.4.9.3 returned exit code 1
>
> However, other GNUstep library packages fail with exactly the same
> error so it's probably something wrong with my setup or a bug
> somewhere that might be fixed (the host is running stretch).
Your version of qemu is most likely outdated, this particular issue
was fixed by this commit [1].
When using qemu-user, I always recommend building qemu from git. Since
you are using a static binary anyway, you won't have any issues with
the host system.
Adrian
> [1] https://git.qemu.org/?p=qemu.git;a=commit;h=8bf8e9df4a7d82c7a47cc961c9cdee1615595de0
--
.''`. 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: