Opened 8 years ago

Closed 8 years ago

#37496 closed defect (fixed)

openmotif @2.3.4_0 build fails due to automake 1.13.1

Reported by: mndavidoff (Monte Davidoff) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: openmotif

Description

The openmotif build broke due to changes in automake 1.13.1.

$ sudo port -vs install openmotif
...
--->  Configuring openmotif
configure.ac:39: error: 'AM_PROG_CC_STDC': this macro is obsolete.
    You should simply use the 'AC_PROG_CC' macro instead.
    Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
    but upon 'ac_cv_prog_cc_stdc'.
/opt/local/share/aclocal-1.13/obsolete-err.m4:17: AM_PROG_CC_STDC is expanded from...
configure.ac:39: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
...

From the automake 1.13.1 changelog:

  - Use of the obsolete macros AM_CONFIG_HEADER or AM_PROG_CC_STDC now
    causes a clear and helpful error message, instead of obscure ones
    (issue introduced in Automake 1.13).

The attached patch appears to fix the problem.

Attachments (2)

main.log.gz (6.3 KB) - added by mndavidoff (Monte Davidoff) 8 years ago.
patch-automake-1.13.diff.diff (515 bytes) - added by mndavidoff (Monte Davidoff) 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

Changed 8 years ago by mndavidoff (Monte Davidoff)

comment:1 Changed 8 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:2 Changed 8 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.