Created attachment 165014 [details] Make Genshi use python2.7 explicitly Genshi does not yet have a released version supporting Python 3.x, and it doesn't build with Python 3 (tested against 3.5), so it should be set to use Python 2.7 explicitly. * Portlint: OK * Poudriere: 10.2 (amd64) OK, 9.3 (amd64) OK
A commit references this bug: Author: nivit Date: Mon Apr 25 14:14:39 UTC 2016 New revision: 414006 URL: https://svnweb.freebsd.org/changeset/ports/414006 Log: - Genshi does not yet have a released version supporting Python 3.x, and it doesn't build with Python 3. So build it with Python 2 only. [1] - Add NO_ARCH PR: 205848 Submitted by: Vladimir Krstulja <vlad-fbsd@acheronmedia.com> [1] Changes: head/textproc/py-genshi/Makefile
Created attachment 181198 [details] workaround from upstream r1247 https://genshi.edgewall.org/changeset/1247
Cpython fails to build _speedups.so, prints "WARNING: An optional C extension could not be compiled, speedups will not be available", and continues. The actual failure happens when pkg-static tries to bundle the skipped .so file. The problem was reported in https://genshi.edgewall.org/ticket/555 and a workaround was added in https://genshi.edgewall.org/changeset/1247 however there were no further releases and development has stalled. Suggested alternative: - include attached patch which mimics that genshi commit - revert ports r414006