Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: libplctag 2.6.4 -> 2.7.2 https://github.com/libplctag/libplctag/releases attrpath: libplctag Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/by-name/li/libplctag/package.nix b/pkgs/by-name/li/libplctag/package.nix index 15a07807b564..9acccd6f3b26 100644 --- a/pkgs/by-name/li/libplctag/package.nix +++ b/pkgs/by-name/li/libplctag/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "libplctag"; - version = "2.6.4"; + version = "2.7.2"; src = fetchFromGitHub { owner = "libplctag"; repo = "libplctag"; tag = "v${finalAttrs.version}"; - hash = "sha256-pk+N78MITI8G+LHyc6fXhqWeLyCOdUEkPePM2RtpMCE="; + hash = "sha256-N9JSzhCSViRUJ0QDMiOEVmTN1bSHYsSUFIezR0fzsOM="; }; env = { Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A libplctag nix build failed. /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: cannot find -lpthread: No such file or directory /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: have you installed the static version of the pthread library ? /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: cannot find -lm: No such file or directory /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: have you installed the static version of the m library ? /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: cannot find -lc: No such file or directory /nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: have you installed the static version of the c library ? collect2: error: ld returned 1 exit status make[2]: *** [src/tools/ab_server/CMakeFiles/ab_server.dir/build.make:341: bin_dist/ab_server] Error 1 make[1]: *** [CMakeFiles/Makefile2:3342: src/tools/ab_server/CMakeFiles/ab_server.dir/all] Error 2 [ 36%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/eip_lgx_pccc.c.o [ 36%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/eip_plc5_dhp.c.o [ 36%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/eip_slc_pccc.c.o [ 37%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/eip_plc5_pccc.c.o [ 37%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/eip_slc_dhp.c.o [ 38%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/pccc.c.o [ 38%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/error_codes.c.o [ 38%] Building C object src/libplctag/CMakeFiles/plctag_dyn.dir/protocols/ab/session.c.o /build/source/src/libplctag/protocols/ab/session.c: In function 'process_requests': /build/source/src/libplctag/protocols/ab/session.c:2076:43: warning: comparison of unsigned expression in '< 0' is always false []8;;https://gcc.gnu.org/onlinedocs/gcc-16.2.0/gcc/Warning-Options.html#index-Wno-type-limits-Wtype-limits]8;;] 2076 | if(session->data_size < 0 || offsets_start > (size_t)session->data_size | ^ /build/source/src/libplctag/protocols/ab/session.c: In function 'unpack_response': /build/source/src/libplctag/protocols/ab/session.c:2234:87: warning: comparison of unsigned expression in '< 0' is always false []8;;https://gcc.gnu.org/onlinedocs/gcc-16.2.0/gcc/Warning-Options.html#index-Wno-type-limits-Wtype-limits]8;;] 2234 | if(sub_packet < 0 || sub_packet >= (int)total_responses || session->data_size < 0 | ^ [ 38%] Linking C static library ../../bin_dist/libplctag_static.a [ 39%] Built target plctag_static [ 39%] Linking C shared library ../../bin_dist/libplctag.so [ 39%] Built target plctag_dyn make: *** [Makefile:166: all] Error 2