Opened 14 years ago

Closed 13 years ago

#27113 closed defect (duplicate)

zlib: zlib.dylib doesn't get built, causes destroot to fail

Reported by: vienne87@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: landonf (Landon Fuller)
Port: zlib

Description (last modified by mf2k (Frank Schima))

--->  Computing dependencies for openssl
--->  Dependencies to be installed: zlib
--->  Staging zlib into destroot
Error: Target org.macports.destroot returned: shell command failed
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 failed to build: zlib
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

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
:debug:main Skipping completed org.macports.extract (zlib)
:debug:main Skipping completed org.macports.patch (zlib)
:debug:main Skipping completed org.macports.configure (zlib)
:debug:main Skipping completed org.macports.build (zlib)
:msg:main --->  Staging zlib into destroot
:info:main . missing (directory not created: File exists)
:info:main ./Applications missing (directory not created: File exists)
:info:main ./Developer missing (directory not created: File exists)
:info:main ./Library missing (directory not created: File exists)
:debug:destroot destroot phase started at Tue Nov  2 21:09:01 CET 2010
:debug:destroot Executing org.macports.destroot (zlib)
:debug:destroot 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:destroot 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'
:info:destroot 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
:info:destroot cp  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib
:info:destroot usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
:info:destroot        cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
:info:destroot make: *** [install-libs] Error 64
:info:destroot 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
:error:destroot Target org.macports.destroot returned: shell command failed
:debug:destroot Backtrace: shell command failed
    while executing
"command_exec destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for zlib): org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log

Change History (6)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: landonf@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: zlib added

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Cant install zlib MAC OS X 10.6.4zlib: zlib.dylib doesn't get built, causes destroot to fail

You did not provide the full main.log so I'm not entirely sure, but this sounds like a duplicate of #26224. Are you using distcc, or have you overridden the port's compiler?

comment:3 Changed 14 years ago by vienne87@…

version:1
:msg:main --->  Computing dependencies for zlib:info:main .:msg:main 
: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
:debug:main Skipping completed org.macports.extract (zlib)
:debug:main Skipping completed org.macports.patch (zlib)
:debug:main Skipping completed org.macports.configure (zlib)
:debug:main Skipping completed org.macports.build (zlib)
:msg:main --->  Staging zlib into destroot
:info:main . missing (directory not created: File exists)
:info:main ./Applications missing (directory not created: File exists)
:info:main ./Developer missing (directory not created: File exists)
:info:main ./Library missing (directory not created: File exists)
:debug:destroot destroot phase started at Wed Nov  3 18:53:24 CET 2010
:debug:destroot Executing org.macports.destroot (zlib)
:debug:destroot 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:destroot 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'
:info:destroot 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
:info:destroot cp  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local/lib
:info:destroot usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
:info:destroot        cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
:info:destroot make: *** [install-libs] Error 64
:info:destroot 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
:error:destroot Target org.macports.destroot returned: shell command failed
:debug:destroot Backtrace: shell command failed
    while executing
"command_exec destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for zlib): org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log

im using xcode 3.2.4 with gcc42

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

That's pretty much the same thing you already pasted into the ticket description, but it's not the full log. To get the full log, clean the port ("sudo port clean zlib") and try installing it again. If it fails, attach the file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log to this ticket (don't paste its contents into a comment).

The full log should answer the question of whether you are using distcc, or whether you are overriding the compiler.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

vienne87, were you ever able to resolve this problem?

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

No response; assuming duplicate.

Note: See TracTickets for help on using tickets.