Opened 3 years ago

Closed 3 years ago

#63357 closed defect (fixed)

py37-pyqt5 configuration failure

Reported by: asg243 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: elcapitan Cc: michaelld (Michael Dickens), reneeotten (Renee Otten), ra1nb0w
Port: py-pyqt5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am attempting to use uhd and gnuradio to interface with a software defined radio device on a Mac-Pro that is running El Capitan 10.11.16. When attempting to install either it runs into an error that py37-pyqt5 os unable to be configured. It also give a warning about Qt dependency. Since py37-pyqt5 is outdated gnuradio can't be installed, and upgrading py37-pyqt5 gives the same errors.

mac-pro:~ usrp_sdr$ sudo port upgrade outdated
Password:
--->  Computing dependencies for py37-pyqt5
--->  Fetching archive for py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_0.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_0.darwin_15.x86_64.tbz2 from https://mse.uk.packages.macports.org/py37-pyqt5
--->  Configuring py37-pyqt5
Warning: Qt dependency is not the latest version but may be the latest supported on your OS
Error: Failed to configure py37-pyqt5: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt5/py37-pyqt5/main.log for details.
Error: Problem while installing py37-pyqt5
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (2)

main.log (323.7 KB) - added by asg243 3 years ago.
main.log file
main.2.log (1.9 MB) - added by asg243 3 years ago.
py37 main.log

Change History (9)

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

Cc: michaelld reneeotten ra1nb0w added
Keywords: py37-pyqt5 uhd gnuradio removed
Port: py-pyqt5 uhd gnuradio added

please add the main.log file mentioned in the error message. It's possible that on El Capitan one cannot install a new enough version of Qt5 anymore for it to build, but that's hard to say without the log.

Last edited 3 years ago by reneeotten (Renee Otten) (previous) (diff)

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

Description: modified (diff)
Keywords: elcapitan added
Port: uhd gnuradio removed

According to our build statistics we had a successful build of this port on El Capitan last time we tried, but that was in March 2021. Something could have happened with its dependencies since then. We do need to see the main.log to see what the problem was.

Changed 3 years ago by asg243

Attachment: main.log added

main.log file

comment:3 Changed 3 years ago by asg243

I've attached the main.log file from the latest attempt at installing py37-pyqt5.

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

It seems that you're actually trying to install py27-pyqt5 and not PY37, correct? Anyway, the relevant error is:

:info:configure Error: Failed to determine the detail of your Qt installation. Try again using
3637	:info:configure the --verbose flag to see more detail about the problem.
3638	:info:configure Querying qmake about your Qt installation...
3639	:info:configure Determining the details of your Qt installation...
3640	:info:configure /opt/local/libexec/qt5/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
3641	:info:configure Project ERROR: Could not resolve SDK Path for 'macosx10.11' using --show-sdk-path

and that appears to be a duplicate of ticket 58760.

Can you please take a look what's discussed there and do some of the checks that Ken suggested there (for example, check what SDKs you have installed with xcodebuild -showsdks)?

comment:5 Changed 3 years ago by asg243

Yes, the included main.log file is from a py27-pyqt5 installation, but I also receive this error for a py37-pyqt5 installation as well and will attach that main.log too. Thank you, I'll take a look at Ken' suggestions from the previous ticket.

Changed 3 years ago by asg243

Attachment: main.2.log added

py37 main.log

comment:6 Changed 3 years ago by asg243

I've followed along with Ken's suggestions from ticket 58760. The SKD installed matches for OS X 10.11 -sdk macosx10.11. I also had to change my Command Line Tools version to match the Xcode version, and now have CLTools version 7.1.0, and Xcode Version 7.1.1. I think this is the correct match because I could not find a CLTools specifically for Xcode 7.1.1 on the Apple developer site.

The only thing that is not consistent with that ticket is that I can't find the folder /Library/Developer/CommandLineTools/SDK to check the contents of the SDK folder. Inside the folder /Library/Developer/CommandLineTools there is only Library and usr.

After checking those things both gnuradio and uhd have been successfully installed. Thank you for your help in sorting this all out.

Last edited 3 years ago by asg243 (previous) (diff)

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.