[MacPorts] #61383: xemacs @21.4.22: *** PANIC *** Configure tests are not working - compiler is broken.

MacPorts noreply at macports.org
Thu May 9 10:56:42 UTC 2024


#61383: xemacs @21.4.22: *** PANIC *** Configure tests are not working - compiler
is broken.
-------------------------+-------------------------------------------------
  Reporter:  ryandesign  |      Owner:  dstrubbe
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.99
Resolution:              |   Keywords:  catalina bigsur monterey ventura
      Port:  xemacs      |  sonoma
-------------------------+-------------------------------------------------

Comment (by ryandesign):

 Replying to [ticket:61383 ryandesign]:
 > {{{
 > config.log-configure:3593: checking for ANSI C header files
 > config.log-configure:3604: ccache /usr/bin/clang -E -I/opt/local/include
 -I/opt/local/include  -I/opt/local/include     conftest.c >/dev/null
 2>conftest.out
 > config.log-configure:3668: ccache /usr/bin/clang -o conftest -pipe -Os
 -Werror=implicit-function-declaration -std=gnu89 -arch x86_64
 -I/opt/local/include  -I/opt/local/include      -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-no_pie -Xlinker -arch -Xlinker
 x86_64  -L/opt/local/lib     conftest.c           1>&5
 > config.log:configure:3663:67: error: implicitly declaring library
 function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror
 ,-Wimplicit-function-declaration]
 > config.log-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER
 (i)) exit(2);
 > config.log-
 ^
 > config.log-configure:3663:67: note: include the header <stdlib.h> or
 explicitly provide a declaration for 'exit'
 > config.log-1 error generated.
 > }}}

 This particular error is due to a bug in autoconf itself, so all configure
 scripts generated by the buggy version of autoconf have this flaw; we've
 fixed it in hundreds of different ports by now, so it would be just as
 easy to fix in this port. There are likely additional problems beyond this
 one, since this version of xemacs is 15 years old. But if for some reason
 we really do want to stay with that version, anyone can work on patching
 it.

 David, do you still want to maintain this port and your other ports? You
 haven't responded to this ticket in 3.5 years and you haven't committed to
 the macports-ports repository in 1.5 years.

-- 
Ticket URL: <https://trac.macports.org/ticket/61383#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list