Opened 4 years ago

Closed 4 years ago

#60114 closed defect (fixed)

Building py38-pyqt5 fails

Reported by: Veence (Vincent) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: snowflake (Dave Evans)
Port: py-pyqt5

Description

Guys, I can’t build the new version of py38-pyqt5. I get this:

--->  Building py38-pyqt5
Executing:  cd "/opt/local/var/macports/build/_macports-ports_python_py-pyqt5/py38-pyqt5/work/PyQt5-5.14.1" && make -j4 -w all 
make: Entering directory `/opt/local/var/macports/build/_macports-ports_python_py-pyqt5/py38-pyqt5/work/PyQt5-5.14.1'
cd QtCore/ && ( test -e Makefile || /opt/local/libexec/qt5/bin/qmake -o Makefile /opt/local/var/macports/build/_macports-ports_python_py-pyqt5/py38-pyqt5/work/PyQt5-5.14.1/QtCore/QtCore.pro ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile all
[…]
/Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -Os -std=gnu++11  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.14 -fno-exceptions -Wall -Wextra -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DPy_LIMITED_API=0x03040000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -I. -I. -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -I../qpy/QtCore -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I. -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o sipQtCoreQAbstractEventDispatcherTimerInfo.o sipQtCoreQAbstractEventDispatcherTimerInfo.cpp
In file included from sipQtCoreQAbstractEventDispatcherTimerInfo.cpp:24:
./sipAPIQtCore.h:31:10: fatal error: 'sip.h' file not found
In file included from sipQtCoreQAbstractAnimation.cpp:24:
#include <sip.h>
         ^~~~~~~
./sipAPIQtCore.h:31:10: fatal error: 'sip.h' file not found
In file included from sipQtCoreQAbstractEventDispatcher.cpp:24:
./sipAPIQtCore.h:31:10: fatal error: 'sip.h' file not found
#include <sip.h>
         ^~~~~~~
#include <sip.h>
         ^~~~~~~
1 error generated.

But:

Air > port installed | grep sip
  py38-sip @4.19.21_0 (active)

This is rather strange. Any clue?

Thanks! :)

Change History (9)

comment:1 Changed 4 years ago by reneeotten (Renee Otten)

Probably related to ticket:60104. Can you try building py38-sip from source and see if that resolves the problem?

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 4 years ago by reneeotten (Renee Otten)

Cc: snowflake added

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

In the future, please fill in the Port field.

comment:4 Changed 4 years ago by mf2k (Frank Schima)

Port: py-pyqt5 added

comment:5 Changed 4 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

I had forgotten, sorry for that. Building from source seemed to solved the issue. Thanks!

Last edited 4 years ago by Veence (Vincent) (previous) (diff)

comment:6 Changed 4 years ago by Veence (Vincent)

[Redacted. Posted by mistake, irrelevant.]

Last edited 4 years ago by Veence (Vincent) (previous) (diff)

comment:7 Changed 4 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: closedreopened

the py-sip issue isn't resolved yet as (see ticket:60104) - let's leave this ticket open until that is the case

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 Changed 4 years ago by Veence (Vincent)

oops. That latest comment of mine wasn't meant for this thread! :p Sorry for the fumbling.

comment:9 Changed 4 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: reopenedclosed

okay, fix for the python PG and a revbump for py-sip have been committed

Note: See TracTickets for help on using tickets.