Ticket #13930 (closed defect: fixed)
Intermittent failures building Python modules: unable to execute -DNDEBUG
| Reported by: | wiml@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Cc: | mww@…, florian.ebeling@…, blb@…, tolsen@…, pub1@…, brunogirin@…, macports@…, Ricardo.Cordeiro@…, lars@…, peter.arrenbrecht@…, vpribish@…, iacanay@…, sirpete@…, terry@…, fhwi93ne@…, ryandesign@…, dhelder@…, ram@…, jannis@… | |
| Port: |
Description
I'm not sure what's going on here. In all cases, quitting 'port' and restarting it and reissuing the 'install' command succeeds. But one time in five or so, building a Python-based port fails, apparently because it's set $CC to an empty string or something like that:
[var/root] > install py25-tkinter
---> Building py25-tkinter with target build
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-tkinter/work/Python-2.5.1/Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: running build
running build_ext
building '_tkinter' extension
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/opt/local/include -I/opt/local/include/python2.5 -c _tkinter.c -o build/temp.macosx-10.3-i386-2.5/_tkinter.o
unable to execute -DNDEBUG: No such file or directory
error: command '-DNDEBUG' failed with exit status 1
Error: Status 1 encountered during processing.
[var/root] > ^D
Goodbye
root@slowpoke# /opt/local/bin/port ~
MacPorts 1.600
Entering interactive mode... ("help" for help, "quit" to quit)
[var/root] > install py25-tkinter
---> Building py25-tkinter with target build
---> Staging py25-tkinter into destroot
---> Installing py25-tkinter 2.5.1_0
---> Activating py25-tkinter 2.5.1_0
---> Cleaning py25-tkinter
[var/root] > ^D
It's not the same port(s) each time, seems to be random.
Leopard 10.5.1/9B18, MacPorts 1.600, freshly installed and updated.
Change History
Note: See
TracTickets for help on using
tickets.

