NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/py-gevent build error on NetBSD in pkgsrc-2019Q1



Hi There,

I've tried to build py-gevent (python 3.6 version) on NetBSD 7.2

The process breaks with an error:

deps/libuv/src/unix/netbsd.c: In function 'uv_exepath':
deps/libuv/src/unix/netbsd.c:81:12: error: 'KERN_PROC_PATHNAME' undeclared (first use in this function)
   mib[3] = KERN_PROC_PATHNAME;

Formerly this macro was defined in sys/sysctl.h as:
#define KERN_PROC_PATHNAME "/proc"

Nowadays this is missing in NetBSD 7.2 and 8.0, too.

If the macro is set, then py-gevent builds normally.

Any idea how to fix? I mean in NetBSD or in the py-gevent package?

Thank you:

FeZ


Home | Main Index | Thread Index | Old Index