Package Details: qgis-git 3.99_master.r78162.24a71d05862-1

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: 2022-07-25 20:35 (UTC)

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.

Latest Comments

qs9rx commented on 2022-05-20 18:56 (UTC)

Very nice, thank you! I switched this package to sip-65 for now.

buzo commented on 2022-05-16 13:16 (UTC)

I have created the AUR package sip-65 to fix qgis-ltr. It could be useful here, too. :)

qs9rx commented on 2022-05-08 14:32 (UTC)

Needs sip<=6.5.1 until https://www.riverbankcomputing.com/pipermail/pyqt/2022-April/044584.html is fixed.

qs9rx commented on 2022-04-14 16:54 (UTC)

@MarsSeed: Work is hard and I don't have unlimited time or energy. Sorry!

Anyways, it turns out that a) I meant untwine-git, not pdal-git and b) untwine comes bundled as a copy with the QGIS repo and is build by default so the package works just fine already. :)

MarsSeed commented on 2022-04-11 10:46 (UTC)

@qs9rx, why don't you create an AUR/pdal-qgis-git package?

AUR is meant for user-side automated build and update, not for forcing users to edit PKGBUILDs and build manually.

So it would seem the logical and convenient solution for me to create that new package and make qgis-git depend on that.

qs9rx commented on 2022-04-10 20:42 (UTC) (edited on 2022-04-10 20:42 (UTC) by qs9rx)

I pushed a fairly big update with a change of the build system to ninja and some changes in the depends.

Please be aware that currently you will need to build pdal-git with a modified PKGBUILD! Use source=("git+https://github.com/PDAL/PDAL#branch=qgis"), build and install, then you can build qgis-git. Alternatively, if you do not need PDAL support (point clouds), disable it in the PKGBUILD. Sorry, I hope this will be solved upstream.

If something is broken, your patch is welcome ;)

Scimmia commented on 2022-03-14 22:17 (UTC)

That's not a resolution, you just need to stop it from trying to link to that lib. libdl.so.2 is just a stub for compabibility.

marcocurreli commented on 2022-03-14 21:47 (UTC) (edited on 2022-03-14 21:50 (UTC) by marcocurreli)

Today, qgis-git doesn't compile due to lack of /usr/lib/libdl.so

Resolved with:

ln -s libdl.so.2 libdl.so

qs9rx commented on 2022-02-03 20:35 (UTC)

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.

marcocurreli commented on 2022-01-18 00:07 (UTC)

Please remove from depends sip4 and python-sip, add sip and pyqt-builder

qs9rx commented on 2021-01-20 20:51 (UTC) (edited on 2021-01-20 20:52 (UTC) by qs9rx)

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.

darrSonik commented on 2021-01-01 19:14 (UTC) (edited on 2021-01-01 19:17 (UTC) by darrSonik)

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.

qs9rx commented on 2021-01-01 19:03 (UTC)

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.

darrSonik commented on 2021-01-01 11:35 (UTC)

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?

qs9rx commented on 2020-12-10 14:22 (UTC)

No issues with Python 3.9 here. Only update needed in the PKGBUILD is still the "python-pyqt5-sip" package.

marcocurreli commented on 2020-12-08 22:11 (UTC)

QGis doesn't compile with python 3.9

qs9rx commented on 2020-08-13 21:19 (UTC)

@gaelic, update please. ;)

It compiles fine with python-pyqt5-sip

geosam commented on 2020-04-28 14:02 (UTC)

Please update to 3.12.0 master

qs9rx commented on 2020-03-24 21:28 (UTC) (edited on 2020-03-29 14:41 (UTC) by qs9rx)

And like that, qgis-git just successfully compiled the most recent 2d0ffedc70 for me.

qs9rx commented on 2020-03-24 19:47 (UTC)

There is https://www.archlinux.org/packages/extra/x86_64/python-pyqt5-sip/ now

Isaacson commented on 2020-03-12 12:06 (UTC)

I've just tried to compile using the PKGBUILD and the patch supplied in the fix, but it fails to make. I've also tried using the dependencies list from the latest release version (3.12.0) against the qgis.git source and it still fails. Since the current qgis.git is barely two weeks newer than the release version, it seems unlikely that new dependencies have been added, and I can't find reference to any.

petronny commented on 2020-02-04 04:40 (UTC) (edited on 2020-02-04 04:40 (UTC) by petronny)

There is a fix about python-sip-pyqt5. But I haven't tested it yet.

Could you try to merge this fix and update this package?

petronny commented on 2019-12-24 07:05 (UTC)

python-sip-pyqt5 exists no more.

ygversil commented on 2019-12-14 10:25 (UTC)

Get error: failed to parse qgis-git: Line 53: key "pkgbase" can not occur after pkgbase or pkgname: pkgbase = qgis-git

This is probably because of duplicate lines in .SRCINFO.

petronny commented on 2019-03-27 05:46 (UTC)

I got it.

The first error ModuleNotFoundError: No module named 'PyQt5.pyqtconfig' is designed to fail. It seems to be a compatibility workaround for the pyqtconfig API change.

So the main problem is ModuleNotFoundError: No module named 'sipconfig. After adding python-sip to depends, it works with extra-x86_64-build now.

petronny commented on 2019-03-07 09:54 (UTC)

==> Making package: qgis-git 3.5.0_master.r54115.12ba41750f-1 (Thu 07 Mar 2019 05:37:09 PM CST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (78) assimp-4.1.0-1  boost-libs-1.69.0-1  cdparanoia-10.2-7
              double-conversion-3.1.1-1  graphene-1.8.4-1
              gst-plugins-base-1.14.4-1  hyphen-2.8.8-2  libevdev-1.6.0-1
              libinput-1.12.6-1  libtheora-1.1.1-4  libvisual-0.4.0-7
              libwacom-0.32-1  libwebp-1.0.2-1  libxkbcommon-x11-0.8.4-1
              libxmu-1.1.2-2  libxslt-1.1.33-1  libxt-1.1.5-2  libyaml-0.2.1-1
              mtdev-1.1.5-2  opus-1.3-1  pyqt5-common-5.12-2  python-3.7.2-3
              python-appdirs-1.4.3-2  python-chardet-3.0.4-2
              python-dateutil-2.8.0-1  python-idna-2.8-1
              python-markupsafe-1.1.1-1  python-packaging-19.0-1
              python-pyparsing-2.3.1-1  python-pyproj-1.9.6-1
              python-pytz-2018.9-1  python-qscintilla-qt5-common-2.11.1-1
              python-requests-2.21.0-1  python-setuptools-1:40.8.0-1
              python-six-1.12.0-1  python-urllib3-1.24.1-2
              qscintilla-qt5-2.11.1-1  qt5-base-5.12.1-2
              qt5-declarative-5.12.1-1  qt5-location-5.12.1-1
              qt5-sensors-5.12.1-1  qt5-svg-5.12.1-1  qt5-webchannel-5.12.1-1
              qwt-6.1.3-4  tslib-1.19-1  xcb-util-0.4.0-2
              xcb-util-image-0.4.0-2  xcb-util-keysyms-0.4.0-2
              xcb-util-renderutil-0.3.9-2  xcb-util-wm-0.4.1-2
              xdg-utils-1.1.3-3  xorg-xset-1.2.4-1  exiv2-0.26-2  gsl-2.5-1
              libzip-1.5.1-1  ocl-icd-2.2.12-3  python-future-0.17.1-1
              python-gdal-2.3.2-9  python-jinja-2.10-2  python-numpy-1.16.2-1
              python-owslib-0.17.1-1  python-psycopg2-2.7.7-1
              python-pygments-2.3.1-1  python-pyqt5-5.12-2
              python-qscintilla-qt5-2.11.1-1  python-sip-pyqt5-4.19.14-1
              python-yaml-3.13-2  qca-2.1.3-3  qt5-3d-5.12.1-1
              qt5-script-5.12.1-1  qt5-serialport-5.12.1-1  qt5-tools-5.12.1-1
              qt5-webkit-5.212.0alpha2-23  qt5-xmlpatterns-5.12.1-1
              qtkeychain-0.9.1-1  qwtpolar-1.1.1-4  sip-4.19.14-1
              spatialindex-1.8.5-2

And

(26/78) installing python-sip-pyqt5                [######################] 100%

I'm sure it is installed.

gaelic commented on 2019-03-06 15:05 (UTC)

@qs9rx: added

@petronny: python-sip-pyqt5 is in the dependencies, can you verify you have it installed?

pacman -Q|grep python-sip-pyqt5

should result in

python-sip-pyqt5 4.19.14-1

petronny commented on 2019-02-28 09:51 (UTC)

I'm getting

-- Found Python site-packages: /usr/lib/python3.7/site-packages
Traceback (most recent call last):
  File "/build/qgis-git/src/qgis/cmake/FindPyQt5.py", line 34, in <module>
    import PyQt5.pyqtconfig
ModuleNotFoundError: No module named 'PyQt5.pyqtconfig'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build/qgis-git/src/qgis/cmake/FindPyQt5.py", line 38, in <module>
    import sipconfig # won't work for SIP v5
ModuleNotFoundError: No module named 'sipconfig'
Traceback (most recent call last):
  File "/build/qgis-git/src/qgis/cmake/FindSIP.py", line 33, in <module>
    import sipconfig
ModuleNotFoundError: No module named 'sipconfig'
CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):
  Could not find SIP
Call Stack (most recent call first):
  CMakeLists.txt:793 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeOutput.log".
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().

with extra-x86_64-build. Could you test the PKGBUILD in a clean chroot too?

qs9rx commented on 2019-02-12 17:41 (UTC)

ocl-icd is a dependency now, due to OpenCL being introduced for some algorithms.

raininja commented on 2019-02-01 03:07 (UTC)

gaelic: thanks for this PKGBUILD, yet

I needed python-sip-pyqt5 for this to build, FYI

Scimmia commented on 2018-12-27 17:01 (UTC) (edited on 2018-12-27 17:01 (UTC) by Scimmia)

-# Maintainer: Doug Newgard <scimmia at archlinux dot info>
-# Maintainer: XavierCLL <xavier.corredor.llano (a) gmail.com>
-# Contributor: SaultDon <sault.don gmail>
-# Contributor: Lantald < lantald at gmx.com >
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
-# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-# Contributor: Eric Forgeot < http://esclinux.tk >
-
-# Globe Plugin and Map Server are disabled in cmake by default.
-# Uncomment them in the build() portion if you'd like them enabled.
-# You will also need to install osgearth or fcgi, respectively, before building.
+# Maintainer: gaelic

What an asshat

petronny commented on 2018-12-11 07:12 (UTC)

-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found exiv2: /usr/lib/libexiv2.so
CMake Error at src/providers/wms/CMakeLists.txt:1 (FIND_PACKAGE):
  By not providing "FindQt5XmlPatterns.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5XmlPatterns", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5XmlPatterns"
  with any of the following names:

    Qt5XmlPatternsConfig.cmake
    qt5xmlpatterns-config.cmake

  Add the installation prefix of "Qt5XmlPatterns" to CMAKE_PREFIX_PATH or set
  "Qt5XmlPatterns_DIR" to a directory containing one of the above files.  If
  "Qt5XmlPatterns" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeOutput.log".
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().

We may need qt5-xmlpatterns?

petronny commented on 2018-11-14 03:52 (UTC)

-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
EXIV2_INCLUDE_DIR=EXIV2_INCLUDE_DIR-NOTFOUND
EXIV2_LIBRARY=EXIV2_LIBRARY-NOTFOUND
CMake Error at cmake/FindEXIV2.cmake:21 (MESSAGE):
  Could not find exiv2
Call Stack (most recent call first):
  src/analysis/CMakeLists.txt:198 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeOutput.log".
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...

A new dependency is needed now...

geosam commented on 2018-10-28 03:19 (UTC)

Update please to 3.5 branch https://gist.github.com/samtux/b0ab178672b95ee04de235f475f8c4f8

geosam commented on 2018-10-26 16:04 (UTC)

@petronny and @gaelic. The patch qgis-3-fix-sip-name.patch is not necessary, please update the PKGBUILD.

petronny commented on 2018-10-26 03:30 (UTC)

==> 正在开始 prepare()...
patching file python/CMakeLists.txt
Hunk #1 FAILED at 174.
Hunk #2 FAILED at 198.
Hunk #3 FAILED at 227.
Hunk #4 FAILED at 257.
4 out of 4 hunks FAILED -- saving rejects to file python/CMakeLists.txt.rej
patching file python/plugins/processing/gui/NumberInputPanel.py
Hunk #1 FAILED at 27.
1 out of 1 hunk FAILED -- saving rejects to file python/plugins/processing/gui/NumberInputPanel.py.rej
patching file src/python/qgspythonutilsimpl.cpp
Hunk #1 FAILED at 104.
1 out of 1 hunk FAILED -- saving rejects to file src/python/qgspythonutilsimpl.cpp.rej

Fincer commented on 2018-09-27 08:13 (UTC)

Allright, I fixed the PKGBUILD, keeping 'qgis-git' arguments as well. Link here:

https://pastebin.com/raw/8Nc20AT9

In addition, I had to apply the following patch (which is named as 'qgis-3-fix-sip-name.patch' in the PKGBUILD):

https://issues.qgis.org/attachments/download/13041/qgis-3.2.1-fix-sip-name.patch

Fincer commented on 2018-09-26 22:10 (UTC)

PKGBUILD lines 38-39 are outdated due to the following recent commit:

https://github.com/qgis/QGIS/commit/52a80d895c45876bfdf97d194c7f666031412b5d


linux/org.qgis.qgis.desktop is now replaced by linux/org.qgis.qgis.desktop.in


In addition, at least on my system the Exec file generated is 'qgis-git', not 'qgis'. As far as I understand, this renders sed line 36 outdated as well (should the regex be 's/Exec=qgis/Exec=qgis-git/g' instead?)

This little difference in executable name makes the QGis desktop file invisible on my Linux desktop. Correct Exec naming in QGis desktop file fixes the issue for me.

qs9rx commented on 2018-08-05 10:10 (UTC)

The patch works fine! Updated PKGBUILD here: https://pastebin.com/raw/RnTBmAWp

qs9rx commented on 2018-08-02 20:52 (UTC)

There is a patch for the "ValueError: PyCapsule_GetPointer called with incorrect name" issue posted at https://issues.qgis.org/issues/19476#change-91190, I have not tried it yet.

petronny commented on 2018-07-23 02:32 (UTC)

[100%] Built target qsci-api
Traceback (most recent call last):
  File "../../../scripts/pyuic-wrapper.py", line 26, in <module>
    import qgis.PyQt.uic.pyuic
  File "/build/qgis-git/src/qgis/build/output/python/qgis/__init__.py", line 80, in <module>
    import qgis.gui
  File "/build/qgis-git/src/qgis/build/output/python/qgis/gui/__init__.py", line 27, in <module>
    from qgis._gui import *
ValueError: PyCapsule_GetPointer called with incorrect name
Traceback (most recent call last):
  File "../../../scripts/pyuic-wrapper.py", line 26, in <module>
    import qgis.PyQt.uic.pyuic
  File "/build/qgis-git/src/qgis/build/output/python/qgis/__init__.py", line 80, in <module>
    import qgis.gui
  File "/build/qgis-git/src/qgis/build/output/python/qgis/gui/__init__.py", line 27, in <module>
    from qgis._gui import *
ValueError: PyCapsule_GetPointer called with incorrect name
Traceback (most recent call last):
  File "../../../scripts/pyuic-wrapper.py", line 26, in <module>
    import qgis.PyQt.uic.pyuic
  File "/build/qgis-git/src/qgis/build/output/python/qgis/__init__.py", line 80, in <module>
    import qgis.gui
  File "/build/qgis-git/src/qgis/build/output/python/qgis/gui/__init__.py", line 27, in <module>
    from qgis._gui import *
ValueError: PyCapsule_GetPointer called with incorrect name
make[2]: *** [python/pyplugin_installer/CMakeFiles/pyplugin-installer.dir/build.make:68: python/pyplugin_installer/ui_qgsplugininstallerinstallingbase.py] Error 1
make[2]: *** [python/console/CMakeFiles/pyconsole.dir/build.make:71: python/console/ui_console_settings.py] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....

No idea how to fix this.

petronny commented on 2018-07-12 04:19 (UTC)

[ 29%] Generating moc_qgsattributedialog.cpp
/bin/sh: /usr/bin/sip: No such file or directory
make[2]: *** [python/CMakeFiles/python_module_qgis__core.dir/build.make:516: python/core/sip_corepart0.cpp] Error 127
make[2]: *** Deleting file 'python/core/sip_corepart0.cpp'
[ 29%] Generating moc_qgsattributeform.cpp
make[1]: *** [CMakeFiles/Makefile2:3527: python/CMakeFiles/python_module_qgis__core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target qgispython
[ 29%] Generating moc_qgsattributeformeditorwidget.cpp

It seems that sip is one of dependencies now.

james commented on 2018-07-04 23:21 (UTC)

debian/qgis.desktop has moved to linux/org.qgis.qgis.desktop (pkgbuild) requires: qt5-serialport

peippo commented on 2018-03-27 08:08 (UTC)

The .desktop file stopped working at some point (it’s Exec line is pointing to qgis instead of qgis-git) I think previously you had a sed line in the PKGBUILD, but I might be mistaken. If you have time, could you take a look at it? Thanks!

geosam commented on 2018-01-12 23:13 (UTC) (edited on 2018-01-13 19:36 (UTC) by geosam)

Unofficial repository for Geospatial applications:

https://archgeotux.sourceforge.io

kikislater commented on 2017-11-13 16:02 (UTC)

I know but lol ! Don't feel angry, I just want to contribute to community. We are all in the same "package". I'm happy you had notification, if we could not improve qgis package with this aur simply delete it :-/

Scimmia commented on 2017-11-13 15:58 (UTC)

I had notification of the comment. Learn how -git packages work before doing something that dumb again.

kikislater commented on 2017-11-13 15:53 (UTC)

Or not ... You had notification, that's important. If not may be aur lack a function to not flag out of date git package !

Scimmia commented on 2017-11-13 15:41 (UTC)

kikislater, this is a -git package. Flagging it out of date for something like that is just idiotic.

kikislater commented on 2017-11-13 14:08 (UTC)

I think it's time to update now : https://twitter.com/qgis/status/929808068837302275 Help test the new version! Get the release candidate for your Operating System and report any issue you find, so it can be fixed for the 3.0 release. For users like me who want to contribute, it will be good to have current package installation ...

geosam commented on 2017-10-04 15:04 (UTC)

Please update with option -DWITH_3D=TRUE, and add package dependency qt5-3d

geosam commented on 2017-08-11 16:06 (UTC)

Missing dependency libzip

peippo commented on 2017-07-20 12:24 (UTC)

@gaelic: qwtpolar-qt5 was renamed (?) to qwtpolar – please update the PKGBUILD! thanks for the great work :)

gaelic commented on 2017-06-08 13:42 (UTC)

I moved gsl to dependencies instead of optdepends, the package will receive some more maintenance shortly as there are some new Cmake Features upstream.

james commented on 2017-06-06 00:23 (UTC)

gsl is required or else it doesn't compile at all anymore

gaelic commented on 2017-05-02 08:49 (UTC) (edited on 2017-05-02 08:51 (UTC) by gaelic)

Hi. I'm not sure if this should be done for all users. According to: https://git.archlinux.org/abs.git/tree/prototypes/PKGBUILD-python.proto only python should be used. Maybe this is the best solution in such a case: https://github.com/ava1ar/customizepkg

capitalaslash commented on 2017-04-26 09:26 (UTC)

please use explicitly `python3` instead of the generic `python` to avoid build problems when you locally have `python` pointing to `python2` as I need to do.

commented on 2017-04-22 11:31 (UTC)

Works now, thanks!

Scimmia commented on 2017-04-20 02:19 (UTC)

The pkgver MUST go up with every commit. Just using the short hash will give you random upgrades and downgrades. The bug is NOT fixed.

gaelic commented on 2017-04-19 19:58 (UTC)

The version bug should finally be resolved and the update either issued by the user (e.g. with yaourt -Syu --aur --devel) or when the PKGFILE is updated here.

commented on 2017-04-18 17:03 (UTC)

Version bug still there for me.

gaelic commented on 2017-04-17 19:42 (UTC)

fixed the version bug

commented on 2017-04-17 15:30 (UTC)

After the Update is still get: :: qgis-git 2.99.0r806d225r-1 -> 2.99.0r806d225-1

gaelic commented on 2017-04-15 19:26 (UTC)

added qtkeychain in the deps

geosam commented on 2017-04-12 23:47 (UTC)

qtkeychain dependency missing CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QTKEYCHAIN_INCLUDE_DIR

gaelic commented on 2017-03-13 18:05 (UTC)

I see, didn't notice the _ and - first. But do you experience any troubles? I am sucessfully building qgis here.

lazyboy commented on 2017-03-13 17:31 (UTC)

My qscintilla-qt5 contains /usr/lib/libqscintilla2_qt5.so /usr/lib/libqscintilla2_qt5.so.13 /usr/lib/libqscintilla2_qt5.so.13.0 /usr/lib/libqscintilla2_qt5.so.13.0.0 but not libqscintilla2-qt5.so

gaelic commented on 2017-03-13 09:58 (UTC) (edited on 2017-03-13 09:58 (UTC) by gaelic)

The package is now double checking the sizes for the icons for installation: - which directories do exist in /usr/share/hicolor - which icon sizes are provided by qgis ---- @juliusadler: I'm not sure what you mean that the package should create the symlink to libqscintilla2-qt5? This file is owned by the qscintilla2-qt5 package.

juliusadler commented on 2017-03-10 10:06 (UTC)

You have to create the symlink /usr/lib/libqscintilla2-qt5.so for a successful build. And please change nonres to: nonres='1024x1024|480x480|384x384|160x160|60x60|40x40|20x20'

gaelic commented on 2017-03-08 13:42 (UTC)

Thanks for the comments. - I've fixed the problem with the non-existent 1024x1024 icon; - gsl stays optional, if you want to compile with georeferencer please uncomment the corresponding line in the PKGBUILD "-DMAKE_WITH_GEOREFERENCER=FALSE"

Kunda commented on 2017-03-08 13:25 (UTC)

Lastest git revision aborts at the end of the build: -- Installing: /tmp/pamac-build-ghee/qgis-git/pkg/qgis-git/opt/qgis-git/share/qgis/python/qgis/testing/mocked.py install: cannot stat 'debian/icons/qgis-icon1024x1024.png': No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

Anaphory commented on 2017-03-08 11:50 (UTC)

It seems like qgis-git depends on gsl, but that dependency is not listed in the PGKBUILD.

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.

gaelic commented on 2017-03-06 20:48 (UTC) (edited on 2017-03-06 20:50 (UTC) by gaelic)

qgis now works with sip 2.19.1, and is compiling fine at the moment. I also experience compile errors when using many threads (MAKEFLAGS="-j4"). Try something lower like 2 ...

zottelef commented on 2017-03-02 13:40 (UTC)

@gaelic: still no luck. I revert to the qgis package...

juliusadler commented on 2017-03-02 13:12 (UTC)

I've got this error: [ 63%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/layertree/moc_qgslayertreeviewdefaultactions.cpp.o make[2]: *** Keine Regel vorhanden, um das Ziel „/usr/lib64/libqscintilla2-qt5.so“, benötigt von „output/lib/libqgis_gui.so.2.99.0“, zu erstellen. Schluss. make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet.... make[1]: *** [CMakeFiles/Makefile2:372: src/gui/CMakeFiles/qgis_gui.dir/all] Fehler 2 make: *** [Makefile:150: all] Fehler 2

gaelic commented on 2017-03-01 07:55 (UTC)

@zottelef: This is a qgis problem at the moment. Please try again with python-sup-4.19-1 (not 4.19.1-1). Unfortunately all these minor upgrade seem to break things with qgis.

zottelef commented on 2017-02-28 10:57 (UTC)

Thanks @gaelic. A huge step forward: i reached 99% but then compilation fails /home/fabio/.cache/pacaur/qgis-git/src/qgis/build/python/gui/sip_guipart3.cpp:7692:7: error: deleted function ‘virtual sipQgsFileDownloader::~sipQgsFileDownloader()’ { ^ In file included from /home/fabio/.cache/pacaur/qgis-git/src/qgis/python/gui/qgsfiledownloader.sip:33:0: [...] make[2]: *** [python/CMakeFiles/python_module_qgis__gui.dir/build.make:751: python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart3.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3363: python/CMakeFiles/python_module_qgis__gui.dir/all] Error 2 make: *** [Makefile:150: all] Error 2 The version installed of python-sip is ython-sip-4.19.1-1 I tried to downgrade to python-sip-4.18.1-2 but then the error become: sip: Unable to find file "QtCore/QtCoremod.sip" make[2]: *** [python/CMakeFiles/python_module_qgis__analysis.dir/build.make:460: python/analysis/sip_analysispart0.cpp] Error 1 make[2]: *** Deleting file 'python/analysis/sip_analysispart0.cpp' make[1]: *** [CMakeFiles/Makefile2:3285: python/CMakeFiles/python_module_qgis__analysis.dir/all] Error 2

gaelic commented on 2017-02-27 16:56 (UTC)

Ah. You have to step back to qscintilla-qt5 2.9.4-1 python-qscintilla-qt5 2.9.4-1 And everything will work :)

zottelef commented on 2017-02-27 16:16 (UTC)

Here is the output: # pacman -Q qscintilla-qt5 qscintilla-qt5 2.10-1 # pacman -Q python-qscintilla-qt5 python-qscintilla-qt5 2.10-1 Thanks for the help!

zottelef commented on 2017-02-27 16:16 (UTC)

Here is the output: # pacman -Q qscintilla-qt5 qscintilla-qt5 2.10-1 # pacman -Q python-qscintilla-qt5 python-qscintilla-qt5 2.10-1 Thanks for the help!

gaelic commented on 2017-02-27 13:53 (UTC)

Can you please show me a > pacnam -Q qscintilla-qt5 & > pacman -Q python-qscintilla-qt5 thx

zottelef commented on 2017-02-27 12:48 (UTC)

I was trying to recompile it today and I got this error: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QSCINTILLA_LIBRARY I have: /usr/lib/libqscintilla2_qt4.so /usr/lib/libqscintilla2_qt4.so.13 /usr/lib/libqscintilla2_qt4.so.13.0 /usr/lib/libqscintilla2_qt4.so.13.0.0 /usr/lib/libqscintilla2_qt5.so /usr/lib/libqscintilla2_qt5.so.13 /usr/lib/libqscintilla2_qt5.so.13.0 /usr/lib/libqscintilla2_qt5.so.13.0.0 and setting: export QSCINTILLA_LIBRARY=/usr/lib does not help

gaelic commented on 2017-02-15 14:37 (UTC) (edited on 2017-02-15 14:39 (UTC) by gaelic)

Can you try to compile it again, and if not working again in a few days. This is (in my opinion) not a package problem, but some upstream hickup on the qgis side. I (and others) had the same problem some weeks ago and it just disapeared ... and unfortunately appeared again. Please keep me updated on that. PS: please also install: qgnomeplatform-git , this should resolve the gtk warnings

ingleandrobarros commented on 2017-02-13 14:27 (UTC)

Bro, Qgis-git don't run correctly. Check that: using qt5ct plugin (qgis-git:24665): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", (qgis-git:24665): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Warning: loading of qgis translation failed [/opt/qgis-git/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt/translations/qt_en_US] D-Bus system tray: no QGIS died on signal 11Aborted (core dumped)

gaelic commented on 2017-02-10 08:49 (UTC)

Well, this seems to be a problem on your side (unstable internet connection?). Please clear your pacaur cache for qgis-git and try again.

zottelef commented on 2017-02-10 08:42 (UTC)

I get this error: -> Cloning qgis git repo... Cloning into bare repository '/home/fabio/.cache/pacaur/qgis-git/qgis'... remote: Counting objects: 486889, done. remote: Compressing objects: 100% (231/231), done. remote: fatal: unable to read 33e8c840abbcec03105874a6f904d298e14c3751 remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed ==> ERROR: Failure while downloading qgis git repo Aborting...

gaelic commented on 2017-02-06 10:35 (UTC)

I've just recompiled. Works fine at the moment.

kikislater commented on 2017-02-03 11:28 (UTC)

For a temporary workaround, I use a docker for qgis desktop until sip problem solved

gaelic commented on 2017-02-03 11:02 (UTC)

Hi. I get the same error when I recompiled the package. I have not found a solution yet, but I guess there is some error because of: - uppkg of qt to 5.8 - pyqt is still at 5.7.1 I've tried to install the development version of pyqt 5.8.dev, but it needs also the development version of sip, etc. A bunch of new construction sites opening ... jinja & pygments are in the package @lazyboy: I don't know why you get this error, is it still happening? --- Additionally: the new version of the package now installs into /opt/qgis-git and symlinking the binary to /usr/bin/qgis-git So it is possible to install qgis and qgis-git side by side. But I have not tested it yet, because the stable branch of qgis fails to built because of sip. Quite a bummer at the moment.

Geotig commented on 2017-01-31 20:39 (UTC)

Hi gaelic, as lazyboy reported, I needed to install python-jinja and python-pygments, but the program crashes with a QGIS died in signal 11 too. This is the terminal info in case it's useful: using qt5ct plugin Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt/translations/qt_en_US] Warning: inotify_add_watch("/home/username/.qgis3//project_templates") failed: "No such file or directory" D-Bus system tray: no QGIS died on signal 11Aborted (core dumped)

lazyboy commented on 2017-01-31 16:29 (UTC)

I've installed qca-qt5 2.1.1-7 but I get: CMake Error at cmake/FindQCA.cmake:89 (message): Could not find QCA >= 2.0.3

lazyboy commented on 2017-01-30 12:58 (UTC)

Hi gaelic, thanks for advice, my last build was indeed intermitted. Please add python-jinja and python-pygments to the dependency list. After successful installing I get a program crash "QGIS died on signal 11".

gaelic commented on 2017-01-30 09:05 (UTC)

Hi. Can you please try to make a new built from scratch and delete all previous files generated beforehand: http://stackoverflow.com/questions/5713894/file-not-recognized-file-truncated-gcc-error I hope this will resolve this error.

lazyboy commented on 2017-01-29 18:33 (UTC) (edited on 2017-01-30 09:06 (UTC) by lazyboy)

[ 20%] Linking CXX shared library ../../output/lib/libqgis_core.so CMakeFiles/qgis_core.dir/qgssnappingutils.cpp.o: file not recognized: File truncated collect2: error: ld returned 1 exit status make[2]: *** [src/core/CMakeFiles/qgis_core.dir/build.make:13538: output/lib/libqgis_core.so.2.99.0] Error 1 make[1]: *** [CMakeFiles/Makefile2:209: src/core/CMakeFiles/qgis_core.dir/all] Error 2 make: *** [Makefile:150: all] Error 2

gaelic commented on 2016-12-29 21:29 (UTC)

the error should be resolved now, please try again.

sikmir commented on 2016-12-24 14:17 (UTC)

Compiling /tmp/yaourt-tmp-sikmir/aur-qgis-git/pkg/qgis-git/usr/share/qgis/python/qgis/core/__init__.py ... File "/tmp/yaourt-tmp-sikmir/aur-qgis-git/pkg/qgis-git/usr/share/qgis/python/qgis/core/__init__.py", line 228 def fromFunction(description, function, *args, on_finished=None, flags=QgsTask.AllFlags, **kwargs): ^ SyntaxError: invalid syntax

gaelic commented on 2016-10-25 10:59 (UTC) (edited on 2016-10-25 11:00 (UTC) by gaelic)

Thx. I've included spatial index as dependency, it is not expicitely listed as a dependency in INSTALL.md found on qgis github. Although when looking into debian or fedora package examples libspatialindex is installed. Same goes for txt2tags which seems to be only makedep. If you find any bugs regarding missing dependencies please keep me informed.

jouke commented on 2016-10-24 16:55 (UTC)

this depends on spatialindex and txt2tags might be a build dependency

gaelic commented on 2016-09-22 14:15 (UTC)

Adapted the package for Qt5 and Python3 It runs, but do not expect it to be stable in any way.

Scimmia commented on 2016-07-19 14:48 (UTC)

WARNING: The master branch is now headed toward QGIS 3.0. This means some major code churn, a complete switch to py3/pyqt5/qt5, and multiple API breaks. Expect instability.

gaelic commented on 2016-02-03 11:42 (UTC) (edited on 2016-02-03 11:43 (UTC) by gaelic)

Small information. I've updated the PKGBUILD to compile again. For simplcity reasons I've taken the stable qgis PKGBUILD and modified it. So qgis-git is not installing into /opt anymore and also the binary is simply qgis and not qgis-git ... this package is now conflicting with qgis from aur. If someone wants to revert these changes and/or modify it further for a parallel install please let me know and I'm vacating the package. ---- EDIT: the new qgis (2.14) will be aweseome :)