#55654 closed defect (fixed)
/opt/local/var/macports/-p
Reported by: | janstary (Jan Starý) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.99 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | udunits2, libxl, appbundler, jabref, mozplugger, bitcoin |
Description
Every now and then, a directory named /opt/local/var/macports/-p
appears on my system.
It's empty, always quite new, and I always delete it.
On my system, which is MacOS 10.13.2, mkdir foo -p bar
does create those three dirs.
I suppose it's a stray mkdir $whatever -p
somewhere, but haven't found it.
Change History (16)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Are you running 2.4.2 or the latest from GitHub?
comment:4 Changed 7 years ago by mf2k (Frank Schima)
Version: | → 2.4.99 |
---|
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to janstary:
Every now and then, a directory named
/opt/local/var/macports/-p
appears on my system.
Yes, I've seen that on my system well, running MacPorts 2.4.2. The buildbot workers also run MacPorts 2.4.2 and also have a "-p" directory there and also a "644" directory. I would guess it's not MacPorts but some Portfile or some port's build system that's doing that.
comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:7 follow-up: 16 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
I've traced the -p
directories back to the bitcoin and mozplugger ports, both of which do file mkdir -p
. The Tcl file mkdir
procedure does not accept a -p
argument. If that behavior (creating intermediate directories) is desired, use the MacPorts xinstall -d
procedure instead.
comment:8 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:9 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:10 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:11 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:12 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:13 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:14 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | base → ports |
---|---|
Port: | udunits2 libxl appbundler jabref mozplugger bitcoin added |
Resolution: | → fixed |
Status: | new → closed |
That's all the improper use of modes and flags I could find.
comment:16 Changed 7 years ago by jmroot (Joshua Root)
Replying to ryandesign:
The Tcl
file mkdir
procedure does not accept a-p
argument. If that behavior (creating intermediate directories) is desired, use the MacPortsxinstall -d
procedure instead.
file mkdir
actually always behaves like mkdir -p
.
That has never happened for me. However the files in that directory on my machines have varying ownerships (root, macports and my local account) and groups (admin and polkituser (?!?)) which is unexpected.