Opened 10 years ago

Closed 10 years ago

#43879 closed defect (invalid)

upgrading to 2.3.0 fails in "making installing in doc"

Reported by: djosifovich@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.0
Keywords: Cc:
Port:

Description (last modified by mf2k (Frank Schima))

===> making install in doc
/usr/bin/install -c -d -o macports -g 42051 -m 0755 "/Realms/MEI/desert-plateau/Tools/MacPorts/opt/local"
/usr/bin/install -c -d -o macports -g 42051 -m 0755 "/Realms/MEI/desert-plateau/Tools/MacPorts/opt/local/etc/macports"
< prefix.mtree /usr/sbin/mtree -U -e -p "/Realms/MEI/desert-plateau/Tools/MacPorts/opt/local" > /dev/null
mtree: line 6: unknown group 42051
make[1]: *** [install] Error 1
make: *** [install] Error 1
Command failed: cd /Realms/MEI/desert-plateau/Tools/MacPorts/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/Realms/MEI/desert-plateau/Tools/MacPorts/opt/local --with-tclpackage=/Library/Tcl --with-install-user=macports --with-install-group=42051 --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: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

The above occurred from "sudo port -v selfupdate" on updated 10.9.3 running on MBP.

Attachments (1)

selfupdate-log.txt (467.5 KB) - added by djosifovich@… 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by djosifovich@…

Attachment: selfupdate-log.txt added

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

Component: portsbase
Description: modified (diff)
Priority: HighNormal

The Priority field is for use by Macports team members only. In the future, please use WikiFormatting

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

It seems your MacPorts prefix belongs to a group that doesn't exist on your system. Please change the group of /Realms/MEI/desert-plateau/Tools/MacPorts/opt/local to one that exists on your local system and try again.

Let me know if that fixes the problem.

comment:3 Changed 10 years ago by djosifovich@…

The problem is fixed. I didn't change the GID on the files/dirs, but I fixed the "corrupted" groups's entry fixing the primary group id back to 42051. The "port selfupdate" now completes.

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

Resolution: invalid
Status: newclosed

Ok, so it sounds like this was a problem with the users and groups system of your OS, not a MacPorts problem.

Note: See TracTickets for help on using tickets.