checkpolicy 3.3 -> 3.5 https://repology.org/metapackage/checkpolicy/versions attrpath: checkpolicy 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/os-specific/linux/checkpolicy/default.nix b/pkgs/os-specific/linux/checkpolicy/default.nix index 52cf0a3ec03..5b08739667d 100644 --- a/pkgs/os-specific/linux/checkpolicy/default.nix +++ b/pkgs/os-specific/linux/checkpolicy/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "checkpolicy"; - version = "3.3"; + version = "3.5"; inherit (libsepol) se_url; src = fetchurl { url = "${se_url}/${version}/checkpolicy-${version}.tar.gz"; - sha256 = "118l8c2vvnnckbd269saslr7adv6rdavr5rv0z5vh2m1lgglxj15"; + sha256 = "sha256-eqSKsiIqC5iBER1tf3DDAU09kziCfZ4C3xBaaMDfXbw="; }; nativeBuildInputs = [ bison flex ]; 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 checkpolicy nix build failed. got build log for 'checkpolicy' from 'daemon' @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/z94appqmiknrhy930ca2527pb3c6zdh4-checkpolicy-3.5.tar.gz source root is checkpolicy-3.5 setting SOURCE_DATE_EPOCH to timestamp 1677158171 of file checkpolicy-3.5/test/dispol.c @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } building build flags: SHELL=/nix/store/5ynbf6wszmggr0abwifdagrixgnya5vy-bash-5.2-p15/bin/bash PREFIX=\$\(out\) LIBSEPOLA=/nix/store/i4dbdvj0qdbglgqpa04xx8gs564n8953-libsepol-3.3/lib/libsepol.a bison -y -d policy_parse.y gcc -g -Wall -Wshadow -O2 -fno-strict-aliasing -o y.tab.o -c y.tab.c flex policy_scan.l gcc -g -Wall -Wshadow -O2 -fno-strict-aliasing -o lex.yy.o -c lex.yy.c gcc -g -Wall -Werror -Wshadow -O2 -fno-strict-aliasing -o queue.o -c queue.c gcc -g -Wall -Werror -Wshadow -O2 -fno-strict-aliasing -o module_compiler.o -c module_compiler.c gcc -g -Wall -Werror -Wshadow -O2 -fno-strict-aliasing -o parse_util.o -c parse_util.c gcc -g -Wall -Werror -Wshadow -O2 -fno-strict-aliasing -o policy_define.o -c policy_define.c policy_define.c: In function 'define_filename_trans': policy_define.c:3458:20: error: 'filename_trans_rule_t' {aka 'struct filename_trans_rule'} has no member named 'flags' 3458 | ftr->flags = self ? RULE_SELF : 0; | ^~ make: *** [Makefile:39: policy_define.o] Error 1