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

Qt55 Failed to build on 10.12 #5163

Closed
2 tasks done
pkraus138 opened this issue Sep 24, 2016 · 20 comments
Closed
2 tasks done

Qt55 Failed to build on 10.12 #5163

pkraus138 opened this issue Sep 24, 2016 · 20 comments

Comments

@pkraus138
Copy link

pkraus138 commented Sep 24, 2016

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?

I've been trying to brew install qt55 for use with capybara-webkit for feature specs and have been having trouble all night getting it installed.

  • I've tried removing and reinstalling xcode and xcode-select to no avail :(
  • Also worth noting that the build portion of the installation is taking about ~25 minutes

Qt55:
https://gist.github.com/b941dc2c7092605ff37989fc314b36ff

also tried Qt5 earlier although it's not what I need
https://gist.github.com/pkraus138/281e73b008a61df4d844c8a896db3fde

@pkraus138 pkraus138 changed the title Qt55 Filed to build on 10.12 Qt55 Failed to build on 10.12 Sep 24, 2016
@alvarolorentedev
Copy link

alvarolorentedev commented Sep 24, 2016

@pkraus138 I think is related to this #1957 I have the same problem.

If useful here are my logs for qt5 and qt55

@ilovezfs
Copy link
Contributor

No version of Qt works on 10.12 yet except for the pre-release branches. Request a new release upstream.

@alvarolorentedev
Copy link

alvarolorentedev commented Sep 24, 2016

@ilovezfs could you explain what you ment with that?. I started using brew literally yesterday so how can I access pre-release branch?. How to request an to whom a release upstream?

I manage to install QT creator and build without problem on the standalone version of QT inside mac OS sierra so this is not an issue of QT itself I can confirm that much. Why i am eager to install through Brew is that I have to get access to command line capabilities so i can run qmake from my command line for my CI.

there is also important i think that there are 2 pull requests (#4905 and #5162) regarding this as the command line says n the failing moment:

These open issues may also help:
Update qt5 urls https://github.com/Homebrew/homebrew-core/pull/4905
qwt: port qwt to qt5 https://github.com/Homebrew/homebrew-core/pull/5162

second one brakes on sierra agreed, but the other one has move the plugin to 5.7, that seems valid as is a stable version of qt5. Small question the brew bot will probably make this enter your CI, to understand a bit how long could this take? so it gets validated somehow that runs on sierra? (not counting the code review)

@ilovezfs
Copy link
Contributor

@kanekotic current releases of Qt5 are 5.6.1 and 5.7.0. The first versions that will actually support Sierra are 5.6.2 and 5.7.1. So the current plan is to wait for either 5.6.2 or 5.7.1 to be released by upstream before proceeding with rolling out a new release of the Homebrew formula.

@alvarolorentedev
Copy link

alvarolorentedev commented Sep 24, 2016

With upstream you mean QT?, never heard this word before ;). and can I run a formulae from the .rb file from #4905 at my own risk?
btw...thanks a lot for your help @ilovezfs

@ilovezfs
Copy link
Contributor

In this case upstream is The Qt Company:
https://www.qt.io/
https://code.qt.io/cgit/qt/qt5.git

In general:
https://en.wikipedia.org/wiki/Upstream_%28software_development%29

@rlugge
Copy link

rlugge commented Sep 27, 2016

Is there any way to install one of those pre-release branches via homebrew?

@alvarolorentedev
Copy link

alvarolorentedev commented Sep 27, 2016

@rlugge , I tried use pull request #4905 and did not work (same error), even if its downloading 5.7.1.
I am still confused where and how to ask upstream for an update, as there is no clear way to know whom is the sustainer and how to contact them (contact data of sustainer would be cool as a new future feature for brew, similar to npm ownership)

@alvarolorentedev
Copy link

as per @zmwangx and @DomT4 comments on #1957 , should this issue be reopen?

@DomT4
Copy link
Member

DomT4 commented Sep 29, 2016

This specific issue is in the wrong place, qt55 isn't a core formula. I would be absolutely amazed if Qt had any interest in rescuing the Qt 5.5 branch for Sierra at this point though, there hasn't been a commit to that branch for 8 months now. If someone can get Qt to accept a patch for Sierra support on the 5.5 branch we'll accept that patch but otherwise it's likely dead.

The core qt5 is still a work in progress. I've tried the 5.6 branch, the 5.7 branch and the dev branch and all have their own unique problems with Sierra. I'm hoping to come up with some mash that works in the coming days, but not having a ton of luck so far.

@alvarolorentedev
Copy link

ok @DomT4 i understand your point from my part I dont care about 55 y want 5.6 or 5.7, i need them for my CI. qt5 is a core package and if you read throught we both tried to install qt5 core package with no luck, i also tried the pr open that brew related to this issue.
I think what i will do is to open a new issue with specific qt5 and link this one then as you can find the logs from both of us.

@rlugge
Copy link

rlugge commented Sep 29, 2016

My priority @DomT4 isn't QT55, or QT5, or QT6. My priority is getting qmake available on my system so that Capybara can compile, so I can work on an app that has a capybara dependency. Brew is my preferred means of doing this, but at this point I'm desperate enough for anything.

@DomT4
Copy link
Member

DomT4 commented Sep 29, 2016

@kanekotic I did read through, which is why you got the clarification on qt5 as well. If anyone else knows how to fix building from source on Sierra, we'd absolutely love a PR. Otherwise I'm doing the best I can with the behemoth that is the Qt5 codebase.

This is a problem every single year with new OS X/macOS releases and people who want stability from upstreams really should be hanging back on the prior release for a period. Otherwise it's a case of waiting for either upstream, us or you to fix it as quickly as possible to restore full availability.

@DomT4
Copy link
Member

DomT4 commented Sep 29, 2016

If you're determined, you could try: https://www.qt.io/download-open-source/. It's a huge installation & not completely sanely structured for development, but if all you need is qmake I suspect that ships it.

@rlugge
Copy link

rlugge commented Sep 29, 2016

@DomT4 I tried that, didn't install qmake for the terminal for some silly reason.

@alvarolorentedev
Copy link

@DomT4 first please dont take it personal and thanks a lot to you and all the team of brew for having such a great project 👍

Also thanks for your answer I completly understand your view and frustration as developer. I will say we need to tone down in some posts not take it as a fight, me personally I dont think is your fault i normally blame apple for their shitty job of retrocompatibility, so I am trying to help as much as possible share logs, open issues, try pull requests, and I will happily have a look at the compilation errors when I have a second. This is how we people can collaborate and this is why open source is so awesome.

PS. we all have our story on this case, mine is I would love to have used el capitan but this is a new second hand machine and I was only allowed to update to sierra from Lion (because stupid Apple don't even give margin in between releases). And yes that link that you shared works I had tried it, but the machine will be connected to Jenkins so I need the command line so I can build using a yml in 3 different platforms.

@alvarolorentedev
Copy link

@rlugge that installation is standalone and will add all QT 5.7 to a folder under your user, this is not referenced on bin so it wont work on the command line (that is why brew is awesome and that installer not :P ). you could try to add the bin of that folder to your path (but I dont know how clean that solution will be neither if it will fully work).

@rleigh-codelibre
Copy link
Contributor

Qt 5.6.2 has now been released.

@ilovezfs
Copy link
Contributor

@rleigh-codelibre voilà #5843.

@rleigh-codelibre
Copy link
Contributor

@ilovezfs Thanks, I'll give it a test.

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants