checkpolicy 3.5 -> 3.6 https://github.com/SELinuxProject/selinux/releases 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 [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/os-specific/linux/checkpolicy/default.nix b/pkgs/os-specific/linux/checkpolicy/default.nix index 5b08739667d5..7e5f1e496522 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.5"; + version = "3.6"; inherit (libsepol) se_url; src = fetchurl { url = "${se_url}/${version}/checkpolicy-${version}.tar.gz"; - sha256 = "sha256-eqSKsiIqC5iBER1tf3DDAU09kziCfZ4C3xBaaMDfXbw="; + sha256 = "sha256-GzRrPN1PinihV2J7rWSjs0ecZ7ahnRXm1chpRiDq28E="; }; 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. 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_te_avtab_xperms_helper': policy_define.c:2083:61: error: 'RULE_NOTSELF' undeclared (first use in this function); did you mean 'RULE_SELF'? 2083 | avrule->flags |= (add ? RULE_SELF : RULE_NOTSELF); | ^~~~~~~~~~~~ | RULE_SELF policy_define.c:2083:61: note: each undeclared identifier is reported only once for each function it appears in policy_define.c: In function 'define_te_avtab_helper': policy_define.c:2564:61: error: 'RULE_NOTSELF' undeclared (first use in this function); did you mean 'RULE_SELF'? 2564 | avrule->flags |= (add ? RULE_SELF : RULE_NOTSELF); | ^~~~~~~~~~~~ | RULE_SELF policy_define.c: In function 'define_conditional': policy_define.c:3850:69: error: 'cond_expr_t' {aka 'struct cond_expr'} has no member named 'boolean'; did you mean 'bool'? 3850 | bool_var = policydbp->bool_val_to_struct[e->boolean - 1]; | ^~~~~~~ | bool policy_define.c: In function 'define_cond_expr': policy_define.c:4002:23: error: 'struct cond_expr' has no member named 'boolean'; did you mean 'bool'? 4002 | expr->boolean = bool_var->s.value; | ^~~~~~~ | bool make: *** [Makefile:39: policy_define.o] Error 1