Opened 14 years ago

Last modified 14 years ago

#24599 closed defect

zlib destroot fails with cp usage message — at Version 1

Reported by: trichard@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: landonf@…
Port: zlib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

i just set up a new imac with all up to date Apple software (10.6.3, Macports 1.8.2) and tried to install mysql on the system.

I received the following error:

--->  Computing dependencies for mysql5
--->  Staging zlib into destroot
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
Command output: 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: The following dependencies failed to build: openssl zlib readline
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

then I tried to install ffmpeg or ImageMagick and i allways encountered the same message.

so i tried to install zlib... same message.

I've checked the permissions in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.5 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/destroot/opt/local

everything seems to be ok.

What's going wrong with the zlib installation?

Thanks in advance

Thomas

Change History (1)

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

Cc: landonf@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: zlib added
Status: newassigned
Summary: Error 2 while trying to install zlib on OS X 10.6.3zlib destroot fails with cp usage message

Please remember WikiFormatting and to Cc the port's maintainers.

Note: See TracTickets for help on using tickets.