Opened 4 years ago

Last modified 4 years ago

#62382 new defect

port mpkg iperf3 fails to create work/destroot/ directories — at Version 3

Reported by: flyleafhopper Owned by:
Priority: Normal Milestone:
Component: base Version: 2.6.4
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

4 times I had to restart sudo port mpkg iperf3 (once for each dependency), because of error message

Specified root path "/opt/local/var/macports/build/.../.../work/destroot" does not exist.

It was simple enough to manually create the directory and restart with sudo port mpkg iperf3.

The final result (after 4 mkdir and restart) looks good:

 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_iperf3/iperf3/work/mpkg_packages:
 macports    1590  3 Mar 16:22 iperf3-3.9-component.pkg
 root        1610  3 Mar 16:21 openssl-1.1.1j-component.pkg
 root       15392  3 Mar 16:21 openssl-1.1.1j.pkg
 root        1591  3 Mar 16:22 zlib-1.2.11-component.pkg
 root       15288  3 Mar 16:22 zlib-1.2.11.pkg

port mpkg should automatically create appropriate "work/destroot" directories.

Change History (7)

Changed 4 years ago by flyleafhopper

Attachment: mpkg-iperf3-iperf3.log.txt added

main.log from first failure

Changed 4 years ago by flyleafhopper

Attachment: mpkg-iperf3-openssl.log.txt added

main.log from second failure

Changed 4 years ago by flyleafhopper

Attachment: mpkg-iperf3-zlib.log.txt added

main.log from third failure

Changed 4 years ago by flyleafhopper

log of terminal session

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

Description: modified (diff)
Keywords: mpkg removed

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

Description: modified (diff)
Keywords: mpkg added

The problem is this:

Skipping unarchive (iperf3) since no suitable archive found

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

Description: modified (diff)
Keywords: mpkg removed

Most users using sudo port pkg/mpkg/dmg/mdmg would not have encountered this issue because when you are making a pkg for distribution you should not do so in a MacPorts installation set to /opt/local prefix, and when you aren't using /opt/local prefix you won't get our precompiled binary archives.

Note: See TracTickets for help on using tickets.