Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with "Simula.drv requires non-existent output 'out' from input deriviation[...]" #189

Open
iAmInActions opened this issue Dec 18, 2022 · 1 comment

Comments

@iAmInActions
Copy link
Contributor

System information:

OS Base: Void Linux
OS Userspace (Bedrock): Ubuntu 22.04.1 LTS x86_64
Kernel: 5.13.0-27-generic 
Packages: 310 (xbps), 5103 (dpkg), 96 (nix-user), 28 (flatpak), 17 (snap)
CPU: AMD Ryzen 5 5600G with Radeon Graphics (12) @ 4.000GHz 
GPU: NVIDIA GeForce RTX 3060 Lite Hash Rate 
Memory: 31991MiB

CLI ouput:

[...]
building '/nix/store/vcpxqinlf913lhjpza5s8p200nwnncqv-i3status.drv'...
building '/nix/store/ri3l2wq7azqqi1z4k5d04cqdp2q808yg-midori.drv'...
building '/nix/store/cmykn1y1i9bg7aqkd0mnbr48yrg9fn66-nixGLIntel.drv'...
building '/nix/store/7gr9xyg36fh8smvhq8gjn2h73kfbzi5f-pernosco_submit.drv'...
building '/nix/store/zirzk4h1z3z5fwh8ys8ajyw3cxhmdcji-xfce4-terminal.drv'...
building '/nix/store/xv0q6wa32m2nrxbsx8ln9pxc6akhqagf-xvfb-run.drv'...
building '/nix/store/9qksxy3iglvq1viqaqpr0a4pmd1n2g8f-xwayland-21.1.1.drv'...
building '/nix/store/2cnvlmbpk2dyvnk6jd78zv6c5mcl41iq-godot-3.2.drv'...
error: derivation '/nix/store/2rmpk8rz5d1kgmvjqp7pd18n7hz5f1vz-Simula.drv' requires non-existent output 'out' from input derivation '/nix/store/2cnvlmbpk2dyvnk6jd78zv6c5mcl41iq-godot-3.2.drv'

Log content:

Using Cabal-3.4.1.0 compiled by ghc-9.0
Using compiler: ghc-9.0.2
Using install prefix:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0
Executables installed in:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0/bin
Libraries installed in:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0/lib/gh>
Dynamic Libraries installed in:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0/lib/gh>
Private executables installed in:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0/libexe>
Data files installed in:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0/share/>
Documentation installed in:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0/share/>
Configuration files installed in:
/nix/store/mfd7iadd630h803pzdswvalc0c96i521-godot-haskell-plugin-0.1.0.0/etc
No alex found
Using ar found on system at:
/nix/store/3fqi6nigj8dkbvjnw8y4dy59gkq8vsj4-binutils-2.38/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 11.3.0 given by user at:
/nix/store/gfr4ljdlr1wplc01j4fchw4w9x3lfvv9-gcc-wrapper-11.3.0/bin/gcc
Using ghc version 9.0.2 found on system at:
/nix/store/xgwlhdqfcrxgny4hajmkyrwqzsbh432f-ghc-9.0.2/bin/ghc
Using ghc-pkg version 9.0.2 found on system at:
/nix/store/xgwlhdqfcrxgny4hajmkyrwqzsbh432f-ghc-9.0.2/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.25.1 found on system at:
/nix/store/xgwlhdqfcrxgny4hajmkyrwqzsbh432f-ghc-9.0.2/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.68 found on system at:
/nix/store/xgwlhdqfcrxgny4hajmkyrwqzsbh432f-ghc-9.0.2/bin/hpc
Using hsc2hs version 0.68.7 found on system at:
/nix/store/xgwlhdqfcrxgny4hajmkyrwqzsbh432f-ghc-9.0.2/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/ghmjdqx5jxdvka3l0zzkf0lklk0vip2x-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/nhv0j3rsa1qirwgw9mym03lbbxy1almv-binutils-wrapper-2.38/bin/ld.gold
No pkg-config found
Using runghc version 9.0.2 found on system at:
/nix/store/xgwlhdqfcrxgny4hajmkyrwqzsbh432f-ghc-9.0.2/bin/runghc
Using strip version 2.38 found on system at:
/nix/store/gfr4ljdlr1wplc01j4fchw4w9x3lfvv9-gcc-wrapper-11.3.0/bin/strip
Using tar found on system at:
/nix/store/9ia80kzgnizdj7ninwqgswqw4fjk3kb9-gnutar-1.34/bin/tar
No uhc found
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Preprocessing library for godot-haskell-plugin-0.1.0.0..
Building library for godot-haskell-plugin-0.1.0.0..
[ 1 of 20] Compiling Plugin.Imports   ( src/Plugin/Imports.hs, dist/build/Plugi>
[ 2 of 20] Compiling Plugin.Types     ( src/Plugin/Types.hs, dist/build/Plugin/>
[ 3 of 20] Compiling Plugin.Pointer   ( src/Plugin/Pointer.hs, dist/build/Plugi>
[ 4 of 20] Compiling Plugin.PancakeCamera ( src/Plugin/PancakeCamera.hs, dist/b>
[ 5 of 20] Compiling Plugin.Input.Telekinesis ( src/Plugin/Input/Telekinesis.hs>
[ 6 of 20] Compiling Plugin.Input.HandTelekinesis ( src/Plugin/Input/HandTeleki>
[ 7 of 20] Compiling Plugin.Input     ( src/Plugin/Input.hs, dist/build/Plugin/>

src/Plugin/Input.hs:528:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_LEFT’
    Perhaps you meant ‘G.BUTTON_LEFT’ (imported from Godot.Core.GodotGlobalCons>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
528 | getScancode "KEY_BUTTON_LEFT"        = Just G.KEY_BUTTON_LEFT
    |                                             ^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:529:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_RIGHT’
    Perhaps you meant ‘G.BUTTON_RIGHT’ (imported from Godot.Core.GodotGlobalCon>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
529 | getScancode "KEY_BUTTON_RIGHT"       = Just G.KEY_BUTTON_RIGHT
    |                                             ^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:530:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_MIDDLE’
    Perhaps you meant ‘G.BUTTON_MIDDLE’ (imported from Godot.Core.GodotGlobalCo>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
530 | getScancode "KEY_BUTTON_MIDDLE"      = Just G.KEY_BUTTON_MIDDLE
    |                                             ^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:531:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_XBUTTON1’
    Perhaps you meant one of these:
      ‘G.BUTTON_XBUTTON1’ (imported from Godot.Core.GodotGlobalConstants),
      ‘G.BUTTON_XBUTTON2’ (imported from Godot.Core.GodotGlobalConstants)
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
531 | getScancode "KEY_BUTTON_XBUTTON1"    = Just G.KEY_BUTTON_XBUTTON1
    |                                             ^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:532:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_XBUTTON2’
    Perhaps you meant one of these:
      ‘G.BUTTON_XBUTTON2’ (imported from Godot.Core.GodotGlobalConstants),
      ‘G.BUTTON_XBUTTON1’ (imported from Godot.Core.GodotGlobalConstants)
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
532 | getScancode "KEY_BUTTON_XBUTTON2"    = Just G.KEY_BUTTON_XBUTTON2
    |                                             ^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:533:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_UP’
    Perhaps you meant ‘G.BUTTON_WHEEL_UP’ (imported from Godot.Core.GodotGlobal>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
533 | getScancode "KEY_BUTTON_WHEEL_UP"    = Just G.KEY_BUTTON_WHEEL_UP
    |                                             ^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:534:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_DOWN’
    Perhaps you meant ‘G.BUTTON_WHEEL_DOWN’ (imported from Godot.Core.GodotGlob>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
534 | getScancode "KEY_BUTTON_WHEEL_DOWN"  = Just G.KEY_BUTTON_WHEEL_DOWN
    |                                             ^^^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:535:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_LEFT’
    Perhaps you meant ‘G.BUTTON_WHEEL_LEFT’ (imported from Godot.Core.GodotGlob>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
535 | getScancode "KEY_BUTTON_WHEEL_LEFT"  = Just G.KEY_BUTTON_WHEEL_LEFT
    |                                             ^^^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:536:45: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_RIGHT’
    Perhaps you meant ‘G.BUTTON_WHEEL_RIGHT’ (imported from Godot.Core.GodotGlo>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
536 | getScancode "KEY_BUTTON_WHEEL_RIGHT" = Just G.KEY_BUTTON_WHEEL_RIGHT
    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:542:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_LEFT’
    Perhaps you meant ‘G.BUTTON_LEFT’ (imported from Godot.Core.GodotGlobalCons>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
542 | getButtonScancode G.BUTTON_LEFT        = G.KEY_BUTTON_LEFT
    |                                          ^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:543:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_RIGHT’
    Perhaps you meant ‘G.BUTTON_RIGHT’ (imported from Godot.Core.GodotGlobalCon>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
543 | getButtonScancode G.BUTTON_RIGHT       = G.KEY_BUTTON_RIGHT
    |                                          ^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:544:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_MIDDLE’
    Perhaps you meant ‘G.BUTTON_MIDDLE’ (imported from Godot.Core.GodotGlobalCo>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
544 | getButtonScancode G.BUTTON_MIDDLE      = G.KEY_BUTTON_MIDDLE
    |                                          ^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:545:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_XBUTTON1’
    Perhaps you meant one of these:
      ‘G.BUTTON_XBUTTON1’ (imported from Godot.Core.GodotGlobalConstants),
      ‘G.BUTTON_XBUTTON2’ (imported from Godot.Core.GodotGlobalConstants)
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
545 | getButtonScancode G.BUTTON_XBUTTON1    = G.KEY_BUTTON_XBUTTON1
    |                                          ^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:546:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_XBUTTON2’
    Perhaps you meant one of these:
      ‘G.BUTTON_XBUTTON2’ (imported from Godot.Core.GodotGlobalConstants),
      ‘G.BUTTON_XBUTTON1’ (imported from Godot.Core.GodotGlobalConstants)
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
546 | getButtonScancode G.BUTTON_XBUTTON2    = G.KEY_BUTTON_XBUTTON2
    |                                          ^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:547:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_UP’
    Perhaps you meant ‘G.BUTTON_WHEEL_UP’ (imported from Godot.Core.GodotGlobal>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
547 | getButtonScancode G.BUTTON_WHEEL_UP    = G.KEY_BUTTON_WHEEL_UP
    |                                          ^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:548:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_DOWN’
    Perhaps you meant ‘G.BUTTON_WHEEL_DOWN’ (imported from Godot.Core.GodotGlob>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
548 | getButtonScancode G.BUTTON_WHEEL_DOWN  = G.KEY_BUTTON_WHEEL_DOWN
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:549:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_LEFT’
    Perhaps you meant ‘G.BUTTON_WHEEL_LEFT’ (imported from Godot.Core.GodotGlob>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
549 | getButtonScancode G.BUTTON_WHEEL_LEFT  = G.KEY_BUTTON_WHEEL_LEFT
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:550:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_RIGHT’
    Perhaps you meant ‘G.BUTTON_WHEEL_RIGHT’ (imported from Godot.Core.GodotGlo>
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_>
    |
550 | getButtonScancode G.BUTTON_WHEEL_RIGHT = G.KEY_BUTTON_WHEEL_RIGHT
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^
[ 8 of 20] Compiling Plugin.CanvasSurface ( src/Plugin/CanvasSurface.hs, dist/b>
[ 9 of 20] Compiling Plugin.CanvasBase ( src/Plugin/CanvasBase.hs, dist/build/P>
[10 of 20] Compiling Plugin.SimulaViewSprite ( src/Plugin/SimulaViewSprite.hs, >
[11 of 20] Compiling Plugin.LeapMotion ( src/Plugin/LeapMotion.hs, dist/build/P>
[12 of 20] Compiling Plugin.CanvasAR  ( src/Plugin/CanvasAR.hs, dist/build/Plug>
[13 of 20] Compiling Plugin.VR        ( src/Plugin/VR.hs, dist/build/Plugin/VR.>
[14 of 20] Compiling Telemetry        ( telemetry/Telemetry.hs, dist/build/Tele>
lines 503-525/525 (END)

src/Plugin/Input.hs:549:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_LEFT’
    Perhaps you meant ‘G.BUTTON_WHEEL_LEFT’ (imported from Godot.Core.GodotGlobalConstants)
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_BUTTON_WHEEL_LEFT’.
    |
549 | getButtonScancode G.BUTTON_WHEEL_LEFT  = G.KEY_BUTTON_WHEEL_LEFT
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^

src/Plugin/Input.hs:550:42: error:
    Not in scope: data constructor ‘G.KEY_BUTTON_WHEEL_RIGHT’
    Perhaps you meant ‘G.BUTTON_WHEEL_RIGHT’ (imported from Godot.Core.GodotGlobalConstants)
    Neither ‘Godot.Core.GodotGlobalConstants’ nor ‘Godot.Methods’ exports ‘KEY_BUTTON_WHEEL_RIGHT’.
    |
550 | getButtonScancode G.BUTTON_WHEEL_RIGHT = G.KEY_BUTTON_WHEEL_RIGHT
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^
[ 8 of 20] Compiling Plugin.CanvasSurface ( src/Plugin/CanvasSurface.hs, dist/build/Plugin/CanvasSurface.o, dist/build/Plugin/CanvasSurface.dyn_o )
[ 9 of 20] Compiling Plugin.CanvasBase ( src/Plugin/CanvasBase.hs, dist/build/Plugin/CanvasBase.o, dist/build/Plugin/CanvasBase.dyn_o )
[10 of 20] Compiling Plugin.SimulaViewSprite ( src/Plugin/SimulaViewSprite.hs, dist/build/Plugin/SimulaViewSprite.o, dist/build/Plugin/SimulaViewSprite.dyn_o )
[11 of 20] Compiling Plugin.LeapMotion ( src/Plugin/LeapMotion.hs, dist/build/Plugin/LeapMotion.o, dist/build/Plugin/LeapMotion.dyn_o )
[12 of 20] Compiling Plugin.CanvasAR  ( src/Plugin/CanvasAR.hs, dist/build/Plugin/CanvasAR.o, dist/build/Plugin/CanvasAR.dyn_o )
[13 of 20] Compiling Plugin.VR        ( src/Plugin/VR.hs, dist/build/Plugin/VR.o, dist/build/Plugin/VR.dyn_o )
[14 of 20] Compiling Telemetry        ( telemetry/Telemetry.hs, dist/build/Telemetry.o, dist/build/Telemetry.dyn_o )

Any help on this would be appreciated.

@puffnfresh
Copy link

puffnfresh commented Feb 26, 2023

I got this too, which was weird. Seems like a bug in Nix!

If you do a nix-store --realise /nix/store/2rmpk8rz5d1kgmvjqp7pd18n7hz5f1vz-Simula.drv it should work. This is just building it a second time, so it shouldn't make a difference. But it did for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants