Opened 5 days ago

Closed 4 days ago

Last modified 4 days ago

#71011 closed defect (fixed)

unarchive target does not work with portimage_mode directory

Reported by: blakehodder (Blake Hodder) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts Future
Component: base Version: 2.10.2
Keywords: Cc: blakehodder (Blake Hodder)
Port:

Description

After having the macos updated to 14.6.1 sudo port install [port] will succeed but any sudo port mpkg [port] will fail with the following error:

pkgbuild: error: Specified root path "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_shells_bash/bash/work/destroot" does not exist.

The mpkg never creates the destroot dir and fails to create the binary.

Have tried on several machines and clean installs.

Attachments (1)

main.log (37.1 KB) - added by blakehodder (Blake Hodder) 5 days ago.

Download all attachments as: .zip

Change History (4)

Changed 5 days ago by blakehodder (Blake Hodder)

Attachment: main.log added

comment:1 Changed 4 days ago by jmroot (Joshua Root)

Keywords: sonoma arm64 removed
Port: any removed
Summary: macports-base 2.10.2 Specified root path does not existunarchive target does not work with portimage_mode directory

The attached log doesn't appear to show anything failing, but I think I see what the problem probably is.

comment:2 Changed 4 days ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In c3c817e05df701184887fe34d65a39ad7f62d37a/macports-base (master):

Fix incorrect portimage_mode directory handling

Specifically in the archivefetch and unarchive targets. The latter not
working was affecting its dependents like pkg and mpkg.

Closes: #71011

comment:3 Changed 4 days ago by jmroot (Joshua Root)

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