[MacPorts] #13930: Intermittent failures building Python modules: unable to execute -DNDEBUG

MacPorts noreply at macports.org
Sat Dec 13 12:55:12 PST 2008


#13930: Intermittent failures building Python modules: unable to execute -DNDEBUG
----------------------------+-----------------------------------------------
  Reporter:  wiml@…         |       Owner:  macports-tickets@…                   
      Type:  defect         |      Status:  closed                               
  Priority:  Normal         |   Milestone:  MacPorts 1.7.0                       
 Component:  base           |     Version:  1.6.0                                
Resolution:  fixed          |    Keywords:                                       
      Port:                 |  
----------------------------+-----------------------------------------------

Comment(by bretthoerner@…):

 I'm running 1.6 on Leopard and synced, just wanted to note that it doesn't
 seem to be fixed for everything.

 {{{

 --->  Building py25-libxml2 with target build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:248:
 UserWarning: 'licence' distribution option is deprecated; use 'license'
   warnings.warn(msg)
 running build
 running build_py
 running build_ext
 building 'libxml2mod' extension
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_REENTRANT=1
 -I/opt/local/include/libxml2 -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
 -c libxml2-py.c -o build/temp.macosx-10.3-i386-2.5/libxml2-py.o
 unable to execute -DNDEBUG: No such file or directory
 error: command '-DNDEBUG' failed with exit status 1
 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-libxml2/work/libxml2-python-2.6.21"
 && /opt/local/bin/python2.5 setup.py build " returned error 1
 Command output:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:248:
 UserWarning: 'licence' distribution option is deprecated; use 'license'
   warnings.warn(msg)
 running build
 running build_py
 running build_ext
 building 'libxml2mod' extension
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_REENTRANT=1
 -I/opt/local/include/libxml2 -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
 -c libxml2-py.c -o build/temp.macosx-10.3-i386-2.5/libxml2-py.o
 unable to execute -DNDEBUG: No such file or directory
 error: command '-DNDEBUG' failed with exit status 1

 Warning: the following items did not execute (for py25-libxml2):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: The following dependencies failed to build: gtk-doc gnome-doc-utils
 py25-libxml2 getopt
 Error: Unable to upgrade port: 1

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/13930#comment:36>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list