[Pkg-security-team] Sponsor for new t50 release
Hi Samuel, Marcos
>uploaded,
seems that a new check makes it FTBFS on armhf, armel, mips64el, x32 and probably more.
+# For now, this system will compile ok only on Linux.
+if test "${host_os}" != "linux-gnu"; then
+ AC_MSG_ERROR([T50 will compile only on Linux systems.])
+fi
this check makes it fail when host_os is equal e.g. to:
host_os='linux-gnuabi64'
host_os='linux-gnux32'
host_os='linux-gnueabihf'
host_os='linux-gnueabi'
I tried this patch in a qemu armhf environment:
-if test "${host_os}" != "linux-gnu"; then
- AC_MSG_ERROR([T50 will compile only on Linux systems.])
+if test "${host_os}" != "linux-gnu" && test "${host_os}" != "linux-gnueabi" !! test "${host_os}" != "linux-gnueabihf"; then
+ AC_MSG_ERROR([T50 will compile only on Linux systems, ${host_os} detected])
and it works, but I'm really sure this isn't the right fix, unfortunately I'm not an autoconf man.
Honestly I would drop that check in Debian, since the build is already restricted to linux/only OS.
let me know and I'll sponsor it if needed,
thanks,
G.
Reply to: