valhalla 3.1.0 -> 3.1.4 https://repology.org/project/valhalla/versions attrpath: valhalla Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] skipping because derivation has no updateScript [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/libraries/valhalla/default.nix b/pkgs/development/libraries/valhalla/default.nix index 1052277f6f3..4ff852a8302 100644 --- a/pkgs/development/libraries/valhalla/default.nix +++ b/pkgs/development/libraries/valhalla/default.nix @@ -4,13 +4,13 @@ stdenv.mkDerivation rec { pname = "valhalla"; - version = "3.1.0"; + version = "3.1.4"; src = fetchFromGitHub { owner = "valhalla"; repo = "valhalla"; rev = version; - sha256 = "04vxvzy6hnhdvb9lh1p5vqzzi2drv0g4l2gnbdp44glipbzgd4dr"; + sha256 = "sha256-hvTHaoXEeon90zgVGZuSdPQPmkBFvJDfYsoKcErIt2A="; fetchSubmodules = true; }; Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A valhalla nix build failed. /build/source/src/midgard/point2.cc: In member function 'std::tuple, PrecisionT, int> valhalla::midgard::PointXY::ClosestPoint(const std::vector >&) const [with PrecisionT = float]': /build/source/src/midgard/point2.cc:36:7: note: 'idx' was declared here 36 | int idx; // Index of closest segment so far | ^~~ In constructor 'constexpr std::_Head_base<_Idx, _Head, false>::_Head_base(_UHead&&) [with _UHead = int; long unsigned int _Idx = 2; _Head = int]', inlined from 'constexpr std::_Tuple_impl<_Idx, _Head>::_Tuple_impl(_UHead&&) [with _UHead = int; long unsigned int _Idx = 2; _Head = int]' at /nix/store/dcd1zhv56rk0d2z7akzfjgzr076c4jl9-gcc-12.2.0/include/c++/12.2.0/tuple:441:38, inlined from 'constexpr std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(_UHead&&, _UTail&& ...) [with _UHead = double; _UTail = {int}; = void; long unsigned int _Idx = 1; _Head = double; _Tail = {int}]' at /nix/store/dcd1zhv56rk0d2z7akzfjgzr076c4jl9-gcc-12.2.0/include/c++/12.2.0/tuple:292:38, inlined from 'constexpr std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(_UHead&&, _UTail&& ...) [with _UHead = valhalla::midgard::PointXY; _UTail = {double, int}; = void; long unsigned int _Idx = 0; _Head = valhalla::midgard::PointXY; _Tail = {double, int}]' at /nix/store/dcd1zhv56rk0d2z7akzfjgzr076c4jl9-gcc-12.2.0/include/c++/12.2.0/tuple:292:38, inlined from 'constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {valhalla::midgard::PointXY, double, int}; bool _Valid = true; typename std::enable_if<_TCC<_Valid>::__is_implicitly_constructible<_UElements ...>(), bool>::type = true; _Elements = {valhalla::midgard::PointXY, double, int}]' at /nix/store/dcd1zhv56rk0d2z7akzfjgzr076c4jl9-gcc-12.2.0/include/c++/12.2.0/tuple:744:54, inlined from 'constexpr std::tuple::type>::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {valhalla::midgard::PointXY, double, int}]' at /nix/store/dcd1zhv56rk0d2z7akzfjgzr076c4jl9-gcc-12.2.0/include/c++/12.2.0/tuple:1581:62, inlined from 'std::tuple, PrecisionT, int> valhalla::midgard::PointXY::ClosestPoint(const std::vector >&) const [with PrecisionT = double]' at /build/source/src/midgard/point2.cc:106:91: /nix/store/dcd1zhv56rk0d2z7akzfjgzr076c4jl9-gcc-12.2.0/include/c++/12.2.0/tuple:200:11: error: 'idx' may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Werror=maybe-uninitialized]8;;] 200 | : _M_head_impl(std::forward<_UHead>(__h)) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/midgard/point2.cc: In member function 'std::tuple, PrecisionT, int> valhalla::midgard::PointXY::ClosestPoint(const std::vector >&) const [with PrecisionT = double]': /build/source/src/midgard/point2.cc:36:7: note: 'idx' was declared here 36 | int idx; // Index of closest segment so far | ^~~ cc1plus: all warnings being treated as errors make[2]: *** [src/midgard/CMakeFiles/valhalla-midgard.dir/build.make:174: src/midgard/CMakeFiles/valhalla-midgard.dir/point2.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 13%] Building CXX object src/valhalla/proto/CMakeFiles/valhalla-proto.dir/transit_fetch.pb.cc.o [ 13%] Building CXX object src/valhalla/proto/CMakeFiles/valhalla-proto.dir/incidents.pb.cc.o [ 14%] Building CXX object src/valhalla/proto/CMakeFiles/valhalla-proto.dir/status.pb.cc.o [ 14%] Building CXX object src/valhalla/proto/CMakeFiles/valhalla-proto.dir/fileformat.pb.cc.o [ 14%] Building CXX object src/valhalla/proto/CMakeFiles/valhalla-proto.dir/osmformat.pb.cc.o make[1]: *** [CMakeFiles/Makefile2:1264: src/midgard/CMakeFiles/valhalla-midgard.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 14%] Built target valhalla-proto make: *** [Makefile:156: all] Error 2