Building package "shadowsocks-rust-git" INFO: Starting build... INFO: Verifying bootstrap image /home/u726578/chaotic/cache/lower/20240501160409.sif WARNING: integrity: signature not found for object group 1 WARNING: Bootstrap image could not be verified, but build will continue. INFO: Creating sandbox directory... INFO: Build complete: /scratch/chaotic/sandbox/pkgaa48ea65fd4 :: Synchronizing package databases... core downloading... extra downloading... multilib downloading... chaotic-aur downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Packages (4) perl-error-0.17029-5 perl-mailtools-2.21-7 perl-timedate-2.33-5 git-2.45.0-1 Total Installed Size: 27.77 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 973. Creating user 'git' (git daemon user) with UID 973 and GID 973. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules warning: openssl-3.3.0-1 is up to date -- skipping :: There are 3 providers available for cargo: :: Repository extra 1) rust 2) rustup :: Repository chaotic-aur 3) rustup-git Enter a number (default=1): warning: git-2.45.0-1 is up to date -- skipping resolving dependencies... looking for conflicting packages... Packages (4) libedit-20230828_3.1-1 llvm-libs-17.0.6-3 libsodium-1.0.19-3 rust-1:1.77.2-1 Total Installed Size: 378.70 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script installing libsodium... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Making package: shadowsocks-rust-git r1442.39b3567-2 (Wed 01 May 2024 04:58:19 PM -03) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating shadowsocks-rust git repo... From https://github.com/shadowsocks/shadowsocks-rust + 055d4815...e1850084 dependabot/cargo/clap-4.5.4 -> dependabot/cargo/clap-4.5.4 (forced update) ec752372..bb3b343a master -> master + 055d4815...e1850084 refs/pull/1482/head -> refs/pull/1482/head (forced update) + b961eb81...589cfe28 refs/pull/1482/merge -> refs/pull/1482/merge (forced update) * [new ref] refs/pull/1514/head -> refs/pull/1514/head * [new ref] refs/pull/1515/head -> refs/pull/1515/head * [new ref] refs/pull/1517/head -> refs/pull/1517/head -> Found shadowsocks-rust@.service -> Found shadowsocks-rust-server@.service ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... shadowsocks-rust ... Skipped shadowsocks-rust@.service ... Passed shadowsocks-rust-server@.service ... Passed ==> Extracting sources... -> Creating working copy of shadowsocks-rust git repo... Cloning into 'shadowsocks-rust'... done. ==> Starting pkgver()... ==> Updated version: shadowsocks-rust-git r2422.bb3b343a-1 ==> Starting build()... Updating crates.io index Downloading crates ... Downloaded aead v0.5.2 Downloaded anstyle-query v1.0.2 Downloaded typemap-ors v1.0.0 Downloaded try-lock v0.2.5 Downloaded json5 v0.4.1 Downloaded anstyle-parse v0.2.3 Downloaded anyhow v1.0.82 Downloaded unicode-bidi v0.3.15 Downloaded filetime v0.2.23 Downloaded typenum v1.17.0 Downloaded itoa v1.0.11 Downloaded getrandom v0.2.14 Downloaded universal-hash v0.5.1 Downloaded unicode-ident v1.0.12 Downloaded inout v0.1.3 Downloaded unsafe-any-ors v1.0.0 Downloaded lazy_static v1.4.0 Downloaded want v0.3.1 Downloaded linked-hash-map v0.5.6 Downloaded time-core v0.1.2 Downloaded thread_local v1.1.8 Downloaded time-macros v0.2.18 Downloaded tinyvec v1.6.0 Downloaded spin v0.9.8 Downloaded tracing-core v0.1.32 Downloaded tokio-macros v2.2.0 Downloaded serde-value v0.7.0 Downloaded thiserror v1.0.59 Downloaded strsim v0.10.0 Downloaded syn v2.0.60 Downloaded subtle v2.5.0 Downloaded serde_yaml v0.9.34+deprecated Downloaded serde_derive v1.0.199 Downloaded sharded-slab v0.1.7 Downloaded regex v1.10.4 Downloaded regex-automata v0.1.10 Downloaded thread-id v4.2.1 Downloaded ring-compat v0.8.0 Downloaded tokio-util v0.7.10 Downloaded rand v0.8.5 Downloaded spki v0.7.3 Downloaded serde v1.0.199 Downloaded regex-syntax v0.6.29 Downloaded rustix v0.38.34 Downloaded p384 v0.13.0 Downloaded regex-syntax v0.8.3 Downloaded signal-hook-registry v1.4.2 Downloaded serde_json v1.0.116 Downloaded same-file v1.0.6 Downloaded tokio v1.37.0 Downloaded ppv-lite86 v0.2.17 Downloaded syn v1.0.109 Downloaded proc-macro2 v1.0.81 Downloaded libc v0.2.154 Downloaded hickory-proto v0.24.1 Downloaded sha1 v0.10.6 Downloaded rand_core v0.6.4 Downloaded powerfmt v0.2.0 Downloaded sendfd v0.4.3 Downloaded regex-automata v0.4.6 Downloaded sec1 v0.7.3 Downloaded resolv-conf v0.7.0 Downloaded rand_chacha v0.3.1 Downloaded pin-project v1.1.5 Downloaded pest_meta v2.7.9 Downloaded pest v2.7.9 Downloaded p256 v0.13.2 Downloaded idna v0.5.0 Downloaded thiserror-impl v1.0.59 Downloaded shadowsocks-crypto v0.5.4 Downloaded sha2 v0.10.8 Downloaded scopeguard v1.2.0 Downloaded ryu v1.0.17 Downloaded quote v1.0.36 Downloaded quick-error v1.2.3 Downloaded qrcode v0.14.0 Downloaded primeorder v0.13.6 Downloaded pest_derive v2.7.9 Downloaded percent-encoding v2.3.1 Downloaded parking_lot v0.12.2 Downloaded overload v0.1.1 Downloaded num-traits v0.2.18 Downloaded mio v0.8.11 Downloaded memchr v2.7.2 Downloaded tracing v0.1.40 Downloaded terminal_size v0.3.0 Downloaded time v0.3.36 Downloaded serde_urlencoded v0.7.1 Downloaded rtoolbox v0.0.2 Downloaded rpassword v7.3.1 Downloaded poly1305 v0.8.0 Downloaded pkcs8 v0.10.2 Downloaded pin-project-lite v0.2.14 Downloaded linux-raw-sys v0.4.13 Downloaded pin-project-internal v1.1.5 Downloaded parking_lot_core v0.9.10 Downloaded ordered-float v2.10.1 Downloaded once_cell v1.19.0 Downloaded nu-ansi-term v0.46.0 Downloaded log4rs v1.3.0 Downloaded tracing-subscriber v0.3.18 Downloaded h2 v0.4.4 Downloaded clap_builder v4.4.18 Downloaded tracing-attributes v0.1.27 Downloaded sysexits v0.7.13 Downloaded polyval v0.6.2 Downloaded pin-utils v0.1.0 Downloaded notify v6.1.1 Downloaded log v0.4.21 Downloaded url v2.5.0 Downloaded idna v0.4.0 Downloaded futures-util v0.3.30 Downloaded blake3 v1.5.1 Downloaded pest_generator v2.7.9 Downloaded num_cpus v1.16.0 Downloaded lru-cache v0.1.2 Downloaded zeroize v1.7.0 Downloaded unsafe-libyaml v0.2.11 Downloaded hkdf v0.12.4 Downloaded hashbrown v0.14.5 Downloaded socket2 v0.5.7 Downloaded smallvec v1.13.2 Downloaded option-ext v0.2.0 Downloaded opaque-debug v0.3.1 Downloaded num-conv v0.1.0 Downloaded md-5 v0.10.6 Downloaded lru_time_cache v0.11.11 Downloaded lock_api v0.4.12 Downloaded untrusted v0.9.0 Downloaded hyper v1.3.1 Downloaded http v1.1.0 Downloaded cc v1.0.96 Downloaded crossbeam-channel v0.5.12 Downloaded tinyvec_macros v0.1.1 Downloaded slab v0.4.9 Downloaded signature v2.2.0 Downloaded num_threads v0.1.7 Downloaded matchers v0.1.0 Downloaded match_cfg v0.1.0 Downloaded log-mdc v0.1.0 Downloaded walkdir v2.5.0 Downloaded indexmap v2.2.6 Downloaded heck v0.4.1 Downloaded futures v0.3.30 Downloaded elliptic-curve v0.13.8 Downloaded const-oid v0.9.6 Downloaded bytes v1.6.0 Downloaded base64 v0.22.0 Downloaded xdg v2.5.2 Downloaded iprange v0.6.7 Downloaded ipnet v2.9.0 Downloaded httpdate v1.0.3 Downloaded http-body-util v0.1.1 Downloaded futures-sink v0.3.30 Downloaded futures-macro v0.3.30 Downloaded futures-channel v0.3.30 Downloaded ff v0.13.0 Downloaded byteorder v1.5.0 Downloaded bitflags v2.5.0 Downloaded unicode-normalization v0.1.23 Downloaded httparse v1.8.0 Downloaded futures-task v0.3.30 Downloaded form_urlencoded v1.2.1 Downloaded crypto-bigint v0.5.5 Downloaded cipher v0.4.4 Downloaded cfg-if v1.0.0 Downloaded byte_string v1.0.0 Downloaded version_check v0.9.4 Downloaded utf8parse v0.2.1 Downloaded tokio-tfo v0.2.2 Downloaded hickory-resolver v0.24.1 Downloaded group v0.13.0 Downloaded ghash v0.5.1 Downloaded generic-array v0.14.7 Downloaded futures-executor v0.3.30 Downloaded errno v0.3.8 Downloaded deranged v0.3.11 Downloaded der v0.7.9 Downloaded cpufeatures v0.2.12 Downloaded inotify v0.9.6 Downloaded enum-as-inner v0.6.0 Downloaded ecdsa v0.16.9 Downloaded ctr v0.9.2 Downloaded crossbeam-utils v0.8.19 Downloaded clap v4.4.18 Downloaded chacha20 v0.9.1 Downloaded block-buffer v0.10.4 Downloaded autocfg v1.2.0 Downloaded arrayref v0.3.7 Downloaded inotify-sys v0.1.5 Downloaded iana-time-zone v0.1.60 Downloaded http-body v1.0.0 Downloaded hmac v0.12.1 Downloaded futures-io v0.3.30 Downloaded dirs-sys v0.4.1 Downloaded daemonize v0.5.0 Downloaded bitflags v1.3.2 Downloaded arrayvec v0.7.4 Downloaded ucd-trie v0.1.6 Downloaded hostname v0.3.1 Downloaded futures-core v0.3.30 Downloaded equivalent v1.0.1 Downloaded digest v0.10.7 Downloaded derivative v2.2.0 Downloaded constant_time_eq v0.3.0 Downloaded tracing-log v0.2.0 Downloaded data-encoding v2.6.0 Downloaded chrono v0.4.38 Downloaded build-time v0.1.3 Downloaded base16ct v0.2.0 Downloaded fnv v1.0.7 Downloaded base64ct v1.6.0 Downloaded async-trait v0.1.80 Downloaded humantime v2.1.0 Downloaded ed25519 v2.2.3 Downloaded directories v5.0.1 Downloaded crypto-common v0.1.6 Downloaded clap_lex v0.6.0 Downloaded chacha20poly1305 v0.10.1 Downloaded destructure_traitobject v0.2.0 Downloaded aho-corasick v1.1.3 Downloaded aes-gcm v0.10.3 Downloaded colorchoice v1.0.0 Downloaded arc-swap v1.7.1 Downloaded anstream v0.6.13 Downloaded anstyle v1.0.6 Downloaded aes v0.8.4 Downloaded ring v0.17.8 Downloading crates ... Downloaded env_logger v0.11.3 Compiling libc v0.2.154 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.81 Compiling unicode-ident v1.0.12 Compiling autocfg v1.2.0 Compiling zeroize v1.7.0 Compiling typenum v1.17.0 Compiling version_check v0.9.4 Compiling subtle v2.5.0 Compiling serde v1.0.199 Compiling scopeguard v1.2.0 Compiling memchr v2.7.2 Compiling pin-project-lite v0.2.14 Compiling thiserror v1.0.59 Compiling bytes v1.6.0 Compiling parking_lot_core v0.9.10 Compiling smallvec v1.13.2 Compiling const-oid v0.9.6 Compiling once_cell v1.19.0 Compiling futures-core v0.3.30 Compiling itoa v1.0.11 Compiling futures-sink v0.3.30 Compiling cpufeatures v0.2.12 Compiling pin-utils v0.1.0 Compiling futures-task v0.3.30 Compiling futures-io v0.3.30 Compiling base16ct v0.2.0 Compiling cc v1.0.96 Compiling tinyvec_macros v0.1.1 Compiling ppv-lite86 v0.2.17 Compiling opaque-debug v0.3.1 Compiling unicode-bidi v0.3.15 Compiling fnv v1.0.7 Compiling percent-encoding v2.3.1 Compiling ucd-trie v0.1.6 Compiling equivalent v1.0.1 Compiling crossbeam-utils v0.8.19 Compiling ryu v1.0.17 Compiling hashbrown v0.14.5 Compiling serde_json v1.0.116 Compiling match_cfg v0.1.0 Compiling heck v0.4.1 Compiling rustix v0.38.34 Compiling untrusted v0.9.0 Compiling ipnet v2.9.0 Compiling arrayref v0.3.7 Compiling bitflags v1.3.2 Compiling linked-hash-map v0.5.6 Compiling linux-raw-sys v0.4.13 Compiling bitflags v2.5.0 Compiling quick-error v1.2.3 Compiling data-encoding v2.6.0 Compiling regex-syntax v0.8.3 Compiling constant_time_eq v0.3.0 Compiling syn v1.0.109 Compiling same-file v1.0.6 Compiling arrayvec v0.7.4 Compiling httparse v1.8.0 Compiling utf8parse v0.2.1 Compiling anstyle-query v1.0.2 Compiling anstyle v1.0.6 Compiling anyhow v1.0.82 Compiling regex-syntax v0.6.29 Compiling destructure_traitobject v0.2.0 Compiling colorchoice v1.0.0 Compiling arc-swap v1.7.1 Compiling try-lock v0.2.5 Compiling powerfmt v0.2.0 Compiling num-conv v0.1.0 Compiling iana-time-zone v0.1.60 Compiling lazy_static v1.4.0 Compiling byte_string v1.0.0 Compiling clap_lex v0.6.0 Compiling shadowsocks-service v1.18.3 (/home/main-builder/pkgwork/src/shadowsocks-rust/crates/shadowsocks-service) Compiling unsafe-libyaml v0.2.11 Compiling time-core v0.1.2 Compiling strsim v0.10.0 Compiling overload v0.1.1 Compiling num_threads v0.1.7 Compiling lru_time_cache v0.11.11 Compiling option-ext v0.2.0 Compiling httpdate v1.0.3 Compiling base64 v0.22.0 Compiling humantime v2.1.0 Compiling log-mdc v0.1.0 Compiling byteorder v1.5.0 Compiling sysexits v0.7.13 Compiling qrcode v0.14.0 Compiling xdg v2.5.2 Compiling generic-array v0.14.7 Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling der v0.7.9 Compiling tracing-core v0.1.32 Compiling futures-channel v0.3.30 Compiling tinyvec v1.6.0 Compiling num-traits v0.2.18 Compiling form_urlencoded v1.2.1 Compiling http v1.1.0 Compiling walkdir v2.5.0 Compiling anstyle-parse v0.2.3 Compiling lru-cache v0.1.2 Compiling want v0.3.1 Compiling unsafe-any-ors v1.0.0 Compiling iprange v0.6.7 Compiling thread_local v1.1.8 Compiling nu-ansi-term v0.46.0 Compiling sharded-slab v0.1.7 Compiling aho-corasick v1.1.3 Compiling deranged v0.3.11 Compiling typemap-ors v1.0.0 Compiling anstream v0.6.13 Compiling indexmap v2.2.6 Compiling ring v0.17.8 Compiling blake3 v1.5.1 Compiling spin v0.9.8 Compiling quote v1.0.36 Compiling crossbeam-channel v0.5.12 Compiling syn v2.0.60 Compiling unicode-normalization v0.1.23 Compiling http-body v1.0.0 Compiling terminal_size v0.3.0 Compiling http-body-util v0.1.1 Compiling clap_builder v4.4.18 Compiling spki v0.7.3 Compiling pkcs8 v0.10.2 Compiling idna v0.5.0 Compiling idna v0.4.0 Compiling chrono v0.4.38 Compiling getrandom v0.2.14 Compiling socket2 v0.5.7 Compiling num_cpus v1.16.0 Compiling signal-hook-registry v1.4.2 Compiling hostname v0.3.1 Compiling inotify-sys v0.1.5 Compiling filetime v0.2.23 Compiling time v0.3.36 Compiling dirs-sys v0.4.1 Compiling rtoolbox v0.0.2 Compiling thread-id v4.2.1 Compiling daemonize v0.5.0 Compiling block-buffer v0.10.4 Compiling sec1 v0.7.3 Compiling inout v0.1.3 Compiling resolv-conf v0.7.0 Compiling regex-automata v0.1.10 Compiling ordered-float v2.10.1 Compiling inotify v0.9.6 Compiling rand_core v0.6.4 Compiling directories v5.0.1 Compiling rpassword v7.3.1 Compiling parking_lot v0.12.2 Compiling regex-automata v0.4.6 Compiling crypto-common v0.1.6 Compiling ff v0.13.0 Compiling crypto-bigint v0.5.5 Compiling signature v2.2.0 Compiling rand_chacha v0.3.1 Compiling ed25519 v2.2.3 Compiling digest v0.10.7 Compiling universal-hash v0.5.1 Compiling cipher v0.4.4 Compiling aead v0.5.2 Compiling group v0.13.0 Compiling polyval v0.6.2 Compiling poly1305 v0.8.0 Compiling rand v0.8.5 Compiling ghash v0.5.1 Compiling hmac v0.12.1 Compiling md-5 v0.10.6 Compiling sha1 v0.10.6 Compiling chacha20 v0.9.1 Compiling aes v0.8.4 Compiling ctr v0.9.2 Compiling hkdf v0.12.4 Compiling chacha20poly1305 v0.10.1 Compiling matchers v0.1.0 Compiling aes-gcm v0.10.3 Compiling derivative v2.2.0 Compiling clap v4.4.18 Compiling elliptic-curve v0.13.8 Compiling ecdsa v0.16.9 Compiling primeorder v0.13.6 Compiling p256 v0.13.2 Compiling p384 v0.13.0 Compiling ring-compat v0.8.0 Compiling regex v1.10.4 Compiling shadowsocks-crypto v0.5.4 Compiling serde_derive v1.0.199 Compiling thiserror-impl v1.0.59 Compiling tokio-macros v2.2.0 Compiling futures-macro v0.3.30 Compiling tracing-attributes v0.1.27 Compiling pin-project-internal v1.1.5 Compiling async-trait v0.1.80 Compiling enum-as-inner v0.6.0 Compiling build-time v0.1.3 Compiling futures-util v0.3.30 Compiling pest v2.7.9 Compiling pin-project v1.1.5 Compiling tracing v0.1.40 Compiling pest_meta v2.7.9 Compiling pest_generator v2.7.9 Compiling pest_derive v2.7.9 Compiling futures-executor v0.3.30 Compiling futures v0.3.30 Compiling log v0.4.21 Compiling url v2.5.0 Compiling serde_urlencoded v0.7.1 Compiling serde-value v0.7.0 Compiling serde_yaml v0.9.34+deprecated Compiling json5 v0.4.1 Compiling mio v0.8.11 Compiling tracing-log v0.2.0 Compiling tracing-subscriber v0.3.18 Compiling tokio v1.37.0 Compiling notify v6.1.1 Compiling log4rs v1.3.0 Compiling tokio-util v0.7.10 Compiling hickory-proto v0.24.1 Compiling sendfd v0.4.3 Compiling tokio-tfo v0.2.2 Compiling h2 v0.4.4 Compiling hyper v1.3.1 Compiling hickory-resolver v0.24.1 Compiling shadowsocks v1.18.2 (/home/main-builder/pkgwork/src/shadowsocks-rust/crates/shadowsocks) Compiling shadowsocks-rust v1.18.3 (/home/main-builder/pkgwork/src/shadowsocks-rust) error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustczLwvwc/symbols.o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/ring-b195e39a80c7e7ef/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustczLwvwc/libblake3-e3994c010a07cf05.rlib" "/tmp/rustczLwvwc/libring-4ab2942a4f13b027.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-54db803ece53f837.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs" = note: /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_seal': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x17a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x2cb): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x354): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_open': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x189): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x38f): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x42a): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_block': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead3gcm7Context12update_block17hb47efa26755c0f5eE+0xc): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::finish': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x129): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x1a6): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_blocks': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead3gcm7Context13update_blocks17hdd9409e27b4e0f14E+0x9): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::aes::Key::ctr32_encrypt_within': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0x2e): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0xec): undefined reference to `ring_core_0_17_8_aes_nohw_ctr32_encrypt_blocks' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::init': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xb0): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xfa): undefined reference to `ring_core_0_17_8_aes_nohw_set_encrypt_key' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0x1be): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_seal': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x4b): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x123): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x149): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x187): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x1ad): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x21a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_open': ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x54): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x122): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x14a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x182): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x1b1): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssserver.f239567ca95686f1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x270): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': ssserver.f239567ca95686f1-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17h62dac5cd6fed75cbE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': ssserver.f239567ca95686f1-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17hf39a8ea4d206313fE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssserver-33ad13557706ee5e.ssserver.f239567ca95686f1-cgu.0.rcgu.o: in function `::decrypt_in_place': ssserver.f239567ca95686f1-cgu.0:(.text._ZN66_$LT$ring_compat..aead..Aes128Gcm$u20$as$u20$aead..AeadInPlace$GT$16decrypt_in_place17h654b3db51e356682E+0xad): undefined reference to `ring_core_0_17_8_CRYPTO_memcmp' /usr/sbin/ld: /tmp/rustczLwvwc/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha-x86_64-elf.o): in function `ring_core_0_17_8_ChaCha20_ctr32': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha-x86_64-elf.S:52:(.text+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustczLwvwc/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_ctr32_encrypt_blocks': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:369:(.text+0x4bf): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustczLwvwc/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_set_encrypt_key': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:881:(.text+0xd1a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustczLwvwc/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-ghash-x86_64-elf.o): in function `ring_core_0_17_8_gcm_ghash_clmul': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/ghash-x86_64-elf.S:247:(.text+0x352): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustczLwvwc/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o): in function `ring_core_0_17_8_chacha20_poly1305_open': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:260:(.text+0x22d): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustczLwvwc/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o):/home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:2147: more undefined references to `ring_core_0_17_8_OPENSSL_ia32cap_P' follow collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) error: could not compile `shadowsocks-rust` (bin "ssserver") due to 1 previous error warning: build failed, waiting for other jobs to finish... error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcKJXUXf/symbols.o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/ring-b195e39a80c7e7ef/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcKJXUXf/libblake3-e3994c010a07cf05.rlib" "/tmp/rustcKJXUXf/libring-4ab2942a4f13b027.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-54db803ece53f837.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs" = note: /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_seal': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x17a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x2cb): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x354): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_open': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x189): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x38f): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x42a): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_block': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead3gcm7Context12update_block17hb47efa26755c0f5eE+0xc): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::finish': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x129): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x1a6): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_blocks': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead3gcm7Context13update_blocks17hdd9409e27b4e0f14E+0x9): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::aes::Key::ctr32_encrypt_within': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0x2e): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0xec): undefined reference to `ring_core_0_17_8_aes_nohw_ctr32_encrypt_blocks' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::init': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xb0): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xfa): undefined reference to `ring_core_0_17_8_aes_nohw_set_encrypt_key' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0x1be): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_seal': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x4b): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x123): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x149): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x187): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x1ad): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x21a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_open': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x54): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x122): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x14a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x182): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x1b1): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x270): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': ssmanager.6ad81ae178ac52d-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17h62dac5cd6fed75cbE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': ssmanager.6ad81ae178ac52d-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17hf39a8ea4d206313fE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssmanager-647059def49ee328.ssmanager.6ad81ae178ac52d-cgu.0.rcgu.o: in function `::decrypt_in_place': ssmanager.6ad81ae178ac52d-cgu.0:(.text._ZN66_$LT$ring_compat..aead..Aes128Gcm$u20$as$u20$aead..AeadInPlace$GT$16decrypt_in_place17h654b3db51e356682E+0xad): undefined reference to `ring_core_0_17_8_CRYPTO_memcmp' /usr/sbin/ld: /tmp/rustcKJXUXf/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha-x86_64-elf.o): in function `ring_core_0_17_8_ChaCha20_ctr32': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha-x86_64-elf.S:52:(.text+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcKJXUXf/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_ctr32_encrypt_blocks': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:369:(.text+0x4bf): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcKJXUXf/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_set_encrypt_key': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:881:(.text+0xd1a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcKJXUXf/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-ghash-x86_64-elf.o): in function `ring_core_0_17_8_gcm_ghash_clmul': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/ghash-x86_64-elf.S:247:(.text+0x352): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcKJXUXf/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o): in function `ring_core_0_17_8_chacha20_poly1305_open': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:260:(.text+0x22d): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcKJXUXf/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o):/home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:2147: more undefined references to `ring_core_0_17_8_OPENSSL_ia32cap_P' follow collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) error: could not compile `shadowsocks-rust` (bin "ssmanager") due to 1 previous error error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcEEFAtW/symbols.o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/ring-b195e39a80c7e7ef/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcEEFAtW/libblake3-e3994c010a07cf05.rlib" "/tmp/rustcEEFAtW/libring-4ab2942a4f13b027.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-54db803ece53f837.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs" = note: /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_seal': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x17a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x2cb): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x354): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_open': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x189): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x38f): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x42a): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_block': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead3gcm7Context12update_block17hb47efa26755c0f5eE+0xc): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::finish': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x129): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x1a6): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_blocks': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead3gcm7Context13update_blocks17hdd9409e27b4e0f14E+0x9): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::aes::Key::ctr32_encrypt_within': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0x2e): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0xec): undefined reference to `ring_core_0_17_8_aes_nohw_ctr32_encrypt_blocks' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::init': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xb0): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xfa): undefined reference to `ring_core_0_17_8_aes_nohw_set_encrypt_key' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0x1be): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_seal': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x4b): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x123): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x149): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x187): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x1ad): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x21a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_open': sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x54): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x122): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x14a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x182): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x1b1): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: sslocal.298323b35fd4b1-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x270): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': sslocal.298323b35fd4b1-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17h62dac5cd6fed75cbE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': sslocal.298323b35fd4b1-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17hf39a8ea4d206313fE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/sslocal-0060df38296bfdf5.sslocal.298323b35fd4b1-cgu.0.rcgu.o: in function `::decrypt_in_place': sslocal.298323b35fd4b1-cgu.0:(.text._ZN66_$LT$ring_compat..aead..Aes128Gcm$u20$as$u20$aead..AeadInPlace$GT$16decrypt_in_place17h654b3db51e356682E+0xad): undefined reference to `ring_core_0_17_8_CRYPTO_memcmp' /usr/sbin/ld: /tmp/rustcEEFAtW/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha-x86_64-elf.o): in function `ring_core_0_17_8_ChaCha20_ctr32': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha-x86_64-elf.S:52:(.text+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcEEFAtW/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_ctr32_encrypt_blocks': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:369:(.text+0x4bf): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcEEFAtW/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_set_encrypt_key': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:881:(.text+0xd1a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcEEFAtW/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-ghash-x86_64-elf.o): in function `ring_core_0_17_8_gcm_ghash_clmul': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/ghash-x86_64-elf.S:247:(.text+0x352): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcEEFAtW/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o): in function `ring_core_0_17_8_chacha20_poly1305_open': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:260:(.text+0x22d): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcEEFAtW/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o):/home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:2147: more undefined references to `ring_core_0_17_8_OPENSSL_ia32cap_P' follow collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) error: could not compile `shadowsocks-rust` (bin "sslocal") due to 1 previous error error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcQRygyG/symbols.o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/blake3-260d15424e482bae/out" "-L" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/build/ring-b195e39a80c7e7ef/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcQRygyG/libblake3-e3994c010a07cf05.rlib" "/tmp/rustcQRygyG/libring-4ab2942a4f13b027.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-54db803ece53f837.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs" = note: /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_seal': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x17a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x2cb): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hb528adf635c0c533E+0x354): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_open': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x189): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x38f): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17h2b4921b205dd0b5fE+0x42a): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_block': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead3gcm7Context12update_block17hb47efa26755c0f5eE+0xc): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::finish': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x129): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm6finish17h979ff4b1e8ce7b6bE+0x1a6): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::gcm::Context::update_blocks': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead3gcm7Context13update_blocks17hdd9409e27b4e0f14E+0x9): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::aes::Key::ctr32_encrypt_within': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0x2e): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17hbfca7cd03a997dcdE+0xec): undefined reference to `ring_core_0_17_8_aes_nohw_ctr32_encrypt_blocks' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::init': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xb0): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0xfa): undefined reference to `ring_core_0_17_8_aes_nohw_set_encrypt_key' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead7aes_gcm4init17h5277e4cc625c6a87E+0x1be): undefined reference to `ring_core_0_17_8_aes_nohw_encrypt' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_seal': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x4b): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x123): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x149): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x187): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x1ad): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x21a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_seal17h22a0cfd3dd62df82E+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `ring::aead::chacha20_poly1305::chacha20_poly1305_open': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x54): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0xef): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_init' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x122): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x14a): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x182): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x1b1): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x245): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_update' /usr/sbin/ld: ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN4ring4aead17chacha20_poly130522chacha20_poly1305_open17hf5897d8165c1ff3dE+0x270): undefined reference to `ring_core_0_17_8_CRYPTO_poly1305_finish' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': ssservice.3bf2d9a59c48ff16-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17h62dac5cd6fed75cbE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `spin::once::Once::try_call_once_slow': ssservice.3bf2d9a59c48ff16-cgu.0:(.text.unlikely._ZN4spin4once17Once$LT$T$C$R$GT$18try_call_once_slow17hf39a8ea4d206313fE+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_cpuid_setup' /usr/sbin/ld: /home/main-builder/pkgwork/src/shadowsocks-rust/target/release/deps/ssservice-270fdf24943b3bca.ssservice.3bf2d9a59c48ff16-cgu.0.rcgu.o: in function `::decrypt_in_place': ssservice.3bf2d9a59c48ff16-cgu.0:(.text._ZN66_$LT$ring_compat..aead..Aes128Gcm$u20$as$u20$aead..AeadInPlace$GT$16decrypt_in_place17h654b3db51e356682E+0xad): undefined reference to `ring_core_0_17_8_CRYPTO_memcmp' /usr/sbin/ld: /tmp/rustcQRygyG/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha-x86_64-elf.o): in function `ring_core_0_17_8_ChaCha20_ctr32': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha-x86_64-elf.S:52:(.text+0x11): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcQRygyG/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_ctr32_encrypt_blocks': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:369:(.text+0x4bf): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcQRygyG/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-aesni-x86_64-elf.o): in function `ring_core_0_17_8_aes_hw_set_encrypt_key': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/aesni-x86_64-elf.S:881:(.text+0xd1a): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcQRygyG/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-ghash-x86_64-elf.o): in function `ring_core_0_17_8_gcm_ghash_clmul': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/ghash-x86_64-elf.S:247:(.text+0x352): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcQRygyG/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o): in function `ring_core_0_17_8_chacha20_poly1305_open': /home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:260:(.text+0x22d): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P' /usr/sbin/ld: /tmp/rustcQRygyG/libring-4ab2942a4f13b027.rlib(6a77417a5b613f49-chacha20_poly1305_x86_64-elf.o):/home/main-builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S:2147: more undefined references to `ring_core_0_17_8_OPENSSL_ia32cap_P' follow collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) error: could not compile `shadowsocks-rust` (bin "ssservice") due to 1 previous error ==> ERROR: A failure occurred in build(). Aborting... real 3m27.478s user 12m21.053s sys 0m32.920s