Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63549 closed defect (fixed)

py37-pyqt5 @5.15.4_2: Failed to build py37-pyqt5

Reported by: mklengel (Michael Klengel) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: michaelld (Michael Dickens), cooljeanius (Eric Gallager)
Port: py37-pyqt5

Description

mklengel@MacPro-MK:~ % sudo port selfupdate
Password:
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.7.1 installed,
MacPorts base version 2.7.1 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
mklengel@MacPro-MK:~ % sudo port upgrade outdated
--->  Computing dependencies for py37-pyqt5
--->  Fetching archive for py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://packages.macports.org/py37-pyqt5
--->  Building py37-pyqt5
Error: Failed to build py37-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/py37-pyqt5/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (2)

main.log (96.9 KB) - added by mklengel (Michael Klengel) 3 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt5/py37-pyqt5/main.log
main.2.log (213.6 KB) - added by mklengel (Michael Klengel) 3 years ago.
Result of "sudo port -dv selfupdate && sudo port clean --all py37-pyqt5" and "sudo port install py37-pyqt5"

Download all attachments as: .zip

Change History (25)

Changed 3 years ago by mklengel (Michael Klengel)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt5/py37-pyqt5/main.log

comment:1 Changed 3 years ago by mklengel (Michael Klengel)

The most likely reason can be found in main.log (attached):

Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/py37-pyqt5
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py37-pyqt5
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://packages.macports.org/py37-pyqt5
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
Last edited 3 years ago by mklengel (Michael Klengel) (previous) (diff)

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

it seem the buildbot did build it just fine, and also locally for me py39-pyqt5 builds on Catalina. The fetch failures are fine, it cannot find the archive since the port is not distributable, and it should download the source from PyPI. However you do have the message

:debug:archivefetch Fetching archive failed: SSL certificate problem: certificate has expired

in your log, that is likely the problem but doesn't have anything to do with this port. Not sure how to fix that.

Once you've resolved that issue, please start from a clean state and try again: sudo port -dv selfupdate && sudo port clean --all py37-pyqt5 and then try to install. If that still fails, the please attach the new main.log.

comment:3 Changed 3 years ago by mklengel (Michael Klengel)

I understand this, but I wonder why

"sudo port install py37-pyqt5" fails, and "sudo port install py38-pyqt5" works?!

--->  Fetching archive for py38-pyqt5
--->  Attempting to fetch py38-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py38-pyqt5
--->  Attempting to fetch py38-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/py38-pyqt5
--->  Attempting to fetch py38-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://packages.macports.org/py38-pyqt5
--->  Fetching distfiles for py38-pyqt5
--->  Verifying checksums for py38-pyqt5
--->  Extracting py38-pyqt5
--->  Applying patches to py38-pyqt5
--->  Configuring py38-pyqt5
--->  Building py38-pyqt5

The building process of py38-pyqt5 is working a long time. After this I'll try your suggestion with clean --all.

Do you really think, the problem is on my site?

Last edited 3 years ago by mklengel (Michael Klengel) (previous) (diff)

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

Owner: set to reneeotten
Status: newassigned

Replying to mklengel:

Do you really think, the problem is on my site?

I am not sure... it actually does get past the {{fetch}}} phase as the actual error message from your log appears to be

:info:build Traceback (most recent call last):
414	:info:build   File "/opt/local/bin/sip-build-3.7", line 33, in <module>
415	:info:build     sys.exit(load_entry_point('sip==6.1.1', 'console_scripts', 'sip-build')())
416	:info:build   File "/opt/local/bin/sip-build-3.7", line 25, in importlib_load_entry_point
417	:info:build     return next(matches).load()
418	:info:build StopIteration
419	:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt5/py37-pyqt5/work/PyQt5-5.15.4" && sip-build-3.7 --qmake /opt/local/libexec/qt5/bin/qmake --verbose --confirm-license --dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/dbus-1.0 --disable QtWebKit --disable QtWebKitWidgets
420	:info:build Exit code: 1

If I try to install py37-pyqt5 locally it at least starts building correctly (i.e., gets past the point where it fails for you). So as I suggested, try to clean first and the try to install again; it will take some time to build indeed but if it fails at the same spot that will happen really early on so you don't waste time there. If it makes it past that point, I am quite certain it will finish building correctly.

comment:5 Changed 3 years ago by silent-r (Michael Roth)

Hello, I encounter the same issue. Tried cleaning and reinstall but py37-pyqt5 fails to build with the same error message:

:info:build   File "/opt/local/bin/sip-build-3.7", line 33, in <module>
:info:build     sys.exit(load_entry_point('sip==6.1.1', 'console_scripts', 'sip-build')())
:info:build   File "/opt/local/bin/sip-build-3.7", line 25, in importlib_load_entry_point
:info:build     return next(matches).load()
:info:build StopIteration
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt5/py37-pyqt5/work/PyQt5-5.15.4" && sip-build-3.7 --qmake /opt/local/libexec/qt5/bin/qmake --verbose$
:info:build Exit code: 1

comment:6 Changed 3 years ago by mklengel (Michael Klengel)

There is something wrong with py37-pyqt5. py38-pyqt5 can be installed, py37-pyqt5 failed even with port clean.

mklengel@MacPro-MK:~ % sudo port install py38-pyqt5
--->  Computing dependencies for py38-pyqt5
The following dependencies will be installed:
 dbus-python38
 py38-pyqt-builder
 py38-pyqt5-sip
 py38-sip
 py38-toml
Continue? [Y/n]:
--->  Fetching archive for dbus-python38
--->  Attempting to fetch dbus-python38-1.2.16_0.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/dbus-python38
--->  Attempting to fetch dbus-python38-1.2.16_0.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/dbus-python38
--->  Attempting to fetch dbus-python38-1.2.16_0.darwin_19.x86_64.tbz2.rmd160 from https://nue.de.packages.macports.org/dbus-python38
--->  Installing dbus-python38 @1.2.16_0
--->  Activating dbus-python38 @1.2.16_0
--->  Cleaning dbus-python38
--->  Fetching archive for py38-toml
--->  Attempting to fetch py38-toml-0.10.2_0.darwin_19.noarch.tbz2 from https://fra.de.packages.macports.org/py38-toml
--->  Attempting to fetch py38-toml-0.10.2_0.darwin_19.noarch.tbz2 from https://nue.de.packages.macports.org/py38-toml
--->  Attempting to fetch py38-toml-0.10.2_0.darwin_19.noarch.tbz2.rmd160 from https://nue.de.packages.macports.org/py38-toml
--->  Installing py38-toml @0.10.2_0
--->  Activating py38-toml @0.10.2_0
--->  Cleaning py38-toml
--->  Fetching archive for py38-sip
--->  Attempting to fetch py38-sip-6.1.1_0.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py38-sip
--->  Attempting to fetch py38-sip-6.1.1_0.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/py38-sip
--->  Attempting to fetch py38-sip-6.1.1_0.darwin_19.x86_64.tbz2.rmd160 from https://nue.de.packages.macports.org/py38-sip
--->  Installing py38-sip @6.1.1_0
--->  Activating py38-sip @6.1.1_0
--->  Cleaning py38-sip
--->  Fetching archive for py38-pyqt-builder
--->  Attempting to fetch py38-pyqt-builder-1.10.3_0.darwin_19.noarch.tbz2 from https://fra.de.packages.macports.org/py38-pyqt-builder
--->  Attempting to fetch py38-pyqt-builder-1.10.3_0.darwin_19.noarch.tbz2 from https://nue.de.packages.macports.org/py38-pyqt-builder
--->  Attempting to fetch py38-pyqt-builder-1.10.3_0.darwin_19.noarch.tbz2.rmd160 from https://nue.de.packages.macports.org/py38-pyqt-builder
--->  Installing py38-pyqt-builder @1.10.3_0
--->  Activating py38-pyqt-builder @1.10.3_0
--->  Cleaning py38-pyqt-builder
--->  Fetching archive for py38-pyqt5-sip
--->  Attempting to fetch py38-pyqt5-sip-12.9.0_0.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py38-pyqt5-sip
--->  Attempting to fetch py38-pyqt5-sip-12.9.0_0.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/py38-pyqt5-sip
--->  Attempting to fetch py38-pyqt5-sip-12.9.0_0.darwin_19.x86_64.tbz2.rmd160 from https://nue.de.packages.macports.org/py38-pyqt5-sip
--->  Installing py38-pyqt5-sip @12.9.0_0
--->  Activating py38-pyqt5-sip @12.9.0_0
--->  Cleaning py38-pyqt5-sip
--->  Fetching archive for py38-pyqt5
--->  Attempting to fetch py38-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py38-pyqt5
--->  Attempting to fetch py38-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/py38-pyqt5
--->  Attempting to fetch py38-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://packages.macports.org/py38-pyqt5
--->  Fetching distfiles for py38-pyqt5
--->  Verifying checksums for py38-pyqt5
--->  Extracting py38-pyqt5
--->  Applying patches to py38-pyqt5
--->  Configuring py38-pyqt5
--->  Building py38-pyqt5
--->  Staging py38-pyqt5 into destroot
--->  Installing py38-pyqt5 @5.15.4_2
--->  Activating py38-pyqt5 @5.15.4_2
--->  Cleaning py38-pyqt5
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Some of the ports you installed have notes:
  py38-sip has the following notes:
    py38-sip is available under a PSF license with one addition:

        4. Licensee may not use SIP to generate Python bindings for any C or
           C++ library for which bindings are already provided by Riverbank.

    GPL-2 or GPL-3 licenses are also available. For details see
    /opt/local/share/doc/py38-sip/LICENSE [-GPL2 -GPL3]
mklengel@MacPro-MK:~ %
mklengel@MacPro-MK:~ % sudo port -dv selfupdate && sudo port clean --all py37-pyqt5
Password:
DEBUG: Copying /Users/mklengel/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
--->  Updating MacPorts base sources using rsync
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 55 bytes  47.33 bytes/sec
total size is 85857280  speedup is 1209257.46
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar.rmd160 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 62 bytes  156.00 bytes/sec
total size is 512  speedup is 6.56
DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem
DEBUG: system: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base.tar
MacPorts base version 2.7.1 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.7.1 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after --include=/ports.tar --include=/ports.tar.rmd160 --exclude=* rsync://rsync.macports.org/macports/release/tarballs/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done
./
ports.tar
ports.tar.rmd160

sent 66296 bytes  received 73753 bytes  56019.60 bytes/sec
total size is 89267200  speedup is 637.40
DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem
DEBUG: system: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports.tar
DEBUG: system: chmod -R a+r /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
DEBUG: system: /opt/local/bin/portindex /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Adding port devel/argocd
Adding port devel/dolt
Adding port devel/gitlab-runner
Adding port devel/google-cloud-sdk
Adding port devel/kustomize
Adding port devel/openssl11
Adding port devel/rizin
Adding port devel/yarn
Adding port emulators/xhyve
Adding port games/genact
Adding port net/tailscale
Adding port office/taskwarrior-tui
Adding port python/py-confuse
Adding subport py37-confuse
Adding subport py38-confuse
Adding subport py39-confuse
Adding port python/py-mediafile
Adding subport py37-mediafile
Adding subport py38-mediafile
Adding subport py39-mediafile
Adding port python/py-meshio
Adding subport py37-meshio
Adding subport py38-meshio
Adding subport py39-meshio
Adding port python/py-pathvalidate
Adding subport py37-pathvalidate
Adding subport py38-pathvalidate
Adding subport py39-pathvalidate
Adding port python/py-py2app
Adding subport py27-py2app
Adding subport py36-py2app
Adding subport py37-py2app
Adding subport py38-py2app
Adding subport py39-py2app
Adding port science/armadillo
Adding port security/vault
Adding port sysutils/chaakoo
Adding port sysutils/chezmoi
Adding port textproc/dasel

Total number of ports parsed:	39
Ports successfully parsed:	39
Ports failed:			0
Up-to-date ports skipped:	26937

--->  MacPorts base is already the latest version
DEBUG: Setting MacPorts sources ownership to root

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
--->  Cleaning py37-pyqt5
mklengel@MacPro-MK:~ %
mklengel@MacPro-MK:~ % sudo port install py37-pyqt5
Password:
--->  Computing dependencies for py37-pyqt5
--->  Fetching archive for py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://nue.de.packages.macports.org/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://packages.macports.org/py37-pyqt5
--->  Fetching distfiles for py37-pyqt5
--->  Attempting to fetch PyQt5-5.15.4.tar.gz from https://distfiles.macports.org/py-pyqt5
--->  Verifying checksums for py37-pyqt5
--->  Extracting py37-pyqt5
--->  Applying patches to py37-pyqt5
--->  Configuring py37-pyqt5
--->  Building py37-pyqt5
Error: Failed to build py37-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/py37-pyqt5/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port py37-pyqt5 failed
mklengel@MacPro-MK:~ %

Changed 3 years ago by mklengel (Michael Klengel)

Attachment: main.2.log added

Result of "sudo port -dv selfupdate && sudo port clean --all py37-pyqt5" and "sudo port install py37-pyqt5"

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

Cc: michaelld added
Keywords: catalina removed

Michael pointed out to me by e-mail that there is an issue with py37-sip (but not the py38/py39 versions) on arm64, is that the architecture you're using as well? Presumably you can reproduce the error you're seeing by just doing: sip-build-3.7, can you please try that?

I'll have to take a look, but it works fine for me so if it's really architecture dependent I'll probably need some help in figuring this one out.

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

might not be architecture-dependent though.... perhaps some relevant bug reports are here: https://github.com/pypa/setuptools/issues/2390 and https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1781274.html

I don't have time now to look into this, but eventually will... From a cursory look at the reports it might have to do with confusion about the two {{pip}}} version (i.e., py-pip4 and py-pip) even though these can be co-installed since there are no conflicting files. Can you check whether you still have py37-pip4 installed as well and, if so, uninstall that port and try again?

comment:9 Changed 3 years ago by michaelld (Michael Dickens)

Force deactivating py37-sip4 did the trick for me.

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

good to know, thanks! Of course force-deactivating isn't really ideal though... for what other port did you need py37-sip4. I'll look into transitioning the remaining ports from py-sip4 to using py-sip if possible.

comment:11 Changed 3 years ago by michaelld (Michael Dickens)

% port echo depends:py37-sip4
py37-poppler-qt4
py37-poppler-qt5
py37-pyqt4
py37-qscintilla-qt4
py37-wxpython-4.0
py37-gpilab-framework

but then also:

% port echo depends:py37-sip
gnuradio
py37-poppler-qt4
py37-poppler-qt5
py37-pyqt-builder
py37-pyqt4
py37-qscintilla-qt4
py37-wxpython-4.0
py37-pyqt5-chart
py37-pyqt5-scintilla
py37-pyqt5-webengine
py37-gpilab-framework

comment:12 Changed 3 years ago by mklengel (Michael Klengel)

I'm not sure about the question for py37-sip4. Most likely this was not directed to me. Anyway:

mklengel@MacPro-MK:~ % port installed | grep py37-pip4
mklengel@MacPro-MK:~ %

comment:13 in reply to:  12 Changed 3 years ago by reneeotten (Renee Otten)

Replying to mklengel:

I'm not sure about the question for py37-sip4. Most likely this was not directed to me. Anyway:

mklengel@MacPro-MK:~ % port installed | grep py37-pip4
mklengel@MacPro-MK:~ %

It was also directed to you and it would be good to see whether it also is the cause/fix for you. So if you want to try please do so, but use the correct port name: it should be “sip4” instead of “pip4”.

comment:14 in reply to:  8 Changed 3 years ago by dliessi (Davide Liessi)

Replying to reneeotten:

Can you check whether you still have py37-pip4 installed as well and, if so, uninstall that port and try again?

I was affected by this problem on High Sierra. By deactivating py37-sip4 I was able to update py37-pyqt5 successfully. I then reactivated py37-sip4.

comment:15 Changed 3 years ago by mklengel (Michael Klengel)

mklengel@MacPro-MK:~ % port installed | grep py37-sip4
  py37-sip4 @4.19.25_0 (active)
mklengel@MacPro-MK:~ %

comment:16 Changed 3 years ago by mklengel (Michael Klengel)

For testing I tried the following and it seems to be a workaround. The building process is running and later on I will activate py37-sip4 again.

mklengel@MacPro-MK:~ % sudo port deactivate py37-sip4
Password:
Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents.
The following ports will break: py37-pyqt5 @5.15.4_1
Continue? [y/N]: y
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Deactivating py37-sip4 @4.19.25_0
--->  Cleaning py37-sip4
mklengel@MacPro-MK:~ % sudo port install py37-pyqt5
--->  Computing dependencies for py37-pyqt5
--->  Fetching archive for py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://packages.macports.org/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://fra.de.packages.macports.org/py37-pyqt5
--->  Attempting to fetch py37-pyqt5-5.15.4_2.darwin_19.x86_64.tbz2 from https://cph.dk.packages.macports.org/py37-pyqt5
--->  Building py37-pyqt5
--->  Staging py37-pyqt5 into destroot
--->  Installing py37-pyqt5 @5.15.4_2
--->  Deactivating py37-pyqt5 @5.15.4_1
--->  Cleaning py37-pyqt5
--->  Activating py37-pyqt5 @5.15.4_2
--->  Cleaning py37-pyqt5
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
mklengel@MacPro-MK:~ % sudo port activate py37-sip4
--->  Computing dependencies for py37-sip4
--->  Activating py37-sip4 @4.19.25_0
--->  Cleaning py37-sip4
--->  Some of the ports you installed have notes:
  py37-sip4 has the following notes:
    py37-sip4 is available under a PSF license with one addition:

        4. Licensee may not use SIP to generate Python bindings for any C or
           C++ library for which bindings are already provided by Riverbank.

    GPL-2 or GPL-3 licenses are also available. For details see
    /opt/local/share/doc/py37-sip4/LICENSE [-GPL2 -GPL3]
mklengel@MacPro-MK:~ %
Last edited 3 years ago by mklengel (Michael Klengel) (previous) (diff)

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

Yes - that is indeed clear already from the earlier comments. I am in the process of “getting rid of” py-sip4 by updating the ports that currently use it to use the latest py-sip port. Once that is completed this issue will be gone, so for now you can use this as a workaround.

comment:18 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:19 Changed 3 years ago by cooljeanius (Eric Gallager)

This applies to py36-pyqt5, too.

comment:20 in reply to:  19 Changed 3 years ago by reneeotten (Renee Otten)

Replying to cooljeanius:

This applies to py36-pyqt5, too.

Yes of course it does. Same workaround: deactivate py36-sip4, install the py36-pyqt5 port and reactivate the old sip if you want.

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

Resolution: fixed
Status: assignedclosed

In c3793a3bbc406284f67133eb37314b6248839605/macports-ports (master):

py-sip4: do not install dist-info

Closes: #63549

comment:22 Changed 3 years ago by rfj82982

This applies also to py38-pyqt5 and py39-pyqt5. The workaround with py3.X-sip is fixing the issue but could be good to have all the ports fixed.

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

the commit mentioned above should have fixed this already - what does not work for you? Please make sure you have the updated tree (sudo port -v selfupdate) and if it doesn't work show the relevant ports you have installed (sudo port -v installed | grep sip) and the actual error message.

Note: See TracTickets for help on using tickets.