reflex-platform icon indicating copy to clipboard operation
reflex-platform copied to clipboard

"don't know how to build these paths" when running ./try-reflex

Open michaelmesser opened this issue 4 years ago • 23 comments

macOS: 10.14.6 nix: 2.3.9

./try-reflex
If you have any trouble with this script, please submit an issue at https://github.com/reflex-frp/reflex-platform/issues
Entering the reflex sandbox...
these paths will be fetched (73.95 MiB download, 645.06 MiB unpacked):
  /nix/store/0822lw677b5p9lblcjymkz475hdyawhm-shell-x86_64-darwin
  /nix/store/0sbfvqrl6w538gc4yjsgify8lsszwf9d-hoogle-5.0.17.11
  /nix/store/1gjxqfvwpq95iiqlzh659ybww96zwym6-dependent-sum-template-0.1.0.3-js-unknown-ghcjs
  /nix/store/2inrjgfjmhnqvfgj8n008d1kbbgz81gx-hlint-2.2.2-doc
  /nix/store/2xf9d96w34wm1z5sk4y8802ynw0arcd1-reflex-todomvc-0.1
  /nix/store/36hl7dv3kfvkw5xr6wcflvwmniqav8fa-reflex-fsnotify-0.2.1.2-doc
  /nix/store/3bpdsd4rdh0dyaqxx0bl565k6qcqw3l1-reflex-todomvc-0.1-doc
  /nix/store/4ifqi2pnadaj6xfvh75ar9ybbw3458pw-hlint-2.2.2
  /nix/store/5qrnvmxnv6pxb40h9ig0r7mg78d6fa60-dependent-sum-0.7.1.0
  /nix/store/6qyf9nga66rblf3sbyqbd78qf2sp5iq2-dependent-sum-template-0.1.0.3
  /nix/store/730w6nsjwh2yb3fl96jcind9cs7q3gby-stylish-haskell-0.9.2.2
  /nix/store/88h08aanf83nv1sp6c5p3w71709n5qcc-dependent-map-0.4.0.0-doc
  /nix/store/8agyy0d7p6vbwr31s14lcr41n26nh3ws-reflex-0.8.0.0-doc
  /nix/store/8wjbpg1kd7p8d71sl93wc7clcfxxmgsa-dependent-map-0.4.0.0
  /nix/store/8zsjkvlibvyw3hsqi0zzjb715pfgbfqn-prim-uniq-0.2-js-unknown-ghcjs
  /nix/store/9b9b8r6x81lr1fjzs7wll8iksl80ryrg-dependent-sum-0.7.1.0-js-unknown-ghcjs-doc
  /nix/store/9n2c858dpagvlji03srxlshh3spmg7dk-reflex-todomvc-0.1-js-unknown-ghcjs-doc
  /nix/store/9paqwyglajx0f8zhg5iawj1lc7p3k4b7-dependent-sum-0.7.1.0-js-unknown-ghcjs
  /nix/store/baw5ylkcmj6dl98bzwql4mhfbwa52qd0-patch-0.0.3.2-doc
  /nix/store/bjdn74bhr96gsv017nh3zpvsqxbzlc11-some-1.0.1
  /nix/store/c4665pwk6ynbhdk8mg2p0iayk36mxh1z-reflex-dom-core-0.6.1.0-doc
  /nix/store/c79kwq8gv51shi4y5g5jgzqj796lcwm8-hoogle-5.0.17.11-doc
  /nix/store/cmca0gv16sz15p8k6lbczazvmsp9r98g-reflex-dom-core-0.6.1.0-js-unknown-ghcjs-doc
  /nix/store/drzh2z5rmby6ygzp90sav3i89rw01svs-prim-uniq-0.2-js-unknown-ghcjs-doc
  /nix/store/dwfs4qr8qamnaqh8jlmx0w7afdzwpd56-http-conduit-2.3.7.1
  /nix/store/dxf0qjl22c1ygrw1c4qf390rc3s8224a-reflex-ghci-0.1.5.1
  /nix/store/f1lh00nh150q721dk40f1klw09wp5jq0-reflex-ghci-0.1.5.1-doc
  /nix/store/f1zj1164dc6z1ysbc3w82ah0461lssz6-ghc-lib-parser-8.8.0.20190723
  /nix/store/fl5yfm3rqsmpgz82yyfzncv79qyiddgw-reflex-todomvc-0.1-js-unknown-ghcjs
  /nix/store/gxdnpx3sxzvmnr838llbczcmqr4g5r15-patch-0.0.3.2-js-unknown-ghcjs-doc
  /nix/store/hxwrwb56jjn983fxskyy56myyhb64cbj-prim-uniq-0.2-doc
  /nix/store/i691r1gkjbgqyzgs0yv0ck2g0g3k1q84-reflex-process-0.3.1.0
  /nix/store/ihprz3dj59flbpmps5hzzb5ypj1506pm-reflex-dom-core-0.6.1.0
  /nix/store/ikhsws2cl0q5imsjljjpzhvvqcyfli94-reflex-fsnotify-0.2.1.2
  /nix/store/iziw830c6zlap7x581acmyi98yybma0f-reflex-0.8.0.0
  /nix/store/j2xhlm8lx3x8mww0abd6sq76w8bps452-dependent-sum-template-0.1.0.3-js-unknown-ghcjs-doc
  /nix/store/j8j7s9wjr19xjimvc1j5wfyz9hpckxrh-hoogle-local-0.1
  /nix/store/k6ibvaxn8zs07li0p5nl816j4awqq37f-reflex-dom-0.6.1.0
  /nix/store/kh1w1pmracwq56kiggn1cgclj66f898a-reflex-dom-0.6.1.0-js-unknown-ghcjs-doc
  /nix/store/m1pdsc3ibwgvwb85j17365kvl13v4ay8-reflex-process-0.3.1.0-doc
  /nix/store/n4v31v687krdzghsyp4yqamj880wg0nq-dependent-map-0.4.0.0-js-unknown-ghcjs-doc
  /nix/store/nf3djgxl09pgg9vzq2kgkmvnx4i6n0bi-dependent-sum-template-0.1.0.3-doc
  /nix/store/nz4pvjc8x6p1n56a4fbxh3vvp1y249d5-dependent-sum-0.7.1.0-doc
  /nix/store/pz5xczmkdvkv0v44lb6ciqwbhb1j1g98-http-conduit-2.3.7.1-doc
  /nix/store/pzjrrn53w55m86sca2lwjxp3q78vg4l5-constraints-extras-0.3.0.2-js-unknown-ghcjs
  /nix/store/qpb6vhyb3x96jn9xra37b6x3wxv3xqpv-ghcjs-8.6.0.1-with-packages
  /nix/store/r8hqj4z282xjnm4n4gxjkgnszn3rndp1-dependent-map-0.4.0.0-js-unknown-ghcjs
  /nix/store/rdpczlr1wjybm9bxlcmfsw1n4w8c336r-hoogle-local-0.1
  /nix/store/s52g4bydx8xgjd74pnaxc3famdvm2zn0-ghc-8.6.5-with-packages
don't know how to build these paths:
  /nix/store/v6pmh1yxp2pgriwciac36ma97j4lcb2f-reflex-dom-0.6.1.0-js-unknown-ghcjs
  /nix/store/v7kq0wh879rxf6y2mmljwzi0czy94g4s-reflex-dom-0.6.1.0-doc
  /nix/store/vbmr30xmgwvgigwas4dlvj9f86wxqqf1-reflex-dom-core-0.6.1.0-js-unknown-ghcjs
  /nix/store/vmnyrckahwd06mzwjf9nn8j9zb69jaw2-ghc-lib-parser-8.8.0.20190723-doc
  /nix/store/wdl0h6a5dya1ybrqbdlxdcrszp416q9h-reflex-0.8.0.0-js-unknown-ghcjs-doc
  /nix/store/wxkiqblrx38kdl94dshgqsfsa2vyykad-stylish-haskell-0.9.2.2-doc
  /nix/store/xj9svcvdvqagxxgc1xfly97cs8mvz89f-reflex-vty-0.1.4.1
  /nix/store/xxi5xk1wlkqcflgj39sd5mphizvzc0qi-reflex-vty-0.1.4.1-doc
  /nix/store/xxswa64qdbpmkldl34fh9r5aw48k9mwm-some-1.0.1-doc
  /nix/store/ybn2a35pgs9k62krqiypviizaq8kp1a6-patch-0.0.3.2-js-unknown-ghcjs
  /nix/store/yg6nkhs94c62912rixx5khgb9r5ffq37-prim-uniq-0.2
  /nix/store/yv5wv3ff3lr3w9z6cgpk7csyjwasak3n-reflex-0.8.0.0-js-unknown-ghcjs
  /nix/store/zf82rv6qs0vnsqmhydlmgx5h136w6dz4-patch-0.0.3.2
  /nix/store/zmzy1h3qrrp00kyhglsg1dz315d0748p-constraints-extras-0.3.0.2-js-unknown-ghcjs-doc
  /nix/store/zw4kp8i9kdyb23bpbxa3n89gdy1z8ypj-http-client-tls-0.3.5.3-doc
  /nix/store/zyyz1fc26cq5kbw1dhd1qpkr89zjkz3q-http-client-tls-0.3.5.3
building '/nix/store/7c0qq6qicccgc7q5mj9q8mdlwzs49s74-http-client-tls-0.3.5.3.drv'...

I do not see any progress made after that

michaelmesser avatar Nov 28 '20 21:11 michaelmesser

Looks like the same issue I hit when trying to update reflex-platform on Nov 14th: https://freenode.logbot.info/reflex-frp/20201114

srid avatar Nov 28 '20 23:11 srid

I am also facing this issue on NixOS. Disabling the reflex-frp.org cache works, but you of course will need to build a bunch of stuff.

kmicklas avatar Nov 28 '20 23:11 kmicklas

We've reproduced the problem but we're not sure of the cause yet. I'll keep you posted.

ali-abrar avatar Nov 29 '20 01:11 ali-abrar

Could you try deleting $HOME/.cache/nix/binary-cache-v6.sqlite* and seeing if that makes a difference? This cache is referred to by Nix when determining which paths to fetch, and might end up not seeing binaries due to temporary connectivity issues. If that's the case, it's a Nix bug we should report.

matthewbauer avatar Nov 29 '20 01:11 matthewbauer

@matthewbauer It does not help

michaelmesser avatar Nov 29 '20 02:11 michaelmesser

Now I get:

warning: substituter 'https://nixcache.reflex-frp.org' does not have a valid signature for path '/nix/store/wxkiqblrx38kdl94dshgqsfsa2vyykad-stylish-haskell-0.9.2.2-doc'
warning: substituter 'https://nixcache.reflex-frp.org' does not have a valid signature for path '/nix/store/zmzy1h3qrrp00kyhglsg1dz315d0748p-constraints-extras-0.3.0.2-js-unknown-ghcjs-doc'
warning: substituter 'https://nixcache.reflex-frp.org' does not have a valid signature for path '/nix/store/vmnyrckahwd06mzwjf9nn8j9zb69jaw2-ghc-lib-parser-8.8.0.20190723-doc'
warning: substituter 'https://nixcache.reflex-frp.org' does not have a valid signature for path '/nix/store/xxswa64qdbpmkldl34fh9r5aw48k9mwm-some-1.0.1-doc'

printed in a infinite loop

michaelmesser avatar Nov 30 '20 03:11 michaelmesser

We've rebuilt the cache for the develop branch. Based on some initial testing, things look like they're working. A more thorough test is happening now.

ali-abrar avatar Nov 30 '20 22:11 ali-abrar

Based on this test, it looks like the problem's been fixed.

ali-abrar avatar Nov 30 '20 23:11 ali-abrar

@ali-abrar Any idea how to fix the warning: substituter error?

michaelmesser avatar Nov 30 '20 23:11 michaelmesser

@ali-abrar Any idea how to fix the warning: substituter error?

I didn't see that in the test, above. Let me see if we can reproduce that in particular.

ali-abrar avatar Dec 01 '20 14:12 ali-abrar

This test (after this commit), however, is still running for 16+ minutes.

And locally in NixOS, the build is stuck at:

image

srid avatar Dec 02 '20 00:12 srid

The PR I use to test: https://github.com/srid/reflex-stone/pull/10 (I'm hoping whatever cache you guys make will make this PR pass).

srid avatar Dec 02 '20 00:12 srid

I still experience hangs running

./scripts/work-on ghc reflex-dom

on reflex-platform develop (194e83f436f7d67489f553fb385546acf02ec998).

kmicklas avatar Dec 03 '20 01:12 kmicklas

I still experience hangs running

./scripts/work-on ghc reflex-dom

on reflex-platform develop (194e83f).

Linux or macOS?

ali-abrar avatar Dec 07 '20 15:12 ali-abrar

@ali-abrar on NixOS.

I just tested again and it hangs on this derivation:

copying path '/nix/store/gmcr2qwz4hn2kmsxygyhj9vs48ixpgmq-gtk3-0.15.1' from 'https://nixcache.reflex-frp.org'...

kmicklas avatar Dec 08 '20 02:12 kmicklas

Trying to do a full build without cache fails for another reason.

image

srid avatar Dec 10 '20 20:12 srid

We managed to reproduce and track down the problem. develop of reflex-platform is being pulled from cache again, without any "don't know how to build these" errors. We verified this in a fresh ubuntu vm.

Obelisk develop is being re-cached now. Thanks for the reports.

@srid Can you open a separate issue for that problem? It may require that we update nixpkgs. I think that's not a direct dependency of ours.

ali-abrar avatar Dec 12 '20 18:12 ali-abrar

Please reopen this if you're still seeing the "don't know how to build these paths" error on the develop branch.

ali-abrar avatar Dec 12 '20 18:12 ali-abrar

I'm getting one when running try-reflex on the current develop branch:

don't know how to build these paths:
  /nix/store/rj4sqdi2rs2b8f9ahn968mq96agwsl44-mmorph-1.1.3-js-unknown-ghcjs-doc

parenthetical avatar Jan 27 '21 17:01 parenthetical

Yep - same there for me - and it just hangs too. Tried clearing that cache too. All I can really do at the moment is to disable the binary cache and compile things myself it seems. Using latest develop branch, is that right?

danwdart avatar Feb 07 '21 01:02 danwdart

Seems release/0.7.0.0 helps for now get rid of that error @parenthetical

danwdart avatar Feb 07 '21 01:02 danwdart

I see the same error as @parenthetical on https://github.com/reflex-frp/reflex-platform/commit/6c2636422a6c721e26481ac5901fb0d359922a90 The problem is also present on release/0.7.1.0 and release/0.7.0.0 for me. @ali-abrar can you reopen?

endgame avatar Apr 28 '21 03:04 endgame

Hello, I have the same issue. I can't build the latest commit on the main branch, v7.1.0 or v7.0.0 (It just hangs forever). I can report that I can build v6.2.0.

thiskappaisgrey avatar May 15 '21 17:05 thiskappaisgrey

Hi all. Please reopen if this is still happening on 1.2.0.0

ali-abrar avatar Dec 06 '23 03:12 ali-abrar

I don't know if this is working, but I'm getting a lot of cache misses on v1.2.0.0 x86_64-pc-linux-gnu, running NixOS 23.11. I know the cache is set up right, because it pulled some derivations from https://nixcache.reflex-frp.org.

endgame avatar Dec 06 '23 05:12 endgame

Where are you getting x86_64-pc-linux-gnu? GNU config will normalize x86 things to *-pc-*, but Nixpkgs and Reflex Platform don't, and always use x86_64-unknown-linux-gnu there.

Ericson2314 avatar Jan 25 '24 21:01 Ericson2314

I typed it by hand to describe the system I was running on, that's all.

endgame avatar Jan 25 '24 22:01 endgame

Looks like some IFD stuff, but nothing substantial was built in this test: https://github.com/reflex-frp/reflex-platform/actions/runs/7669366672/job/20903123458#step:4:1

ali-abrar avatar Jan 26 '24 14:01 ali-abrar