[New-bugs-announce] [issue34555] AF_VSOCK not unset because of wrong nesting

Thomas Herzog report at bugs.python.org
Fri Aug 31 11:12:14 EDT 2018


New submission from Thomas Herzog <tom at therzog.net>:

If ./configure runs with the following result...

checking for linux/vm_sockets.h... no
checking for sockaddr_alg... no

...then the result of the first check is treated as if it was "yes". This is because the logic for disabling the vm_sockets functionality is nested inside an #ifdef HAVE_SOCKADDR_ALG.

This leads to compilation errors:

In file included from ./Modules/socketmodule.c:283:0:
./Modules/socketmodule.h:206:24: error: field ‘vm’ has incomplete type
     struct sockaddr_vm vm;
                        ^

----------
components: Extension Modules
messages: 324427
nosy: mcduke
priority: normal
severity: normal
status: open
title: AF_VSOCK not unset because of wrong nesting
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34555>
_______________________________________


More information about the New-bugs-announce mailing list