Skip to content

Instantly share code, notes, and snippets.

@TerrorJack
Created September 18, 2024 18:11
Show Gist options
  • Save TerrorJack/37b8be4d68818324b0093fa0ee2b9649 to your computer and use it in GitHub Desktop.
Save TerrorJack/37b8be4d68818324b0093fa0ee2b9649 to your computer and use it in GitHub Desktop.
where are we at pandoc
Failed to build basement-0.0.16.
Build log (
/workspace/.ghc-wasm/.cabal/logs/ghc-9.11.20240918/basement-0.0.16-38a2e29ba85467680a122da498ba789199a6e5e72f561513cefaa7131a0a9068.log
):
Configuring library for basement-0.0.16...
Preprocessing library for basement-0.0.16...
In file included from Size.hsc:14:
cbits/foundation_system.h:57:5: error: "foundation: system: Unknown compiler"
57 | # error "foundation: system: Unknown compiler"
| ^
1 error generated.
compilation failed
Failed to build cborg-0.2.9.0.
Build log (
/workspace/.ghc-wasm/.cabal/logs/ghc-9.11.20240918/cborg-0.2.9.0-6c15d193e6fda37a6caab58a1f2808c7e46a38dec3fc611a12bad9d12d99cf21.log
):
Configuring library for cborg-0.2.9.0...
Preprocessing library for cborg-0.2.9.0...
Building library for cborg-0.2.9.0...
[ 1 of 14] Compiling Codec.CBOR.ByteArray.Internal ( src/Codec/CBOR/ByteArray/Internal.hs, dist/build/Codec/CBOR/ByteArray/Internal.o, dist/build/Codec/CBOR/ByteArray/Internal.dyn_o )
[ 2 of 14] Compiling Codec.CBOR.ByteArray.Sliced ( src/Codec/CBOR/ByteArray/Sliced.hs, dist/build/Codec/CBOR/ByteArray/Sliced.o, dist/build/Codec/CBOR/ByteArray/Sliced.dyn_o )
src/Codec/CBOR/ByteArray/Sliced.hs:44:1: warning: [GHC-66111] [-Wunused-imports]
The qualified import of ‘Data.ByteString.Short.Internal’ is redundant
except perhaps to import instances from ‘Data.ByteString.Short.Internal’
To import instances alone, use: import Data.ByteString.Short.Internal()
|
44 | import qualified Data.ByteString.Short.Internal as BSS
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 3 of 14] Compiling Codec.CBOR.ByteArray ( src/Codec/CBOR/ByteArray.hs, dist/build/Codec/CBOR/ByteArray.o, dist/build/Codec/CBOR/ByteArray.dyn_o )
src/Codec/CBOR/ByteArray.hs:39:1: warning: [GHC-66111] [-Wunused-imports]
The qualified import of ‘Data.ByteString.Short.Internal’ is redundant
except perhaps to import instances from ‘Data.ByteString.Short.Internal’
To import instances alone, use: import Data.ByteString.Short.Internal()
|
39 | import qualified Data.ByteString.Short.Internal as BSS
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 4 of 14] Compiling Codec.CBOR.Decoding ( src/Codec/CBOR/Decoding.hs, dist/build/Codec/CBOR/Decoding.o, dist/build/Codec/CBOR/Decoding.dyn_o )
src/Codec/CBOR/Decoding.hs:426:62: error: [GHC-83865]
• Couldn't match expected type ‘Word#’ with actual type ‘Word64#’
• In the first argument of ‘toWord64’, namely ‘w64#’
In the first argument of ‘k’, namely ‘(toWord64 w64#)’
In the expression: k (toWord64 w64#)
|
426 | Decoder (\k -> return (ConsumeWord64 (\w64# -> k (toWord64 w64#))))
| ^^^^
src/Codec/CBOR/Decoding.hs:445:65: error: [GHC-83865]
• Couldn't match expected type ‘Word#’ with actual type ‘Word64#’
• In the first argument of ‘toWord64’, namely ‘w64#’
In the first argument of ‘k’, namely ‘(toWord64 w64#)’
In the expression: k (toWord64 w64#)
|
445 | Decoder (\k -> return (ConsumeNegWord64 (\w64# -> k (toWord64 w64#))))
| ^^^^
src/Codec/CBOR/Decoding.hs:485:60: error: [GHC-83865]
• Couldn't match expected type ‘Int#’ with actual type ‘Int64#’
• In the first argument of ‘toInt64’, namely ‘n64#’
In the first argument of ‘k’, namely ‘(toInt64 n64#)’
In the expression: k (toInt64 n64#)
|
485 | Decoder (\k -> return (ConsumeInt64 (\n64# -> k (toInt64 n64#))))
| ^^^^
src/Codec/CBOR/Decoding.hs:525:71: error: [GHC-83865]
• Couldn't match expected type ‘Word#’ with actual type ‘Word64#’
• In the first argument of ‘toWord64’, namely ‘w64#’
In the first argument of ‘k’, namely ‘(toWord64 w64#)’
In the expression: k (toWord64 w64#)
|
525 | Decoder (\k -> return (ConsumeWord64Canonical (\w64# -> k (toWord64 w64#))))
| ^^^^
src/Codec/CBOR/Decoding.hs:544:74: error: [GHC-83865]
• Couldn't match expected type ‘Word#’ with actual type ‘Word64#’
• In the first argument of ‘toWord64’, namely ‘w64#’
In the first argument of ‘k’, namely ‘(toWord64 w64#)’
In the expression: k (toWord64 w64#)
|
544 | Decoder (\k -> return (ConsumeNegWord64Canonical (\w64# -> k (toWord64 w64#))))
| ^^^^
src/Codec/CBOR/Decoding.hs:584:69: error: [GHC-83865]
• Couldn't match expected type ‘Int#’ with actual type ‘Int64#’
• In the first argument of ‘toInt64’, namely ‘n64#’
In the first argument of ‘k’, namely ‘(toInt64 n64#)’
In the expression: k (toInt64 n64#)
|
584 | Decoder (\k -> return (ConsumeInt64Canonical (\n64# -> k (toInt64 n64#))))
| ^^^^
src/Codec/CBOR/Decoding.hs:990:22: error: [GHC-83865]
• Couldn't match expected type ‘Int#’ with actual type ‘Int64#’
• In the first argument of ‘intToInt64#’, namely ‘off#’
In the first argument of ‘I64#’, namely ‘(intToInt64# off#)’
In the first argument of ‘k’, namely ‘(I64# (intToInt64# off#))’
|
990 | (intToInt64# off#)
| ^^^^
[ 5 of 14] Compiling Codec.CBOR.Magic ( src/Codec/CBOR/Magic.hs, dist/build/Codec/CBOR/Magic.o, dist/build/Codec/CBOR/Magic.dyn_o )
src/Codec/CBOR/Magic.hs:124:1: error: [GHC-87110]
Could not find module ‘GHC.IntWord64’.
Use -v to see a list of the files searched for.
|
124 | import GHC.IntWord64 (wordToWord64#, word64ToWord#,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
[ 7 of 14] Compiling Codec.CBOR.Encoding[boot] ( src/Codec/CBOR/Encoding.hs-boot, dist/build/Codec/CBOR/Encoding.o-boot, dist/build/Codec/CBOR/Encoding.dyn_o-boot )
[ 8 of 14] Compiling Codec.CBOR.FlatTerm[boot] ( src/Codec/CBOR/FlatTerm.hs-boot, dist/build/Codec/CBOR/FlatTerm.o-boot, dist/build/Codec/CBOR/FlatTerm.dyn_o-boot )
[ 9 of 14] Compiling Codec.CBOR.Encoding ( src/Codec/CBOR/Encoding.hs, dist/build/Codec/CBOR/Encoding.o, dist/build/Codec/CBOR/Encoding.dyn_o )
Failed to build digest-0.0.2.1. The failure occurred during the configure
step.
Build log (
/workspace/.ghc-wasm/.cabal/logs/ghc-9.11.20240918/digest-0.0.2.1-378ba6ca84f767f91ae75afb19b69c84bb96b361fd8b2f9770d214b384e5f20e.log
):
Configuring library for digest-0.0.2.1...
Error: [Cabal-4345]
Missing dependency on a foreign library:
* Missing (or bad) C library: z
Failed to build network-3.2.3.0.
Build log (
/workspace/.ghc-wasm/.cabal/logs/ghc-9.11.20240918/network-3.2.3.0-d1038a12fa7f648caac90bc3348a3325aff4e6024bee07552c7d5f22fdb494c1.log
):
Configuring network-3.2.3.0...
configure: WARNING: unrecognized options: --with-compiler
checking build system type... x86_64-pc-linux-muslx32
checking host system type... wasm32-unknown-wasi
checking for wasm32-wasi-gcc... /workspace/.ghc-wasm/wasi-sdk/bin/wasm32-wasi-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /workspace/.ghc-wasm/wasi-sdk/bin/wasm32-wasi-clang accepts -g... yes
checking for /workspace/.ghc-wasm/wasi-sdk/bin/wasm32-wasi-clang option to enable C11 features... none needed
checking for an ANSI C-conforming const... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for fcntl.h... yes
checking for sys/uio.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for sys/un.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... no
checking for net/if.h... no
checking for netioapi.h... no
checking for struct ucred... yes
checking for gai_strerror... no
checking for gethostent... no
checking for accept4... yes
checking for getpeereid... no
checking for /workspace/.ghc-wasm/wasi-sdk/bin/wasm32-wasi-clang options needed to detect all undeclared functions... none needed
checking whether AI_ADDRCONFIG is declared... no
checking whether AI_ALL is declared... no
checking whether AI_NUMERICSERV is declared... no
checking whether AI_V4MAPPED is declared... no
checking whether IPV6_V6ONLY is declared... yes
checking whether IPPROTO_IP is declared... yes
checking whether IPPROTO_TCP is declared... yes
checking whether IPPROTO_IPV6 is declared... yes
checking whether SO_PEERCRED is declared... no
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_accrights... no
checking for struct sockaddr.sa_len... no
configure: creating ./network.buildinfo
configure: creating ./config.status
config.status: creating include/HsNetworkConfig.h
configure: WARNING: unrecognized options: --with-compiler
Preprocessing library for network-3.2.3.0...
In file included from IO.hsc:4:
include/HsNet.h:147:10: error: call to undeclared function 'getnameinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
147 | return getnameinfo(a,b,c,d,e,f,g);
| ^
include/HsNet.h:152:18: warning: declaration of 'struct addrinfo' will not be visible outside of this function [-Wvisibility]
152 | const struct addrinfo *hints, struct addrinfo **res)
| ^
include/HsNet.h:154:12: error: call to undeclared function 'getaddrinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
154 | return getaddrinfo(hostname, servname, hints, res);
| ^
include/HsNet.h:158:27: warning: declaration of 'struct addrinfo' will not be visible outside of this function [-Wvisibility]
158 | hsnet_freeaddrinfo(struct addrinfo *ai)
| ^
include/HsNet.h:160:5: error: call to undeclared function 'freeaddrinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
160 | freeaddrinfo(ai);
| ^
2 warnings and 3 errors generated.
compilation failed
Failed to build unicode-collation-0.1.3.6.
Build log (
/workspace/.ghc-wasm/.cabal/logs/ghc-9.11.20240918/unicode-collation-0.1.3.6-bc13bd4b55458c7fb869b7bc4db284cd297ebdcf3b9be9992fea50d6aa4cba11.log
):
Configuring library for unicode-collation-0.1.3.6...
Preprocessing library for unicode-collation-0.1.3.6...
Building library for unicode-collation-0.1.3.6...
[ 1 of 10] Compiling Text.Collate.Lang
(node:816570) ExperimentalWarning: WASI is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
[ 2 of 10] Compiling Text.Collate.Trie
[ 3 of 10] Compiling Text.Collate.UnicodeData
[ 4 of 10] Compiling Text.Collate.CanonicalCombiningClass
wasm-ld: warning: creating shared libraries, with -shared, is not yet stable
wasm-ld: warning: dynamic imports are not yet stable (--unresolved-symbols=import-dynamic)
<no location info>: error:
GHC.ByteCode.Linker.lookupCE
During interactive linking, GHCi couldn't find the following symbol:
unicodezmcollationzm0zi1zi3zi6zmbc13bd4b55458c7fb869b7bc4db284cd297ebdcf3b9be9992fea50d6aa4cba11_TextziCollateziUnicodeData_genCanonicalCombiningClassMap_closure
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session. Restart GHCi, specifying
the missing library using the -L/path/to/object/dir and -lmissinglibname
flags, or simply by naming the relevant files on the GHCi command line.
Alternatively, this link failure might indicate a bug in GHCi.
If you suspect the latter, please report this as a GHC bug:
https://www.haskell.org/ghc/reportabug
Error: [Cabal-7125]
Failed to build basement-0.0.16 (which is required by exe:pandoc from pandoc-cli-3.4). See the build log above for details.
Failed to build cborg-0.2.9.0 (which is required by exe:pandoc from pandoc-cli-3.4). See the build log above for details.
Failed to build digest-0.0.2.1 (which is required by exe:pandoc from pandoc-cli-3.4). See the build log above for details.
Failed to build network-3.2.3.0 (which is required by exe:pandoc from pandoc-cli-3.4). See the build log above for details.
Failed to build unicode-collation-0.1.3.6 (which is required by exe:pandoc from pandoc-cli-3.4). See the build log above for details.
/workspace/.ghc-wasm/.cabal/store/ghc-9.11.20240918/package.db
Glob-0.10.2
JuicyPixels-3.3.8
OneTuple-0.4.2
Only-0.1
QuickCheck-2.15.0.1
SHA-1.6.4.4
StateVar-1.2.2
aeson-2.2.3.0
aeson-pretty-0.8.10
ansi-terminal-1.1.1
ansi-terminal-types-1.1
appar-0.1.8
assoc-1.1.1
async-2.2.5
attoparsec-0.14.4
(z-attoparsec-z-attoparsec-internal-0.14.4)
base-compat-0.14.0
base-orphans-0.9.2
base16-bytestring-1.0.2.0
base64-bytestring-1.2.1.0
bifunctors-5.6.2
bitvec-1.1.5.0
blaze-builder-0.4.2.3
blaze-html-0.9.2.0
blaze-markup-0.8.3.0
byteorder-1.0.4
cabal-doctest-1.0.9
case-insensitive-1.2.1.0
cassava-0.5.3.2
cereal-0.5.8.3
character-ps-0.1
colour-2.3.6
commonmark-0.2.6
commonmark-extensions-0.2.5.5
commonmark-pandoc-0.2.2.1
comonad-5.0.8
conduit-1.3.6
contravariant-1.5.5
cookie-0.5.0
data-default-0.7.1.1
data-default-class-0.1.2.0
data-default-instances-containers-0.0.1
data-default-instances-dlist-0.0.1
data-default-instances-old-locale-0.0.1
data-fix-0.3.4
distributive-0.6.2.1
djot-0.1.2.1
dlist-1.0
doclayout-0.5
doctemplates-0.11.0.1
emojis-0.1.4.1
file-embed-0.0.16.0
generically-0.1.1
gridtables-0.1.0.0
half-0.3.1
hashable-1.4.7.0
haskell-lexer-1.1.1
hourglass-0.2.12
http-types-0.12.4
indexed-traversable-0.1.4
indexed-traversable-instances-0.1.2
integer-conversion-0.1.1
integer-logarithms-1.0.3.1
ipynb-0.2
jira-wiki-markup-1.5.1
libyaml-0.1.4
libyaml-clib-0.2.5
mime-types-0.1.2.0
mono-traversable-1.0.20.0
network-uri-2.6.4.2
old-locale-1.0.0.7
old-time-1.1.0.4
ordered-containers-0.2.4
pandoc-types-1.23.1
pretty-show-1.10
prettyprinter-1.7.1
primitive-0.9.0.0
random-1.2.1.2
regex-base-0.94.0.2
regex-tdfa-1.3.2.2
resourcet-1.3.0
safe-0.3.21
scientific-0.3.8.0
semialign-1.3.1
semigroupoids-6.0.1
split-0.2.5
splitmix-0.1.1
strict-0.5.1
syb-0.7.2.4
tagged-0.8.8
tagsoup-0.14.8
temporary-1.3
texmath-0.12.8.10
text-conversions-0.3.1.1
text-iso8601-0.1.1
text-short-0.1.5
th-abstraction-0.6.0.0
th-compat-0.1.4
th-lift-0.8.4
th-lift-instances-0.1.20
these-1.2.1
time-compat-1.9.7
toml-parser-2.0.1.0
transformers-compat-0.7.2
typed-process-0.2.12.0
typst-symbols-0.1.6
unicode-data-0.6.0
unicode-transforms-0.4.0.1
uniplate-1.6.13
unix-time-0.4.15
unliftio-core-0.2.1.0
unordered-containers-0.2.20
utf8-string-1.0.2
uuid-types-1.0.6
vector-0.13.1.0
vector-algorithms-0.9.0.2
vector-stream-0.1.0.1
witherable-0.5
xml-1.3.14
xml-types-0.3.8
yaml-0.11.11.2
zlib-0.7.1.0
zlib-clib-1.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment