[MacPorts] #33287: Can't build zlib port

MacPorts noreply at macports.org
Sat Feb 18 03:57:33 PST 2012


#33287: Can't build zlib port
-----------------------------------------+----------------------------------
 Reporter:  webmaster@…                  |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  2.0.3                                
 Keywords:  zlib                         |        Port:                                       
-----------------------------------------+----------------------------------
 Hi,

 I just bought a new MacBook Air with Mac OS Lion running (v10.7.3). I have
 installed XCode, xcode-select -version shows v2307, and also installed
 MacPorts. Then I ran the selfupdate command to update the port tree.

 When I try to install apache2, the build fails when building the zlib
 dependency. Below is the output:


 {{{
 $ sudo port install -d zlib
 --->  Fetching archive for zlib
 --->  Attempting to fetch zlib-1.2.6_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/zlib
 --->  Fetching zlib
 --->  Verifying checksum(s) for zlib
 --->  Extracting zlib
 --->  Applying patches to zlib
 --->  Configuring zlib
 --->  Building zlib
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for zlib is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 The zlib log file says:


 {{{
 tail -f
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/work/zlib-1.2.6"
 && /usr/bin/make -j4 -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for zlib):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for zlib is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
 }}}

 Any hints for helping me please?

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


More information about the macports-tickets mailing list