IntersectMBO / plutus-apps

The Plutus application platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing files in binary cache when running nix-shell for building up the Playground

ixondev opened this issue · comments

Summary

I've been trying to build the playground with the last versions of the repositories, and when running "nix-shell" I keep getting errors for missing files, like the following:

error: file 'nar/18kyffwly44ai2bwjr3dyg07zs27ih0yj27bvfk2wn7x6l7dsshp.nar.xz' does not exist in binary cache 'https://cache.iog.io/'

Steps to reproduce the behavior

~/plutus-apps$ git checkout 14bed17
HEAD is now at 14bed17 Convert TxOut to ChainIndexTxOut in the query (#377)
~/plutus-apps$nix-shell

I already made several attempts, every time previously cleaning the nix-store by running "nix-collect-garbage" and cleaning up the system. Neither problem in memory was detected.

Actual Result

And this final error report resulting in the building-up aborted at this point:

error: builder for '/nix/store/p4h9j86wf14fm0268gjxg49baq76kr2i-cardano-wallet-core-lib-cardano-wallet-core-2022.1.18.drv' failed with exit code 137
error: 1 dependencies of derivation '/nix/store/b53rsjbxhn0gcr9xffpnjzcnlrg1nyja-cardano-wallet-exe-cardano-wallet-2022.1.18.drv' failed to build
building '/nix/store/0pw0p1ci56vvh7ka9g611jcspg1068fl-assoc-lib-assoc-1.0.2-config.drv'...
error: 1 dependencies of derivation '/nix/store/qy1qsf3pgz99vyc8gygxpvsdzqz8qchx-cardano-wallet-2022.1.18.drv' failed to build
error: build of '/nix/store/jz57amnndx9vg9jzgw6cd4s72d1zm3gn-hie-bios-exe-hie-bios-0.8.1.drv', '/nix/store/qy1qsf3pgz99vyc8gygxpvsdzqz8qchx-cardano-wallet-2022.1.18.drv', '/nix/store/wa4nwm22bs3ha42jsld30pp9vp7a7q2a-updateMaterialized.drv', '/nix/store/wafr664d8gd0j07jnilhk9r2xiiahq6r-update-client-deps.drv' failed

This is the entire list of missing files:

error: file 'nar/18kyffwly44ai2bwjr3dyg07zs27ih0yj27bvfk2wn7x6l7dsshp.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/14lkg4qis02agcf60ak0zfqdw2jiq3xsblal14j7gxjpicl5vw9i.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0ap76ir3070sdqzsqw1463knfggikysgwdif0h6j83zya4z2g6yv.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/1kkgnz4xvz3kh67yl1h0mqqm76mwysnbm8g8qxglgjjpdcj966sn.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0y3pd185jz6p62nbhw9pfir699g59vjq8yg17xkajpdcd0lidl22.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/1b7f21minp4s86cdx58zzicp3g27hl4cw9lf1v53jkiq8pi0bbjn.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/14lkg4qis02agcf60ak0zfqdw2jiq3xsblal14j7gxjpicl5vw9i.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0il476qq709fcpjhl3jfqby5w2qgmk3apvw1bgrlm1r3h82312i0.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/1imxghnwwyry4sp7yjx69lv73g9bm2wspmjq6bx2zccnsd23z3kr.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/069r0cf6pldi3mz14vg9a5g7jaa6vr8gvkvpvhjdldsd30ddj812.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0n71mjd51dlj0n8826dvz8ngi366s2c4g4wil810pz5vhaaxy9hz.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0g85rn14kkxscsm9l7a0m2pwcs3vgv88l2vq1zgph98fs2vvm0q5.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0qh1zlgzvlcrk5b93v4kb74ia0lgacvywsrvfpam8ia3vld89r02.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0nvzmc5vz44qnjm1hyya7kgaj57i52ryjw2lwryp0m7jyyqr480m.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/06dywjls0r2x36idj3dk0q1h3408d098cs6d7hidk67iaz7wflzf.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/1imxghnwwyry4sp7yjx69lv73g9bm2wspmjq6bx2zccnsd23z3kr.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0z82mw98md13jraj7gnkph2yjacicdazk8dwkqj2jjnyif2irnvf.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/1k77ks7slipvlb60wx1dvnsfq9295inkxj3ydggxi9c91hvmb0ab.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0mxy77gnsqk8563nlin01b66vab79b4n3jxxzmfcn640f7xvq2i3.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/1zvdljvl35gpldflps3cdpxm6q7k4s3szk9hy8am3p0npklg2yb6.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0cwhwjrvqqx2f94v30jzhmv81bbbj7h6k2bm44kmq1illa5vqgz4.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0dywigl054s93grnk1mprrb50wzpl475iiq27903pssv9fimqw7r.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0sas23pgwpcbri0k22hj3wlf0ypi0z5vprln4mf3wf8xazbk7kfm.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0y5rf1vmykhzbzs1nzvsh2klk1k7vk5fz0nh2dx8si0rvfg5xp7j.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/00yf59ywgs5jpw924idq6qcgy8jvdw8k09p5k8gqkdk7hvpccwj7.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/0gqyr3hg2949sa6w479rpcn19kipwbm3j2p7513gpqk6d4rdy2vb.nar.xz' does not exist in binary cache 'https://cache.iog.io'
error: file 'nar/1cdq9ijp027a7x11fi3a962rswlqssklyr1v259f7isdah7a6d0d.nar.xz' does not exist in binary cache 'https://cache.iog.io'

Expected Result

The process should finish without errors.

Describe the approach you would take to fix this

No response

System info

OS : Ubuntu 20.04
GHCi: 8.8.4
Stack: 2.9.3

Thanks for reporting!

Unfortunately, the mentioned revision (14bed17) is too old. The cache is provided only for recent revisions (can't say the exact time range). So it's fine and you should be able to build everything from scratch but it will take some time.

Also, the plutus playground is no longer maintained by IOG. Thus, it was deleted from the plutus-apps repository.