[MacPorts] #25125: zlib destroot failure (was: MAMP install fail)

MacPorts noreply at macports.org
Fri Jun 4 00:41:06 PDT 2010


#25125: zlib destroot failure
--------------------------------------+-------------------------------------
 Reporter:  brenna.switzer@…          |       Owner:  landonf@…           
     Type:  defect                    |      Status:  new                 
 Priority:  Normal                    |   Milestone:                      
Component:  ports                     |     Version:  1.8.2               
 Keywords:                            |        Port:  zlib                
--------------------------------------+-------------------------------------
Changes (by jmr@…):

 * cc: ryandesign@… (added)
  * owner:  macports-tickets@… => landonf@…
  * port:  => zlib


Old description:

> I am new to macports, so forgive me if this question is simplistic. I am
> attempting to install MAMP on my Mac (Snow Leopard 10.6.3) using macports
> (XCode 3.2.2) and am getting the same error for install on apache2,
> mysql5 and php5. It's probably quite simple, but I am stumped.
>
> I did have mysql previously installed but I deleted it. I also had
> apache2 and php5 running through Mac's native install, but I have
> disabled it.
>
> Here is the error (using the -d flag):
>
> --->  Staging zlib into destroot
> . missing (directory not created: File exists)
> ./Applications missing (directory not created: File exists)
> ./Developer missing (directory not created: File exists)
> ./Library missing (directory not created: File exists)
> DEBUG: Executing org.macports.destroot (zlib)
> DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
> DEBUG: 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/make install
> prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local'
> cp libz.a
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib
> cp
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib
> usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
>        cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ...
> target_directory
> make: *** [install-libs] Error 64
> Error: Target org.macports.destroot returned: 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/make install
> prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local
> " returned error 2
> DEBUG: Backtrace: 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/make install
> prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local
> " returned error 2
>     while executing
> "command_exec destroot"
>     (procedure "portdestroot::destroot_main" line 2)
>     invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for zlib):
> org.macports.activate org.macports.destroot org.macports.install
> Error: The following dependencies failed to build: openssl zlib pcre
> bzip2
> Error: Status 1 encountered during processing.

New description:

 I am new to macports, so forgive me if this question is simplistic. I am
 attempting to install MAMP on my Mac (Snow Leopard 10.6.3) using macports
 (XCode 3.2.2) and am getting the same error for install on apache2, mysql5
 and php5. It's probably quite simple, but I am stumped.

 I did have mysql previously installed but I deleted it. I also had apache2
 and php5 running through Mac's native install, but I have disabled it.

 Here is the error (using the -d flag):
 {{{
 --->  Staging zlib into destroot
 . missing (directory not created: File exists)
 ./Applications missing (directory not created: File exists)
 ./Developer missing (directory not created: File exists)
 ./Library missing (directory not created: File exists)
 DEBUG: Executing org.macports.destroot (zlib)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: 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/make install
 prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local'
 cp libz.a
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib
 cp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib
 usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
        cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ...
 target_directory
 make: *** [install-libs] Error 64
 Error: Target org.macports.destroot returned: 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/make install
 prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local
 " returned error 2
 DEBUG: Backtrace: 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/make install
 prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local
 " returned error 2
     while executing
 "command_exec destroot"
     (procedure "portdestroot::destroot_main" line 2)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for zlib):
 org.macports.activate org.macports.destroot org.macports.install
 Error: The following dependencies failed to build: openssl zlib pcre bzip2
 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Please remember to preview and use WikiFormatting, put the name of the
 failing port in the Port field, and cc its maintainers.

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


More information about the macports-tickets mailing list