Created attachment 194984 [details] Log of failed build Hi It fails to build for me for python37 on 10.4-RELEASE-p9 poudriere jail
(In reply to Pascal Christen from comment #0) Hello Pascal, thank you for your report and the attached build log. The reason for those build failures (reported also in PR #229633 + #229632) is, that the base SSL from FreeBSD 10.4 lacks a specific feature because it's simply too old. One can verify this by building Python 3.7 on 10.4: > [...] > checking whether compiling and linking against OpenSSL works... yes > checking for X509_VERIFY_PARAM_set1_host in libssl... no > checking for --with-ssl-default-suites... openssl > [...] On newer Platforms the X509_VERIFY_PARAM_set1_host feature is available. To remedy this problem you may try openssl/libressl from the ports tree and compile Python 3.7 with it. I haven't tested the solution so far but it could work.
(In reply to Kai from comment #1) Log from building python3.7 with openssl: > [...] > checking whether compiling and linking against OpenSSL works... yes > checking for X509_VERIFY_PARAM_set1_host in libssl... yes > checking for --with-ssl-default-suites... python > [...]
(In reply to Pascal Christen from comment #2) First: I'm sorry because did a mistake between the PRs. My comment from above was meant either for PR #229633 (www/py-tornado) or PR #229632 (net/py-libcloud). Please a look here for tracking the SSL issue with Python 3.7: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229640 The problem with textproc/py-stemmer seems to be an upstream issue.
(In reply to Kai from comment #3) Hei Kai Yes, I noticed it. I solved the other problems. Now it's just pystemmer which doesn't work with python37. Greetings
This was filed upstream. Currently waiting on feedback from the submitter to PyPi. https://github.com/snowballstem/pystemmer/issues/18
Created attachment 195043 [details] Makefile patch to force cythoning setup.py contains a conditional checking if it can import cython. If not, the included (but stale) src/Stemmer.c is used. Add in cython as a build dependency to force regeneration of the C file from the actual source src/Stemmer.pyx. Also bump PORTREVISION to reflect possible differences between included and regenerated src/Stemmer.c. Passes testport.
A commit references this bug: Author: dbaio Date: Wed Jul 11 19:15:15 UTC 2018 New revision: 474476 URL: https://svnweb.freebsd.org/changeset/ports/474476 Log: textproc/py-pystemmer: Fix build with Python 3.7 setup.py contains a conditional checking if it can import cython. If not, the included (but stale) src/Stemmer.c is used. Add in cython as a build dependency to force regeneration of the C file from the actual source src/Stemmer.pyx. Also bump PORTREVISION to reflect possible differences between included and regenerated src/Stemmer.c. https://github.com/snowballstem/pystemmer/issues/18 PR: 229629 Submitted by: Charlie Li <ml+freebsd@vishwin.info> Reported by: Pascal Christen <pascal.christen@hostpoint.ch> Changes: head/textproc/py-pystemmer/Makefile
Committed, thank you all.