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

[Bug]: Can't compile with #3

Closed
DivergentClouds opened this issue Feb 28, 2024 · 1 comment
Closed

[Bug]: Can't compile with #3

DivergentClouds opened this issue Feb 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DivergentClouds
Copy link

Contact Details

No response

Version

commit 46bb137

Description

zig version is 0.12.0-dev.3059+27f589dea

Reproduction steps

  1. zig build with the latest zig master

Relevant log output

install
+- install wolfssl
   +- zig build-lib wolfssl Debug native 1 errors
error: unable to check cache: stat file '/home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/bio.c' failed: FileNotFound
error: the following command failed with 1 compilation errors:
/home/clouds/zig/0.12.0-dev.3059+27f589dea/files/zig build-lib -cflags -std=gnu89 -Wno-pragmas -Wall -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wstrict-prototypes -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -- /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/bio.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/conf.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/crl.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/dtls.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/dtls13.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/internal.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/keys.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/ocsp.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/pk.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/quic.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/sniffer.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/ssl.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/ssl_asn1.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/ssl_bn.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/ssl_misc.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/tls.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/tls13.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/wolfio.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/x509.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/x509_str.c -cflags -std=gnu89 -Wno-pragmas -Wall -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wstrict-prototypes -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -- /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/aes.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/arc4.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/asm.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/asn.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/blake2b.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/blake2s.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/camellia.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/chacha.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/chacha20_poly1305.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/cmac.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/coding.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/compress.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/cpuid.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/cryptocb.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/curve25519.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/curve448.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/des3.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/dh.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/dilithium.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/dsa.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ecc.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ecc_fp.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/eccsi.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ed25519.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ed448.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/error.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/evp.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ext_kyber.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/falcon.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/fe_448.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/fe_low_mem.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/fe_operations.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ge_448.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ge_low_mem.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ge_operations.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/hash.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/hmac.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/hpke.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/integer.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/kdf.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/logging.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/md2.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/md4.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/md5.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/memory.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/misc.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/pkcs12.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/pkcs7.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/poly1305.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/pwdbased.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/random.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/rc2.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/ripemd.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/rsa.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sakke.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sha.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sha256.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sha3.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sha512.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/signature.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/siphash.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_arm32.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_arm64.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_armthumb.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_c32.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_c64.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_cortexm.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_dsp32.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_int.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sp_x86_64.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/sphincs.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/srp.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/tfm.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wc_dsp.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wc_encrypt.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wc_kyber.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wc_kyber_poly.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wc_pkcs11.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wc_port.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wolfevent.c /home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/wolfcrypt/src/wolfmath.c -ODebug -I /home/clouds/downloads/wolfssl/zig-cache/o/15cef4dfe89b95692befb5bc2927c7b6/ -I /home/clouds/downloads/wolfssl/wolfssl/options.h -I /home/clouds/downloads/wolfssl/wolfssl -I /home/clouds/downloads/wolfssl -DTFM_TIMING_RESISTANT=1 -DECC_TIMING_RESISTANT=1 -DWC_RSA_BLINDING=1 -DNO_INLINE=1 -DWOLFSSL_TLS13=1 -DWC_RSA_PSS=1 -DHAVE_TLS_EXTENSIONS=1 -DHAVE_SNI=1 -DHAVE_MAX_FRAGMENT=1 -DHAVE_TRUNCATED_HMAC=1 -DHAVE_ALPN=1 -DHAVE_TRUSTED_CA=1 -DHAVE_HKDF=1 -DBUILD_GCM=1 -DHAVE_AESCCM=1 -DHAVE_SESSION_TICKET=1 -DHAVE_CHACHA=1 -DHAVE_POLY1305=1 -DHAVE_ECC=1 -DHAVE_FFDHE_2048=1 -DHAVE_FFDHE_3072=1 -DHAVE_FFDHE_4096=1 -DHAVE_FFDHE_6144=1 -DHAVE_FFDHE_8192=1 -DHAVE_ONE_TIME_AUTH=1 -DSESSION_INDEX=1 -DSESSION_CERTS=1 -DOPENSSL_EXTRA_X509=1 -DOPENSSL_EXTRA_X509_SMALL=1 -DHAVE_SYS_TIME_H=1 -DHAVE_PTHREAD=1 -Mroot -lc --cache-dir /home/clouds/downloads/wolfssl/zig-cache --global-cache-dir /home/clouds/.cache/zig --name wolfssl -static -fcompiler-rt --listen=- 
Build Summary: 2/5 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
+- install wolfssl transitive failure
   +- zig build-lib wolfssl Debug native 1 errors
error: the following build command failed with exit code 1:
/home/clouds/downloads/wolfssl/zig-cache/o/bbb1d6cd4523896ed9252d98edcb8f9e/build /home/clouds/zig/0.12.0-dev.3059+27f589dea/files/zig /home/clouds/downloads/wolfssl /home/clouds/downloads/wolfssl/zig-cache /home/clouds/.cache/zig --seed 0x5bb3ddfd -Zc5d507ed89fd8374
@DivergentClouds DivergentClouds added the bug Something isn't working label Feb 28, 2024
@kassane
Copy link
Owner

kassane commented Feb 28, 2024

Nice @DivergentClouds,

Wow! Zig 0.12.0-dev.3059+27f589dea bug: '/home/clouds/downloads/wolfssl/home/clouds/downloads/wolfssl/src/bio.c
duplicate absolute path: /home/clouds/downloads/wolfssl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants