#63625 closed defect (worksforme)
Error: Failed to build py39-pyqt5: command execution failed
Reported by: | tungyuanhsiao | Owned by: | reneeotten (Renee Otten) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | ||
Port: | py-pyqt5 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
---> Computing dependencies for py39-pyqt5 ---> Fetching archive for py39-pyqt5 ---> Attempting to fetch py39-pyqt5-5.15.4_2.darwin_20.x86_64.tbz2 from https://packages.macports.org/py39-pyqt5 ---> Attempting to fetch py39-pyqt5-5.15.4_2.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/py39-pyqt5 ---> Attempting to fetch py39-pyqt5-5.15.4_2.darwin_20.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/py39-pyqt5 ---> Fetching distfiles for py39-pyqt5 ---> Verifying checksums for py39-pyqt5 ---> Extracting py39-pyqt5 ---> Applying patches to py39-pyqt5 ---> Configuring py39-pyqt5 ---> Building py39-pyqt5 Error: Failed to build py39-pyqt5: 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/py39-pyqt5/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Attachments (1)
Change History (7)
Changed 3 years ago by tungyuanhsiao
comment:1 Changed 3 years ago by reneeotten (Renee Otten)
comment:2 Changed 3 years ago by reneeotten (Renee Otten)
Owner: | set to reneeotten |
---|---|
Port: | py-pyqt5 added |
Status: | new → assigned |
Version: | → 2.7.1 |
comment:3 Changed 3 years ago by tungyuanhsiao
$ sudo port clean --all py39-pyqt5 ---> Cleaning py39-pyqt5 $ sudo port upgrade outdated ---> Computing dependencies for py39-pyqt5 ---> Fetching archive for py39-pyqt5 ---> Attempting to fetch py39-pyqt5-5.15.4_2.darwin_20.x86_64.tbz2 from https://packages.macports.org/py39-pyqt5 ---> Attempting to fetch py39-pyqt5-5.15.4_2.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/py39-pyqt5 ---> Attempting to fetch py39-pyqt5-5.15.4_2.darwin_20.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/py39-pyqt5 ---> Fetching distfiles for py39-pyqt5 ---> Attempting to fetch PyQt5-5.15.4.tar.gz from https://distfiles.macports.org/py-pyqt5 ---> Verifying checksums for py39-pyqt5 ---> Extracting py39-pyqt5 ---> Applying patches to py39-pyqt5 ---> Configuring py39-pyqt5 ---> Building py39-pyqt5 Error: Failed to build py39-pyqt5: 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/py39-pyqt5/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. $ sudo port -v installed | grep sip py-sip @4.19.25_0 (active) requested_variants='' platform='darwin 20' archs='noarch' date='2021-09-14T11:11:56+0800' py27-sip @4.19.25_0 (active) requested_variants='' platform='darwin 20' archs='x86_64' date='2021-09-14T11:11:56+0800' py37-pyqt5-sip @12.9.0_0 (active) requested_variants='' platform='darwin 20' archs='x86_64' date='2021-10-14T07:34:53+0800' py37-sip @4.19.25_0 requested_variants='' platform='darwin 20' archs='x86_64' date='2021-09-14T13:07:04+0800' py37-sip @6.2.0_0 (active) requested_variants='' platform='darwin 20' archs='x86_64' date='2021-10-14T07:34:38+0800' py39-pyqt5-sip @12.9.0_0 (active) requested_variants='' platform='darwin 20' archs='x86_64' date='2021-10-14T08:22:24+0800' py39-sip @4.19.25_0 requested_variants='' platform='darwin 20' archs='x86_64' date='2021-09-14T10:46:52+0800' py39-sip @6.2.0_0 (active) requested_variants='' platform='darwin 20' archs='x86_64' date='2021-10-14T08:22:07+0800' py39-sip4 @4.19.25_0 (active) requested_variants='' platform='darwin 20' archs='x86_64' date='2021-09-22T10:55:55+0800'
comment:4 follow-up: 5 Changed 3 years ago by tungyuanhsiao
I remove py-sip all version and reinstall py39-pyqt5 and then did not see the errors. Thanks for all.
comment:5 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Replying to tungyuanhsiao:
I remove py-sip all version and reinstall py39-pyqt5 and then did not see the errors. Thanks for all.
Glad that it worked out for you. You did miss the first step I listed, namely update the ports tree: sudo port selfupdate
; that would have saved you uninstall/re-installing the ports as it would have update pyXY-sip4
and resolved the problem.. This will make sure that you have the up-to-date Portfiles with the latest fixes. Whenever you run into trouble that should be the first thing you do!
comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
this seems a duplicate of 63549, which I presumably solved already. Can you please make sure that you have the latest port definitions (
sudo port selfupdate
), clean the port (sudo port clean --all py39-pyqt5
), and try to install the port again? Also please list the versions you have installed for the two SIP ports (sudo port -v installed | grep sip
).