Bug#792264: opencv: FTBFS on x32 (and other new Linux architectures) due to use of sysctl

Thorsten Glaser tg at mirbsd.de
Mon Jul 13 12:10:41 UTC 2015


Source: opencv
Version: 2.4.9.1+dfsg-1.1
Severity: important
Tags: patch

Hi,

the attached patch lets CMake search for <sys/sysctl.h> and
uses it only if found.

This, together with the fix for #792262, fixes opencv on x32.

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opencv_2.4.9.1+dfsg-1.1+x32.1.debdiff
Type: text/x-diff
Size: 2521 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150713/7dd75a15/attachment.diff>


More information about the debian-science-maintainers mailing list