[MacPorts] #62428: gobject-introspection @1.60.2_5 fails to configure (with fixes)

MacPorts noreply at macports.org
Thu Mar 11 07:37:01 UTC 2021


#62428: gobject-introspection @1.60.2_5 fails to configure (with fixes)
------------------------------------+--------------------
  Reporter:  dsteck                 |      Owner:  (none)
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:
Resolution:                         |   Keywords:
      Port:  gobject-introspection  |
------------------------------------+--------------------
Description changed by dsteck:

Old description:

> Configure failed in two ways.  Tested on macports with everything
> uninstalled, Big Sur 11.2.3 (20D91), CLI tools 12.4.0.0.1.1610135815, as
> x86_64 (everything current as of now).
>
> 1. configure complains that it can't find gtkdocize
> (see gobject-introspection-fail1.log)
>
> solution: add port gtk-doc as a dependency
>
> 2. configure complains that it can't find Python.h; the issue is that
> CPP='', so the test is run without specifying a preprocessor
> (see gobject-introspection-fail2.log)
>
> solution: add two lines to portfile (not sure if this is the right fix,
> but it's how I was able to make it work):
> configure.cpp       'gcc -E'
> configure.post_args CPP=${configure.cpp}

New description:

 Configure failed in two ways.  Tested on macports with everything
 uninstalled, Big Sur 11.2.3 (20D91), CLI tools 12.4.0.0.1.1610135815, as
 x86_64 (everything current as of now, 10 March 2021).

 1. configure complains that it can't find gtkdocize
 (see gobject-introspection-fail1.log)

 solution: add port gtk-doc as a dependency

 2. configure complains that it can't find Python.h; the issue is that
 CPP='', so the test is run without specifying a preprocessor
 (see gobject-introspection-fail2.log)

 solution: add two lines to portfile (not sure if this is the right fix,
 but it's how I was able to make it work):\\
 configure.cpp       'gcc -E'\\
 configure.post_args CPP=${configure.cpp}

--

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


More information about the macports-tickets mailing list