Comments (10)
Essentially, there is no way to do brew update
and currently achieve a viable QGIS 3 build (that I know of).
You can think of Homebrew as being an 'unstable' class of Linux package repository. Often, formulae versions are upgraded (or not) with consideration for other Homebrew formulae, but not for third-party formulae or anything that uses Homebrew for dependencies, which is an OK policy that Homebrew had to establish. This is why the OSGeo4Mac repo contains compatibility formulae, like for building QGIS 2.x.
However, there appears to be no intention on the part of the Homebrew maintainers to fix the inherent stability flaws with Homebrew, i.e. at least create an unstable branch. The usual response is that it helps force projects to keep their code current. This is somewhat OK (as an excuse for not heavily redesigning Homebrew), but not when two or more projects come into conflict with each other, e.g. QGIS 3 can build off of Qt 5.8, though the formulae in question are not updated until a 'more important' project is updated to work with Qt 5.8 first.
At which point, it becomes a Homebrew maintainer's prerogative as to what happens next. So, we are in a holding pattern.
from homebrew-qgisdev.
@dakcarto I really appreciate you trying to get this sorted out. Is there any way to pin versions of home-brew packages like apt has? Also what about maintaining our own archive of all the dependent recipes we use and only upgrading them if they represent a known good configuration?
from homebrew-qgisdev.
The issue linked above was closed upstream, is there still something blocking the update to 5.8?
Not to forget, I noticed your work upstream, @dakcarto , thanks a lot for also clearing obstacles there. I don't know what the mac builds would do without you !
from homebrew-qgisdev.
@timlinux and @m-kuhn, finally was able to update qgis3-dev
to support Qt 5.8.0 (see latest commits).
Couple issues:
- You have to hit
return
(or other keys) twice to get past blocking splash screen (definite regression in Qt 5.7.x --> 5.8.0): https://bugreports.qt.io/browse/QTBUG-57706
There may be a hidden dialog behind the splash screen that the keystrokes are interacting with. - Now defaults to using the Ninja CMake generator, mostly because I am completely blocked on some weird issue when using Makefiles, where including any
extern "C"
headers inqgsgrass.h
always fails to find the headers, regardless of C[XX|PP]FLAGS having the correct-I<path/include>
.
from homebrew-qgisdev.
Ah thanks @dakcarto I just updated my build deps here yesterday. I will grab the latest changes and test. We are testing building with CLion here too - my build works but it is actually crashing with an unknown exception during startup resulting in a hanging splash. I wonder if that is a similar symptom that you are getting in your blocking splash issue...
from homebrew-qgisdev.
You have to hit return (or other keys) twice to get past blocking splash screen (definite regression in Qt 5.7.x --> 5.8.0): https://bugreports.qt.io/browse/QTBUG-57706
There may be a hidden dialog behind the splash screen that the keystrokes are interacting with.
Yes, I have this dialog I have to close it twice. It doesn't give any information.
from homebrew-qgisdev.
@dakcarto when I press enter twice I get a crash immediately after...
from homebrew-qgisdev.
See #27
from homebrew-qgisdev.
Hi @timlinux, @m-kuhn and @Gustry. Thanks for the quick testing!
Yeah, this is what I am seeing too, but no crashes for me on macOS 10.11.6 with 'normal' .app double-clicks or running from Qt Creator. However, definitely lots of crashes when trying to run ctest
(btw, I added a new qgis-dev-ctest.sh env wrapper script).
@Gustry the dialog in your screen snap is the one seen during ctest
runs, and appears to be the same bug noted in https://bugreports.qt.io/browse/QTBUG-57706
@m-kuhn ctest
runs are so bad right now on macOS that I need to include a --timeout n option. Still a ways off before Travis CI for macOS can be brought back online.
from homebrew-qgisdev.
@dakcarto I don't think we need to be able to run the complete suite successfully right now. We can just blacklist whatever fails and at least make sure we don't get worse on the other tests. Then we can gradually enable the blacklisted tests as we get around to doing this.
from homebrew-qgisdev.
Related Issues (20)
- Can't compile qgis3-dev HOT 4
- Support for tabs in main window HOT 2
- Launching QGIS 3 dev for the first time error HOT 2
- cannot build on mac high sierra (bison illegal instruction) HOT 1
- cannot locate libqgis_core and libqgis_gui HOT 4
- Cmake errors installing on mac os 10.13.1
- QGIS3 Install Failed on Matplotlib Dependency HOT 17
- Error with python in cmake
- Character range error when attempting to install QGIS Dev via Homebrew HOT 4
- Import error-- image not found
- Error: homebrew/science was deprecated HOT 1
- Use 'depends_on "python3"' instead. HOT 1
- Error: homebrew/science was deprecated HOT 4
- ImportError: No module named site HOT 19
- Homebrew making python3 the default python HOT 38
- QGIS 3 is built without 3D support HOT 2
- Can't build QGIS3 Dev HOT 21
- cannot tap qgis/qgisdev HOT 2
- Build fails with Python-3.7 pip 10 due to ninja? HOT 1
- can't install qgis dev
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-qgisdev.