Date: Fri, 29 May 2015 15:05:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200518] [PATCH] games/golly needs to be forced to python27 to ignore python34 Message-ID: <bug-200518-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200518 Bug ID: 200518 Summary: [PATCH] games/golly needs to be forced to python27 to ignore python34 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: makc@FreeBSD.org Reporter: me@janh.de Assignee: makc@FreeBSD.org Flags: maintainer-feedback?(makc@FreeBSD.org) Keywords: patch Created attachment 157250 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157250&action=edit Patch the already existing patch to CMakeLists.txt to force python27 If python34 is present, cmake detects it and tries to use it, although python27 should be used. The build fails with: /usr/ports/games/golly/work/golly-2.4-src/wxpython.cpp:3007:7: error: use of undeclared identifier 'Py_InitModule' With the patch attached, cmake is forced to use python27 and the build succeeds even with python34 present. Unfortunately, there is a runtime error still: An assertion failed! ./include/wx/string.h(1536): assert "!empty()" failed in Last(): wxString: index out of bounds I do not know, if this has anything to do with the python version and if it has any real consequences. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200518-13>