[MacPorts] #25125: MAMP install fail
#25125: MAMP install fail --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: --------------------------------------+------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/25125> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Changes (by ryandesign@…): * owner: landonf@… => ryandesign@… * status: new => assigned Comment: This sounds like a duplicate of #24599. Have you installed Xcode? -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by ryandesign@…): Try cleaning zlib and trying again. -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by brenna.switzer@…): Thanks for the tips about posting -- I'll be sure and document any future tickets by the standard. Cleaning zlib worked like a charm. Thank you. -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by ryandesign@…): Thanks for letting me know you got it working. I wish I understood why this problem is happening for some people. Is it possible you tried to install zlib before having Xcode installed, ran into an error, installed Xcode, and then tried again to install zlib without cleaning zlib first? That's my hypothesis so far but I have not had the opportunity to test it yet. -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by brenna.switzer@…): You know, that might actually be the case. I initially tried to install macports without realizing that I was working with an older version of XCode, so I upgraded. Perhaps that initial failed installation caused some malfunction. -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by ryandesign@…): Do you remember what version of Xcode you had before? -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by brenna.switzer@…): I'm not completely sure, but it's likely it was 2.2.1 -- that was the current version active when I first downloaded it. -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by ryandesign@…): Ok, earlier than 3.2.0 at any rate. (3.2.0 is the earliest version of Xcode that works on Snow Leopard.) This would be a more involved scenario for me to test (install Tiger or Leopard, install its Xcode, update to Snow Leopard, install MacPorts, start installing zlib, upgrade Xcode, continue installing zlib, see if error) but easy enough to add a check for in the port (using the xcodeversion portgroup). -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure --------------------------------------+------------------------------------- Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: zlib --------------------------------------+------------------------------------- Comment(by jmr@…): 1.9.0 will error out in that situation before it starts building. -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25125: zlib destroot failure when Xcode is too old ---------------------------------------+------------------------------------ Reporter: brenna.switzer@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: duplicate | Keywords: Port: zlib | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => duplicate Comment: True. But for the sake of having this fixed immediately, added checks that a valid Xcode version is installed in r68569. -- Ticket URL: <http://trac.macports.org/ticket/25125#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts