Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#7214 closed defect (wontfix)

Absolute symlinks in /opt/local/var/db/dports/build/...

Reported by: n3npq@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.2
Keywords: Cc: markd@…
Port:

Description (last modified by jmpp@…)

Absolute symlinks prevent backup/restore of /opt to a different path.

Well "prevent" is too strong, but I believe relative links are more flexible and hence preferred.

PITA, yes.

$ ls -al /Volumes/Mac\ OS\ X/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_kde_kde-i18n-fr/work/destroot/opt/local/share/doc/kde/fr/kruler/common
lrwxr-xr-x   1 root  admin  34 Jan 28 06:09 /Volumes/Mac OS X/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_kde_kde-i18n-fr/work/destroot/opt/local/share/doc/kde/fr/kruler/common -> /opt/local/share/doc/kde/fr/common

Change History (4)

comment:1 Changed 15 years ago by blb@…

The stuff under ${prefix}/var/db/dports/build is transient (should be cleaned by default after installing stuff), not sure why it's staying around for you.

comment:2 Changed 15 years ago by n3npq@…

The symlinks are staying around because I'm doing

port -k installl port rpmpackage

as separate steps.

comment:3 Changed 14 years ago by markd@…

Cc: markd@… added
Resolution: wontfix
Status: newclosed

The transient link method is preferred for a variety of advantages it provides, so this won't be fixed.

comment:4 Changed 13 years ago by jmpp@…

Description: modified (diff)
Note: See TracTickets for help on using tickets.