[MacPorts] #61261: grace @5.1.25: configure: error: M*tif has not been found (was: grace: Processing of port grace failed. Failed to configure grace)

MacPorts noreply at macports.org
Fri Oct 2 17:16:26 UTC 2020


#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+--------------------
  Reporter:  andresbsa  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:
      Port:  grace      |
------------------------+--------------------

Comment (by ryandesign):

 The error in the main.log is:

 {{{
 configure: error: M*tif has not been found
 }}}

 The reason why from the config.log is:

 {{{
 configure:9531: checking for a Motif >= 1002 compatible API
 configure:9569: /usr/bin/clang -o conftest  -I/opt/local/include  -pipe
 -O1 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64  -I/opt/local/include -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64 conftest.c -lXm -lXpm -lXp -lXmu -lXt -lXext -lX11  -lSM
 -lICE  >&5
 conftest.c:110:9: error: implicit declaration of function
 'XmRegisterConverters' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
         XmRegisterConverters();
         ^
 conftest.c:110:9: note: did you mean 'XtRegisterCaseConverter'?
 /opt/local/include/X11/Intrinsic.h:811:13: note: 'XtRegisterCaseConverter'
 declared here
 extern void XtRegisterCaseConverter(
             ^
 conftest.c:113:11: error: implicitly declaring library function 'exit'
 with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-
 function-declaration]
           exit(1);
           ^
 conftest.c:113:11: note: include the header <stdlib.h> or explicitly
 provide a declaration for 'exit'
 2 errors generated.
 }}}

 Implicit function declarations are now an error as of Xcode 12. We should
 fix this but until we do you can avoid the problem by downgrading to Xcode
 11 and/or the Xcode 11 command line tools.

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


More information about the macports-tickets mailing list