On Sat, Nov 10, 2018 at 03:47:26PM -0600, Ryan Schmidt wrote: > You could also have the script run `lsof | grep /opt/local` to see > what files in /opt/local/are still open at the time of the > failure. [snip] > Xcode also loves to spawn its simulator service, even though, as far > as I know, MacPorts doesn't make use of it. Maybe the simulator > service in Xcode 10 is doing things with the preferences directory > that it did not on previous versions.
Well suggested. Once I removed the "killall -u macports" in the Makefiles and broadened the diagnostics, I found the following, which survived into an interactive session: $ sudo lsof | grep /opt/local [snip] com.apple 85084 macports 7r DIR 1,4 96 26913415 /opt/local/var/macports/home/Library $ ps auxww | grep -i com.apple [snipissimo] macports 85084 0.0 0.1 4854824 14384 ?? S 2:27pm 0:01.08 /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorService .... Bingo, for sufficiently provisional values of Bing. Much thought needed on which of several approaches to take next, and I'll need to guard against premature rejoicing, but it's the first substative Clue I've seen yet. Wish me luck, folks. PS: There were also odd icon files under /opt/local/libexec/qt5 which iconserviceagent was holding open (from a console login by sysadmin), but /opt/local/libexec no longer existed. I'll worry about whether that matters later; one problem at a time. -- Dr Martin J Carter Computer System Administrator Astrophysics, University of Oxford
