How to avoid file system violation during destrooting

Marko Käning mk-macports at posteo.net
Fri Jun 26 19:30:25 PDT 2015


On 27 Jun 2015, at 04:21 , Joshua Root <jmr at macports.org> wrote:
> I don't think that's right, the port would not successfully finish
> destroot if that was installing straight to ${prefix} and being stopped
> by sandboxing. The message in the ticket is complaining about an mtree
> violation. /opt/local/mkspecs is not part of the standard filesystem
> layout, see porthier(7).

OK…


> If you really have to, you can set destroot.violate_mtree, but it would
> be much preferable to install to somewhere like ${prefix}/share/mkspecs
> instead.

Thanks very much, Josh, since this
---
configure.args-append -DECM_MKSPECS_INSTALL_DIR=${prefix}/share
---
did that trick!

:-)


More information about the macports-dev mailing list