From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 29 15:05:34 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C73E2468 for ; Fri, 29 May 2015 15:05:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 967F81740 for ; Fri, 29 May 2015 15:05:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TF5YN2087703 for ; Fri, 29 May 2015 15:05:34 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Fri, 29 May 2015 15:05:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: me@janh.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: makc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 15:05:34 -0000 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.