[MacPorts] #13406: BUG: py25-zlib fails to build

MacPorts trac at macosforge.org
Sun Nov 25 03:34:41 PST 2007


#13406: BUG: py25-zlib fails to build
-----------------------------------+----------------------------------------
 Reporter:  takanori at macports.org  |       Owner:  mww at macports.org
     Type:  defect                 |      Status:  new             
 Priority:  Normal                 |   Milestone:  MacPorts 1.6    
Component:  ports                  |     Version:  1.6.0           
 Keywords:                         |  
-----------------------------------+----------------------------------------
 I tried to install py25-zlib from scratch but it failed to build.
 Here is my buildlog:

 {{{
 $ port version
 Version: 1.600

 $ port installed
 No ports are installed.

 $ sudo port install py25-zlib
 --->  Fetching expat
 --->  Verifying checksum(s) for expat
 --->  Extracting expat
 --->  Configuring expat
 --->  Building expat with target all
 --->  Staging expat into destroot
 --->  Installing expat 2.0.1_0
 --->  Activating expat 2.0.1_0
 --->  Cleaning expat
 --->  Fetching libiconv
 --->  Verifying checksum(s) for libiconv
 --->  Extracting libiconv
 --->  Applying patches to libiconv
 --->  Configuring libiconv
 --->  Building libiconv with target all
 --->  Staging libiconv into destroot
 --->  Installing libiconv 1.12_0
 --->  Activating libiconv 1.12_0
 --->  Cleaning libiconv
 --->  Fetching gettext
 --->  Verifying checksum(s) for gettext
 --->  Extracting gettext
 --->  Applying patches to gettext
 --->  Configuring gettext
 --->  Building gettext with target all
 --->  Staging gettext into destroot
 --->  Installing gettext 0.17_1
 --->  Activating gettext 0.17_1
 --->  Cleaning gettext
 --->  Fetching python25
 --->  Verifying checksum(s) for python25
 --->  Extracting python25
 --->  Applying patches to python25
 --->  Configuring python25
 --->  Building python25 with target all
 --->  Staging python25 into destroot
 --->  Installing python25 2.5.1_3+darwin_9
 --->  Activating python25 2.5.1_3+darwin_9
 --->  Cleaning python25
 --->  Fetching zlib
 --->  Verifying checksum(s) for zlib
 --->  Extracting zlib
 --->  Applying patches to zlib
 --->  Configuring zlib
 --->  Building zlib with target all
 --->  Staging zlib into destroot
 --->  Installing zlib 1.2.3_1
 --->  Activating zlib 1.2.3_1
 --->  Cleaning zlib
 --->  Fetching py25-zlib
 --->  Verifying checksum(s) for py25-zlib
 --->  Extracting py25-zlib
 --->  Configuring py25-zlib
 --->  Building py25-zlib 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-zlib/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 'zlib' extension
 creating build
 creating build/temp.macosx-10.3-ppc-2.5
 -DNDEBUG -D__DARWIN_UNIX03 -I/opt/local/include
 -I/opt/local/include/python2.5 -c zlibmodule.c -o
 build/temp.macosx-10.3-ppc-2.5/zlibmodule.o
 unable to execute -DNDEBUG: No such file or directory
 error: command '-DNDEBUG' failed with exit status 1

 Error: Status 1 encountered during processing.
 }}}

 This problem only occurs at the first time, so that's odd.

 {{{
 $ port installed
 The following ports are currently installed:
   expat @2.0.1_0 (active)
   gettext @0.17_1 (active)
   libiconv @1.12_0 (active)
   python25 @2.5.1_3+darwin_9 (active)
   zlib @1.2.3_1 (active)

 $ sudo port install py25-zlib
 --->  Building py25-zlib with target build
 --->  Staging py25-zlib into destroot
 --->  Installing py25-zlib 2.5.1_0
 --->  Activating py25-zlib 2.5.1_0
 --->  Cleaning py25-zlib
 }}}

 I'm guessing this may be a bug in MacPorts 1.6(-rc2) since this problem
 does not occur on MacPorts 1.5.2.

-- 
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13406>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list