#40507: Unable to clean kcachegrind --------------------------+--------------------- Reporter: istlota@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: kcachegrind | --------------------------+--------------------- Comment (by ag@…): Replying to [comment:6 nicos@…]:
The fact of making a symlink may not be sufficient, as any manual addition to the ports source would be suppressed when running selfupdate again, unless it is placed in a local port repository. Furthermore, this link may hide the other existing port devel/kcachegrind, which is the original reason for suppressing kde/kcachegrind.
One way which seemed to work for me is to manually force the full creation of a port index with: {{{ cd ${prefix}/var/macports/sources/rsync.macports.org/release/tarballs/ports sudo portindex -f }}} where ${prefix} is the Macports installation (usually /opt/local). This way is also maintained through selfupdates.
[[br]] Agree with you. I create the link just to prevent "clean" to stumble and deleted the link after "clean" have finished the job. Even not emptying everything the function will go through all ports and will not stop. [[br]] Anyway, I will recommend your steps also. -- Ticket URL: <https://trac.macports.org/ticket/40507#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X