#49752: root5: port leaves unregistered files --------------------------+---------------------- Reporter: ryandesign@… | Owner: jonesc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: root5 --------------------------+---------------------- The root5 port leaves unregistered files in the MacPorts prefix of any user who has installed the root5 port. {{{ $ port installed root5 None of the specified ports are installed. $ port select root Available versions for root: none $ ls -l /opt/local/bin | grep root5 lrwxr-xr-x 1 root wheel 35 Nov 5 00:00 g2root -> /opt/local/libexec/root5/bin/g2root lrwxr-xr-x 1 root wheel 35 Nov 5 00:00 genmap -> /opt/local/libexec/root5/bin/genmap lrwxr-xr-x 1 root wheel 38 Nov 5 00:00 genreflex -> /opt/local/libexec/root5/bin/genreflex lrwxr-xr-x 1 root wheel 47 Nov 5 00:00 genreflex-rootcint -> /opt/local/libexec/root5/bin/genreflex-rootcint lrwxr-xr-x 1 root wheel 35 Nov 5 00:00 h2root -> /opt/local/libexec/root5/bin/h2root lrwxr-xr-x 1 root wheel 33 Nov 5 00:00 hadd -> /opt/local/libexec/root5/bin/hadd lrwxr-xr-x 1 root wheel 43 Nov 5 00:00 hist2workspace -> /opt/local/libexec/root5/bin/hist2workspace lrwxr-xr-x 1 root wheel 37 Nov 5 00:00 memprobe -> /opt/local/libexec/root5/bin/memprobe lrwxr-xr-x 1 root wheel 32 Nov 5 00:00 pq2 -> /opt/local/libexec/root5/bin/pq2 lrwxr-xr-x 1 root wheel 47 Nov 5 00:00 prepareHistFactory -> /opt/local/libexec/root5/bin/prepareHistFactory lrwxr-xr-x 1 root wheel 35 Nov 5 00:00 proofd -> /opt/local/libexec/root5/bin/proofd lrwxr-xr-x 1 root wheel 38 Nov 5 00:00 proofserv -> /opt/local/libexec/root5/bin/proofserv lrwxr-xr-x 1 root wheel 42 Nov 5 00:00 proofserv.exe -> /opt/local/libexec/root5/bin/proofserv.exe lrwxr-xr-x 1 root wheel 36 Nov 5 00:00 rlibmap -> /opt/local/libexec/root5/bin/rlibmap lrwxr-xr-x 1 root wheel 38 Nov 5 00:00 rmkdepend -> /opt/local/libexec/root5/bin/rmkdepend lrwxr-xr-x 1 root wheel 33 Nov 5 00:00 root -> /opt/local/libexec/root5/bin/root lrwxr-xr-x 1 root wheel 40 Nov 5 00:00 root-config -> /opt/local/libexec/root5/bin/root-config lrwxr-xr-x 1 root wheel 37 Nov 5 00:00 root.exe -> /opt/local/libexec/root5/bin/root.exe lrwxr-xr-x 1 root wheel 37 Nov 5 00:00 rootcint -> /opt/local/libexec/root5/bin/rootcint lrwxr-xr-x 1 root wheel 34 Nov 5 00:00 rootd -> /opt/local/libexec/root5/bin/rootd lrwxr-xr-x 1 root wheel 38 Nov 5 00:00 rootn.exe -> /opt/local/libexec/root5/bin/rootn.exe lrwxr-xr-x 1 root wheel 34 Nov 5 00:00 roots -> /opt/local/libexec/root5/bin/roots lrwxr-xr-x 1 root wheel 38 Nov 5 00:00 roots.exe -> /opt/local/libexec/root5/bin/roots.exe lrwxr-xr-x 1 root wheel 39 Nov 5 00:00 setxrd.csh -> /opt/local/libexec/root5/bin/setxrd.csh lrwxr-xr-x 1 root wheel 38 Nov 5 00:00 setxrd.sh -> /opt/local/libexec/root5/bin/setxrd.sh lrwxr-xr-x 1 root wheel 36 Nov 5 00:00 ssh2rpd -> /opt/local/libexec/root5/bin/ssh2rpd lrwxr-xr-x 1 root wheel 41 Nov 5 00:00 thisroot.csh -> /opt/local/libexec/root5/bin/thisroot.csh lrwxr-xr-x 1 root wheel 40 Nov 5 00:00 thisroot.sh -> /opt/local/libexec/root5/bin/thisroot.sh lrwxr-xr-x 1 root wheel 36 Nov 5 00:00 xpdtest -> /opt/local/libexec/root5/bin/xpdtest }}} This appears to be because the port runs "port select" for the user. Ports must not do that. Ports should only advise the user how to use port select. Then, I would like this fixed so that these unregistered files are removed from the systems of users who did not themselves run "port select root ...". However, I'm not sure how to do that in a way that does not affect users who did run "port select root ...". We may just leave the cleanup to #47755 which calls for MacPorts itself to remove selected files for ports that are no longer installed. -- Ticket URL: <https://trac.macports.org/ticket/49752> MacPorts <https://www.macports.org/> Ports system for OS X