Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12279 closed defect (fixed)

cyrus-sasl2 error during install

Reported by: lo.knut@… Owned by: jmpalacios (Juan Manuel Palacios)
Priority: Normal Milestone:
Component: ports Version: 1.5
Keywords: Cc: lo.knut@…, jmpalacios (Juan Manuel Palacios), landonf (Landon Fuller), ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

--->  Installing cyrus-sasl2 2.1.21_0+kerberos darwin
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

Error: The following dependencies failed to build: kdebase3 cyrus-sasl2 libusb openslp
Error: Status 1 encountered during processing.

Attachments (1)

cyrus-sasl2.diff (769 bytes) - added by ryandesign (Ryan Carsten Schmidt) 17 years ago.
UNTESTED workaround for cyrus-sasl2

Download all attachments as: .zip

Change History (7)

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

Cc: lo.knut@… jmpp@… landonf@… ryandesign@… added
Milestone: Port Bugs
Owner: changed from takanori@… to jmpp@…

This has been reported on the mailing list in June and again today. landonf says it's a bug introduced in base recently because it used to work and the portfile hasn't been changed.

Not many ports use the "double variant" syntax cyrus-sasl2 uses, so if the bug in base is difficult to find and fix, we could just stop using this syntax, and fix the http://lists.macosforge.org/pipermail/macports-users/2007-June/003935.htmlfew affected ports]. I'll attach a patch which would work around the problem for cyrus-sasl2.

Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: cyrus-sasl2.diff added

UNTESTED workaround for cyrus-sasl2

comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:3 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Thanks for the patch Ryan! Committed in r27045, which we should all read for further details.

-jmpp

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Resolution: fixed
Status: newclosed

comment:5 Changed 16 years ago by alakazam@…

I encountered this bug today whan trying to upgrade cyrus-sasl2 which required that I uninstall previous versions of cyrus-sasl2 to build.

% port installed cyrus-sasl2
The following ports are currently installed:
  cyrus-sasl2 @2.1.21_0+kerberos (active)
  cyrus-sasl2 @2.1.21_0+kerberos (active)

but

% ls -l /opt/local/var/macports/receipts/cyrus-sasl2
drwxr-xr-x  4 root  admin   136B 12 aoû  2007 2.1.21_0+kerberos/
drwxr-xr-x  3 root  admin   102B 11 jul  2007 2.1.21_0+kerberos darwin/

To solve this problem I ran

% sudo rm -rf /opt/local/var/macports/receipts/cyrus-sasl2/2.1.21_0+kerberos\ darwin/

and was then able to deactivate cyrus-sals2. toby suggested a better solution on irc (safer I think) :

<toby> i'm not sure if this will work, but have you tried quoting the arguments? port uninstall cyrus-sasl2 "@2.1.21_0+kerberos darwin"

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.