cholcombe973 / blkid-sys Goto Github PK
View Code? Open in Web Editor NEWRust raw blkid-sys FFI bindings
License: MIT License
Rust raw blkid-sys FFI bindings
License: MIT License
Clang/LLVM versions:
$ clang -v
clang version 16.0.2 (Fedora 16.0.2-1.fc38)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/13
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/13
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
$ llvm-link --version
LLVM (http://llvm.org/):
LLVM version 16.0.2
Optimized build.
Build failure:
$ cargo build
Updating crates.io index
Compiling libc v0.2.144
Compiling memchr v2.5.0
Compiling glob v0.3.1
Compiling version_check v0.9.4
Compiling cfg-if v1.0.0
Compiling log v0.4.17
Compiling proc-macro2 v1.0.58
Compiling quote v1.0.27
Compiling nom v5.1.3
Compiling clang-sys v1.6.1
Compiling unicode-width v0.1.10
Compiling regex-syntax v0.7.1
Compiling unicode-ident v1.0.8
Compiling aho-corasick v1.0.1
Compiling textwrap v0.11.0
Compiling atty v0.2.14
Compiling libloading v0.7.4
Compiling vec_map v0.8.2
Compiling bitflags v1.3.2
Compiling termcolor v1.2.0
Compiling bindgen v0.58.1
Compiling ansi_term v0.12.1
Compiling strsim v0.8.0
Compiling humantime v2.1.0
Compiling regex v1.8.1
Compiling cexpr v0.4.0
Compiling clap v2.34.0
Compiling env_logger v0.8.4
Compiling which v3.1.1
Compiling shlex v1.1.0
Compiling lazycell v1.3.0
Compiling lazy_static v1.4.0
Compiling rustc-hash v1.1.0
Compiling peeking_take_while v0.1.2
Compiling blkid-sys v0.1.6 (/home/elastio/blkid-sys)
error: failed to run custom build command for `blkid-sys v0.1.6 (/home/elastio/blkid-sys)`
Caused by:
process didn't exit successfully: `/home/elastio/blkid-sys/target/debug/build/blkid-sys-d8e9363a725a341b/build-script-build` (exit status: 101)
--- stdout
cargo:rustc-link-lib=blkid
--- stderr
thread 'main' panicked at '"__atomic_wide_counter_struct_(unnamed_at_/usr/include/bits/atomic_wide_counter_h_28_3)" is not a valid Ident', /home/elastio/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.58/src/fallback.rs:811:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The cause of the problem is in the bindgen
dependency which is fixed in version 0.65. See rust-lang/rust-bindgen#2488
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.