#45933: opendx autoreconf failure -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: fixed | Keywords: haspatch Port: opendx | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: grobe@…, ryandesign@… (added) * resolution: => fixed Comment: Replying to [comment:1 mf2k@…]:
{{{ :info:destroot mkdir -p /opt/local/dx/java/server/nets :info:destroot mkdir: /opt/local/dx/java/server/nets: Operation not permitted }}}
This is #39098. Replying to [comment:3 mschamschula@…]:
Replying to [comment:2 larryv@…]:
It’s trying to create a directory outside the destroot. The build should be fixed to not do this.
It may be possible to do this, but be forewarned, dx has a very specific directory structure, and does not take kindly to anyone making changes.
(I know this from my own experience, having done the first port of CISM_DX http://cism.hao.ucar.edu/cismdx/ to the Mac platform. Sidenote: later versions actually used MacPorts to build opendx and octave)
I think using {{{destroot.violate_mtree yes}}} might be a better option.
opendx does have a nonstandard directory structure, and we should add `destroot.violate_mtree yes` to indicate that. But it will not help with this problem, which is that the port is trying to install files outside of the destroot entirely, which is not permissible. The port ''must'' be changed to install inside the destroot. Replying to [comment:4 grobe@…]:
I just tried to install opendx, and got the error that was at the beginning of this ticket, and do not reach the later problem about creating a directory outside destroot:
{{{ :info:configure src/exec/dpexec/Makefile.am: error: required file './depcomp' not found :info:configure src/exec/dpexec/Makefile.am: 'automake --add-missing' can install 'depcomp' }}}
Does this mean that the first patch did not make it into the distribution yet?
An equivalent change was committed in r132883. -- Ticket URL: <https://trac.macports.org/ticket/45933#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X