[Bug 200518] [PATCH] games/golly needs to be forced to python27 to ignore python34

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 29 15:05:34 UTC 2015


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 at FreeBSD.org
          Reporter: me at janh.de
          Assignee: makc at FreeBSD.org
             Flags: maintainer-feedback?(makc at 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.


More information about the freebsd-ports-bugs mailing list