2022-11-11T09:44:36 complexity 1.10 -> 1.13 https://repology.org/metapackage/complexity/versions 2022-11-11T09:44:39 attrpath: complexity 2022-11-11T09:44:39 Checking auto update branch... 2022-11-11T09:44:39 No auto update branch exists 2022-11-11T09:44:43 [version] 2022-11-11T09:44:47 [version] updated version and sha256 2022-11-11T09:44:47 [rustCrateVersion] 2022-11-11T09:44:47 [rustCrateVersion] No cargoSha256 found 2022-11-11T09:44:47 [golangModuleVersion] 2022-11-11T09:44:47 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-11T09:44:47 [updateScript] 2022-11-11T09:44:47 [updateScript] skipping because derivation has no updateScript 2022-11-11T09:44:47 2022-11-11T09:44:47 [quotedUrls] 2022-11-11T09:44:47 [quotedUrls] nothing found to replace 2022-11-11T09:44:47 Diff after rewrites: diff --git a/pkgs/development/tools/misc/complexity/default.nix b/pkgs/development/tools/misc/complexity/default.nix index 6e70fbcfcde..b7c9c49e66f 100644 --- a/pkgs/development/tools/misc/complexity/default.nix +++ b/pkgs/development/tools/misc/complexity/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "complexity"; - version = "1.10"; + version = "1.13"; src = fetchurl { url = "mirror://gnu/complexity/${pname}-${version}.tar.gz"; - sha256 = "1vfns9xm7w0wrz12a3w15slrqnrfh6qxk15nv7qkj3irll3ff522"; + sha256 = "sha256-U0Lg88NDndPQq+awMogC3h3TQeTgEEniz6lFg3rykC8="; }; buildInputs = [ autogen ]; 2022-11-11T09:46:21 Received ExitFailure 100 when running Raw command: /nix/store/6fr58pqy02hmgw1h7b9nqmv7vlp3v346-nix-2.3.15/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A complexity nix build failed. 109 | #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) | ^~~~ complexity.c:502:9: note: in expansion of macro 'HAVE_OPT' 502 | if (HAVE_OPT(IGNORE)) { | ^~~~~~~~ complexity.c: In function 'complex_eval': opts.h:107:53: error: 'INDEX_OPT_UNIFDEF' undeclared (first use in this function); did you mean 'VALUE_OPT_UNIFDEF'? 107 | #define DESC(n) (complexityOptions.pOptDesc[INDEX_OPT_## n]) | ^~~~~~~~~~ opts.h:109:41: note: in expansion of macro 'DESC' 109 | #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) | ^~~~ complexity.c:557:21: note: in expansion of macro 'HAVE_OPT' 557 | .fs_fp = HAVE_OPT(UNIFDEF) ? popen_unifdef(fname) : fopen(fname, "r"), | ^~~~~~~~ In file included from complexity.c:22: opts.h:107:53: error: 'INDEX_OPT_HORRID_THRESHOLD' undeclared (first use in this function); did you mean 'SET_OPT_HORRID_THRESHOLD'? 107 | #define DESC(n) (complexityOptions.pOptDesc[INDEX_OPT_## n]) | ^~~~~~~~~~ opts.h:170:37: note: in expansion of macro 'DESC' 170 | #define OPT_VALUE_HORRID_THRESHOLD (DESC(HORRID_THRESHOLD).optArg.argInt) | ^~~~ complexity.c:582:22: note: in expansion of macro 'OPT_VALUE_HORRID_THRESHOLD' 582 | if (high_score > OPT_VALUE_HORRID_THRESHOLD) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1113: complexity-complexity.o] Error 1 make[2]: Leaving directory '/build/complexity-1.13/src' make[1]: *** [Makefile:1016: all-recursive] Error 1 make[1]: Leaving directory '/build/complexity-1.13' make: *** [Makefile:957: all] Error 2