On Jul 15, 2007, at 06:22, Frederic Soulier wrote:
I installed MacPorts 1.5.0 yesterday and proceeded to install KDE (after a selfupdate)
After first it couldn't install the cyrus-sasl package because trying to access http://ftp.andrew.cmu.edu/pub/cyrus-mail/ was failing.
This morning it can download the package yet fails with the following:
DEBUG: installing file: /opt/local/var/macports/software/cyrus- sasl2/2.1.21_0+kerberos darwin/opt/local/var/state/ saslauthd/.turd_cyrus-sasl2 usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory Error: Target org.macports.install returned: shell command "mv /opt/ local/var/macports/receipts/cyrus-sasl2/2.1.21_0+kerberos darwin/ receipt.tmp /opt/local/var/macports/receipts/cyrus-sasl2/2.1.21_0 +kerberos darwin/receipt" returned error 64 Command output: usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory
Warning: the following items did not execute (for cyrus-sasl2): org.macports.activate org.macports.install Error: Status 1 encountered during processing.
What am I supposed to do?
This has been reported before: http://lists.macosforge.org/pipermail/macports-users/2007-June/ 003919.html Apparently a bug has been introduced in a recent version of MacPorts, because this used to work: http://lists.macosforge.org/pipermail/macports-users/2007-June/ 003932.html There are not many portfiles that use this syntax: http://lists.macosforge.org/pipermail/macports-users/2007-June/ 003935.html Our options are to find and fix the bug in MacPorts, or work around it in the few affected portfiles, since the syntax is uncommon. There's already a bug reported for this port: http://trac.macosforge.org/projects/macports/ticket/12279 I'll attach a patch for a workaround there.