Opened 4 years ago

Last modified 3 years ago

#62428 closed defect

gobject-introspection @1.60.2_5 fails to configure (with fixes) — at Version 1

Reported by: dsteck Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: devans@…
Port: gobject-introspection

Description (last modified by dsteck)

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

  1. 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}

Change History (3)

Changed 4 years ago by dsteck

config.log for first problem

Changed 4 years ago by dsteck

config.log for second problem

comment:1 Changed 4 years ago by dsteck

Description: modified (diff)
Note: See TracTickets for help on using tickets.