Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build pyqt@4 (ElCapitan) #70

Open
PeterSurda opened this issue Jan 11, 2021 · 5 comments
Open

Can't build pyqt@4 (ElCapitan) #70

PeterSurda opened this issue Jan 11, 2021 · 5 comments

Comments

@PeterSurda
Copy link

brew install --build-bottle pyqt@4 --without-qt-webkit@2.3
 in dir /var/lib/buildbot/workers/default/elcapprereqsbuilder/build (timeout 1200 secs)
 watching logfiles {}
 argv: [b'brew', b'install', b'--build-bottle', b'pyqt@4', b'--without-qt-webkit@2.3']
 environment:
  HOME=/var/lib/buildbot
  HOMEBREW_CURLRC=0
  HOMEBREW_MAKE_JOBS=-j16
  HOMEBREW_NO_AUTO_UPDATE=1
  LC_CTYPE=UTF-8
  LOGNAME=buildbot
  MAKEOPTS=-j16
  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/var/lib/buildbot/.local/bin
  PWD=/var/lib/buildbot/workers/default/elcapprereqsbuilder/build
  PYTHONPATH=/usr/local/lib/python3.7/site-packages/
  SHELL=/bin/bash
  TMPDIR=/var/folders/27/9t409fw92vx2b6lsxcvkxfx40000gy/T/
  USER=buildbot
  XPC_FLAGS=0x0
  XPC_SERVICE_NAME=net.sourceforge.buildbot.worker
  __CF_USER_TEXT_ENCODING=0x1FE:0:0
 using PTY: False
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Installing pyqt@4 from cartr/qt4
==> Downloading https://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12.1/PyQt4_gpl_mac-4.12.1.tar.gz/download
==> Downloading from https://deac-ams.dl.sourceforge.net/project/pyqt/PyQt4/PyQt-4.12.1/PyQt4_gpl_mac-4.12.1.tar.gz
Error: Empty installation
program finished with exit code 1
elapsedTime=27.575886

I'd appreciate even a workaround.

@cartr
Copy link
Owner

cartr commented Jan 12, 2021

Hey, really sorry that the formula isn't working. I unfortunately don't have an El Capitan system (or any Mac, really) handy to debug issues at the moment. It's entirely possible that Homebrew's changed something on their side that broke this formula, or broke stuff in general on El Capitan.

Could you please post the output of brew config, brew doctor, and brew install --verbose pyqt@4 --without-qt-webkit@2.3? Homebrew also seems to have a gist-logs command that might be able to upload some log files that would help us.

@cartr
Copy link
Owner

cartr commented Jan 12, 2021

One idea for a possible workaround -- which might be kind of tricky and a bad idea -- would be to manually roll back Homebrew, homebrew-core, and this tap back to a version from ~Feb 2019 using Git commands.

@PeterSurda
Copy link
Author

@cartr I suspect it's due to outdated CA for curl in my installation. I'll retry with an updated one.

@PeterSurda
Copy link
Author

sorry, even after updating the CA still not working. I'll try to provide more logs.

@PeterSurda
Copy link
Author

PeterSurda commented Jan 12, 2021

I tried to debug. The result is the same on Big Sur.

I don't have experience with ruby but the loop starting at

Language::Python.each_python(build) do |python, version|
seems not to execute at all. The whole build process is completely skipped, and right after unpacking it jumps to trying check if it installed anything. It sees the target directory is empty and raises an exception. I suspect brew changed the attributes of the python packages (after python2 was dropped), or perhaps it can't transform sip's python version into its own. Since I don't know ruby or brew internals I'm not sure how to work around it. I have python@2 and python@3.9 installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants