Opened 3 months ago
Last modified 6 weeks ago
#73040 assigned defect
qgis3: Failed to install
| Reported by: | vitidron (Federico) | Owned by: | Veence (Vincent) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | tahoe, macos, qgis | Cc: | nilason (Nicklas Larsson) |
| Port: | qgis3 |
Description
Looks like the problem is that still trying to use Clang-15 (I have Clang19 installed). MacOs Tahoe 26 The same problem in QGIS3-LTR
Attachments (1)
Change History (17)
comment:1 Changed 3 months ago by jmroot (Joshua Root)
| Cc: | nilason added |
|---|---|
| Owner: | set to Veence |
| Status: | new → assigned |
| Summary: | Failed to install → qgis3: Failed to install |
comment:2 Changed 3 months ago by vitidron (Federico)
sudo port install qgis3 ---> Computing dependencies for qgis3 clang-15 is known to fail. Try to install anyway? [y/N]: y The following dependencies will be installed: alex +haskell_cabal_use_prebuilt autoconf automake cabal cabal-prebuilt clang-15 +analyzer clang-18 +analyzer file ghc ghc-prebuilt grep groff gsed gzip hadrian +haskell_cabal_use_prebuilt happy +haskell_cabal_use_prebuilt hscolour +haskell_cabal_use_prebuilt pandoc py313-access py313-anyio py313-appnope py313-argon2-cffi py313-argon2-cffi-bindings py313-arrow py313-asttokens py313-async-lru py313-beautifulsoup4 +html5lib+lxml py313-bleach py313-brotlicffi py313-cffi py313-comm py313-debugpy py313-decorator py313-defusedxml py313-deprecation py313-esda py313-executing py313-fastjsonschema py313-fqdn py313-geopandas py313-giddy py313-h11 py313-h2 py313-hpack py313-html5lib py313-httpcore py313-httpx py313-hyperframe py313-importlib-metadata py313-inequality py313-ipykernel py313-ipython py313-isoduration py313-jedi py313-joblib py313-json5 py313-jsonschema py313-jsonschema-format-nongpl py313-jsonschema-specifications py313-jupyter-lsp py313-jupyter_client py313-jupyter_core py313-jupyter_events py313-jupyter_server py313-jupyter_server_terminals py313-jupyterlab py313-jupyterlab_server py313-libpysal py313-linkify-it-py py313-llvmlite py313-mapclassify py313-markdown-it-py py313-matplotlib-inline py313-mdit-py-plugins py313-mdurl py313-mgwr py313-mistune py313-momepy py313-mpmath py313-mypy py313-mypy_extensions py313-nbclient py313-nbconvert py313-nbformat py313-nest_asyncio py313-networkx py313-notebook_shim py313-numba py313-overrides py313-pandas py313-pandocfilters py313-parso py313-pathspec py313-pexpect py313-plotly py313-pointpats py313-pretend py313-prometheus_client py313-prompt_toolkit py313-psutil py313-ptyprocess py313-pulp py313-pure_eval py313-pybind11 py313-pycparser py313-pyogrio py313-pysal py313-python-json-logger py313-pytzdata py313-quantecon py313-rasterstats py313-referencing py313-rfc3339-validator py313-rfc3986-validator py313-rich py313-rpds-py py313-rsgislib py313-scikit-learn py313-scipy +accelerate+gfortran py313-seaborn py313-segregation py313-send2trash py313-simplejson py313-sniffio py313-socksio py313-soupsieve py313-spaghetti py313-spglm py313-sphinx-jsonschema py313-sphinx_rtd_theme py313-sphinxnotes-strike py313-spint py313-splot py313-spopt py313-spreg py313-spvcm py313-stack_data py313-statsmodels py313-sympy py313-tenacity py313-terminado py313-threadpoolctl py313-tinycss2 py313-tobler py313-tornado py313-tqdm py313-traitlets py313-types-python-dateutil py313-typing_extensions py313-uc-micro-py py313-uri-template py313-wcwidth py313-webcolors py313-webencodings py313-websocket-client py313-zmq rsgislib texlive-fonts-extra +doc texlive-fonts-recommended +doc texlive-latex-extra +doc texlive-xetex +doc Continue? [Y/n]: y ---> Fetching archive for clang-15 ---> Attempting to fetch clang-15-15.0.7_4+analyzer.darwin_25.arm64.tbz2 from https://packages.macports.org/clang-15 ---> Attempting to fetch clang-15-15.0.7_4+analyzer.darwin_25.arm64.tbz2 from https://fra.de.packages.macports.org/clang-15 ---> Attempting to fetch clang-15-15.0.7_4+analyzer.darwin_25.arm64.tbz2 from https://mse.uk.packages.macports.org/clang-15 ---> Fetching distfiles for clang-15 ---> Verifying checksums for clang-15 ---> Extracting clang-15 ---> Applying patches to clang-15 ---> Configuring clang-15 ---> Building clang-15 Error: Failed to build clang-15: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-15/clang-15/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port qgis3 failed
comment:3 Changed 3 months ago by nilason (Nicklas Larsson)
Clang-15 was disabled from macOS 26, but there are dependencies (eg flex) that still depend on it.
comment:4 follow-up: 5 Changed 3 months ago by jmroot (Joshua Root)
Looks like the clang-15 dependency is via py313-llvmlite. Unless there's some way that qgis3 could avoid using llvmlite, this would thus be a duplicate of #73027.
comment:5 Changed 3 months ago by nilason (Nicklas Larsson)
Replying to jmroot:
Looks like the clang-15 dependency is via py313-llvmlite. Unless there's some way that qgis3 could avoid using llvmlite, this would thus be a duplicate of #73027.
It is possible to turn off the default `plugin_support{39-313} variant, which is only for user convenience.
@vitidron Please try: sudo port install qgis3 -plugin_support313.
comment:6 follow-up: 7 Changed 3 months ago by vitidron (Federico)
Looks like it's working @nilason but I guess I will miss all the processing scripts in python with that variant, right?
sudo port install qgis3 -plugin_support313
---> Computing dependencies for qgis3
---> Fetching archive for qgis3
---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://packages.macports.org/qgis3
---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://fra.de.packages.macports.org/qgis3
---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://mse.uk.packages.macports.org/qgis3
---> Fetching distfiles for qgis3
---> Attempting to fetch QGIS-3_44_3.tar.gz from https://distfiles.macports.org/qgis3
---> Verifying checksums for qgis3
---> Extracting qgis3
---> Applying patches to qgis3
---> Configuring qgis3
---> Building qgis3
[ ] 11.0 %
comment:7 Changed 3 months ago by nilason (Nicklas Larsson)
Replying to vitidron:
Looks like it's working @nilason but I guess I will miss all the processing scripts in python with that variant, right?
They are dependencies needed for some of the more popular plugins. Core functionality will work fine.
comment:8 follow-up: 9 Changed 3 months ago by vitidron (Federico)
New log attached....
sudo port install qgis3 -plugin_support313 ---> Computing dependencies for qgis3 ---> Fetching archive for qgis3 ---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://packages.macports.org/qgis3 ---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://fra.de.packages.macports.org/qgis3 ---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://mse.uk.packages.macports.org/qgis3 ---> Fetching distfiles for qgis3 ---> Attempting to fetch QGIS-3_44_3.tar.gz from https://distfiles.macports.org/qgis3 ---> Verifying checksums for qgis3 ---> Extracting qgis3 ---> Applying patches to qgis3 ---> Configuring qgis3 ---> Building qgis3 Error: Failed to build qgis3: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port qgis3 failed
comment:9 Changed 3 months ago by nilason (Nicklas Larsson)
Replying to vitidron:
New log attached....
That's a completely another issue. What will the following give you:
port installed leveldb otool -L /opt/local/libexec/qt5/lib/QtWebKit.framework/Versions/5/QtWebKit | grep liblevel
comment:10 Changed 3 months ago by nilason (Nicklas Larsson)
This is what errors:
:info:build dyld[63914]: Symbol not found: __ZTIN7leveldb10ComparatorE :info:build Referenced from: <C85FF9DD-C147-34FD-9254-36C62ABE6C41> /opt/local/libexec/qt5/lib/QtWebKit.framework/Versions/5/QtWebKit :info:build Expected in: <634A48C9-065D-3ED4-846F-AFB2B529B1B0> /opt/local/lib/libleveldb.1.23.0.dylib :info:build /bin/sh: line 1: 63914 Abort trap: 6 ../../output/bin/crssync :info:build make[2]: *** [src/crssync/CMakeFiles/synccrsdb] Error 134 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/qgis3-e6194b9a/work/build' :info:build make[1]: *** [src/crssync/CMakeFiles/synccrsdb.dir/all] Error 2 :info:build make[1]: *** Waiting for unfinished jobs....
comment:11 Changed 3 months ago by vitidron (Federico)
port installed leveldb The following ports are currently installed: leveldb @1.23_1 (active) leveldb @1.23_1+memenv leveldb @1.23_1+memenv+rtti
otool -L /opt/local/libexec/qt5/lib/QtWebKit.framework/Versions/5/QtWebKit | grep liblevel /opt/local/lib/libleveldb.1.dylib (compatibility version 1.0.0, current version 1.23.0)
comment:12 follow-up: 13 Changed 3 months ago by nilason (Nicklas Larsson)
I have (on macOS 14) leveldb @1.23_1+memenv+rtti active, maybe that makes the difference.
comment:13 Changed 3 months ago by vitidron (Federico)
Replying to nilason:
I have (on macOS 14)
leveldb @1.23_1+memenv+rttiactive, maybe that makes the difference.
Great! Tha changed something. It compiled with "-plugin_support313". So, I believe that I cannot run python scripts and that'll be a problem, but another problem at least.
sudo port install qgis3 -plugin_support313
---> Computing dependencies for qgis3
---> Fetching archive for qgis3
---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://packages.macports.org/qgis3
---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://fra.de.packages.macports.org/qgis3
---> Attempting to fetch qgis3-3.44.3_0+postgresql17+python313.darwin_25.arm64.tbz2 from https://mse.uk.packages.macports.org/qgis3
---> Fetching distfiles for qgis3
---> Attempting to fetch QGIS-3_44_3.tar.gz from https://distfiles.macports.org/qgis3
---> Verifying checksums for qgis3
---> Extracting qgis3
---> Applying patches to qgis3
---> Configuring qgis3
---> Building qgis3
---> Staging qgis3 into destroot
---> Installing qgis3 @3.44.3_0+postgresql17+python313
---> Activating qgis3 @3.44.3_0+postgresql17+python313
---> Cleaning qgis3
---> 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:
qgis3 has the following notes:
Some QGIS plugins may fail with error message noting missing PyQt5.QtWebKit
module, this could be solved by manually installing the module with e.g.
`sudo port install py313-pyqt5 +webkit` (just make sure you use the same
Python version for py-pyqt5 as for the QGIS Python bindings).
Is there any option to add the plugin support to actual installation without produce an error? any suggestion? Thanks! (I'm already installing the +webkit suggested in notes)
comment:14 Changed 3 months ago by nilason (Nicklas Larsson)
It is built with python support (no way to avoid that!), so I'm not sure what you mean. If there are specific plugin(s) you need, you can always try to manually install the specific dependencies needed for them.
comment:15 Changed 3 months ago by vitidron (Federico)
yes, sorry, it was a plugin that needed something.
Looks like all is working now.... thanks for the help!!!! Let's hope in future upgrades keeps working without installation problems.
Thanks!!!
comment:16 Changed 7 weeks ago by kom177
After upgrade of py313-llvmlite to latest version qgis3 can be installed smoothly on Tahoe (arm64) with default variants combination (+plugin_support313+postgresql17+python313).
(Only for version 3.44.3. Upgrade to 3.44.4 fails).
UPD. After last fixes QGIS can be upgraded to 3.44.4 but somehow GDAL has lost WEBP support.
UPD2. I've done clean install of QGIS 3.44.4 and again there is no WEBP support. Looks like GDAL port bug.
gdalinfo /Users/kom/Downloads/Forest_Covered_Area_World_Map.webp ERROR 4: `/Users/kom/Downloads/Forest_Covered_Area_World_Map.webp' not recognized as being in a supported file format. gdalinfo failed - unable to open '/Users/kom/Downloads/Forest_Covered_Area_World_Map.webp'.

Please add the main.log to the ticket as an attachment.