Package: lua-luaossl Version: 20161208-3 Tags: ftbfs User: debian-...@lists.debian.org Usertags: x32
lua-luaoss fails to build from source on x32 because: In file included from /usr/include/x86_64-linux-gnux32/sys/sysctl.h:63:0, from src/openssl.c:9089: /usr/include/x86_64-linux-gnux32/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel" # error "sysctl system call is unsupported in x32 kernel" https://buildd.debian.org/status/fetch.php?pkg=lua-luaossl&arch=x32&ver=20161214-1&stamp=1489921871&raw=0 In config.h.guess I see: #ifndef HAVE_SYS_SYSCTL_H #define HAVE_SYS_SYSCTL_H ag_test_include(<sys/sysctl.h>, (BSD || __GLIBC__)) #endif Perhaps adding && !(__X86_64__ && __ILP32__) in there as well would fix it? Or there might be a better solution, like pre-defining HAVE_RANDOM_UUID 0 (or HAVE_DECL_RANDOM_UUID in the current version) There was an attempt to remove sysctl(), but it was restored here for older kernels: https://github.com/wahern/luaossl/commit/7d6202bfa85e8f0bf90590a9381757f15e296a33 Calls to sysctl remain in the current version . --- Incidentally the distributed version is three years old and there have been numerous releases since then (the tracker doesn't seem to see this). https://github.com/wahern/luaossl/releases rel-20190612 supports OpenSSL 0.98; rel-20190731 may not, but still supports jessie (and stretch): https://github.com/wahern/luaossl/issues/169 Best regards, -- Laurence "GreenReaper" Parry https://www.greenreaper.co.uk/