port clean --logs does not clean logs?
Jeremy Lavergne
jeremy at lavergne.me
Thu Mar 30 20:47:15 UTC 2017
The difference in paths indicates the logs you see are from the default
prefix, but you have since configured MacPorts to use a different prefix.
/opt/local versus /opt/mports
On 03/30/2017 12:26 PM, Jan Stary wrote:
> hans at macbook:~$ find /opt/local/var/macports/logs
> /opt/local/var/macports/logs
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mutt
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mutt/mutt
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mutt/mutt/main.log
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/main.log
>
> hans at macbook:~$ sudo port -d clean --logs mutt
> DEBUG: Changing to port directory: /opt/mports/macports-ports/mail/mutt
> DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386
> DEBUG: Sourcing PortGroup obsolete 1.0 from /opt/mports/macports-ports/_resources/port1.0/group/obsolete-1.0.tcl
> DEBUG: only one arch supported, so not adding the default universal variant
> DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
> DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
> DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
> DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
> DEBUG: Executing org.macports.main (mutt)
> DEBUG: clean phase started at Thu Mar 30 18:23:21 CEST 2017
> ---> Cleaning mutt
> DEBUG: Executing org.macports.clean (mutt)
> DEBUG: No log directory found to remove at /opt/local/var/macports/logs/_opt_mports_macports-ports_mail_mutt
>
> hans at macbook:~$ ls -l /opt/local/var/macports/logs//_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mutt/mutt/main.log
> -rw-r--r-- 1 root admin 2284 Mar 29 16:07 /opt/local/var/macports/logs//_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mutt/mutt/main.log
>
>
> Am I missing something obvious?
>
> Jan
>
More information about the macports-users
mailing list