#36348 closed defect (wontfix)
mesa @8.0.4 -python26 -python27 fails to build when python32 is installed
Reported by: | richard.graham@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | mesa |
Description
mesa @8.0.4 -python26 -python27 fails to build if python32 is installed. The following group of messages indicates the root cause of the problem:
:info:build Regenerating builtin_function.cpp... :info:build python -t -O -O builtins/tools/generate_builtins.py ./builtin_compiler > builtin_function.cpp || rm -f builtin_function.cpp :info:build File "builtins/tools/generate_builtins.py", line 20 :info:build print "Usage:", argv[0], "<path to compiler>" :info:build ^ :info:build SyntaxError: invalid syntax
Attachments (1)
Change History (6)
Changed 12 years ago by richard.graham@…
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|
comment:2 follow-up: 3 Changed 12 years ago by jmroot (Joshua Root)
I don't think you're meant to be able to install without one of the python variants selected. There isn't an automatic way to indicate "one of this group of variants must be set".
comment:3 Changed 12 years ago by richard.graham@…
Replying to jmr@…:
I don't think you're meant to be able to install without one of the python variants selected. There isn't an automatic way to indicate "one of this group of variants must be set".
Huh? I thought variants were always optional.
The problem seems to be that the build script incorrectly assumes that builtins/tools/generate_builtins.py
, a Python 2.x script, will execute successfully even if Python 3.x is the only version installed.
comment:4 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:5 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Yeah, the variants are there to let you choose one. Yes the system lets you choose something invalid, and it fails to build. If you want to fix the scripts to work with python3, please submit your changes upstream (or to me and I'll push them upstream).
In the future, please Cc the port maintainer(s).