From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 7 19:30:03 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52691106566B for ; Fri, 7 Sep 2012 19:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2BCBA8FC15 for ; Fri, 7 Sep 2012 19:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q87JU3pF050894 for ; Fri, 7 Sep 2012 19:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q87JU2gY050868; Fri, 7 Sep 2012 19:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 7 Sep 2012 19:30:02 GMT Resent-Message-Id: <201209071930.q87JU2gY050868@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tomasz CEDRO Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DEDE106566B for ; Fri, 7 Sep 2012 19:22:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 39FEA8FC0C for ; Fri, 7 Sep 2012 19:22:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q87JMc4o081572 for ; Fri, 7 Sep 2012 19:22:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q87JMcZJ081571; Fri, 7 Sep 2012 19:22:38 GMT (envelope-from nobody) Message-Id: <201209071922.q87JMcZJ081571@red.freebsd.org> Date: Fri, 7 Sep 2012 19:22:38 GMT From: Tomasz CEDRO To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171422: LibGL build error with python3.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 19:30:03 -0000 >Number: 171422 >Category: ports >Synopsis: LibGL build error with python3.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 07 19:30:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Tomasz CEDRO >Release: FreeBSD 9.0-RELEASE-p3 >Organization: CeDeROM >Environment: FreeBSD mercury 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: ports/graphics/libGL/Makefile,v 1.20 2012/08/31 15:44:41 does not build when Python3.2 is set as default interpreter. With Python2.7 build is OK. >How-To-Repeat: Build LibGL port with Python3.2 set as default: Regenerating builtin_function.cpp... python -t -O -O builtins/tools/generate_builtins.py ./builtin_compiler > builtin_function.cpp || rm -f builtin_function.cpp File "builtins/tools/generate_builtins.py", line 20 print "Usage:", argv[0], "" ^ SyntaxError: invalid syntax c++ -c -I. -I../mesa -I../mapi -I../../include -I/usr/local/include -msse3 -mfpmath=sse -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -msse3 -mfpmath=sse -O2 -fno-strict-aliasing -fPIC -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DFEATURE_GL=1 -fvisibility=hidden -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DFEATURE_GL=1 builtin_function.cpp -o builtin_function.o c++: builtin_function.cpp: No such file or directory c++: No input files specified gmake[2]: *** [builtin_function.o] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/libGL/work/Mesa-7.11.2/src/glsl' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/libGL/work/Mesa-7.11.2/src' gmake: *** [default] Error 1 *** Error code 1 >Fix: Restrict port to use Python2 or fix compatibility with Python3. >Release-Note: >Audit-Trail: >Unformatted: