Package Details: libosmium-git 2.18.0.r0.g9c50fde4-1

Git Clone URL: https://aur.archlinux.org/libosmium-git.git (read-only, click to copy)
Package Base: libosmium-git
Description: Fast and flexible C++ library for working with OpenStreetMap data.
Upstream URL: http://osmcode.org/libosmium/
Keywords: openstreetmap osm osmium
Licenses: custom
Conflicts: libosmium
Provides: libosmium
Submitter: gileri
Maintainer: gileri
Last Packager: gileri
Votes: 1
Popularity: 0.000000
First Submitted: 2016-02-14 21:29 (UTC)
Last Updated: 2022-02-13 09:36 (UTC)

Dependencies (13)

Required by (3)

Sources (1)

Latest Comments

dreieck commented on 2022-10-15 22:24 (UTC)

I found the problem for my linking issues:

For some other package, I also had libproj4-libraries installed. Those seemed to have confused the automatic configuration, even when I manually did pass
-DPROJ_INCLUDE_DIR=/usr/include/proj -DPROJ_LIBRARY=/usr/lib/libproj.so
(both files which are explicitly provided by the proj, currently version 9, in the community repository, and not by libproj4) to cmake.

dreieck commented on 2022-02-14 15:44 (UTC)

However I can't manage to reproduce the issue you had, even on a clean, default install of arch. Can you share more details ?

I have no specialised build environment. I have proj, version 8.2.0-1 installed, maybe that makes the problem?

gileri commented on 2022-02-13 10:40 (UTC)

@dreieck, thank you for your suggestions !

I updated the PKGBUILD to use the pkgver in provides=().

However I can't manage to reproduce the issue you had, even on a clean, default install of arch. Can you share more details ?

I even built osmium-tool without problems.

dreieck commented on 2022-02-12 17:37 (UTC) (edited on 2022-02-12 17:38 (UTC) by dreieck)

Please add =${pkgver} to the provides entry.

The package osmium-tool has a version restriction in it's dependency on libosmium.

Thanks for maintaining!

dreieck commented on 2022-02-12 17:06 (UTC) (edited on 2022-02-12 17:06 (UTC) by dreieck)

The linkink error reported at 2022-02-08 could be mitigated by adding -DBUILD_TESTING=OFF to the cmake-options.

dreieck commented on 2022-02-08 13:52 (UTC)

Build fails for me in linking geom_test_coordinates:

[...]
[ 41%] Building CXX object test/CMakeFiles/geom_test_crs.dir/t/geom/test_crs.cpp.o
[ 41%] Linking CXX executable geom_test_crs
[ 41%] Linking CXX executable geom_test_coordinates
/usr/bin/ld: CMakeFiles/geom_test_crs.dir/t/geom/test_crs.cpp.o: in function `C_A_T_C_H_T_E_S_T_0()':
test_crs.cpp:(.text+0x14d): undefined reference to `pj_transform'
/usr/bin/ld: test_crs.cpp:(.text+0x19b): undefined reference to `pj_transform'
/usr/bin/ld: test_crs.cpp:(.text+0x411): undefined reference to `pj_free'
/usr/bin/ld: test_crs.cpp:(.text+0x423): undefined reference to `pj_free'
/usr/bin/ld: CMakeFiles/geom_test_crs.dir/t/geom/test_crs.cpp.o: in function `osmium::geom::CRS::CRS(int)':
test_crs.cpp:(.text._ZN6osmium4geom3CRSC2Ei[_ZN6osmium4geom3CRSC5Ei]+0x207): undefined reference to `pj_init_plus'
/usr/bin/ld: test_crs.cpp:(.text._ZN6osmium4geom3CRSC2Ei[_ZN6osmium4geom3CRSC5Ei]+0x3c8): undefined reference to `pj_get_errno_ref'
/usr/bin/ld: test_crs.cpp:(.text._ZN6osmium4geom3CRSC2Ei[_ZN6osmium4geom3CRSC5Ei]+0x3cf): undefined reference to `pj_strerrno'
/usr/bin/ld: test_crs.cpp:(.text._ZN6osmium4geom3CRSC2Ei[_ZN6osmium4geom3CRSC5Ei]+0x4b3): undefined reference to `pj_free'
/usr/bin/ld: CMakeFiles/geom_test_crs.dir/t/geom/test_crs.cpp.o: in function `C_A_T_C_H_T_E_S_T_0() [clone .cold]':
test_crs.cpp:(.text.unlikely+0x15): undefined reference to `pj_free'
/usr/bin/ld: test_crs.cpp:(.text.unlikely+0x24): undefined reference to `pj_free'
/usr/bin/ld: test_crs.cpp:(.text.unlikely+0xa8): undefined reference to `pj_strerrno'
/usr/bin/ld: test_crs.cpp:(.text.unlikely+0x151): undefined reference to `pj_strerrno'
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/geom_test_crs.dir/build.make:99: test/geom_test_crs] Error 1
make[1]: *** [CMakeFiles/Makefile2:1382: test/CMakeFiles/geom_test_crs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 41%] Built target geom_test_coordinates
[ 41%] Linking CXX executable builder_test_object_builder
[ 41%] Built target builder_test_object_builder
[ 41%] Linking CXX executable builder_test_attr
[ 41%] Built target builder_test_attr
make: *** [Makefile:166: all] Error 2

gileri commented on 2017-01-05 20:50 (UTC)

@simon04 : Done, sorry for the delay.

simon04 commented on 2016-10-20 08:44 (UTC)

Please sed-away the "v" from the version in order to allow other packages to depend on a minimum version. See also https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git, "If tag contains a prefix, like v or project name then it should be cut off".