[MacPorts] #50918: buildbot-slave: file mkdir in post-extract creates a dir owned by root
MacPorts
noreply at macports.org
Fri Mar 18 04:43:51 PDT 2016
#50918: buildbot-slave: file mkdir in post-extract creates a dir owned by root
-----------------------------+-------------------
Reporter: mojca@… | Owner: cal@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.4
Resolution: | Keywords:
Port: buildbot-slave |
-----------------------------+-------------------
Description changed by mojca@…:
Old description:
> The `buildbot-slave` port is broken:
> {{{
> Error: reinplace: error copying
> "/path/to/work/.tmp/org.macports.buildslave.template.plist.sed.n5fhoMQm"
> to "/path/to/work/buildbot-
> slave-0.8.12/macports/org.macports.buildslave.template.plist": permission
> denied
> Error: org.macports.patch for port buildbot-slave returned: reinplace
> copy failed
> }}}
>
> I'm not sure if the port should use a different syntax or if this is a
> bug in base (or if I did something wrong).
>
> These are the files/folders that I end up in `${worksrcpath}`.
> {{{
> ...
> drwxr-xr-x 3 macports admin 102 21 Apr 2015 docs
> drwxr-xr-x 3 root admin 102 18 Mar 11:45 macports
> -rw-r--r-- 1 macports admin 37 21 Apr 2015 setup.cfg
> -rwxr-xr-x 1 macports admin 4830 21 Apr 2015 setup.py
> }}}
>
> I installed MacPorts by running `./configure --prefix=/costum/prefix &&
> make && sudo make install` in the sources for 2.3.4.
New description:
The `buildbot-slave` port is broken:
{{{
Error: reinplace: error copying
"/path/to/work/.tmp/org.macports.buildslave.template.plist.sed.n5fhoMQm"
to "/path/to/work/buildbot-
slave-0.8.12/macports/org.macports.buildslave.template.plist": permission
denied
Error: org.macports.patch for port buildbot-slave returned: reinplace copy
failed
}}}
I'm not sure if the port should use a different syntax or if this is a bug
in base (or if I did something wrong).
These are the files/folders that I end up in `${worksrcpath}`.
{{{
...
drwxr-xr-x 3 macports admin 102 21 Apr 2015 docs
drwxr-xr-x 3 root admin 102 18 Mar 11:45 macports
-rw-r--r-- 1 macports admin 37 21 Apr 2015 setup.cfg
-rwxr-xr-x 1 macports admin 4830 21 Apr 2015 setup.py
}}}
This seems to be fixed in trunk, but not in the released version. See:
* https://build.macports.org/builders/buildports-snowleopard-
x86_64/builds/40851
* https://build.macports.org/builders/buildports-elcapitan-
x86_64/builds/438
--
--
Ticket URL: <https://trac.macports.org/ticket/50918#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list