Opened 6 years ago

Closed 6 years ago

#55416 closed defect (fixed)

MacVim @8.0.snapshot142: fails to build with +huge+python27

Reported by: mklein-de (Michael Klein) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: MacVim

Description

if_python.c:68:11: fatal error: 'Python/Python.h' file not found
# include <Python/Python.h>
          ^~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [objects/if_python.o] Error 1
make[1]: *** Waiting for unfinished jobs

workaround:

ln -s /opt/local/Library/Frameworks/Python.framework/Headers /opt/local/include/Python

Attachments (1)

main.log (129.9 KB) - added by mklein-de (Michael Klein) 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by mklein-de (Michael Klein)

Attachment: main.log added

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

Cc: raimue removed
Owner: set to raimue
Status: newassigned
Summary: MacVim 8.0.snapshot142: fails to build with +huge+python27MacVim @8.0.snapshot142: fails to build with +huge+python27

comment:2 Changed 6 years ago by raimue (Rainer Müller)

Hm, interestingly I could not reproduce the build failure on my system. Although I can confirm it actually used /System/Library/Frameworks/Python.framework/Headers/Python.h instead of Python.h provided by the python27 port. I found this by injecting -E into the build command. I will commit a fix shortly.

comment:3 Changed 6 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

In d37d82ed990108bfbbb7a2b1b2de6e34310e7396/macports-ports:

MacVim: Fix build failure for +python27

The build either picked up a header from the system Python.framework
instead of the Python.h header provided by the python27 port, or the
build could fail completely.

Closes: #55416

Note: See TracTickets for help on using tickets.