non-root user fixed, but "port clean" fails

Stephan stephan80 at mac.com
Thu Oct 16 04:16:55 PDT 2008


Hi Bryan.
Thanks for your concern. It turned out that this error was _very_ weird and it had to do with those directories being no real directories on the darwin system. I still dont know why that was, but reinstalling the whole thing helped. So thats fixed.

But I faced another issue:

I installed some packages, which worked, but each time it cleans up, the cleaning fails. The same thing happens if I run "port clean" on its own. Here is an example:


mac14:~/BioData/UCSC stschiff$ port -d clean gsl
DEBUG: Found port in file:///NetUsers/stschiff/macports/var/macports/sources/rsync.macports.org/release/ports/math/gsl
DEBUG: Changing to port directory: /NetUsers/stschiff/macports/var/macports/sources/rsync.macports.org/release/ports/math/gsl
DEBUG: Requested variant powerpc is not provided by port gsl.
DEBUG: Requested variant darwin is not provided by port gsl.
DEBUG: Requested variant macosx is not provided by port gsl.
DEBUG: Skipping org.macports.main (gsl) since this port is already installed
--->  Cleaning gsl
DEBUG: Executing org.macports.clean (gsl)
--->  Removing build directory for gsl
DEBUG: Removing directory: /NetUsers/stschiff/macports/var/macports/build/_NetUsers_stschiff_macports_var_macports_sources_rsync.macports.org_release_ports_math_gsl
DEBUG: delete: /NetUsers/stschiff/macports/var/macports/build/_NetUsers_stschiff_macports_var_macports_sources_rsync.macports.org_release_ports_math_gsl
DEBUG: error deleting "/NetUsers/stschiff/macports/var/macports/build/_NetUsers_stschiff_macports_var_macports_sources_rsync.macports.org_release_ports_math_gsl/work": file already exists
    while executing
"file delete -force -- $file"
    invoked from within
"fs-traverse -depth file $args {
        file delete -force -- $file
        continue
    }"
    (procedure "delete" line 3)
    invoked from within
"delete $portbuildpath"
Error: error deleting "/NetUsers/stschiff/macports/var/macports/build/_NetUsers_stschiff_macports_var_macports_sources_rsync.macports.org_release_ports_math_gsl/work": file already exists
DEBUG: Removing symlink: /NetUsers/stschiff/macports/var/macports/sources/rsync.macports.org/release/ports/math/gsl/work
DEBUG: delete: /NetUsers/stschiff/macports/var/macports/sources/rsync.macports.org/release/ports/math/gsl/work
mac14:~/BioData/UCSC stschiff$ 


I tried to clean this directory by hand, just removing the PREFIX/var/macports/build directory including subdirectories in the Finder. That works of course, but then running a port clean command again (and expecting something like "nothing to be done here") will actually CREATE this directory once more, complaining afterwards with the same error-message from above. Any hints?
Thanks a lot.

Regards,
Stephan


More information about the macports-users mailing list