Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: libserdes 0 -> 1 attrpath: libserdes Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/x8lb71qd57qc1nwipawx31vy22pv9f1a-packages.json.drv building '/nix/store/x8lb71qd57qc1nwipawx31vy22pv9f1a-packages.json.drv'... Going to be running update for following packages: - libserdes-8.3.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - libserdes-8.3.0: UPDATING ... - libserdes-8.3.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/li/libserdes/package.nix b/pkgs/by-name/li/libserdes/package.nix index 2d0de9342dd6..b55c2223b7f9 100644 --- a/pkgs/by-name/li/libserdes/package.nix +++ b/pkgs/by-name/li/libserdes/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libserdes"; - version = "8.3.0"; + version = "8.0.2-cp12"; src = fetchFromGitHub { owner = "confluentinc"; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A libserdes nix build failed. from framing.c:17: tinycthread.h:468:11: warning: 'ONCE_FLAG_INIT' redefined 468 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT | ^~~~~~~~~~~~~~ In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:1191, from /nix/store/z42pm7ph8shxl8pmvx89ihp0s808y9lr-avro-c-1.12.1/include/avro/allocation.h:27, from /nix/store/z42pm7ph8shxl8pmvx89ihp0s808y9lr-avro-c-1.12.1/include/avro.h:26, from serdes_int.h:20: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition 25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT | ^~~~~~~~~~~~~~ gcc -MD -MP -I/nix/store/c1vnpqlk1bnwjmcnl1ghgz6rf3sg5jnd-libserdes-8.0.2-cp12-dev/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c tinycthread.c -o tinycthread.o In file included from tinycthread.c:25: tinycthread.h:467:21: error: conflicting types for 'pthread_once_t'; have '__once_flag' 467 | #define once_flag pthread_once_t | ^~~~~~~~~~~~~~ In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/pthread.h:26, from tinycthread.h:86: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/pthreadtypes.h:53:30: note: previous declaration of 'pthread_once_t' with type 'pthread_once_t' {aka 'int'} 53 | typedef int __ONCE_ALIGNMENT pthread_once_t; | ^~~~~~~~~~~~~~ tinycthread.h:479:32: error: conflicting types for 'pthread_once'; have 'void(int *, void (*)(void))' 479 | #define call_once(flag,func) pthread_once(flag,func) | ^~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/pthread.h:509:12: note: previous declaration of 'pthread_once' with type 'int(pthread_once_t *, void (*)(void))' {aka 'int(int *, void (*)(void))'} 509 | extern int pthread_once (pthread_once_t *__once_control, | ^~~~~~~~~~~~ make[1]: *** [../mklove/Makefile.base:97: tinycthread.o] Error 1 make[1]: Leaving directory '/build/source/src' make: *** [Makefile:23: libs] Error 2