Opened 5 years ago

Closed 5 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 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)

Portfile-opendx.diff (328 bytes) - added by Schamschula (Marius Schamschula) 5 years ago.
main.log (2.6 MB) - added by mf2k (Frank Schima) 5 years ago.

Change History (7)

Changed 5 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-opendx.diff added

comment:1 Changed 5 years ago by mf2k (Frank Schima)

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

Changed 5 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:2 in reply to:  1 ; Changed 5 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 in reply to:  2 Changed 5 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.

Last edited 5 years ago by Schamschula (Marius Schamschula) (previous) (diff)

comment:4 Changed 5 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?

Last edited 5 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:5 in reply to:  4 Changed 5 years ago by ryandesign (Ryan Schmidt)

Cc: grobe@… ryandesign@… added
Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.