[MacPorts] #45933: opendx autoreconf failure
#45933: opendx autoreconf failure ----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Keywords: haspatch | Port: opendx ----------------------------+-------------------------------- Under Yosemite (and likely Mavericks with Xcode 6.1) opendx fails the autoreconf stage, as automake lacks the --add-missing argument. This issue is fixed by adding -i to autoreconf.args. -- Ticket URL: <https://trac.macports.org/ticket/45933> MacPorts <https://www.macports.org/> Ports system for OS X
#45933: opendx autoreconf failure -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: haspatch Port: opendx | -----------------------------+-------------------------------- Comment (by mf2k@…): This gets further but fails at staging for me on Mavericks (10.9.5). {{{ :info:destroot mkdir -p /opt/local/dx/java/server/nets :info:destroot mkdir: /opt/local/dx/java/server/nets: Operation not permitted }}} -- Ticket URL: <https://trac.macports.org/ticket/45933#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#45933: opendx autoreconf failure -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: haspatch Port: opendx | -----------------------------+-------------------------------- Comment (by larryv@…): It’s trying to create a directory outside the destroot. The build should be fixed to not do this. -- Ticket URL: <https://trac.macports.org/ticket/45933#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#45933: opendx autoreconf failure -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: haspatch Port: opendx | -----------------------------+-------------------------------- Comment (by 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 ported CISM_DX http://cism.hao.ucar.edu/cismdx/ to the Mac platform) I think using {{{destroot.violate_mtree yes}}} might be a better option. -- Ticket URL: <https://trac.macports.org/ticket/45933#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#45933: opendx autoreconf failure -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: haspatch Port: opendx | -----------------------------+-------------------------------- Comment (by 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? -- Ticket URL: <https://trac.macports.org/ticket/45933#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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
participants (1)
-
MacPorts