Package Details: qgis-ltr 3.34.13-1

Git Clone URL: https://aur.archlinux.org/qgis-ltr.git (read-only, click to copy)
Package Base: qgis-ltr
Description: Geographic Information System (GIS); Long Term Release
Upstream URL: https://qgis.org/
Keywords: GIS
Licenses: GPL-2.0-or-later
Conflicts: qgis
Provides: qgis
Submitter: okanisis
Maintainer: buzo
Last Packager: buzo
Votes: 16
Popularity: 0.000023
First Submitted: 2015-07-08 16:37 (UTC)
Last Updated: 2024-11-23 10:07 (UTC)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

gds506 commented on 2024-05-16 20:00 (UTC) (edited on 2024-05-16 20:05 (UTC) by gds506)

I'm getting an error while trying to build it with GDAL 3.9.0 (AUR gdal-hdf4 package)

Here is the error:

[1737/11751] Linking CXX executable output/lib/qgis/grass/modules/qgis.g.info8
/usr/bin/ld: warning: libgdal.so.34, needed by /opt/grass/lib/libgrass_gproj.so, not found (try using -rpath or -rpath-link)
[3967/11751] Linking CXX executable output/lib/qgis/untwine
FAILED: output/lib/qgis/untwine 
: && /usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/gds506/.cache/yay/qgis-ltr/src=/usr/src/debug/qgis-ltr -flto=auto -DQWT_POLAR_VERSION=0x060200 -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wnon-virtual-dtor -Wno-redundant-move -Wno-misleading-indentation -Wno-deprecated-copy -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -Wl,--no-undefined src/providers/pdal/CMakeFiles/untwine.dir/untwine_autogen/mocs_compilation.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/BuPyramid.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/CopcSupport.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/OctantInfo.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/Processor.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/PyramidManager.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/bu/Stats.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/BufferCache.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Cell.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Epf.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/FileProcessor.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Grid.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Reprocessor.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/epf/Writer.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/Las.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/MapFile.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/ProgressWriter.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/ThreadPool.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/untwine/untwine/Untwine.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/charbuf.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/filestream.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/header.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/lazperf.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/readers.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/vlr.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/writers.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_byte10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_byte14.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_gpstime10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_nir14.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_point10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_point14.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_rgb10.cpp.o src/providers/pdal/CMakeFiles/untwine.dir/__/__/__/external/lazperf/detail/field_rgb14.cpp.o -o output/lib/qgis/untwine -L/home/gds506/.cache/yay/qgis-ltr/src/build/src/core   -L/home/gds506/.cache/yay/qgis-ltr/src/build/src/gui -Wl,-rpath,/home/gds506/.cache/yay/qgis-ltr/src/build/src/core:/home/gds506/.cache/yay/qgis-ltr/src/build/src/gui:  /usr/lib/libpdalcpp.so.17.0.0 && :
/usr/bin/ld: warning: libgdal.so.34, needed by /usr/lib/libpdalcpp.so.17.0.0, not found (try using -rpath or -rpath-link)

...

/usr/bin/ld: /usr/lib/libpdalcpp.so.17.0.0: undefined reference to `OGRFeature::SetGeometry(OGRGeometry const*)'
collect2: error: ld returned 1 exit status
[3985/11751] Linking CXX executable output/lib/qgis/pdal_wrench
FAILED: output/lib/qgis/pdal_wrench 
: && /usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/gds506/.cache/yay/qgis-ltr/src=/usr/src/debug/qgis-ltr -flto=auto -DQWT_POLAR_VERSION=0x060200 -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wnon-virtual-dtor -Wno-redundant-move -Wno-misleading-indentation -Wno-deprecated-copy -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -Wl,--no-undefined src/providers/pdal/CMakeFiles/pdal_wrench.dir/pdal_wrench_autogen/mocs_compilation.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/main.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/alg.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/boundary.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/clip.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/density.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/info.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/merge.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/thin.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/to_raster.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/to_raster_tin.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/to_vector.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/translate.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/utils.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/vpc.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/tile.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/BufferCache.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/Cell.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/FileProcessor.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/Las.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/TileGrid.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/ThreadPool.cpp.o src/providers/pdal/CMakeFiles/pdal_wrench.dir/__/__/__/external/pdal_wrench/tile/Writer.cpp.o -o output/lib/qgis/pdal_wrench -L/home/gds506/.cache/yay/qgis-ltr/src/build/src/core   -L/home/gds506/.cache/yay/qgis-ltr/src/build/src/gui -Wl,-rpath,/home/gds506/.cache/yay/qgis-ltr/src/build/src/core:/home/gds506/.cache/yay/qgis-ltr/src/build/src/gui:  /usr/lib/libpdalcpp.so.17.0.0  /usr/lib/libgdal.so.35.3.9.0 && :
/usr/bin/ld: warning: libgdal.so.34, needed by /usr/lib/libpdalcpp.so.17.0.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libpdalcpp.so.17.0.0: undefined reference to `GDALDataset::GetRasterCount()'

...

/home/gds506/.cache/yay/qgis-ltr/src/build/python/core/auto_generated/settings/qgssettingstreenode.sip: line 214: 'throw' is deprecated and will be removed in SIP v7.0.0
/home/gds506/.cache/yay/qgis-ltr/src/build/python/core/auto_generated/settings/qgssettingstreenode.sip: line 224: 'throw' is deprecated and will be removed in SIP v7.0.0
/home/gds506/.cache/yay/qgis-ltr/src/build/python/core/auto_generated/settings/qgssettingstreenode.sip: line 233: 'throw' is deprecated and will be removed in SIP v7.0.0
/home/gds506/.cache/yay/qgis-ltr/src/build/python/core/auto_generated/settings/qgssettingstreenode.sip: line 243: 'throw' is deprecated and will be removed in SIP v7.0.0
/home/gds506/.cache/yay/qgis-ltr/src/build/python/gui/auto_generated/qgsmapcanvas.sip: line 264: 'throw' is deprecated and will be removed in SIP v7.0.0
Generating the _gui .api file...
Generating the _gui .pyi file...
Generating the QGIS.api file...
Generating the .pro file for the _gui module...
Generating the top-level .pro file...
Generating the Makefiles...
The project has been built.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: qgis-ltr-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
qgis-ltr - exit status 4

bastoGrande commented on 2024-05-15 11:50 (UTC)

Do I understand it right, that right now it is not possible to build the ltr-version with python? Without python QGIS is almost unusable for me and why is the newest fresh version (3.36) does have python integrated into the build?

petronny commented on 2024-03-29 14:46 (UTC)

Getting this error:

[7968/11646] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/qgstiledscenelayer3drenderer.cpp.o
[7969/11646] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/qgsvectorlayer3drenderer.cpp.o
[7970/11646] Running crssync
FAILED: src/crssync/CMakeFiles/synccrsdb /build/qgis-ltr/src/build/src/crssync/CMakeFiles/synccrsdb 
cd /build/qgis-ltr/src/build/src/crssync && /build/qgis-ltr/src/build/output/bin/crssync
Could not execute: INSERT INTO tbl_srs(srs_id, description,projection_acronym,ellipsoid_acronym,parameters,srid,auth_name,auth_id,is_geo,deprecated,srs_type) VALUES (63561, 'MSL UK & Ireland VORF08 depth','','','+vunits=m +no_defs',520003561,'EPSG','10150',0,0,'Vertical') [UNIQUE constraint failed: tbl_srs.srs_id/UNIQUE constraint failed: tbl_srs.srs_id]
...
Could not execute: INSERT INTO tbl_srs(srs_id, description,projection_acronym,ellipsoid_acronym,parameters,srid,auth_name,auth_id,is_geo,deprecated,srs_type) VALUES (63806, 'WGS 84 / Equi7 South America','aeqd','aeqd','+proj=aeqd +lat_0=-14 +lon_0=-60.5 +x_0=7257179.236 +y_0=5592024.446 +datum=WGS84 +units=m +no_defs',520003806,'EPSG','27707',0,0,'Projected') [UNIQUE constraint failed: tbl_srs.srs_id/UNIQUE constraint failed: tbl_srs.srs_id]

Operation needs translation in QgsCoordinateReferenceSystemUtils::translateProjection: mod_krovak
aborted
[7971/11646] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/qgswindow3dengine.cpp.o
[7972/11646] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/qgsmeshlayer3drenderer.cpp.o
[7973/11646] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/qgsvectorlayerchunkloader_p.cpp.o
[7974/11646] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/qgsskyboxentity.cpp.o
[7975/11646] Automatic MOC for target qgis_gui
AutoMoc: /build/qgis-ltr/src/qgis-3.34.4/src/gui/inputcontroller/qgs2dgamepadcontroller.h:0: Note: No relevant classes found. No output generated.
AutoMoc: /build/qgis-ltr/src/qgis-3.34.4/src/gui/inputcontroller/qgs3dgamepadcontroller.h:0: Note: No relevant classes found. No output generated.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

Full build log: https://github.com/arch4edu/cactus/actions/runs/8481099761/job/23237901365

lorenzogrv commented on 2024-03-09 10:58 (UTC)

It has moved on

buzo commented on 2024-03-07 17:30 (UTC)

I will move this package to 3.34 when the qgis package has moved to 3.36. Please flag this package out-of-date if I miss that.

lorenzogrv commented on 2024-02-29 19:04 (UTC) (edited on 2024-02-29 19:06 (UTC) by lorenzogrv)

QGIS has moved LTR to 3.34-x, current version is 3.34.4

Fortunately, arch official package PKGBUILD still builds on 3.34.3 and eases moving on.

Got it working right now. In addition to bumping version and sha256sum within the PKGBUILD:

  • Remove patches for exiv2 and protobuf (no longer needed)
  • Re-enabled PDAL and SIP
  • Check dependency lists, in addition to pdal and sip I needed draco and qt5-multimedia to build succesfully
  • python-gdal and python-owslib are also missing deps and are needed for some core plugins to work (processing and metasearch)

kikislater commented on 2023-12-12 19:02 (UTC)

Qgis not LTR but some improvements from Extra (as it's not really reliable and could not considerate working with qgis from extra repository): https://aur.archlinux.org/packages/qgis-qtwebkit like qtwebkit, grass, build with qgis landing page (qgis server) and temporary sip 6.7.12 (could be usefull if you need to build this qgis-ltr)

lorenzogrv commented on 2023-12-04 14:44 (UTC)

@buzo I researched a patch to allow building with PDAL 2.6 after diving within qgis repo.

Could you test within your env? here looks good

Notes for future about PKGBUILD: - Update source version to v3.28.13 - Add patch source and sha256sum, apply patch within prepare()

diff --git a/cmake/FindPDAL.cmake b/cmake/FindPDAL.cmake
index 1899d26..32732d6 100644
--- a/cmake/FindPDAL.cmake
+++ b/cmake/FindPDAL.cmake
@@ -7,8 +7,7 @@
 # CMake module to search for PDAL library
 #
 # If it's found it sets PDAL_FOUND to TRUE
-# and following variables are set:
-#    PDAL_INCLUDE_DIR
+# and adds the following variable containing library target(s):
 #    PDAL_LIBRARIES

 # FIND_PATH and FIND_LIBRARY normally search standard locations
@@ -18,6 +17,28 @@
 # locations. When an earlier FIND_* succeeds, subsequent FIND_*s
 # searching for the same item do nothing.

+find_package(PDAL CONFIG)
+
+if(PDAL_FOUND)
+  if(NOT PDAL_FIND_QUIETLY)
+    message(STATUS "Found PDAL: ${PDAL_LIBRARIES} (${PDAL_VERSION})")
+  endif()
+
+  if(PDAL_VERSION VERSION_LESS "1.7.0")
+    message(FATAL_ERROR "PDAL version is too old (${PDAL_VERSION}). Use 1.7 or higher.")
+  endif()
+
+  if(MSVC)
+    foreach(PDAL_TARG ${PDAL_LIBRARIES})
+      target_compile_definitions(${PDAL_TARG} INTERFACE WIN32_LEAN_AND_MEAN)
+    endforeach()
+  endif()
+
+  return()
+endif()
+
+# Fallback for systems where PDAL's config-file package is not present.
+# It is not adapted for PDAL 2.6+ (where pdal_util library is removed).
 FIND_PATH(PDAL_INCLUDE_DIR pdal/pdal.hpp
   "$ENV{LIB_DIR}/include"
   "/usr/include"
@@ -50,7 +71,7 @@ FIND_PROGRAM(PDAL_BIN pdal)

 IF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY AND PDAL_UTIL_LIBRARY AND PDAL_BIN)
    SET(PDAL_FOUND TRUE)
-   SET(PDAL_LIBRARIES ${PDAL_CPP_LIBRARY} ${PDAL_UTIL_LIBRARY})
+   SET(PDAL_LIBRARIES pdalcpp pdal_util)
 ENDIF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY AND PDAL_UTIL_LIBRARY AND PDAL_BIN)

 IF (PDAL_FOUND)
@@ -60,8 +81,8 @@ IF (PDAL_FOUND)
    OUTPUT_VARIABLE PDAL_VERSION_OUT )
     STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\1" PDAL_VERSION_MAJOR "${PDAL_VERSION_OUT}")
     STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\2" PDAL_VERSION_MINOR "${PDAL_VERSION_OUT}")
-    STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\3" PDAL_VERSION_MICRO "${PDAL_VERSION_OUT}")
-    STRING(CONCAT PDAL_VERSION ${PDAL_VERSION_MAJOR} "." ${PDAL_VERSION_MINOR} "." ${PDAL_VERSION_MICRO})
+    STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\3" PDAL_VERSION_PATCH "${PDAL_VERSION_OUT}")
+    STRING(CONCAT PDAL_VERSION ${PDAL_VERSION_MAJOR} "." ${PDAL_VERSION_MINOR} "." ${PDAL_VERSION_PATCH})

    IF (NOT PDAL_FIND_QUIETLY)
       MESSAGE(STATUS "Found PDAL: ${PDAL_LIBRARIES} (${PDAL_VERSION})")
@@ -71,6 +92,21 @@ IF (PDAL_FOUND)
       MESSAGE (FATAL_ERROR "PDAL version is too old (${PDAL_VERSION}). Use 1.7 or higher.")
    ENDIF()

+   add_library(pdalcpp UNKNOWN IMPORTED)
+   target_link_libraries(pdalcpp INTERFACE ${PDAL_CPP_LIBRARY})
+   target_include_directories(pdalcpp INTERFACE ${PDAL_INCLUDE_DIR})
+   set_target_properties(pdalcpp PROPERTIES IMPORTED_LOCATION ${PDAL_CPP_LIBRARY})
+
+   add_library(pdal_util UNKNOWN IMPORTED)
+   target_link_libraries(pdal_util INTERFACE ${PDAL_UTIL_LIBRARY})
+   target_include_directories(pdal_util INTERFACE ${PDAL_INCLUDE_DIR})
+   set_target_properties(pdal_util PROPERTIES IMPORTED_LOCATION ${PDAL_UTIL_LIBRARY})
+
+   if(MSVC)
+     target_compile_definitions(pdalcpp INTERFACE WIN32_LEAN_AND_MEAN)
+     target_compile_definitions(pdal_util INTERFACE WIN32_LEAN_AND_MEAN)
+   endif()
+
 ELSE (PDAL_FOUND)
    IF (PDAL_FIND_REQUIRED)
      MESSAGE(FATAL_ERROR "Could not find PDAL")

buzo commented on 2023-12-04 13:58 (UTC)

I have disabled pdal and sip (Python bindings) until these two upstream issues are fixed.

buzo commented on 2023-12-01 13:56 (UTC)

Unfortunately, even when disabling pdal it fails to build, so I have created another upstream issue.