Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#43875 closed defect (fixed)

Can't update to 2.3.0

Reported by: rudloff@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone: MacPorts 2.3.5
Component: base Version: 2.3.0
Keywords: Cc: cooljeanius (Eric Gallager)
Port:

Description

I get an error when I try to selfupdate:

===> making install in doc
/usr/bin/install -c -d -o prudloff -g D_IRCADWeBS -m 755 "/Users/prudloff/opt"
install: D_IRCADWeBS: Invalid argument
make[1]: *** [install] Error 67
make: *** [install] Error 1
Command failed: cd /Users/prudloff/opt/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/Users/prudloff/opt --with-tclpackage=/Users/prudloff/Library/Tcl --with-install-user=prudloff --with-install-group=D_IRCAD\WeBS --with-directory-mode=0755 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
Exit code: 2
Error: Error installing new MacPorts base: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: /Users/prudloff/opt/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

Attachments (1)

selfupdate.log (434.9 KB) - added by rudloff@… 10 years ago.
selfupdate log

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by rudloff@…

Attachment: selfupdate.log added

selfupdate log

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

It seems there's something wrong with the name of the group MacPorts tries to use to update itself. This group name is given in the configure command line as

--with-install-group=D_IRCAD\WeBS

and is the group of $prefix, so in your case /Users/prudloff/opt. Try changing this group to something sane using chgrp, such as your user's primary group. Then, try again.

comment:2 Changed 10 years ago by rudloff@…

Well, we use distant login on a domain so D_IRCAD\WeBS is a valid group, but it looks like the backslash is lost somewhere in the process.

I have tried chgrp to a local group and it works.

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

Milestone: MacPorts Future
Owner: changed from macports-tickets@… to cal@…
Status: newassigned

OK, so that's a bug in MacPorts, which should really escape the backslash for the shell then. I'll see what I can do.

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

I think this should be fixed in r122042 and r122044.

comment:6 Changed 8 years ago by raimue (Rainer Müller)

Milestone: MacPorts FutureMacPorts 2.3.5
Note: See TracTickets for help on using tickets.