Skip to content

Instantly share code, notes, and snippets.

@dtzWill
Created July 19, 2018 21:21
Show Gist options
  • Save dtzWill/b5a9622aa15ac11b7d6cab8cbaae666a to your computer and use it in GitHub Desktop.
Save dtzWill/b5a9622aa15ac11b7d6cab8cbaae666a to your computer and use it in GitHub Desktop.
setupCompilerEnvironmentPhase
Build with /nix/store/w4vz90310gardrgraj1l7zs1rq1s36sb-ghc-8.4.3.
ignoring (possibly broken) abi-depends field for packages
ignoring (possibly broken) abi-depends field for packages
unpacking sources
unpacking source archive /nix/store/qqpplc4xab1g31a3f94axa0ypnkdq47w-source
source root is source
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j32 -threaded
[1 of 1] Compiling Main ( Setup.hs, /build/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/63xx9njk4mn6bl82hh8kv00bvb73b6hj-hslua-0.9.5.2-doc/share/doc/hslua-0.9.5.2 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j32 --disable-split-objs --enable-library-profiling --profiling-detail=all-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections -fsystem-lua --extra-lib-dirs=/nix/store/1xwbnc903gymfi99zpvj8mdp5601yqz6-ncurses-6.1/lib --extra-lib-dirs=/nix/store/254rgj92dhkyg7sydb7al65gflnyjd7b-gmp-6.1.2/lib --extra-include-dirs=/nix/store/89lj7wjp81pbg4wv2yf8fwm4p5dzq27b-musl-iconv-1.1.19/include --extra-include-dirs=/nix/store/kf2ncir99v9jmyfcy5lxrkidygs0aq32-lua-5.3.4/include --extra-lib-dirs=/nix/store/kf2ncir99v9jmyfcy5lxrkidygs0aq32-lua-5.3.4/lib
Using Parsec parser
Configuring hslua-1.0.0...
Flags chosen: allow-unsafe-gc=True, apicheck=False, export-dynamic=True,
lua_32bits=False, pkg-config=False, system-lua=True
Dependency QuickCheck >=2.7: using QuickCheck-2.11.3
Dependency base >=4.8 && <5: using base-4.11.1.0
Dependency bytestring >=0.10.2 && <0.11: using bytestring-0.10.8.2
Dependency containers ==0.5.*: using containers-0.5.11.0
Dependency exceptions >=0.8 && <0.11: using exceptions-0.10.0
Dependency fail >=4.9 && <5: using fail-4.9.0.0
Dependency hslua -any: using hslua-1.0.0
Dependency mtl ==2.2.*: using mtl-2.2.2
Dependency quickcheck-instances >=0.3: using quickcheck-instances-0.3.18
Dependency tasty >=0.11: using tasty-1.1.0.2
Dependency tasty-hunit >=0.9: using tasty-hunit-0.10.0.1
Dependency tasty-quickcheck >=0.8: using tasty-quickcheck-0.10
Dependency text >=1.0 && <1.3: using text-1.2.3.0
Source component graph:
component lib
component test:test-hslua dependency lib
Configured component graph:
component hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U
include base-4.11.1.0
include bytestring-0.10.8.2
include containers-0.5.11.0
include exceptions-0.10.0-D5kcCq3onNJ8Xd3zaVEIaB
include fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
include mtl-2.2.2
include text-1.2.3.0
component hslua-1.0.0-SdiJhNyS6rFzCbvJeUj20-test-hslua
include base-4.11.1.0
include bytestring-0.10.8.2
include containers-0.5.11.0
include exceptions-0.10.0-D5kcCq3onNJ8Xd3zaVEIaB
include fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
include mtl-2.2.2
include text-1.2.3.0
include hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U
include QuickCheck-2.11.3-3XHQpBYb83U2mMvNz2AjQX
include quickcheck-instances-0.3.18-Ci2LXLUWkez6uFr3rIAoAA
include tasty-1.1.0.2-8mo9uIOa8OH9MtCXpqkkQO
include tasty-hunit-0.10.0.1-Bjs6N3dt9qaExIOlxmv3wq
include tasty-quickcheck-0.10-Gk1Dh436UC8AgIbPcss4Wd
Linked component graph:
unit hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U
include base-4.11.1.0
include bytestring-0.10.8.2
include containers-0.5.11.0
include exceptions-0.10.0-D5kcCq3onNJ8Xd3zaVEIaB
include fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
include mtl-2.2.2
include text-1.2.3.0
Foreign.Lua=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua,Foreign.Lua.Core=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Core,Foreign.Lua.Core.Constants=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Core.Constants,Foreign.Lua.Core.Error=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Core.Error,Foreign.Lua.Core.RawBindings=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Core.RawBindings,Foreign.Lua.Core.Types=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Core.Types,Foreign.Lua.FunctionCalling=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.FunctionCalling,Foreign.Lua.Types=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Types,Foreign.Lua.Types.Peekable=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Types.Peekable,Foreign.Lua.Types.Pushable=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Types.Pushable,Foreign.Lua.Userdata=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Userdata,Foreign.Lua.Util=hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U:Foreign.Lua.Util
unit hslua-1.0.0-SdiJhNyS6rFzCbvJeUj20-test-hslua
include base-4.11.1.0
include bytestring-0.10.8.2
include containers-0.5.11.0
include exceptions-0.10.0-D5kcCq3onNJ8Xd3zaVEIaB
include fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
include mtl-2.2.2
include text-1.2.3.0
include hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U
include QuickCheck-2.11.3-3XHQpBYb83U2mMvNz2AjQX
include quickcheck-instances-0.3.18-Ci2LXLUWkez6uFr3rIAoAA
include tasty-1.1.0.2-8mo9uIOa8OH9MtCXpqkkQO
include tasty-hunit-0.10.0.1-Bjs6N3dt9qaExIOlxmv3wq
include tasty-quickcheck-0.10-Gk1Dh436UC8AgIbPcss4Wd
Ready component graph:
definite hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U
depends base-4.11.1.0
depends bytestring-0.10.8.2
depends containers-0.5.11.0
depends exceptions-0.10.0-D5kcCq3onNJ8Xd3zaVEIaB
depends fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
depends mtl-2.2.2
depends text-1.2.3.0
definite hslua-1.0.0-SdiJhNyS6rFzCbvJeUj20-test-hslua
depends base-4.11.1.0
depends bytestring-0.10.8.2
depends containers-0.5.11.0
depends exceptions-0.10.0-D5kcCq3onNJ8Xd3zaVEIaB
depends fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
depends mtl-2.2.2
depends text-1.2.3.0
depends hslua-1.0.0-9ynpPEx5q9h6SkVMLRij6U
depends QuickCheck-2.11.3-3XHQpBYb83U2mMvNz2AjQX
depends quickcheck-instances-0.3.18-Ci2LXLUWkez6uFr3rIAoAA
depends tasty-1.1.0.2-8mo9uIOa8OH9MtCXpqkkQO
depends tasty-hunit-0.10.0.1-Bjs6N3dt9qaExIOlxmv3wq
depends tasty-quickcheck-0.10-Gk1Dh436UC8AgIbPcss4Wd
Using Cabal-2.2.0.1 compiled by ghc-8.4
Using compiler: ghc-8.4.3
Using install prefix:
/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2
Executables installed in:
/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2/bin
Libraries installed in:
/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2/lib/ghc-8.4.3/hslua-1.0.0
Dynamic Libraries installed in:
/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2/lib/ghc-8.4.3/x86_64-linux-ghc-8.4.3
Private executables installed in:
/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2/libexec/x86_64-linux-ghc-8.4.3/hslua-1.0.0
Data files installed in:
/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2/share/x86_64-linux-ghc-8.4.3/hslua-1.0.0
Documentation installed in:
/nix/store/63xx9njk4mn6bl82hh8kv00bvb73b6hj-hslua-0.9.5.2-doc/share/doc/hslua-0.9.5.2
Configuration files installed in:
/nix/store/f71l54wlwhdrabv3grm0yqadxxj35bsa-hslua-0.9.5.2/etc
No alex found
Using ar found on system at:
/nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 7.3.0 given by user at:
/nix/store/1dn3b6vq7gn7w6kynxy0w1q1vd3ayg80-gcc-wrapper-7.3.0/bin/gcc
Using ghc version 8.4.3 found on system at:
/nix/store/w4vz90310gardrgraj1l7zs1rq1s36sb-ghc-8.4.3/bin/ghc
Using ghc-pkg version 8.4.3 found on system at:
/nix/store/w4vz90310gardrgraj1l7zs1rq1s36sb-ghc-8.4.3/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.20.0 found on system at:
/nix/store/w4vz90310gardrgraj1l7zs1rq1s36sb-ghc-8.4.3/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.67 found on system at:
/nix/store/w4vz90310gardrgraj1l7zs1rq1s36sb-ghc-8.4.3/bin/hpc
Using hsc2hs version 0.68.3 found on system at:
/nix/store/w4vz90310gardrgraj1l7zs1rq1s36sb-ghc-8.4.3/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/qwvi901pgqpx7vavzmmsqp7wpyjnb4zb-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/pgsjpn6hp8cgcbrvvabk6vnza2i7l7sg-binutils-wrapper-2.30/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using runghc version 8.4.3 found on system at:
/nix/store/w4vz90310gardrgraj1l7zs1rq1s36sb-ghc-8.4.3/bin/runghc
Using strip version 2.30 found on system at:
/nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/strip
Using tar found on system at:
/nix/store/vy9kmk6g4b7gczbn9bkhg3ivpmiax87q-gnutar-1.30/bin/tar
No uhc found
building
Preprocessing library for hslua-1.0.0..
Building library for hslua-1.0.0..
[ 1 of 12] Compiling Foreign.Lua.Core.Types ( dist/build/Foreign/Lua/Core/Types.hs, dist/build/Foreign/Lua/Core/Types.o )
[ 2 of 12] Compiling Foreign.Lua.Core.RawBindings ( dist/build/Foreign/Lua/Core/RawBindings.hs, dist/build/Foreign/Lua/Core/RawBindings.o )
[ 3 of 12] Compiling Foreign.Lua.Core.Error ( src/Foreign/Lua/Core/Error.hs, dist/build/Foreign/Lua/Core/Error.o )
[ 4 of 12] Compiling Foreign.Lua.Core.Constants ( dist/build/Foreign/Lua/Core/Constants.hs, dist/build/Foreign/Lua/Core/Constants.o )
[ 5 of 12] Compiling Foreign.Lua.Core ( src/Foreign/Lua/Core.hs, dist/build/Foreign/Lua/Core.o )
[ 6 of 12] Compiling Foreign.Lua.Types.Peekable ( src/Foreign/Lua/Types/Peekable.hs, dist/build/Foreign/Lua/Types/Peekable.o )
[ 7 of 12] Compiling Foreign.Lua.Types.Pushable ( src/Foreign/Lua/Types/Pushable.hs, dist/build/Foreign/Lua/Types/Pushable.o )
[ 8 of 12] Compiling Foreign.Lua.Types ( src/Foreign/Lua/Types.hs, dist/build/Foreign/Lua/Types.o )
[ 9 of 12] Compiling Foreign.Lua.Userdata ( src/Foreign/Lua/Userdata.hs, dist/build/Foreign/Lua/Userdata.o )
[10 of 12] Compiling Foreign.Lua.Util ( src/Foreign/Lua/Util.hs, dist/build/Foreign/Lua/Util.o )
[11 of 12] Compiling Foreign.Lua.FunctionCalling ( dist/build/Foreign/Lua/FunctionCalling.hs, dist/build/Foreign/Lua/FunctionCalling.o )
[12 of 12] Compiling Foreign.Lua ( src/Foreign/Lua.hs, dist/build/Foreign/Lua.o )
[ 1 of 12] Compiling Foreign.Lua.Core.Types ( dist/build/Foreign/Lua/Core/Types.hs, dist/build/Foreign/Lua/Core/Types.p_o )
[ 2 of 12] Compiling Foreign.Lua.Core.RawBindings ( dist/build/Foreign/Lua/Core/RawBindings.hs, dist/build/Foreign/Lua/Core/RawBindings.p_o )
[ 3 of 12] Compiling Foreign.Lua.Core.Error ( src/Foreign/Lua/Core/Error.hs, dist/build/Foreign/Lua/Core/Error.p_o )
[ 4 of 12] Compiling Foreign.Lua.Core.Constants ( dist/build/Foreign/Lua/Core/Constants.hs, dist/build/Foreign/Lua/Core/Constants.p_o )
[ 5 of 12] Compiling Foreign.Lua.Core ( src/Foreign/Lua/Core.hs, dist/build/Foreign/Lua/Core.p_o )
[ 6 of 12] Compiling Foreign.Lua.Types.Peekable ( src/Foreign/Lua/Types/Peekable.hs, dist/build/Foreign/Lua/Types/Peekable.p_o )
[ 7 of 12] Compiling Foreign.Lua.Types.Pushable ( src/Foreign/Lua/Types/Pushable.hs, dist/build/Foreign/Lua/Types/Pushable.p_o )
[ 8 of 12] Compiling Foreign.Lua.Types ( src/Foreign/Lua/Types.hs, dist/build/Foreign/Lua/Types.p_o )
[ 9 of 12] Compiling Foreign.Lua.Userdata ( src/Foreign/Lua/Userdata.hs, dist/build/Foreign/Lua/Userdata.p_o )
[10 of 12] Compiling Foreign.Lua.Util ( src/Foreign/Lua/Util.hs, dist/build/Foreign/Lua/Util.p_o )
[11 of 12] Compiling Foreign.Lua.FunctionCalling ( dist/build/Foreign/Lua/FunctionCalling.hs, dist/build/Foreign/Lua/FunctionCalling.p_o )
[12 of 12] Compiling Foreign.Lua ( src/Foreign/Lua.hs, dist/build/Foreign/Lua.p_o )
ignoring (possibly broken) abi-depends field for packages
Preprocessing test suite 'test-hslua' for hslua-1.0.0..
Building test suite 'test-hslua' for hslua-1.0.0..
[ 1 of 11] Compiling Test.HsLua.Arbitrary ( test/Test/HsLua/Arbitrary.hs, dist/build/test-hslua/test-hslua-tmp/Test/HsLua/Arbitrary.o )
[ 2 of 11] Compiling Foreign.Lua.TypesTest ( test/Foreign/Lua/TypesTest.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/Lua/TypesTest.o )
[ 3 of 11] Compiling Test.HsLua.Util ( test/Test/HsLua/Util.hs, dist/build/test-hslua/test-hslua-tmp/Test/HsLua/Util.o )
[ 4 of 11] Compiling Foreign.LuaTest ( test/Foreign/LuaTest.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/LuaTest.o )
[ 5 of 11] Compiling Foreign.Lua.UtilTest ( test/Foreign/Lua/UtilTest.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/Lua/UtilTest.o )
[ 6 of 11] Compiling Foreign.Lua.UserdataTests ( test/Foreign/Lua/UserdataTests.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/Lua/UserdataTests.o )
[ 7 of 11] Compiling Foreign.Lua.Types.PushableTest ( test/Foreign/Lua/Types/PushableTest.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/Lua/Types/PushableTest.o )
[ 8 of 11] Compiling Foreign.Lua.Types.PeekableTest ( test/Foreign/Lua/Types/PeekableTest.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/Lua/Types/PeekableTest.o )
[ 9 of 11] Compiling Foreign.Lua.FunctionCallingTest ( test/Foreign/Lua/FunctionCallingTest.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/Lua/FunctionCallingTest.o )
[10 of 11] Compiling Foreign.Lua.CoreTest ( test/Foreign/Lua/CoreTest.hs, dist/build/test-hslua/test-hslua-tmp/Foreign/Lua/CoreTest.o )
[11 of 11] Compiling Main ( test/test-hslua.hs, dist/build/test-hslua/test-hslua-tmp/Main.o )
Linking dist/build/test-hslua/test-hslua ...
running tests
Running 1 test suites...
Test suite test-hslua: RUNNING...
hslua
Haskell version of the C API
copy
copies stack elements using positive indices: OK
copies stack elements using negative indices: OK
insert
inserts stack elements using negative indices: OK
inserts stack elements using negative indices: OK
absindex: OK
gettable gets a table value: OK
rawlen gives the length of a list: OK
Type checking
isfunction: OK
isnil: OK
isnone: OK
isnoneornil: OK
CFunction handling: OK
getting values
tointeger
tointeger returns numbers verbatim: OK
tointeger accepts strings coercible to integers: OK
tointeger returns Nothing when given a boolean: OK
tonumber
tonumber returns numbers verbatim: OK
tonumber accepts strings as numbers: OK
tonumber returns Nothing when given a boolean: OK
tostring
get a string: OK
get a number as string: OK
fail when looking at a boolean: OK
setting and getting a global works: OK
get functions (Lua to stack)
unicode characters in field name are ok: OK
can push and receive a thread: OK
different threads are not equal in Haskell: OK
thread status: OK
auxiliary functions
tostring'
integers are converted in base10: OK
a nil value is converted into the literal string 'nil': OK
strings are returned verbatim: OK
string for userdata shows the pointer value: OK
string is also pushed to the stack: OK
errors during metamethod execution are caught: OK
loading
loadstring
loading a valid string should succeed: OK
loading an invalid string should give a syntax error: OK
dostring
loading a string which fails should give a run error: OK
loading an invalid string should return a syntax error: OK
loading a valid program should succeed: OK
top of the stack should be result of last computation: OK
loadbuffer
loading a valid string should succeed: OK
loading a string containing NUL should be correct: OK
loadfile
file error should be returned when file does not exist: OK
loading an invalid file should give a syntax error: OK
loading a valid program should succeed: OK
example fib program should be loaded correctly: OK
dofile
file error should be returned when file does not exist: OK
loading an invalid file should give a syntax error: OK
loading a failing program should give an run error: OK
loading a valid program should succeed: OK
example fib program should be loaded correctly: OK
pcall
raising an error should lead to an error status: OK
raising an error in the error handler should give a 'double error':
Test suite test-hslua: FAIL
Test suite logged to: dist/test/hslua-1.0.0-test-hslua.log
0 of 1 test suites (0 of 1 test cases) passed.
builder for '/nix/store/ribvn1cx4avlvpaps455gmq4w78nkkbm-hslua-0.9.5.2.drv' failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment