#61261: grace: Processing of port grace failed. Failed to configure grace

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

#61261: grace: Processing of port grace failed. Failed to configure grace

macports-4
#61261: grace: Processing of port grace failed. Failed to configure grace
-----------------------+--------------------
 Reporter:  andresbsa  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.3
 Keywords:             |       Port:  grace
-----------------------+--------------------
 I am trying to install grace on Catalina, but I get the following error:

 {{{
 --->  Configuring grace
 Error: Failed to configure grace, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_grace/grace/work/grace-5.1.25/config.log
 Error: Failed to configure grace: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_grace/grace/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port grace failed
 }}}

 I'm a beginner so I don't know what to look for in the .log files. Sorry
 :(

--
Ticket URL: <https://trac.macports.org/ticket/61261>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace: Processing of port grace failed. Failed to configure grace

macports-4
#61261: grace: Processing of port grace failed. Failed to configure grace
------------------------+--------------------
  Reporter:  andresbsa  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:
      Port:  grace      |
------------------------+--------------------
Changes (by andresbsa):

 * Attachment "main.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/61261>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace: Processing of port grace failed. Failed to configure grace

macports-4
In reply to this post by macports-4
#61261: grace: Processing of port grace failed. Failed to configure grace
------------------------+--------------------
  Reporter:  andresbsa  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:
      Port:  grace      |
------------------------+--------------------
Changes (by andresbsa):

 * Attachment "config.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/61261>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #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-4
In reply to this post by macports-4
#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
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#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:  xcode12
      Port:  grace      |
------------------------+---------------------
Changes (by mf2k):

 * keywords:   => xcode12


--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:
      Port:  grace      |
------------------------+------------------------
Changes (by ryandesign):

 * status:  new => accepted
 * owner:  (none) => ryandesign
 * keywords:  xcode12 =>


--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12
      Port:  grace      |
------------------------+------------------------
Changes (by ryandesign):

 * keywords:   => xcode12


--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12
      Port:  grace      |
------------------------+------------------------

Comment (by andresbsa):

 Replying to [comment:2 mf2k]:

 I have Xcode version 11.7. Should I try downgrading to a previous version
 still?

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12
      Port:  grace      |
------------------------+------------------------

Comment (by ryandesign):

 If you have Xcode 11.7 and are experiencing the problem, then you have the
 Xcode 12 command line tools and downgrading to the Xcode 11.5 command line
 tools would work around the problem.

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12
      Port:  grace      |
------------------------+------------------------

Comment (by andresbsa):

 Replying to [comment:6 ryandesign]:
 > If you have Xcode 11.7 and are experiencing the problem, then you have
 the Xcode 12 command line tools and downgrading to the Xcode 11.5 command
 line tools would work around the problem.

 Indeed it worked. Thank you very much for your support.

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------
Changes (by ryandesign):

 * keywords:  xcode12 => xcode12 catalina bigsur
 * cc: Quarkyonic, cjones051073 (added)


Comment:

 Has duplicate #61552.

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------

Comment (by bernstei):

 If anyone else more familiar with the port has time to look at it, I'm
 pretty sure that it's easy to fix.  At least to get past the immediate
 problem you just need to patch configure (around line 9553) to get rid of
 the call to XmRegisterConverters (apparently an internal motif function
 that isn't supposed to be called anyway
 ([https://groups.google.com/g/comp.windows.x/c/26_NXxPPPhY]), and to
 "#include <stdlib.h>".  I'll try to attach my patch.

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------
Changes (by bernstei):

 * Attachment "configure.patch" added.

 configure patch to fix motif functionality testing

--
Ticket URL: <https://trac.macports.org/ticket/61261>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------

Comment (by ryandesign):

 Yes, I was working on it... I need to finish it up.

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------
Changes (by ryandesign):

 * cc: erikssorensen (added)


Comment:

 Has duplicate #61793.

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------

Comment (by bernstei):

 Hi Ryan - any progress in finishing the patch?

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------

Comment (by valerie-vallet):

 I have the same error. Is the patch ready ?
 Thanks for your help

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------
Changes (by ryandesign):

 * cc: valerie-vallet (added)


Comment:

 Has duplicate #62357.

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:  fixed      |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------
Changes (by ryandesign):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8e5162b8e36511d287b5e7ee70470c7dd1242a9e/macports-ports"
 8e5162b8e36511d287b5e7ee70470c7dd1242a9e/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="8e5162b8e36511d287b5e7ee70470c7dd1242a9e"
 grace: Fix implicit declaration of functions

 Closes: https://trac.macports.org/ticket/61261

 Fix netcdf variant so that it actually uses netcdf by removing a patch
 of unknown purpose that has been in the port since the netcdf variant
 was added:

 See: https://trac.macports.org/ticket/16910

 Fix port to ensure that netcdf support is not included unless the netcdf
 variant is selected.

 Add size to checksums.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/61261#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #61261: grace @5.1.25: configure: error: M*tif has not been found

macports-4
In reply to this post by macports-4
#61261: grace @5.1.25: configure: error: M*tif has not been found
------------------------+-------------------------------------
  Reporter:  andresbsa  |      Owner:  ryandesign
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:  fixed      |   Keywords:  xcode12 catalina bigsur
      Port:  grace      |
------------------------+-------------------------------------

Comment (by valerie-vallet):

 Thanks for the fix

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