Source: lua-openssl
Version: 20151221-2
Severity: important
Justification: fails to build from source

Hi, Ondřej.

As you may have noticed, the x32 build of lua-openssl failed:

  In file included from /usr/include/x86_64-linux-gnux32/sys/sysctl.h:63:0,
                   from src/openssl.c:6987:
  /usr/include/x86_64-linux-gnux32/bits/sysctl.h: At top level:
  /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"

This use of sysctl is apparently intended to be a feature:

  2014-04-19

  Add rand.stir, which tries to be more robust than OpenSSL's default
  RAND_poll implementation, which isn't chroot- or RLIMIT_NOFILE-safe
  because it requires opening /dev/urandom. In particular, it will use
  sysctl-based randomness sources on Linux and the BSDs (excluding OS X).

However, per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827881#10,
sysctl is deprecated in general and unavailable altogether on x32.

Could you please take a look?

Thanks!

Reply via email to