[MacPorts] #14840: mod_pyhton25 fails to compile on 10.5.2: unable to execute -DNDEBUG: No such file or directory

MacPorts trac at macosforge.org
Sat Mar 29 00:41:30 PDT 2008


#14840: mod_pyhton25 fails to compile on 10.5.2: unable to execute -DNDEBUG: No
such file or directory
----------------------------------+-----------------------------------------
 Reporter:  calvi_paolo at yahoo.it  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                |      Status:  new                                  
 Priority:  High                  |   Milestone:  Port Bugs                            
Component:  ports                 |     Version:  1.6.0                                
 Keywords:  mod_pyhton            |  
----------------------------------+-----------------------------------------
 Cannot compile mod_python:

 {{{
 sudo port install mod_python25 +universal
 --->  Fetching mod_python25
 --->  Verifying checksum(s) for mod_python25
 --->  Extracting mod_python25
 --->  Configuring mod_python25
 --->  Building mod_python25 with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1"
 && make all " returned error 2
 Command output: creating build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/__init__.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/apache.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/cache.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/cgihandler.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/Cookie.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/importer.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/psp.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/publisher.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/python22.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/Session.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/testhandler.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 copying
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/lib/python/mod_python/util.py
 -> build/lib.macosx-10.3-i386-2.5/mod_python
 running build_ext
 building 'mod_python._psp' extension
 creating build/temp.macosx-10.3-i386-2.5
 creating build/temp.macosx-10.3-i386-2.5/opt
 creating build/temp.macosx-10.3-i386-2.5/opt/local
 creating build/temp.macosx-10.3-i386-2.5/opt/local/var
 creating build/temp.macosx-10.3-i386-2.5/opt/local/var/macports
 creating build/temp.macosx-10.3-i386-2.5/opt/local/var/macports/build
 creating
 build/temp.macosx-10.3-i386-2.5/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25
 creating
 build/temp.macosx-10.3-i386-2.5/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work
 creating
 build/temp.macosx-10.3-i386-2.5/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1
 creating
 build/temp.macosx-10.3-i386-2.5/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/src
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/src/include
 -I/opt/local/include/python2.5 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/src/psp_string.c
 -o
 build/temp.macosx-10.3-i386-2.5/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_python25/work/mod_python-3.3.1/src/psp_string.o
 unable to execute -DNDEBUG: No such file or directory
 error: command '-DNDEBUG' failed with exit status 1
 make[1]: *** [build] Error 1
 make: *** [do_dso] Error 2

 Error: Status 1 encountered during processing.

 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14840>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list