[MacPorts] #13406: BUG: py25-zlib fails to build
#13406: BUG: py25-zlib fails to build -----------------------------------+---------------------------------------- Reporter: takanori@macports.org | Owner: mww@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
#13406: BUG: py25-zlib fails to build ------------------------------------+--------------------------------------- Reporter: takanori@macports.org | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ------------------------------------+--------------------------------------- Changes (by jmpp@macports.org): * component: ports => base * milestone: MacPorts 1.6 => MacPorts base bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13406#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13406: BUG: py25-zlib fails to build ------------------------------------+--------------------------------------- Reporter: takanori@macports.org | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ------------------------------------+--------------------------------------- Comment (by bcbarnes@gmail.com): Any news? I just observed a similar failure on fresh 10.5.2/intel with macports 1.6.0: {{{ ---> 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.2/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-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c zlibmodule.c -o build/temp.macosx-10.3-i386-2.5/zlibmodule.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1 Error: The following dependencies failed to build: py25-zlib texlive texlive_base ghostscript perl5.8 texi2html texinfo texlive_texmf-minimal texlive_texmf-full Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13406#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13406: BUG: py25-zlib fails to build ------------------------------------+--------------------------------------- Reporter: takanori@macports.org | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ------------------------------------+--------------------------------------- Comment (by bcbarnes@gmail.com): another comment/solution?: I went into the directory where the command was failing ( /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-zlib/work/Python-2.5.2/Modules ), and re-executed it with a sudo prefix. The command succeeded and the build completed after I tried another port install. I don't know why it failed the first time -- it's as if the first port install lost sudo privileges. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13406#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13406: BUG: py25-zlib fails to build ------------------------------------+--------------------------------------- Reporter: takanori@macports.org | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ------------------------------------+--------------------------------------- Comment (by stdoonline@gmail.com): Replying to [comment:4 bcbarnes@gmail.com]:
Any news? I just observed a similar failure on fresh 10.5.2/intel with macports 1.6.0:
Same problem here. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13406#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13406: BUG: py25-zlib fails to build ------------------------------------+--------------------------------------- Reporter: takanori@macports.org | Owner: mww@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: ------------------------------------+--------------------------------------- Changes (by jmr@macports.org): * cc: mww@macports.org, takanori@macports.org (removed) Comment: Could be related to #14687? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13406#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13406: BUG: py25-zlib fails to build ------------------------------------+--------------------------------------- Reporter: takanori@macports.org | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: duplicate | Keywords: ------------------------------------+--------------------------------------- Changes (by jmr@macports.org): * status: assigned => closed * resolution: => duplicate Comment: Duplicate of #13930. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13406#comment:8> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts