Opened 10 months ago

Closed 10 months ago

Last modified 5 months ago

#59899 closed defect (fixed)

stack @2.1.3_1 fails to install, reports "Failed to checksum stack: xinstall: Unknown user macports"

Reported by: codebrewer (Mark Scott) Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: cjones051073 (Chris Jones)
Port: stack


macOS Catalina 10.15.2

Xcode 11.3 (11C29)

MacPorts 2.6.2 installed using:

export PATH=/bin:/sbin:/usr/bin:/usr/sbin
./configure --with-no-root-privileges --prefix=${MP_PREFIX} --with-applications-dir=${MP_PREFIX}/Applications --without-startupitems --enable-readline --enable-shared
make install

Attempting to install shellcheck pulls stack in as a dependency but the stack installation fails with:

DEBUG: Executing proc-pre-org.macports.checksum-checksum-0
Error: Failed to checksum stack: xinstall: Unknown user macports
DEBUG: Error code: NONE
DEBUG: Backtrace: xinstall: Unknown user macports
    while executing
"$pre $targetname"
Error: See /Users/mark/MacPorts/var/macports/logs/_Users_mark_MacPorts_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stack/stack/main.log for details.

main.log from running port -dt install stack attached. dscl . list /users confirms the macports user doesn't exist.

I see the same error on a machine with MacPorts 2.6.2, macOS Mojave 10.14.6 and Xcode 10.3 (10G8).

Shout if I can provide any more info!

Attachments (1)

main.log (74.8 KB) - added by codebrewer (Mark Scott) 10 months ago.

Download all attachments as: .zip

Change History (7)

Changed 10 months ago by codebrewer (Mark Scott)

Attachment: main.log added

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

Cc: essandess removed
Owner: set to essandess
Status: newassigned

comment:2 Changed 10 months ago by jmroot (Joshua Root)

Cc: cjones051073 added

The bug is in the gpg_verify portgroup and so would affect all ports using it. I'm not sure why it's considered necessary to add a gnupg2 dependency for all users of these ports instead of relying on the checksums like other ports.

comment:4 Changed 10 months ago by codebrewer (Mark Scott)

Many thanks for fixing - I've successfully installed stack now.

comment:5 Changed 10 months ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

comment:6 Changed 5 months ago by essandess (Steve Smith)

In 569f76b146a5436aa49822c3397548a5e3cbaafe/macports-ports (dar, master, py38-reproject, revert-6945-rust-1.43.0, wireshark):

Note: See TracTickets for help on using tickets.