==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_8ce4aae7-1236-4bd8-acfb-5bdbc7b625d2]...done ==> Making package: sonic 1.4.0-1.1 (Sun Dec 15 16:30:20 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 (Sun Dec 15 15:30:23 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.1-1 28.29 MiB extra/llvm 18.1.8-4 108.32 MiB extra/rust 1:1.83.0-1 275.05 MiB Total Installed Size: 791.69 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 version_check v0.9.4 Downloaded once_cell v1.15.0 Downloaded cfg-if v1.0.0 Downloaded ahash v0.7.6 Downloaded shlex v1.1.0 Downloaded fxhash v0.2.1 Downloaded peeking_take_while v0.1.2 Downloaded atty v0.2.14 Downloaded static_assertions v1.1.0 Downloaded glob v0.3.0 Downloaded jobserver v0.1.25 Downloaded phf v0.11.1 Downloaded phf_shared v0.11.1 Downloaded byteorder v1.4.3 Downloaded bitflags v1.3.2 Downloaded phf_generator v0.11.1 Downloaded linked-hash-map v0.5.6 Downloaded clap_lex v0.2.4 Downloaded autocfg v1.1.0 Downloaded termcolor v1.1.3 Downloaded strsim v0.10.0 Downloaded utf8-ranges v1.0.5 Downloaded siphasher v0.3.10 Downloaded unicode-segmentation v1.10.0 Downloaded unicode-ident v1.0.5 Downloaded cfg-if v0.1.10 Downloaded fs_extra v1.2.0 Downloaded textwrap v0.15.1 Downloaded indexmap v1.9.1 Downloaded regex-syntax v0.3.9 Downloaded nom v7.1.1 Downloaded aho-corasick v0.7.19 Downloaded bindgen v0.59.2 Downloaded regex v1.6.0 Downloaded regex-syntax v0.6.27 Downloaded syn v1.0.102 Downloaded rand v0.8.5 Downloaded hashbrown v0.12.3 Downloaded minimal-lexical v0.2.1 Downloaded cc v1.0.73 Downloaded serde v1.0.145 Downloaded clang-sys v1.4.0 Downloaded memchr v2.5.0 Downloaded smallvec v1.10.0 Downloaded log v0.4.17 Downloaded cexpr v0.6.0 Downloaded libloading v0.7.3 Downloaded proc-macro2 v1.0.47 Downloaded serde_derive v1.0.145 Downloaded quote v1.0.21 Downloaded ppv-lite86 v0.2.16 Downloaded lazy_static v1.4.0 Downloaded linked_hash_set v0.1.4 Downloaded lazycell v1.3.0 Downloaded rustc-hash v1.1.0 Downloaded rand_chacha v0.3.1 Downloaded rand_core v0.6.4 Downloaded twox-hash v1.6.3 Downloaded librocksdb-sys v6.20.3 Downloaded radix v0.6.0 Downloaded phf_codegen v0.11.1 Downloaded memmap v0.6.2 Downloaded cedarwood v0.4.6 Downloaded tikv-jemallocator v0.4.3 Downloaded fst-levenshtein v0.3.0 Downloaded fst-regex v0.3.0 Downloaded toml v0.5.9 Downloaded os_str_bytes v6.3.0 Downloaded whatlang v0.16.1 Downloaded rocksdb v0.17.0 Downloaded nix v0.18.0 Downloaded clap v3.2.22 Downloaded libc v0.2.135 Downloaded tikv-jemalloc-sys v0.4.3+5.2.1-patched.2 Downloaded fst v0.3.5 Downloaded jieba-rs v0.6.7 ==> Starting pkgver()... ==> Starting build()... Compiling libc v0.2.135 Compiling cfg-if v1.0.0 Compiling memchr v2.5.0 Compiling proc-macro2 v1.0.47 Compiling unicode-ident v1.0.5 Compiling glob v0.3.0 Compiling quote v1.0.21 Compiling version_check v0.9.4 Compiling ppv-lite86 v0.2.16 Compiling minimal-lexical v0.2.1 Compiling regex-syntax v0.6.27 Compiling libloading v0.7.3 Compiling once_cell v1.15.0 Compiling siphasher v0.3.10 Compiling bindgen v0.59.2 Compiling peeking_take_while v0.1.2 Compiling phf_shared v0.11.1 Compiling byteorder v1.4.3 Compiling shlex v1.1.0 Compiling lazycell v1.3.0 Compiling ahash v0.7.6 Compiling lazy_static v1.4.0 Compiling rustc-hash v1.1.0 Compiling bitflags v1.3.2 Compiling fs_extra v1.2.0 Compiling autocfg v1.1.0 Compiling clang-sys v1.4.0 Compiling serde v1.0.145 Compiling syn v1.0.102 Compiling aho-corasick v0.7.19 Compiling nom v7.1.1 Compiling nix v0.18.0 Compiling smallvec v1.10.0 Compiling indexmap v1.9.1 Compiling serde_derive v1.0.145 Compiling utf8-ranges v1.0.5 Compiling log v0.4.17 Compiling os_str_bytes v6.3.0 Compiling cedarwood v0.4.6 Compiling jobserver v0.1.25 Compiling getrandom v0.2.7 Compiling cc v1.0.73 Compiling rand_core v0.6.4 Compiling regex v1.6.0 Compiling rand_chacha v0.3.1 Compiling hashbrown v0.12.3 Compiling rand v0.8.5 Compiling memmap v0.6.2 Compiling fst v0.3.5 Compiling cexpr v0.6.0 Compiling tikv-jemalloc-sys v0.4.3+5.2.1-patched.2 Compiling phf_generator v0.11.1 Compiling phf_codegen v0.11.1 Compiling atty v0.2.14 Compiling clap_lex v0.2.4 Compiling jieba-rs v0.6.7 Compiling phf v0.11.1 Compiling fxhash v0.2.1 Compiling cfg-if v0.1.10 Compiling static_assertions v1.1.0 Compiling textwrap v0.15.1 Compiling linked-hash-map v0.5.6 Compiling termcolor v1.1.3 Compiling strsim v0.10.0 Compiling regex-syntax v0.3.9 Compiling clap v3.2.22 Compiling linked_hash_set v0.1.4 Compiling twox-hash v1.6.3 Compiling fst-regex v0.3.0 Compiling fst-levenshtein v0.3.0 Compiling whatlang v0.16.1 Compiling unicode-segmentation v1.10.0 Compiling radix v0.6.0 Compiling toml v0.5.9 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-4a530b33314fa48e/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 warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_8ce4aae7-1236-4bd8-acfb-5bdbc7b625d2/build