==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_fa31f571-e3f1-4dee-ad58-743994c6fe9c]...done ==> Making package: sonic 1.4.0-1.1 (Wed Nov 20 20:24:08 2024) ==> Retrieving sources... -> Cloning sonic git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/sonic-1.4.0-1/sonic'... -> Found systemd.service -> Found sysusers.conf -> Found tmpfiles.conf ==> Validating source files with sha512sums... sonic ... Skipped systemd.service ... Passed sysusers.conf ... Passed tmpfiles.conf ... Passed ==> Validating source files with b2sums... sonic ... Skipped systemd.service ... Passed sysusers.conf ... Passed tmpfiles.conf ... Passed ==> Making package: sonic 1.4.0-1.1 (Wed Nov 20 20:24:16 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (10) New Version Net Change extra/compiler-rt 18.1.8-1 40.51 MiB core/libedit 20240517_3.1-1 0.27 MiB extra/llvm-libs 18.1.8-4 128.31 MiB extra/perl-error 0.17029-7 0.04 MiB extra/perl-mailtools 2.21-9 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/clang 18.1.8-4 210.72 MiB extra/git 2.47.0-1 28.29 MiB extra/llvm 18.1.8-4 108.32 MiB extra/rust 1:1.82.0-2 271.52 MiB Total Installed Size: 788.16 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: 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] installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format llvm: referenced by some clang headers [pending] installing llvm... :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules ==> Retrieving sources... -> Found systemd.service -> Found sysusers.conf -> Found tmpfiles.conf ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of sonic git repo... Cloning into 'sonic'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... Updating crates.io index Downloading crates ... Downloaded once_cell v1.15.0 Downloaded cfg-if v1.0.0 Downloaded ahash v0.7.6 Downloaded tikv-jemallocator v0.4.3 Downloaded memmap v0.6.2 Downloaded getrandom v0.2.7 Downloaded radix v0.6.0 Downloaded rustc-hash v1.1.0 Downloaded ppv-lite86 v0.2.16 Downloaded twox-hash v1.6.3 Downloaded libloading v0.7.3 Downloaded version_check v0.9.4 Downloaded indexmap v1.9.1 Downloaded whatlang v0.16.1 Downloaded static_assertions v1.1.0 Downloaded unicode-segmentation v1.10.0 Downloaded regex-syntax v0.3.9 Downloaded proc-macro2 v1.0.47 Downloaded cc v1.0.73 Downloaded toml v0.5.9 Downloaded libc v0.2.135 Downloaded cexpr v0.6.0 Downloaded atty v0.2.14 Downloaded os_str_bytes v6.3.0 Downloaded smallvec v1.10.0 Downloaded textwrap v0.15.1 Downloaded siphasher v0.3.10 Downloaded cfg-if v0.1.10 Downloaded clang-sys v1.4.0 Downloaded clap_lex v0.2.4 Downloaded autocfg v1.1.0 Downloaded strsim v0.10.0 Downloaded termcolor v1.1.3 Downloaded utf8-ranges v1.0.5 Downloaded fst-regex v0.3.0 Downloaded cedarwood v0.4.6 Downloaded byteorder v1.4.3 Downloaded log v0.4.17 Downloaded fxhash v0.2.1 Downloaded phf v0.11.1 Downloaded phf_generator v0.11.1 Downloaded phf_shared v0.11.1 Downloaded phf_codegen v0.11.1 Downloaded linked-hash-map v0.5.6 Downloaded linked_hash_set v0.1.4 Downloaded bitflags v1.3.2 Downloaded syn v1.0.102 Downloaded fst-levenshtein v0.3.0 Downloaded lazy_static v1.4.0 Downloaded lazycell v1.3.0 Downloaded shlex v1.1.0 Downloaded rocksdb v0.17.0 Downloaded serde v1.0.145 Downloaded peeking_take_while v0.1.2 Downloaded glob v0.3.0 Downloaded jieba-rs v0.6.7 Downloaded tikv-jemalloc-sys v0.4.3+5.2.1-patched.2 Downloaded unicode-ident v1.0.5 Downloaded jobserver v0.1.25 Downloaded rand_chacha v0.3.1 Downloaded rand_core v0.6.4 Downloaded rand v0.8.5 Downloaded hashbrown v0.12.3 Downloaded memchr v2.5.0 Downloaded regex v1.6.0 Downloaded nom v7.1.1 Downloaded aho-corasick v0.7.19 Downloaded bindgen v0.59.2 Downloaded minimal-lexical v0.2.1 Downloaded nix v0.18.0 Downloaded quote v1.0.21 Downloaded serde_derive v1.0.145 Downloaded clap v3.2.22 Downloaded fs_extra v1.2.0 Downloaded regex-syntax v0.6.27 Downloaded fst v0.3.5 Downloaded librocksdb-sys v6.20.3 ==> Starting pkgver()... ==> Starting build()... Compiling libc v0.2.135 Compiling memchr v2.5.0 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.47 Compiling quote v1.0.21 Compiling glob v0.3.0 Compiling unicode-ident v1.0.5 Compiling version_check v0.9.4 Compiling minimal-lexical v0.2.1 Compiling ppv-lite86 v0.2.16 Compiling once_cell v1.15.0 Compiling libloading v0.7.3 Compiling regex-syntax v0.6.27 Compiling bindgen v0.59.2 Compiling siphasher v0.3.10 Compiling bitflags v1.3.2 Compiling rustc-hash v1.1.0 Compiling shlex v1.1.0 Compiling phf_shared v0.11.1 Compiling peeking_take_while v0.1.2 Compiling byteorder v1.4.3 Compiling lazycell v1.3.0 Compiling lazy_static v1.4.0 Compiling autocfg v1.1.0 Compiling fs_extra v1.2.0 Compiling serde v1.0.145 Compiling syn v1.0.102 Compiling ahash v0.7.6 Compiling aho-corasick v0.7.19 Compiling nom v7.1.1 Compiling smallvec v1.10.0 Compiling clang-sys v1.4.0 Compiling nix v0.18.0 Compiling utf8-ranges v1.0.5 Compiling getrandom v0.2.7 Compiling jobserver v0.1.25 Compiling regex v1.6.0 Compiling cc v1.0.73 Compiling rand_core v0.6.4 Compiling rand_chacha v0.3.1 Compiling hashbrown v0.12.3 Compiling rand v0.8.5 Compiling indexmap v1.9.1 Compiling memmap v0.6.2 Compiling cexpr v0.6.0 Compiling phf_generator v0.11.1 Compiling phf_codegen v0.11.1 Compiling fst v0.3.5 Compiling jieba-rs v0.6.7 Compiling os_str_bytes v6.3.0 Compiling log v0.4.17 Compiling serde_derive v1.0.145 Compiling clap_lex v0.2.4 Compiling atty v0.2.14 Compiling cedarwood v0.4.6 Compiling phf v0.11.1 Compiling fxhash v0.2.1 Compiling cfg-if v0.1.10 Compiling linked-hash-map v0.5.6 Compiling strsim v0.10.0 Compiling static_assertions v1.1.0 Compiling termcolor v1.1.3 Compiling textwrap v0.15.1 Compiling regex-syntax v0.3.9 Compiling clap v3.2.22 Compiling fst-regex v0.3.0 Compiling twox-hash v1.6.3 Compiling tikv-jemalloc-sys v0.4.3+5.2.1-patched.2 Compiling linked_hash_set v0.1.4 Compiling toml v0.5.9 Compiling fst-levenshtein v0.3.0 Compiling whatlang v0.16.1 Compiling unicode-segmentation v1.10.0 Compiling radix v0.6.0 Compiling tikv-jemallocator v0.4.3 Compiling librocksdb-sys v6.20.3 error: failed to run custom build command for `librocksdb-sys v6.20.3` Caused by: process didn't exit successfully: `/startdir/src/sonic/target/release/build/librocksdb-sys-fa83d343afec4bb0/build-script-build` (exit status: 101) --- stderr thread 'main' panicked at /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.47/src/fallback.rs:756:9: "enum_(unnamed_at_rocksdb/include/rocksdb/c_h_854_1)" is not a valid Ident note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_fa31f571-e3f1-4dee-ad58-743994c6fe9c/build