Bug#878705: opencv: FTBFS on x32: sysctl(.h) unsupported

Aaron M. Ucko ucko at debian.org
Mon Oct 16 00:10:09 UTC 2017


Source: opencv
Version: 2.4.9.1+dfsg1-2
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-x32 at lists.debian.org

Builds of opencv for x32 (admittedly not a release architecture) have
been failing lately:

  In file included from /usr/include/x86_64-linux-gnux32/sys/sysctl.h:63:0,
                   from /<<BUILDDIR>>/opencv-3.2.0+dfsg/modules/core/src/parallel.cpp:60:
  /usr/include/x86_64-linux-gnux32/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel"

Per sysctl(2), this interface is generally deprecated, so my
recommendation would be to steer clear of it on any Linux
architecture.  Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the debian-science-maintainers mailing list