Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#60126 closed enhancement (fixed)

'port reclaim' should clean out /opt/local/var/macports/build

Reported by: McDutchie (Martijn Dekker) Owned by: Kurt Hindenburg <kurt.hindenburg@…>
Priority: Normal Milestone: MacPorts 2.7.0
Component: base Version:
Keywords: Cc: kurthindenburg (Kurt Hindenburg), mascguy (Christopher Nielsen)
Port:

Description

I just found years-old build directories in my /opt/local/var/macports/build, uselessly occupying hundreds of megabytes. I regularly run port reclaim but it doesn't touch these. This seems counterintuitive. I would like to request that it clean up old build directories as well.

Change History (7)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.7.0MacPorts Future

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Keywords: reclaim cleanup removed
Version: 2.6.2

comment:3 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

comment:4 Changed 4 years ago by Kurt Hindenburg <kurt.hindenburg@…>

Owner: set to Kurt Hindenburg <kurt.hindenburg@…>
Resolution: fixed
Status: newclosed

In b9fdb847990736cae8080dcd8f47b33a6fe1c6b3/macports-base (master):

reclaim: remove portdbpath/build directory (https://github.com/macports/macports-base/pull/175)

Ask the user if they want to delete the build location. This will also
remove the default ccache location.

Closes: #60126

comment:5 Changed 4 years ago by Kurt Hindenburg <kurt.hindenburg@…>

In d08d261f93844cea87f602e1f295e8a0ddc83bde/macports-base (master):

reclaim: separate removing build and ccache locations (https://github.com/macports/macports-base/pull/178)

Do not actually remove the build and ccache locations, only the files
and folders underneath.
A followup to the discussions in (https://github.com/macports/macports-base/pull/175)

See #60126

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

Milestone: MacPorts FutureMacPorts 2.7.0

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.