Today, qgis-git doesn't compile due to lack of /usr/lib/libdl.so
Resolved with:
ln -s libdl.so.2 libdl.so
Git Clone URL: | https://aur.archlinux.org/qgis-git.git (read-only, click to copy) |
---|---|
Package Base: | qgis-git |
Description: | Geographic Information System (GIS) that supports vector, raster & database formats - Development master |
Upstream URL: | http://qgis.org/ |
Keywords: | GIS Qt5 |
Licenses: | GPL |
Provides: | qgis |
Submitter: | okanisis |
Maintainer: | gaelic (Fincer, qs9rx) |
Last Packager: | qs9rx |
Votes: | 17 |
Popularity: | 0.000000 |
First Submitted: | 2015-08-20 03:06 (UTC) |
Last Updated: | 2024-11-24 12:12 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 12 Next › Last »
Today, qgis-git doesn't compile due to lack of /usr/lib/libdl.so
Resolved with:
ln -s libdl.so.2 libdl.so
Thanks marcocurreli for the notice, I updated the package. If someone figures out how to build the whole stack that we need for pointcloud handling, please raise your hand.
Please remove from depends sip4 and python-sip, add sip and pyqt-builder
Ah, sorry about protobuf, I forgot. Btw I sent a request to the maintainer to take over the package today.
queue_properties seems to be related to opencl:
With opencl-headers, opencl-mesa, opencl-nvidia, opencl-clhpp installed:
-- Found OpenCL: /usr/lib/libOpenCL.so (found version "2.2")
-- Found OpenCL C++ headers: /usr/include
Compiles fine.
No opencl packages installed:
-- Could NOT find OpenCL (missing: OpenCL_INCLUDE_DIR)
-- Couldn't find OpenCL: support DISABLED
Compiles fine.
Just opencl-headers and opencl-clhpp installed:
-- Found OpenCL: /usr/lib/libOpenCL.so (found version "2.2")
-- Found OpenCL C++ headers: /usr/include
Compiles fine.
Just opencl-nvidia installed:
-- Found OpenCL: /usr/lib/libOpenCL.so (found version "1.2")
-- Couldn't find OpenCL C++ headers, using internal: /home/user/.cache/yay/qgis-git/src/qgis/external/opencl-clhpp/include
Compiling crashes with sereval error: ‘queue_properties’ was not declared in this scope; did you mean ‘QueueProperties’?
Just opencl-nvidia and opencl-headers installed:
-- Found OpenCL: /usr/lib/libOpenCL.so (found version "2.2")
-- Couldn't find OpenCL C++ headers, using internal: /home/hannes/.cache/yay/qgis-git/src/qgis/external/opencl-clhpp/include
Compiles fine.
So it seems like the libOpenCL.so from opencl-nvidia clashes with the internal headers. Install opencl-headers and you should be good, opencl-clhpp might be better. No idea how to solve this in a PKGBUILD... Might be an upstream bug.
Yeah, turns out I didn't have the protobuf
package and it is not explicitly listed in the PKGBUILD. When I installed that and tried to build again, the build started.
But then I got different errors, like naming errors (e.g. queue_properties instead of QueueProperties, according to stderr output) in the source. I might have got a git-clone that was just about to be fixed moments later with another git-push.
I have installed qgis-ltr for now. May give this one a shot tomorrow.
Thanks anyway.
How could we know a workaround when we do not know what the error on your end was? It could be a full disk for all anyone else knows ;)
Not sure why the qgis-3-fix-sip-name.patch
file is still in the package, the PKGBUILD does not use it anymore.
I just tried the package and it compiled without problems with just the python-pyqt5-sip
fix. Might be a dependency that is not explicitly listed in the PKGBUILD.
First, I changed python-sip-pyqt5
to python-pyqt5-sip
in the depends array in PKGBUILD. Then I tried to build this using the patch supplied with the package by adding patch -Np1 < "${srcdir}/qgis-3-fix-sip-name.patch"
in the prepare function. It fails.
Then I tried to build without applying the patch, it still fails. Does anyone know any workaround? Or what am I missing?
Pinned Comments
gaelic commented on 2017-03-06 20:58 (UTC) (edited on 2018-07-22 09:39 (UTC) by gaelic)
Please note:
This is the master branch of qgis (3.30) which may not be able to compile because of upstream problems or rapid changes in dependencies.