#66993 closed defect (fixed)

retdec/retdec-devel - multiple directories throwing extract.rename error

Reported by: jessiepurser (Jessie Purser) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: retdec

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

M1 Ventura 13.1 (22C65)

> sudo port install retdec

--->  Computing dependencies for retdec
--->  Extracting retdec
Error: Failed to extract retdec: extract.rename: multiple directories exist in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work/capstone-5.0-rc2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work/llvm-2a1f3d8a97241c6e91710be8f84cf3cf80c03390 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work/keystone-d7ba8e378e5284e6384fc9ecd660ed5f6532e922 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work/avast-retdec-53e55b4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work/googletest-90a443f9c2437ca8a682a1ac625eba64e1d74a8a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work/yara-4.2.0-rc1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/work/yaramod-a367d910ae79698e64e99d8414695281723cd34b
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_retdec/retdec/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port retdec failed

The Portfile for retdec v4 installs as expected.

Change History (3)

comment:1 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to catap
Status: newassigned

Well, what "broke" it was MacPorts 2.8.1. MacPorts 2.6.0 through 2.8.0 included code that handled this situation automatically but it was decided that it broke too many things so it was taken out and now ports have to handle it individually.

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

The github portgroup had its own renaming code which I thought was redundant now, but it's been stated that it handled this situation. Please feel free to restore it if that is the case. See: comment:ticket:67058:4

comment:3 Changed 19 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 0b84720bbf5ffd809dceb51c9b58d31e8e111b6b/macports-ports (master):

retdec-devel: update to 20230404

Closes: #66993

Note: See TracTickets for help on using tickets.