Author Alexandru Ardelean
Recipients Alexandru Ardelean, christian.heimes
Date 2018-11-16.13:10:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542373844.15.0.788709270274.issue35264@psf.upfronthosting.co.za>
In-reply-to
Content
The Modules/_ssl.c build fails.

Error is:
```
building '_ssl' extension
arm-openwrt-linux-muslgnueabi-gcc -fPIC -fno-strict-aliasing -Os -pipe -mcpu=xscale -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -iremap<openwrt>/build_dir/target-arm_xscale_musl_eabi/Python-2.7.15:Python-2.7.15 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -DNDEBUG -Os -pipe -mcpu=xscale -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -iremap<openwrt>/build_dir/target-arm_xscale_musl_eabi/Python-2.7.15:Python-2.7.15 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I. -IInclude -I./Include -I<openwrt>/staging_dir/target-arm_xscale_musl_eabi/include -I<openwrt>/staging_dir/toolchain-arm_xscale_gcc-7.3.0_musl_eabi/usr/include -I<openwrt>/staging_dir/toolchain-arm_xscale_gcc-7.3.0_musl_eabi/include/fortify -I<openwrt>/staging_dir/toolchain-arm_xscale_gcc-7.3.0_musl_eabi/include -I<openwrt>/staging_dir/target-arm_xscale_musl_eabi/usr/include -I<openwrt>/staging_dir/hostpkg/bin/Include -I<openwrt>/staging_dir/hostpkg/bin -c <openwrt>/build_dir/target-arm_xscale_musl_eabi/Python-2.7.15/Modules/_ssl.c -o build/temp.linux2-2.7/<openwrt>/build_dir/target-arm_xscale_musl_eabi/Python-2.7.15/Modules/_ssl.o
cc1: note: someone does not honour COPTS correctly, passed 2 times
<openwrt>/build_dir/target-arm_xscale_musl_eabi/Python-2.7.15/Modules/_ssl.c:2117:44: error: 'PySSL_selected_npn_protocol' undeclared here (not in a function); did you mean 'PySSL_selected_alpn_protocol'?
     {"selected_npn_protocol", (PyCFunction)PySSL_selected_npn_protocol, METH_NOARGS},
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                            PySSL_selected_alpn_protocol
```

This is on OpenWrt.
History
Date User Action Args
2018-11-16 13:10:44Alexandru Ardeleansetrecipients: + Alexandru Ardelean, christian.heimes
2018-11-16 13:10:44Alexandru Ardeleansetmessageid: <1542373844.15.0.788709270274.issue35264@psf.upfronthosting.co.za>
2018-11-16 13:10:44Alexandru Ardeleanlinkissue35264 messages
2018-11-16 13:10:43Alexandru Ardeleancreate