Package Details: s2n-git r2225.2fbc43d3-1

Git Clone URL: https://aur.archlinux.org/s2n-git.git (read-only, click to copy)
Package Base: s2n-git
Description: Implementation of the TLS/SSL protocols that is designed to be simple, small, fast, and with security as a priority
Upstream URL: https://github.com/awslabs/s2n
Licenses: Apache
Submitter: anatolik
Maintainer: mwberry
Last Packager: mwberry
Votes: 0
Popularity: 0.000000
First Submitted: 2015-07-04 17:33 (UTC)
Last Updated: 2019-03-24 18:48 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

mikatammi commented on 2020-11-11 11:31 (UTC)

Full log from the failed build:

[vagrant@archlinux s2n-git.git]$ makepkg
==> Making package: s2n-git r2225.2fbc43d3-1 (Wed 11 Nov 2020 01:29:14 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning s2n git repo...
Cloning into bare repository '/home/vagrant/s2n-git.git/s2n'...
remote: Enumerating objects: 261, done.
remote: Counting objects: 100% (261/261), done.
remote: Compressing objects: 100% (231/231), done.
remote: Total 53617 (delta 143), reused 59 (delta 25), pack-reused 53356
Receiving objects: 100% (53617/53617), 76.19 MiB | 5.85 MiB/s, done.
Resolving deltas: 100% (39461/39461), done.
==> Validating source files with sha1sums...
    s2n ... Skipped
==> Extracting sources...
  -> Creating working copy of s2n git repo...
Cloning into 's2n'...
done.
==> Starting pkgver()...
==> Updated version: s2n-git r3434.081112e0-1
==> Starting build()...
-- The C compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Performing Test S2N_HAVE_EXECINFO
-- Performing Test S2N_HAVE_EXECINFO - Success
-- Performing Test S2N_CPUID_AVAILABLE
-- Performing Test S2N_CPUID_AVAILABLE - Success
-- Enabling SIKEP434R2 assembly code
-- Support for ADX assembly instructions detected
-- Found LibCrypto: /lib64/libcrypto.so  
-- LibCrypto Include Dir: /usr/include
-- LibCrypto Shared Lib:  /lib64/libcrypto.so
-- LibCrypto Static Lib:  LibCrypto_STATIC_LIBRARY-NOTFOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vagrant/s2n-git.git/src/build
Scanning dependencies of target s2n
[  0%] Building C object CMakeFiles/s2n.dir/crypto/s2n_aead_cipher_aes_gcm.c.o
[  0%] Building C object CMakeFiles/s2n.dir/crypto/s2n_aead_cipher_chacha20_poly1305.c.o
[  0%] Building C object CMakeFiles/s2n.dir/crypto/s2n_cbc_cipher_3des.c.o
[  3%] Building C object CMakeFiles/s2n.dir/crypto/s2n_cbc_cipher_aes.c.o
[  3%] Building C object CMakeFiles/s2n.dir/crypto/s2n_certificate.c.o
[  3%] Building C object CMakeFiles/s2n.dir/crypto/s2n_cipher.c.o
[  3%] Building C object CMakeFiles/s2n.dir/crypto/s2n_composite_cipher_aes_sha.c.o
[  3%] Building C object CMakeFiles/s2n.dir/crypto/s2n_dhe.c.o
[  3%] Building C object CMakeFiles/s2n.dir/crypto/s2n_drbg.c.o
[  6%] Building C object CMakeFiles/s2n.dir/crypto/s2n_ecc_evp.c.o
[  6%] Building C object CMakeFiles/s2n.dir/crypto/s2n_ecdsa.c.o
[  6%] Building C object CMakeFiles/s2n.dir/crypto/s2n_evp.c.o
[  6%] Building C object CMakeFiles/s2n.dir/crypto/s2n_fips.c.o
[  6%] Building C object CMakeFiles/s2n.dir/crypto/s2n_hash.c.o
[  6%] Building C object CMakeFiles/s2n.dir/crypto/s2n_hkdf.c.o
[  9%] Building C object CMakeFiles/s2n.dir/crypto/s2n_hmac.c.o
[  9%] Building C object CMakeFiles/s2n.dir/crypto/s2n_pkey.c.o
[  9%] Building C object CMakeFiles/s2n.dir/crypto/s2n_rsa.c.o
[  9%] Building C object CMakeFiles/s2n.dir/crypto/s2n_rsa_pss.c.o
[  9%] Building C object CMakeFiles/s2n.dir/crypto/s2n_rsa_signing.c.o
[ 12%] Building C object CMakeFiles/s2n.dir/crypto/s2n_sequence.c.o
[ 12%] Building C object CMakeFiles/s2n.dir/crypto/s2n_stream_cipher_null.c.o
[ 12%] Building C object CMakeFiles/s2n.dir/crypto/s2n_stream_cipher_rc4.c.o
[ 12%] Building C object CMakeFiles/s2n.dir/crypto/s2n_tls13_keys.c.o
[ 12%] Building C object CMakeFiles/s2n.dir/error/s2n_errno.c.o
[ 12%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/aes_ctr_prf.c.o
[ 15%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/bike_r1_kem.c.o
[ 15%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/converts_portable.c.o
[ 15%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/decode.c.o
[ 15%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/error.c.o
[ 15%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/gf2x_mul.c.o
[ 15%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/gf2x_portable.c.o
[ 18%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/openssl_utils.c.o
[ 18%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/parallel_hash.c.o
[ 18%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/sampling.c.o
[ 18%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/sampling_portable.c.o
[ 18%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/secure_decode_portable.c.o
[ 18%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r1/utilities.c.o
[ 21%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/aes_ctr_prf.c.o
[ 21%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/bike_r2_kem.c.o
[ 21%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/decode.c.o
[ 21%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/error.c.o
[ 21%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/gf2x_mul.c.o
[ 24%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/gf2x_portable.c.o
[ 24%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/openssl_utils.c.o
[ 24%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/sampling.c.o
[ 24%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/sampling_portable.c.o
[ 24%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/secure_decode_portable.c.o
[ 24%] Building C object CMakeFiles/s2n.dir/pq-crypto/bike_r2/utilities.c.o
[ 27%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/aes256ctr.c.o
[ 27%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/aes_c.c.o
[ 27%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/cbd.c.o
[ 27%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/indcpa.c.o
[ 27%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/kyber_90s_r2_kem.c.o
[ 27%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/ntt.c.o
[ 30%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/poly.c.o
[ 30%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/polyvec.c.o
[ 30%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/reduce.c.o
[ 30%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/sha2_c.c.o
[ 30%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_90s_r2/verify.c.o
[ 33%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/cbd.c.o
[ 33%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/fips202_kyber_r2.c.o
[ 33%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/indcpa.c.o
[ 33%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/kyber_r2_kem.c.o
[ 33%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/ntt.c.o
[ 33%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/poly.c.o
[ 36%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/polyvec.c.o
[ 36%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/reduce.c.o
[ 36%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/symmetric-fips202.c.o
[ 36%] Building C object CMakeFiles/s2n.dir/pq-crypto/kyber_r2/verify.c.o
[ 36%] Building C object CMakeFiles/s2n.dir/pq-crypto/s2n_pq.c.o
[ 36%] Building C object CMakeFiles/s2n.dir/pq-crypto/s2n_pq_random.c.o
[ 39%] Building C object CMakeFiles/s2n.dir/pq-crypto/sike_r1/P503_r1.c.o
[ 39%] Building C object CMakeFiles/s2n.dir/pq-crypto/sike_r1/fips202_r1.c.o
[ 39%] Building C object CMakeFiles/s2n.dir/pq-crypto/sike_r1/fp_generic_r1.c.o
[ 39%] Building C object CMakeFiles/s2n.dir/pq-crypto/sike_r1/sike_r1_kem.c.o
[ 39%] Building C object CMakeFiles/s2n.dir/pq-crypto/sike_r2/P434.c.o
[ 39%] Building C object CMakeFiles/s2n.dir/pq-crypto/sike_r2/fips202.c.o
[ 42%] Building ASM object CMakeFiles/s2n.dir/pq-crypto/sike_r2/sikep434r2_fp_x64_asm.S.o
[ 42%] Building C object CMakeFiles/s2n.dir/stuffer/s2n_stuffer.c.o
[ 42%] Building C object CMakeFiles/s2n.dir/stuffer/s2n_stuffer_base64.c.o
[ 42%] Building C object CMakeFiles/s2n.dir/stuffer/s2n_stuffer_file.c.o
[ 42%] Building C object CMakeFiles/s2n.dir/stuffer/s2n_stuffer_network_order.c.o
[ 45%] Building C object CMakeFiles/s2n.dir/stuffer/s2n_stuffer_pem.c.o
[ 45%] Building C object CMakeFiles/s2n.dir/stuffer/s2n_stuffer_text.c.o
[ 45%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_alpn.c.o
[ 45%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_key_share.c.o
[ 45%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_max_frag_len.c.o
[ 45%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_pq_kem.c.o
[ 48%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_renegotiation_info.c.o
[ 48%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_sct_list.c.o
[ 48%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_server_name.c.o
[ 48%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_session_ticket.c.o
[ 48%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_signature_algorithms.c.o
[ 48%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_status_request.c.o
[ 51%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_supported_groups.c.o
[ 51%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_client_supported_versions.c.o
[ 51%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_cookie.c.o
[ 51%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_ec_point_format.c.o
[ 51%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_extension_list.c.o
[ 54%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_extension_type.c.o
[ 54%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_extension_type_lists.c.o
[ 54%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_key_share.c.o
[ 54%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_quic_transport_params.c.o
[ 54%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_alpn.c.o
[ 54%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_certificate_status.c.o
[ 57%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_key_share.c.o
[ 57%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_max_fragment_length.c.o
[ 57%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_renegotiation_info.c.o
[ 57%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_sct_list.c.o
[ 57%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_server_name.c.o
[ 57%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_session_ticket.c.o
[ 60%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_signature_algorithms.c.o
[ 60%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_status_request.c.o
[ 60%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_server_supported_versions.c.o
[ 60%] Building C object CMakeFiles/s2n.dir/tls/extensions/s2n_supported_versions.c.o
[ 60%] Building C object CMakeFiles/s2n.dir/tls/s2n_aead.c.o
[ 60%] Building C object CMakeFiles/s2n.dir/tls/s2n_alerts.c.o
[ 63%] Building C object CMakeFiles/s2n.dir/tls/s2n_async_pkey.c.o
[ 63%] Building C object CMakeFiles/s2n.dir/tls/s2n_auth_selection.c.o
[ 63%] Building C object CMakeFiles/s2n.dir/tls/s2n_cbc.c.o
[ 63%] Building C object CMakeFiles/s2n.dir/tls/s2n_change_cipher_spec.c.o
[ 63%] Building C object CMakeFiles/s2n.dir/tls/s2n_cipher_preferences.c.o
[ 66%] Building C object CMakeFiles/s2n.dir/tls/s2n_cipher_suites.c.o
[ 66%] Building C object CMakeFiles/s2n.dir/tls/s2n_client_cert.c.o
[ 66%] Building C object CMakeFiles/s2n.dir/tls/s2n_client_cert_verify.c.o
[ 66%] Building C object CMakeFiles/s2n.dir/tls/s2n_client_finished.c.o
[ 66%] Building C object CMakeFiles/s2n.dir/tls/s2n_client_hello.c.o
[ 66%] Building C object CMakeFiles/s2n.dir/tls/s2n_client_key_exchange.c.o
[ 69%] Building C object CMakeFiles/s2n.dir/tls/s2n_config.c.o
[ 69%] Building C object CMakeFiles/s2n.dir/tls/s2n_connection.c.o
[ 69%] Building C object CMakeFiles/s2n.dir/tls/s2n_connection_evp_digests.c.o
[ 69%] Building C object CMakeFiles/s2n.dir/tls/s2n_ecc_preferences.c.o
[ 69%] Building C object CMakeFiles/s2n.dir/tls/s2n_encrypted_extensions.c.o
[ 69%] Building C object CMakeFiles/s2n.dir/tls/s2n_establish_session.c.o
[ 72%] Building C object CMakeFiles/s2n.dir/tls/s2n_handshake.c.o
[ 72%] Building C object CMakeFiles/s2n.dir/tls/s2n_handshake_io.c.o
[ 72%] Building C object CMakeFiles/s2n.dir/tls/s2n_handshake_transcript.c.o
[ 72%] Building C object CMakeFiles/s2n.dir/tls/s2n_kem.c.o
[ 72%] Building C object CMakeFiles/s2n.dir/tls/s2n_kem_preferences.c.o
[ 75%] Building C object CMakeFiles/s2n.dir/tls/s2n_kex.c.o
[ 75%] Building C object CMakeFiles/s2n.dir/tls/s2n_key_update.c.o
[ 75%] Building C object CMakeFiles/s2n.dir/tls/s2n_ocsp_stapling.c.o
[ 75%] Building C object CMakeFiles/s2n.dir/tls/s2n_post_handshake.c.o
[ 75%] Building C object CMakeFiles/s2n.dir/tls/s2n_prf.c.o
[ 75%] Building C object CMakeFiles/s2n.dir/tls/s2n_protocol_preferences.c.o
[ 78%] Building C object CMakeFiles/s2n.dir/tls/s2n_quic_support.c.o
[ 78%] Building C object CMakeFiles/s2n.dir/tls/s2n_record_read.c.o
[ 78%] Building C object CMakeFiles/s2n.dir/tls/s2n_record_read_aead.c.o
[ 78%] Building C object CMakeFiles/s2n.dir/tls/s2n_record_read_cbc.c.o
[ 78%] Building C object CMakeFiles/s2n.dir/tls/s2n_record_read_composite.c.o
[ 78%] Building C object CMakeFiles/s2n.dir/tls/s2n_record_read_stream.c.o
[ 81%] Building C object CMakeFiles/s2n.dir/tls/s2n_record_write.c.o
[ 81%] Building C object CMakeFiles/s2n.dir/tls/s2n_recv.c.o
[ 81%] Building C object CMakeFiles/s2n.dir/tls/s2n_resume.c.o
[ 81%] Building C object CMakeFiles/s2n.dir/tls/s2n_security_policies.c.o
[ 81%] Building C object CMakeFiles/s2n.dir/tls/s2n_send.c.o
[ 81%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_cert.c.o
[ 84%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_cert_request.c.o
[ 84%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_done.c.o
[ 84%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_extensions.c.o
[ 84%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_finished.c.o
[ 84%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_hello.c.o
[ 87%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_hello_retry.c.o
[ 87%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_key_exchange.c.o
[ 87%] Building C object CMakeFiles/s2n.dir/tls/s2n_server_new_session_ticket.c.o
[ 87%] Building C object CMakeFiles/s2n.dir/tls/s2n_shutdown.c.o
[ 87%] Building C object CMakeFiles/s2n.dir/tls/s2n_signature_algorithms.c.o
[ 87%] Building C object CMakeFiles/s2n.dir/tls/s2n_signature_scheme.c.o
[ 90%] Building C object CMakeFiles/s2n.dir/tls/s2n_tls.c.o
[ 90%] Building C object CMakeFiles/s2n.dir/tls/s2n_tls13.c.o
[ 90%] Building C object CMakeFiles/s2n.dir/tls/s2n_tls13_certificate_verify.c.o
[ 90%] Building C object CMakeFiles/s2n.dir/tls/s2n_tls13_handshake.c.o
[ 90%] Building C object CMakeFiles/s2n.dir/tls/s2n_x509_validator.c.o
[ 90%] Building C object CMakeFiles/s2n.dir/utils/s2n_array.c.o
[ 93%] Building C object CMakeFiles/s2n.dir/utils/s2n_asn1_time.c.o
[ 93%] Building C object CMakeFiles/s2n.dir/utils/s2n_blob.c.o
[ 93%] Building C object CMakeFiles/s2n.dir/utils/s2n_ensure.c.o
[ 93%] Building C object CMakeFiles/s2n.dir/utils/s2n_init.c.o
[ 93%] Building C object CMakeFiles/s2n.dir/utils/s2n_map.c.o
[ 93%] Building C object CMakeFiles/s2n.dir/utils/s2n_mem.c.o
[ 96%] Building C object CMakeFiles/s2n.dir/utils/s2n_random.c.o
[ 96%] Building C object CMakeFiles/s2n.dir/utils/s2n_result.c.o
[ 96%] Building C object CMakeFiles/s2n.dir/utils/s2n_rfc5952.c.o
[ 96%] Building C object CMakeFiles/s2n.dir/utils/s2n_safety.c.o
[ 96%] Building C object CMakeFiles/s2n.dir/utils/s2n_set.c.o
[100%] Building C object CMakeFiles/s2n.dir/utils/s2n_socket.c.o
[100%] Building C object CMakeFiles/s2n.dir/utils/s2n_str.c.o
[100%] Building C object CMakeFiles/s2n.dir/utils/s2n_timer.c.o
[100%] Linking C shared library lib/libs2n.so
[100%] Built target s2n
[ 97%] Built target s2n
Scanning dependencies of target s2nc
[ 97%] Building C object CMakeFiles/s2nc.dir/bin/s2nc.c.o
[ 97%] Building C object CMakeFiles/s2nc.dir/bin/echo.c.o
[100%] Building C object CMakeFiles/s2nc.dir/bin/https.c.o
[100%] Building C object CMakeFiles/s2nc.dir/bin/common.c.o
[100%] Linking C executable bin/s2nc
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/s2nc.c.o: in function `main':
s2nc.c:(.text.startup+0x5d8): undefined reference to `s2n_connection_set_keyshare_by_name_for_testing'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/echo.c.o: in function `negotiate':
echo.c:(.text+0x481): undefined reference to `s2n_debug_str'
/usr/bin/ld: echo.c:(.text+0x4e2): undefined reference to `s2n_debug_str'
/usr/bin/ld: echo.c:(.text+0x543): undefined reference to `s2n_debug_str'
/usr/bin/ld: echo.c:(.text+0x5a4): undefined reference to `s2n_debug_str'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/echo.c.o: in function `echo':
echo.c:(.text+0x6e4): undefined reference to `s2n_debug_str'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/echo.c.o:echo.c:(.text+0x9f8): more undefined references to `s2n_debug_str' follow
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/https.c.o: in function `https':
https.c:(.text+0x278): undefined reference to `s2n_stuffer_growable_alloc'
/usr/bin/ld: https.c:(.text+0x2cd): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x321): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x375): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x3c9): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x41d): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/https.c.o:https.c:(.text+0x47f): more undefined references to `s2n_stuffer_write_bytes' follow
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/https.c.o: in function `https':
https.c:(.text+0x6b1): undefined reference to `s2n_stuffer_raw_read'
/usr/bin/ld: https.c:(.text+0x83b): undefined reference to `s2n_stuffer_free'
/usr/bin/ld: https.c:(.text+0x896): undefined reference to `s2n_debug_str'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/s2nc.dir/build.make:150: bin/s2nc] Error 1
make[2]: *** [CMakeFiles/Makefile2:5389: CMakeFiles/s2nc.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:5396: CMakeFiles/s2nc.dir/rule] Error 2
make: *** [Makefile:2482: s2nc] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

mikatammi commented on 2020-11-11 11:28 (UTC) (edited on 2020-11-11 11:28 (UTC) by mikatammi)

Does not seem to build again

[100%] Linking C executable bin/s2nc
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/s2nc.c.o: in function `main':
s2nc.c:(.text.startup+0x5d8): undefined reference to `s2n_connection_set_keyshare_by_name_for_testing'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/echo.c.o: in function `negotiate':
echo.c:(.text+0x481): undefined reference to `s2n_debug_str'
/usr/bin/ld: echo.c:(.text+0x4e2): undefined reference to `s2n_debug_str'
/usr/bin/ld: echo.c:(.text+0x543): undefined reference to `s2n_debug_str'
/usr/bin/ld: echo.c:(.text+0x5a4): undefined reference to `s2n_debug_str'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/echo.c.o: in function `echo':
echo.c:(.text+0x6e4): undefined reference to `s2n_debug_str'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/echo.c.o:echo.c:(.text+0x9f8): more undefined references to `s2n_debug_str' follow
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/https.c.o: in function `https':
https.c:(.text+0x278): undefined reference to `s2n_stuffer_growable_alloc'
/usr/bin/ld: https.c:(.text+0x2cd): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x321): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x375): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x3c9): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: https.c:(.text+0x41d): undefined reference to `s2n_stuffer_write_bytes'
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/https.c.o:https.c:(.text+0x47f): more undefined references to `s2n_stuffer_write_bytes' follow
/usr/bin/ld: CMakeFiles/s2nc.dir/bin/https.c.o: in function `https':
https.c:(.text+0x6b1): undefined reference to `s2n_stuffer_raw_read'
/usr/bin/ld: https.c:(.text+0x83b): undefined reference to `s2n_stuffer_free'
/usr/bin/ld: https.c:(.text+0x896): undefined reference to `s2n_debug_str'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/s2nc.dir/build.make:150: bin/s2nc] Error 1
make[2]: *** [CMakeFiles/Makefile2:5389: CMakeFiles/s2nc.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:5396: CMakeFiles/s2nc.dir/rule] Error 2
make: *** [Makefile:2482: s2nc] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
2020-11-11 13:22:53,397 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/vagrant/.cache/aurman/s2n-git

mwberry commented on 2019-03-24 18:57 (UTC)

PKGBUILD updated to use cmake build system. Tested against openssl 1.1.x. Please try it out and report back.

mgrabovsky commented on 2018-10-04 15:15 (UTC)

I get the following error in the check phase:

make -C unit                                                                                                       
make[1]: Entering directory '/home/mgrabovsky/builds/s2n-git/src/s2n/tests/unit'                                   
/usr/bin/ld: warning: libcrypto.so.36, needed by ../../lib//libs2n.so, not found (try using -rpath or -rpath-link) 
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `sk_pop_free'                                            
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `EVP_CIPHER_CTX_init'                                    
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `OPENSSL_add_all_algorithms_noconf'                      
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `sk_value'                                               
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `EVP_MD_CTX_create'                                      
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `EVP_cleanup'                                            
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `EVP_MD_CTX_cleanup'                                     
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `EVP_CIPHER_CTX_cleanup'                                 
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `EVP_MD_CTX_destroy'                                     
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `sk_num'                                                 
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `sk_new_null'                                            
/usr/bin/ld: ../../lib//libs2n.so: undefined reference to `sk_push'                                                
collect2: error: ld returned 1 exit status                                                                         
make[1]: *** [Makefile:43: s2n_cipher_suite_match_test] Error 1                                                    
make[1]: Leaving directory '/home/mgrabovsky/builds/s2n-git/src/s2n/tests/unit'                                    
make: *** [Makefile:25: all] Error 2                                                                               
make: Leaving directory '/home/mgrabovsky/builds/s2n-git/src/s2n/tests'                                            
==> ERROR: A failure occurred in check().                                                                          
    Aborting...