==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_99d17718-c727-4ad8-b61c-85358b20599e]...done ==> Making package: sonic 1.4.0-1.1 (Wed Nov 20 20:23:06 2024) ==> Retrieving sources... -> Cloning sonic git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v4/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:23:09 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 getrandom v0.2.7 Downloaded cfg-if v1.0.0 Downloaded shlex v1.1.0 Downloaded static_assertions v1.1.0 Downloaded rand_core v0.6.4 Downloaded jobserver v0.1.25 Downloaded rustc-hash v1.1.0 Downloaded rand_chacha v0.3.1 Downloaded ppv-lite86 v0.2.16 Downloaded glob v0.3.0 Downloaded version_check v0.9.4 Downloaded memchr v2.5.0 Downloaded ahash v0.7.6 Downloaded once_cell v1.15.0 Downloaded twox-hash v1.6.3 Downloaded quote v1.0.21 Downloaded unicode-ident v1.0.5 Downloaded proc-macro2 v1.0.47 Downloaded cc v1.0.73 Downloaded peeking_take_while v0.1.2 Downloaded rand v0.8.5 Downloaded clang-sys v1.4.0 Downloaded lazy_static v1.4.0 Downloaded unicode-segmentation v1.10.0 Downloaded fxhash v0.2.1 Downloaded libloading v0.7.3 Downloaded hashbrown v0.12.3 Downloaded atty v0.2.14 Downloaded phf_generator v0.11.1 Downloaded siphasher v0.3.10 Downloaded os_str_bytes v6.3.0 Downloaded autocfg v1.1.0 Downloaded phf v0.11.1 Downloaded indexmap v1.9.1 Downloaded bindgen v0.59.2 Downloaded regex-syntax v0.6.27 Downloaded minimal-lexical v0.2.1 Downloaded nom v7.1.1 Downloaded aho-corasick v0.7.19 Downloaded libc v0.2.135 Downloaded regex v1.6.0 Downloaded syn v1.0.102 Downloaded clap v3.2.22 Downloaded log v0.4.17 Downloaded smallvec v1.10.0 Downloaded cedarwood v0.4.6 Downloaded clap_lex v0.2.4 Downloaded strsim v0.10.0 Downloaded termcolor v1.1.3 Downloaded utf8-ranges v1.0.5 Downloaded byteorder v1.4.3 Downloaded phf_shared v0.11.1 Downloaded cfg-if v0.1.10 Downloaded cexpr v0.6.0 Downloaded linked-hash-map v0.5.6 Downloaded linked_hash_set v0.1.4 Downloaded bitflags v1.3.2 Downloaded lazycell v1.3.0 Downloaded serde v1.0.145 Downloaded serde_derive v1.0.145 Downloaded toml v0.5.9 Downloaded tikv-jemallocator v0.4.3 Downloaded fs_extra v1.2.0 Downloaded tikv-jemalloc-sys v0.4.3+5.2.1-patched.2 Downloaded radix v0.6.0 Downloaded fst-levenshtein v0.3.0 Downloaded regex-syntax v0.3.9 Downloaded memmap v0.6.2 Downloaded phf_codegen v0.11.1 Downloaded fst-regex v0.3.0 Downloaded textwrap v0.15.1 Downloaded rocksdb v0.17.0 Downloaded whatlang v0.16.1 Downloaded nix v0.18.0 Downloaded fst v0.3.5 Downloaded jieba-rs v0.6.7 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 glob v0.3.0 Compiling quote v1.0.21 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 bindgen v0.59.2 Compiling libloading v0.7.3 Compiling once_cell v1.15.0 Compiling siphasher v0.3.10 Compiling regex-syntax v0.6.27 Compiling phf_shared v0.11.1 Compiling peeking_take_while v0.1.2 Compiling shlex v1.1.0 Compiling bitflags v1.3.2 Compiling lazy_static v1.4.0 Compiling byteorder v1.4.3 Compiling lazycell v1.3.0 Compiling rustc-hash v1.1.0 Compiling autocfg v1.1.0 Compiling fs_extra v1.2.0 Compiling syn v1.0.102 Compiling serde v1.0.145 Compiling aho-corasick v0.7.19 Compiling ahash v0.7.6 Compiling nom v7.1.1 Compiling clang-sys v1.4.0 Compiling getrandom v0.2.7 Compiling jobserver v0.1.25 Compiling indexmap v1.9.1 Compiling cc v1.0.73 Compiling rand_core v0.6.4 Compiling memmap v0.6.2 Compiling hashbrown v0.12.3 Compiling regex v1.6.0 Compiling rand_chacha v0.3.1 Compiling fst v0.3.5 Compiling rand v0.8.5 Compiling log v0.4.17 Compiling nix v0.18.0 Compiling cexpr v0.6.0 Compiling phf_generator v0.11.1 Compiling os_str_bytes v6.3.0 Compiling phf_codegen v0.11.1 Compiling utf8-ranges v1.0.5 Compiling jieba-rs v0.6.7 Compiling serde_derive v1.0.145 Compiling smallvec v1.10.0 Compiling cedarwood v0.4.6 Compiling clap_lex v0.2.4 Compiling phf v0.11.1 Compiling atty v0.2.14 Compiling fxhash v0.2.1 Compiling textwrap v0.15.1 Compiling termcolor v1.1.3 Compiling linked-hash-map v0.5.6 Compiling regex-syntax v0.3.9 Compiling static_assertions v1.1.0 Compiling strsim v0.10.0 Compiling cfg-if v0.1.10 Compiling clap v3.2.22 Compiling tikv-jemalloc-sys v0.4.3+5.2.1-patched.2 Compiling fst-regex v0.3.0 Compiling linked_hash_set v0.1.4 Compiling toml v0.5.9 Compiling twox-hash v1.6.3 Compiling fst-levenshtein v0.3.0 Compiling whatlang v0.16.1 Compiling radix v0.6.0 Compiling unicode-segmentation v1.10.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_99d17718-c727-4ad8-b61c-85358b20599e/build