From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id E3FB1643E2; Tue, 6 Oct 2020 15:19:28 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id DB4A026211; Tue, 6 Oct 2020 15:18:58 +0200 (CEST) Received: from za.albalogic.fr (za.albalogic.fr [178.32.101.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 6DC532697C; Tue, 6 Oct 2020 15:18:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by za.albalogic.fr (Postfix) with ESMTP id D6A17C10A95; Tue, 6 Oct 2020 15:12:58 +0200 (CEST) Received: from za.albalogic.fr ([127.0.0.1]) by localhost (za.albalogic.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id VG2vEtsr_iV8; Tue, 6 Oct 2020 15:12:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by za.albalogic.fr (Postfix) with ESMTP id 51D2AC107FE; Tue, 6 Oct 2020 15:12:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at za.albalogic.fr Received: from za.albalogic.fr ([127.0.0.1]) by localhost (za.albalogic.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BQoWb6lg-qn5; Tue, 6 Oct 2020 15:12:58 +0200 (CEST) Received: from za.albalogic.fr (za.albalogic.fr [178.32.101.6]) by za.albalogic.fr (Postfix) with ESMTP id 47E95C10937; Tue, 6 Oct 2020 15:12:58 +0200 (CEST) Date: Tue, 6 Oct 2020 15:12:58 +0200 (CEST) From: Lee Lists To: Proxmox VE user list Cc: PVE User List , pve-devel , pbs-devel@lists.proxmox.com Message-ID: <1153337992.28651.1601989978270.JavaMail.zimbra@jave.fr> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [192.168.3.20] X-Mailer: Zimbra 8.8.15_GA_3959 (ZimbraWebClient - GC84 (Linux)/8.8.15_GA_3953) Thread-Topic: Proxmox Backup Server (beta) Thread-Index: OUySqtARzKzy2Fodaz4/9AO+9NM9Uw== X-SPAM-LEVEL: Spam detection results: 0 JMQ_SPF_NEUTRAL 0.5 SPF set to ?all KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [lib.rs] Subject: Re: [pve-devel] [PVE-User] Proxmox Backup Server (beta) X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2020 13:19:28 -0000 Hi, I'm trying to build proxmox backup server from source, but the build failed in compiling zstd lib bindings. Any clues ? Thanks, Jurgen Fresh pxar v0.6.1 (/root/pxar) Fresh proxmox-fuse v0.1.0 (/root/proxmox-fuse) Fresh hyper v0.13.8 Compiling proxmox v0.4.2 (/root/proxmox/proxmox) Fresh bindgen v0.49.4 Running `rustc --crate-name proxmox --edition=3D2018 /root/proxmox/pro= xmox/src/lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,art= ifacts --crate-type lib --emit=3Ddep-info,metadata,link -C embed-bitcode=3D= no -C debuginfo=3D2 --cfg 'feature=3D"api-macro"' --cfg 'feature=3D"cli"' -= -cfg 'feature=3D"default"' --cfg 'feature=3D"futures"' --cfg 'feature=3D"hy= per"' --cfg 'feature=3D"openssl"' --cfg 'feature=3D"proxmox-api-macro"' --c= fg 'feature=3D"proxmox-sortable-macro"' --cfg 'feature=3D"router"' --cfg 'f= eature=3D"sortable-macro"' --cfg 'feature=3D"tokio"' --cfg 'feature=3D"webs= ocket"' -C metadata=3D494ea91d58d02b19 -C extra-filename=3D-494ea91d58d02b1= 9 --out-dir /root/proxmox-backup/target/debug/deps -C incremental=3D/root/p= roxmox-backup/target/debug/incremental -L dependency=3D/root/proxmox-backup= /target/debug/deps --extern anyhow=3D/root/proxmox-backup/target/debug/deps= /libanyhow-547643689d8f1fe1.rmeta --extern base64=3D/root/proxmox-backup/ta= rget/debug/deps/libbase64-75b6df1cdb5dcedb.rmeta --extern bytes=3D/root/pro= xmox-backup/target/debug/deps/libbytes-de79ab6ad237b260.rmeta --extern endi= an_trait=3D/root/proxmox-backup/target/debug/deps/libendian_trait-8410c7a3f= 7fc6de5.rmeta --extern futures=3D/root/proxmox-backup/target/debug/deps/lib= futures-68cbc13a6c4e5d08.rmeta --extern http=3D/root/proxmox-backup/target/= debug/deps/libhttp-4f2085239d8db6c5.rmeta --extern hyper=3D/root/proxmox-ba= ckup/target/debug/deps/libhyper-33e2f11afaf2d6cd.rmeta --extern lazy_static= =3D/root/proxmox-backup/target/debug/deps/liblazy_static-9441bed367485869.r= meta --extern libc=3D/root/proxmox-backup/target/debug/deps/liblibc-85afcfd= 6d5dd745a.rmeta --extern nix=3D/root/proxmox-backup/target/debug/deps/libni= x-19850f768394dcc5.rmeta --extern openssl=3D/root/proxmox-backup/target/deb= ug/deps/libopenssl-a45d25e9645a7846.rmeta --extern percent_encoding=3D/root= /proxmox-backup/target/debug/deps/libpercent_encoding-00fe2006917413e4.rmet= a --extern proxmox_api_macro=3D/root/proxmox-backup/target/debug/deps/libpr= oxmox_api_macro-45b1df18057a8628.so --extern proxmox_sortable_macro=3D/root= /proxmox-backup/target/debug/deps/libproxmox_sortable_macro-e0ce43c23fa4803= c.so --extern regex=3D/root/proxmox-backup/target/debug/deps/libregex-37b4c= 1de7b101096.rmeta --extern rustyline=3D/root/proxmox-backup/target/debug/de= ps/librustyline-201c56bc71ec2bb7.rmeta --extern serde=3D/root/proxmox-backu= p/target/debug/deps/libserde-75724b33e89dcb58.rmeta --extern serde_derive= =3D/root/proxmox-backup/target/debug/deps/libserde_derive-e6d2c9cdac5acf10.= so --extern serde_json=3D/root/proxmox-backup/target/debug/deps/libserde_js= on-caf74f34e0a23558.rmeta --extern textwrap=3D/root/proxmox-backup/target/d= ebug/deps/libtextwrap-8dccd2a72ee64e9e.rmeta --extern tokio=3D/root/proxmox= -backup/target/debug/deps/libtokio-8c2cdd714cabf70e.rmeta --extern url=3D/r= oot/proxmox-backup/target/debug/deps/liburl-0b6b3b5adf147475.rmeta` Compiling zstd-sys v1.4.13+zstd.1.4.3 Running `/root/proxmox-backup/target/debug/build/zstd-sys-0efc8671c6ad= 61e7/build-script-build` error: failed to run custom build command for `zstd-sys v1.4.13+zstd.1.4.3` Caused by: process didn't exit successfully: `/root/proxmox-backup/target/debug/buil= d/zstd-sys-0efc8671c6ad61e7/build-script-build` (exit code: 101) ... ... ... running: "ar" "crs" "/root/proxmox-backup/target/debug/build/zstd-sys-c18= e259b2d671f1b/out/libzstd.a" "/root/proxmox-backup/target/debug/build/zstd-= sys-c18e259b2d671f1b/out/zstd/lib/common/debug.o" "/root/proxmox-backup/tar= get/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/common/entropy_commo= n.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out= /zstd/lib/common/error_private.o" "/root/proxmox-backup/target/debug/build/= zstd-sys-c18e259b2d671f1b/out/zstd/lib/common/fse_decompress.o" "/root/prox= mox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/common= /pool.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b= /out/zstd/lib/common/threading.o" "/root/proxmox-backup/target/debug/build/= zstd-sys-c18e259b2d671f1b/out/zstd/lib/common/xxhash.o" "/root/proxmox-back= up/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/common/zstd_co= mmon.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/= out/zstd/lib/compress/fse_compress.o" "/root/proxmox-backup/target/debug/bu= ild/zstd-sys-c18e259b2d671f1b/out/zstd/lib/compress/hist.o" "/root/proxmox-= backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/compress/h= uf_compress.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d= 671f1b/out/zstd/lib/compress/zstd_compress.o" "/root/proxmox-backup/target/= debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/compress/zstd_compress_l= iterals.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f= 1b/out/zstd/lib/compress/zstd_compress_sequences.o" "/root/proxmox-backup/t= arget/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/compress/zstd_doub= le_fast.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f= 1b/out/zstd/lib/compress/zstd_fast.o" "/root/proxmox-backup/target/debug/bu= ild/zstd-sys-c18e259b2d671f1b/out/zstd/lib/compress/zstd_lazy.o" "/root/pro= xmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/compr= ess/zstd_ldm.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2= d671f1b/out/zstd/lib/compress/zstd_opt.o" "/root/proxmox-backup/target/debu= g/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/compress/zstdmt_compress.o" = "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd= /lib/decompress/huf_decompress.o" "/root/proxmox-backup/target/debug/build/= zstd-sys-c18e259b2d671f1b/out/zstd/lib/decompress/zstd_ddict.o" "/root/prox= mox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/decomp= ress/zstd_decompress.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c= 18e259b2d671f1b/out/zstd/lib/decompress/zstd_decompress_block.o" "/root/pro= xmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/legac= y/zstd_v01.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d6= 71f1b/out/zstd/lib/legacy/zstd_v02.o" "/root/proxmox-backup/target/debug/bu= ild/zstd-sys-c18e259b2d671f1b/out/zstd/lib/legacy/zstd_v03.o" "/root/proxmo= x-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/legacy/z= std_v04.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f= 1b/out/zstd/lib/legacy/zstd_v05.o" "/root/proxmox-backup/target/debug/build= /zstd-sys-c18e259b2d671f1b/out/zstd/lib/legacy/zstd_v06.o" "/root/proxmox-b= ackup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/legacy/zstd= _v07.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/= out/zstd/lib/dictBuilder/cover.o" "/root/proxmox-backup/target/debug/build/= zstd-sys-c18e259b2d671f1b/out/zstd/lib/dictBuilder/divsufsort.o" "/root/pro= xmox-backup/target/debug/build/zstd-sys-c18e259b2d671f1b/out/zstd/lib/dictB= uilder/fastcover.o" "/root/proxmox-backup/target/debug/build/zstd-sys-c18e2= 59b2d671f1b/out/zstd/lib/dictBuilder/zdict.o" exit code: 0 cargo:rustc-link-lib=3Dstatic=3Dzstd cargo:rustc-link-search=3Dnative=3D/root/proxmox-backup/target/debug/buil= d/zstd-sys-c18e259b2d671f1b/out cargo:root=3D/root/proxmox-backup/target/debug/build/zstd-sys-c18e259b2d6= 71f1b/out --- stderr ./zstd/lib/zstd.h:18:10: fatal error: 'stddef.h' file not found ./zstd/lib/zstd.h:18:10: fatal error: 'stddef.h' file not found, err: tru= e thread 'main' panicked at 'Unable to generate bindings: ()', /root/.cargo= /registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.4.13+zstd.1.4.3/build.= rs:33:40 note: run with `RUST_BACKTRACE=3D1` environment variable to display a bac= ktrace