Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ulysses4ever/0014eee657702fa3c54135d866298b7d to your computer and use it in GitHub Desktop.
Save ulysses4ever/0014eee657702fa3c54135d866298b7d to your computer and use it in GitHub Desktop.
waymonad-L-as.log
waymonad-L-as on  master via ❄️ impure (ghc-shell-for-packages-0)
❯ cabal repl
Resolving dependencies...
Build profile: -w ghc-8.10.4 -O1
In order, the following will be built (use -v for more details):
- hayland-0.1.1.0 (lib) (first run)
- hsc2hs-0.68.7 (exe:hsc2hs) (requires build)
- hsroots-0.1.0.0 (lib) (first run)
- network-3.1.2.1 (lib:network) (requires download & build)
- waymonad-scanner-0.1.0.0 (lib) (first run)
- waymonad-0.0.1.0 (lib) (first run)
Downloading network-3.1.2.1
Configuring library for hayland-0.1.1.0..
Starting hsc2hs-0.68.7 (exe:hsc2hs)
Downloaded network-3.1.2.1
Building hsc2hs-0.68.7 (exe:hsc2hs)
Preprocessing library for hayland-0.1.1.0..
Building library for hayland-0.1.1.0..
[ 1 of 22] Compiling Graphics.Wayland.Internal ( Graphics/Wayland/Internal.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal.dyn_o )
[ 2 of 22] Compiling Graphics.Wayland.Internal.ServerClientState ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/ServerClientState.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/ServerClientState.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/ServerClientState.dyn_o )
[ 3 of 22] Compiling Graphics.Wayland.Internal.Util ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Util.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Util.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Util.dyn_o )
[ 4 of 22] Compiling Graphics.Wayland.Internal.Version ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Version.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Version.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Version.dyn_o )
[ 5 of 22] Compiling Graphics.Wayland ( Graphics/Wayland.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland.dyn_o )
[ 6 of 22] Compiling Graphics.Wayland.Scanner.Types ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Types.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Types.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Types.dyn_o )
[ 7 of 22] Compiling Graphics.Wayland.Scanner.Names ( Graphics/Wayland/Scanner/Names.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Names.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Names.dyn_o )
[ 8 of 22] Compiling Graphics.Wayland.Scanner.Protocol ( Graphics/Wayland/Scanner/Protocol.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Protocol.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Protocol.dyn_o )
[ 9 of 22] Compiling Graphics.Wayland.Scanner.Marshaller ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Marshaller.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Marshaller.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner/Marshaller.dyn_o )
[10 of 22] Compiling Graphics.Wayland.Scanner ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Scanner.dyn_o )
Installing hsc2hs-0.68.7 (exe:hsc2hs)
Completed hsc2hs-0.68.7 (exe:hsc2hs)
Starting network-3.1.2.1 (all, legacy fallback)
[11 of 22] Compiling Graphics.Wayland.Internal.SpliceServerTypes ( Graphics/Wayland/Internal/SpliceServerTypes.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceServerTypes.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceServerTypes.dyn_o )
[12 of 22] Compiling Graphics.Wayland.Internal.SpliceServerInternal ( Graphics/Wayland/Internal/SpliceServerInternal.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceServerInternal.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceServerInternal.dyn_o )
Building network-3.1.2.1 (all, legacy fallback)
[13 of 22] Compiling Graphics.Wayland.Internal.SpliceServer ( Graphics/Wayland/Internal/SpliceServer.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceServer.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceServer.dyn_o )
[14 of 22] Compiling Graphics.Wayland.Internal.Server ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Server.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Server.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Server.dyn_o )
[15 of 22] Compiling Graphics.Wayland.Internal.SpliceClientTypes ( Graphics/Wayland/Internal/SpliceClientTypes.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceClientTypes.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceClientTypes.dyn_o )
[16 of 22] Compiling Graphics.Wayland.Internal.EGL ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/EGL.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/EGL.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/EGL.dyn_o )
[17 of 22] Compiling Graphics.Wayland.Internal.Cursor ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Cursor.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Cursor.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Cursor.dyn_o )
[18 of 22] Compiling Graphics.Wayland.Internal.SpliceClientInternal ( Graphics/Wayland/Internal/SpliceClientInternal.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceClientInternal.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceClientInternal.dyn_o )
[19 of 22] Compiling Graphics.Wayland.Internal.SpliceClient ( Graphics/Wayland/Internal/SpliceClient.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceClient.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/SpliceClient.dyn_o )
[20 of 22] Compiling Graphics.Wayland.Internal.Client ( /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Client.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Client.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Internal/Client.dyn_o )
[21 of 22] Compiling Graphics.Wayland.Client ( Graphics/Wayland/Client.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Client.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Client.dyn_o )
[22 of 22] Compiling Graphics.Wayland.Server ( Graphics/Wayland/Server.hs, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Server.o, /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hayland-0.1.1.0/build/Graphics/Wayland/Server.dyn_o )
Configuring library for hsroots-0.1.0.0..
Preprocessing library for hsroots-0.1.0.0..
compiling /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/Graphics/Wayland/WlRoots/Buffer_hsc_make.c failed (exit code 1)
rsp file was: "/home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/Graphics/Wayland/WlRoots/hsc2hscall15287-0.rsp"
command was: /nix/store/35pnk5kwi26m3ph2bc7dxwjnavpzl8cn-gcc-wrapper-10.3.0/bin/cc -c /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/Graphics/Wayland/WlRoots/Buffer_hsc_make.c -o /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/Graphics/Wayland/WlRoots/Buffer_hsc_make.o -fuse-ld=gold -D__GLASGOW_HASKELL__=810 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Iprotocol -I/nix/store/iqwkmj5fn9694mbdqlvah0dh8xcajr93-pixman-0.38.4/include/pixman-1 -I/nix/store/l6irdfn797s8ajpqqa406rki63d5qpy9-wlroots-0.13.0/include -I/home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/protocol -I/nix/store/iqwkmj5fn9694mbdqlvah0dh8xcajr93-pixman-0.38.4/include/pixman-1 -I/nix/store/l6irdfn797s8ajpqqa406rki63d5qpy9-wlroots-0.13.0/include -I/home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/autogen -I/home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/global-autogen -include /home/artem/code/waymonad-L-as/dist-newstyle/build/x86_64-linux/ghc-8.10.4/hsroots-0.1.0.0/build/autogen/cabal_macros.h -I/nix/store/nz8bkk2khh6yw39sc24px5vaqq8walmm-linux-headers-5.12/include -I/nix/store/am5qwbpriqhp1i9qhp2idid7ympxqb9a-glibc-2.32-46-dev/include -I/nix/store/60j7b4w5qg88j7y8y78vpmi3hqwrnnrw-libxkbcommon-1.3.0-dev/include -I/nix/store/a6sg19pl2fwiw12z0iy9y3f72dfa4q8q-libinput-1.16.4-dev/include -I/nix/store/k1m4sqsmnk0azkbkmmnyhh2xf4fx7zmc-systemd-247.6-dev/include -I/nix/store/9zrf8sw86f8pc7vls1xhw0lhngxhp125-wayland-1.19.0-dev/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/process-1.6.9.0/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/unix-2.7.2.2/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/time-1.9.3/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/bytestring-0.10.12.0/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/base-4.14.1.0/include -I/nix/store/xa30jvsf2qnwks32y2hdm5qn57spyhh6-gmp-6.2.1-dev/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/integer-gmp-1.0.3.0/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/include -I/nix/store/flgjhqip0r085k5682v55l57znfprdsr-libffi-3.3-dev/include -I/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/include/
error: In file included from /nix/store/am5qwbpriqhp1i9qhp2idid7ympxqb9a-glibc-2.32-46-dev/include/sys/types.h:144,
from /nix/store/9zrf8sw86f8pc7vls1xhw0lhngxhp125-wayland-1.19.0-dev/include/wayland-server-core.h:29,
from /nix/store/l6irdfn797s8ajpqqa406rki63d5qpy9-wlroots-0.13.0/include/wlr/types/wlr_buffer.h:13,
from Buffer.hsc:11:
Buffer.hsc: In function ‘main’:
/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/template-hsc.h:82:24: error: ‘struct wlr_buffer’ has no member named ‘resource’
82 | (long) offsetof (t, f));
| ^~~~~~~~
Buffer.hsc:23:5: note: in expansion of macro ‘hsc_peek’
/nix/store/qam66cqpir6n9260xzs19mbdx6kd6md0-ghc-8.10.4/lib/ghc-8.10.4/template-hsc.h:82:24: error: ‘struct wlr_buffer’ has no member named ‘texture’
82 | (long) offsetof (t, f));
| ^~~~~~~~
Buffer.hsc:40:5: note: in expansion of macro ‘hsc_peek’
Installing network-3.1.2.1 (all, legacy fallback)
Completed network-3.1.2.1 (all, legacy fallback)
cabal: Failed to build hsroots-0.1.0.0 (which is required by
waymonad-0.0.1.0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment