input-output-hk / offchain-metadata-tools

Tools for creating, submitting, and managing off-chain metadata such as multi-asset token metadata
Apache License 2.0
47 stars 33 forks source link

Error when installing #55

Open shehan11 opened 1 year ago

shehan11 commented 1 year ago

I have tried installing and have run into issues on Ubuntu and mac

I installed nix and ran the command: nix-build -A token-metadata-creator

Then after a long time I finally get this error:


Test results.

ERROR: 696 tests were run, 2 failed unexpectedly. 80 tests were skipped.


testsuite.log was created.

Please send `tests/testsuite.log' and all information you think might help:

To: bug-bison@gnu.org Subject: [GNU Bison 3.8.2] testsuite: 267 270 failed

You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may be found below `tests/testsuite.dir'.

make[3]: [Makefile:13923: check-tests] Error 1 make[3]: Leaving directory '/build/bison-3.8.2' make[2]: [Makefile:10826: check-am] Error 2 make[2]: Leaving directory '/build/bison-3.8.2' make[1]: [Makefile:10377: check-recursive] Error 1 make[1]: Leaving directory '/build/bison-3.8.2' make: [Makefile:10828: check] Error 2 error: builder for '/nix/store/6p3gp66044ymxw0g48aa4g6wycj88yy2-bison-3.8.2.drv' failed with exit code 2; last 10 log lines:

case the test suite provides a good starting point. Its output may be found below `tests/testsuite.dir'.

make[3]: [Makefile:13923: check-tests] Error 1 make[3]: Leaving directory '/build/bison-3.8.2' make[2]: [Makefile:10826: check-am] Error 2 make[2]: Leaving directory '/build/bison-3.8.2' make[1]: [Makefile:10377: check-recursive] Error 1 make[1]: Leaving directory '/build/bison-3.8.2' make: [Makefile:10828: check] Error 2 For full logs, run 'nix log /nix/store/6p3gp66044ymxw0g48aa4g6wycj88yy2-bison-3.8.2.drv'. error: 1 dependencies of derivation '/nix/store/cn5l8mjmxjwx0phadp66s320nf8nbs3m-aarch64-unknown-linux-musl-binutils-2.35.2.drv' failed to build error: 1 dependencies of derivation '/nix/store/b2r7jaw0qsbja7ic7dfmmp2lihj56cn2-bash-interactive-5.1-p8.drv' failed to build error: 1 dependencies of derivation '/nix/store/hgflwll252mv28dc3gkzgvwllsz6nbsc-boost-build-boost-1.69.0.drv' failed to build error: 1 dependencies of derivation '/nix/store/ix2yd13k7hbl89gig88m0f6wjcvq8d09-doxygen-1.8.20.drv' failed to build error: 1 dependencies of derivation '/nix/store/0sbz2nhzi2iv3fa31qf1hznklf3rmlm9-elfutils-0.186.drv' failed to build error: 1 dependencies of derivation '/nix/store/gf1pkcljwl8h95yd8i2c152dj91r02lz-flex-2.6.4.drv' failed to build error: 1 dependencies of derivation '/nix/store/ls8xfb9742gyqhpjxs967cqhzg5qfskb-glibc-locales-2.33-56.drv' failed to build error: 1 dependencies of derivation '/nix/store/i9hhbw5y1555cqbqmws6bbvlk996dp9a-iproute2-5.14.0.drv' failed to build error: 1 dependencies of derivation '/nix/store/4afcqrcxypnkxaaa6dz49kg6kqq5p19y-libbfd-2.35.2.drv' failed to build waiting for lock on '/nix/store/fnw7vbk4xy1ybrbaq54qynnk5vayq3pl-pkg-config-wrapper-0.29.2', '/nix/store/wdjji604qvqvhrlgm81indy7fw412778-pkg-config-wrapper-0.29.2-doc', '/nix/store/wip6mb3fhgn18ssgc386f2mvskqf3z5p-pkg-config-wrapper-0.29.2-man'... error: 1 dependencies of derivation '/nix/store/6al2c921kr2divczwv0h3k79czirl4lk-ruby-2.7.5.drv' failed to build error: 1 dependencies of derivation '/nix/store/09nki91v5i55jh062lq7sdvnjnc9pfb5-shadow-4.8.1.drv' failed to build error: 1 dependencies of derivation '/nix/store/rhhgf8m2q6qzdc0kck05ahynrz8mrz1a-swig-3.0.12.drv' failed to build error: 1 dependencies of derivation '/nix/store/h8pq8rlxck7fb6d12w9m9xvc54v71a6w-unbound-1.13.2.drv' failed to build error: … in the left operand of the update (//) operator

 at /home/parallels/Downloads/offchain-metadata-tools-master/default.nix:39:26:

   38|
   39|   addExtras = proj: proj // {
     |                          ^
   40|     metadata-validator-github-tarball = pkgs.runCommandNoCC "metadata-validator-github-tarball" { buildInputs = [ pkgs.gnutar pkgs.gzip ]; } ''

… in the left operand of the update (//) operator

 at /nix/store/5w6n99lmy3mcdxb2jv0hk4sjfv1gczfp-haskell.nix-src/overlays/haskell.nix:777:25:

  776|         cabalProject = args: let p = cabalProject' args;
  777|             in p.hsPkgs // p;
     |                         ^
  778|

(stack trace truncated; use '--show-trace' to show the full trace)

error: 1 dependencies of derivation '/nix/store/wn718y7iy9dz9ncm4rw8fcxy1ikna1ql-haskell-project-plan-to-nix-pkgs.drv' failed to build