#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 |
Description
macOS Catalina 10.15.2
Xcode 11.3 (11C29)
MacPorts 2.6.2 installed using:
export PATH=/bin:/sbin:/usr/bin:/usr/sbin MP_PREFIX=/Users/mark/MacPorts ./configure --with-no-root-privileges --prefix=${MP_PREFIX} --with-applications-dir=${MP_PREFIX}/Applications --without-startupitems --enable-readline --enable-shared make 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)
Change History (7)
Changed 5 years ago by codebrewer (Mark Scott)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
Cc: | essandess removed |
---|---|
Owner: | set to essandess |
Status: | new → assigned |
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Cc: | cjones051073 added |
---|
comment:3 Changed 5 years ago by essandess (Steve Smith)
comment:4 Changed 5 years ago by codebrewer (Mark Scott)
Many thanks for fixing - I've successfully installed stack now.
comment:5 Changed 5 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 4 years 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.
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.