Git Product home page Git Product logo

blkid-sys's People

Contributors

apostoln avatar cholcombe973 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

blkid-sys's Issues

Crate's build is broken on Fedora 38 with clang/LLVM 16

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.