FS#67168 - [rust-bindgen] Add missing clang dependency

Attached to Project: Community Packages
Opened by Link Mauve (linkmauve) - Wednesday, 01 July 2020, 17:26 GMT
Last edited by Felix Yan (felixonmars) - Friday, 17 July 2020, 11:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Without libclang installed, bindgen fails to do anything:
```
thread 'main' panicked at 'Unable to find libclang: "couldn\'t find any valid shared libraries matching: [\'libclang.so\', \'libclang-*.so\', \'libclang.so.*\'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', src/lib.rs:1959:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

Additional info:
* package version(s)
0.54.0
* config and/or log files etc.
N/A
* link to upstream bug report, if any
N/A

Steps to reproduce:
- Install community/rust-bindgen
- Make sure extra/clang isn’t installed
- Write a small C header
- Run `bindgen` on it
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 17 July 2020, 11:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.54.0-2

Loading...