Opened 10 years ago
Closed 10 years ago
#45933 closed defect (fixed)
opendx autoreconf failure
Reported by: | Schamschula (Marius Schamschula) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | haspatch | Cc: | grobe@…, ryandesign (Ryan Carsten Schmidt) |
Port: | opendx |
Description
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.
Attachments (2)
Change History (7)
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile-opendx.diff added |
---|
comment:1 follow-up: 2 Changed 10 years ago by mf2k (Frank Schima)
Changed 10 years ago by mf2k (Frank Schima)
comment:2 follow-up: 3 Changed 10 years ago by larryv (Lawrence Velázquez)
It’s trying to create a directory outside the destroot. The build should be fixed to not do this.
comment:3 Changed 10 years ago by Schamschula (Marius Schamschula)
Replying to 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.
comment:4 follow-up: 5 Changed 10 years ago 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?
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | grobe@… ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Replying to 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 mschamschula@…:
Replying to 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 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.
This gets further but fails at staging for me on Mavericks (10.9.5).