Opened 3 years ago

Closed 3 years ago

#62434 closed defect (duplicate)

gobject-introspection @1.60.2_5: Configure fails because of missing dependencies

Reported by: Pottiman (Fabian Pottbäcker) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: dbevans (David B. Evans)
Port: gobject-introspection

Description

Installation of gobject-introspection fails during configure, probably due to missing dependencies.

  1. When installing without having gtk-doc installed, configure errors with:
    [...]
    :info:configure autoreconf: running: /opt/local/bin/gtkdocize --copy
    :info:configure Can't exec "/opt/local/bin/gtkdocize": No such file or directory at /opt/local/share/autoconf/Autom4te/FileUtils.pm line 293.
    [...]
    
    Installing gtk-doc resolves this issue.
  1. When installing while having gtk-doc installed, configure errors with:
    [...]
    :info:configure checking whether /opt/local/bin/python3.8 version is >= 3.4... yes
    :info:configure checking for /opt/local/bin/python3.8 version... 3.8
    :info:configure checking for /opt/local/bin/python3.8 platform... darwin
    [...]
    :info:configure checking for headers required to compile python extensions... not found
    :info:configure configure: error: Python headers not found
    [...]
    

I will note that I have recently upgraded to Big Sur, and this happened while re-installing ports (as per migration instructions). I still get the error message that the SDK does not appear to be installed, even after trying -runFirstLaunch and other steps. However, quite a few other ports installed without error so far.

I have not attached logs for these errors, but can reproduce and attach them if necessary.

Attachments (2)

gobject-introspection.main.log (105.1 KB) - added by Pottiman (Fabian Pottbäcker) 3 years ago.
main.log
gobject-introspection.config.log (104.2 KB) - added by Pottiman (Fabian Pottbäcker) 3 years ago.
config.log

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 years ago by mf2k (Frank Schima)

Cc: dbevans removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added

Ignore the erroneous SDK errors until the next version of MacPorts in which they will be fixed.

The requirement for gtk-doc / gtkdocize is new in autoconf 2.71 to which we just recently updated.

Please attach the main.log and config.log files so that we can see why it failed to find the Python headers.

Changed 3 years ago by Pottiman (Fabian Pottbäcker)

main.log

Changed 3 years ago by Pottiman (Fabian Pottbäcker)

config.log

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Curious...

configure:18044: checking for headers required to compile python extensions
configure:18054:  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 conftest.c
./configure: line 1938: -I/opt/local/include: No such file or directory

It's missing "/usr/bin/clang" before "-I/opt/local/include".

comment:4 Changed 3 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.