buildbot: ./configure: line 27: /dev/null: Permission denied

Joshua Root jmr at macports.org
Sun Oct 7 12:40:16 PDT 2012


On 2012-10-7 13:56 , Ryan Schmidt wrote:
> 
> We've had the problem before of ports deleting /dev/null, with qt4-mac:
> 
> https://trac.macports.org/ticket/22701
> 
> And git-core:
> 
> https://trac.macports.org/ticket/33127
> 
> The problem occurs when a port compiles a test with "-o /dev/null", because although that will discard the output file, which is what's wanted, it will also *delete* the output file (i.e. delete /dev/null) if the test fails. Since we only saw this problem on Snow Leopard I guess only gcc does that, and clang doesn't.

How does gcc, running as the macports user, have permission to modify
/dev anyway?

- Josh


More information about the macports-dev mailing list