[MacPorts] #27682: Zlib fails to install

MacPorts noreply at macports.org
Wed Dec 15 11:27:22 PST 2010


#27682: Zlib fails to install
-------------------------------------------+--------------------------------
 Reporter:  pierrelouis.peeters@…          |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:                                       
Component:  ports                          |     Version:  1.9.2                                
 Keywords:                                 |        Port:                                       
-------------------------------------------+--------------------------------

Comment(by pierrelouis.peeters@…):

 I'm on Mac OS X 10.6.5. I just reinstalled the last version of Xcode, that
 solved this problem.
 Now I've got this :

 {{{
 --->  Extracting zlib
 --->  Applying patches to zlib
 Error: Target org.macports.patch returned: shell command failed (see log
 for details)
 Error: Failed to install zlib
 Log for zlib is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log
 Error: The following dependencies were not installed: openssl zlib
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 Here's the log :

 {{{
 version:1
 :debug:main Executing org.macports.main (zlib)
 :debug:main Skipping completed org.macports.fetch (zlib)
 :debug:main Skipping completed org.macports.checksum (zlib)
 :debug:main setting option extract.cmd to /usr/bin/bzip2
 :msg:main --->  Extracting zlib
 :debug:extract extract phase started at Wed Dec 15 20:24:18 CET 2010
 :debug:extract Executing proc-pre-org.macports.extract-extract-0
 :debug:extract Executing org.macports.extract (zlib)
 :info:extract --->  Extracting zlib-1.2.5.tar.bz2
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/zlib/zlib-1.2.5.tar.bz2'
 :debug:extract Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:extract Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work"
 && /usr/bin/bzip2 -dc
 '/opt/local/var/macports/distfiles/zlib/zlib-1.2.5.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -'
 :info:extract bzip2: Can't open input file
 /opt/local/var/macports/distfiles/zlib/zlib-1.2.5.tar.bz2: No such file or
 directory.
 :debug:patch patch phase started at Wed Dec 15 20:24:19 CET 2010
 :debug:patch Executing org.macports.patch (zlib)
 :msg:patch --->  Applying patches to zlib
 :info:patch --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib/files
 /patch-Makefile.in.diff
 :debug:patch Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.5"
 && /usr/bin/patch -p0'
 :info:patch sh: line 0: cd:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.5:
 No such file or directory
 :info:patch shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.5"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib/files
 /patch-Makefile.in.diff'" returned error 1
 :error:patch Target org.macports.patch returned: shell command failed (see
 log for details)
 :debug:patch Backtrace: shell command failed (see log for details)
     while executing
 "command_exec patch "" "< '$patch'""
     (procedure "portpatch::patch_main" line 35)
     invoked from within
 "$procedure $targetname"
 :info:patch Warning: the following items did not execute (for zlib):
 org.macports.activate org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 :error:patch Failed to install zlib
 :notice:patch Log for zlib is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log

 }}}

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


More information about the macports-tickets mailing list