Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2012 19:22:38 GMT
From:      Tomasz CEDRO <cederom@tlen.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171422: LibGL build error with python3.2
Message-ID:  <201209071922.q87JMcZJ081571@red.freebsd.org>
Resent-Message-ID: <201209071930.q87JU2gY050868@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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], "<path to compiler>"
                 ^
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209071922.q87JMcZJ081571>