Hi!
I am trying to build Kasli gateware image.
I have followed the steps given on the website "https://blogs.ethz.ch/qchub/2021/05/18/software-basic-installation/" and "https://m-labs.hk/artiq/manual/developing.html".
While running the command "nix-shell -I artiqSrc=path_to_artiq_sources <path to shell-dev.nix>"
I am getting errors from the file inside nix package.
"anonymous function at /home/rbpc2/nix-scripts/artiq-fast/pkgs/openocd.nix:1:1 called without required argument 'autoreconfHook269'"
The call sequence starts from
/nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/pkgs/build-support/mkshell/default.nix:28:3:
and finally ends at
/nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/pkgs/build-support/mkshell/default.nix:28:3:
__I am pasting the complete trace for reference._
nix-shell:~]$ nix-shell -I artiqSrc=/home/rbpc2/artiq ./nix-scripts/artiq-fast/shell-dev.nix
--show-trace
error: anonymous function at /home/rbpc2/nix-scripts/artiq-fast/pkgs/openocd.nix:1:1 called
without required argument 'autoreconfHook269'
at /nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/lib/
customisation.nix:69:16:
68|
69|
|
70|
let
result = f origArgs;
^
… while evaluating 'makeOverridable'
at /nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/lib/
customisation.nix:67:24:
66|
67|
|
68|
*/
makeOverridable = f: origArgs:
^
let
… from call site
at /nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/lib/
customisation.nix:121:8:
120|
121|
|
122|
auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs;
in makeOverridable f (auto // args);
^
… while evaluating 'callPackageWith'
at /nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/lib/
customisation.nix:117:35:
116|
117|
|
118|
*/
callPackageWith = autoArgs: fn: args:
^
let
… from call site
at /home/rbpc2/nix-scripts/artiq-fast/default.nix:42:15:
41|
artiq-env = (pkgs.python3.withPackages(ps: [ artiq ])).overrideAttrs
(oldAttrs: { name = "${pkgs.python3.name}-artiq-env-${artiq.version}"; });
42|
openocd = callPackage ./pkgs/openocd.nix { };
|
^
43|
};
… while evaluating the attribute 'openocd'
at /home/rbpc2/nix-scripts/artiq-fast/default.nix:42:5:
41|
artiq-env = (pkgs.python3.withPackages(ps: [ artiq ])).overrideAttrs
(oldAttrs: { name = "${pkgs.python3.name}-artiq-env-${artiq.version}"; });
42|
openocd = callPackage ./pkgs/openocd.nix { };
|
^
43|
};File: /home/rbpc2/Manish/failure_trace
Page 2 of 2
… while evaluating anonymous lambda
at /nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/pkgs/stdenv/
generic/make-derivation.nix:143:17:
142|
143|
|
144|
(map (drv: drv.__spliced.hostHost or drv) depsHostHost)
(map (drv: drv.crossDrv or drv) buildInputs)
^
]
… from call site
… while evaluating 'getOutput'
at /nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/lib/attrsets.nix:
464:23:
463|
464|
|
465|
*/
getOutput = output: pkg:
^
if pkg.outputUnspecified or false
… from call site
… while evaluating the attribute 'buildInputs' of the derivation 'nix-shell'
at /nix/store/dv4kxpklmyd962ayyvr8y7jzdnazk51y-nixpkgs-20.09/nixpkgs/pkgs/build-
support/mkshell/default.nix:28:3:
27| stdenv.mkDerivation ({
28|
name = "nix-shell";
|
^
29|
phases = ["nobuildPhase"];_