Bug 402528

Summary: Build breaks on Fedora 28
Product: [Unmaintained] rust-qt-binding-generator Reporter: kdebuac.rhn
Component: generalAssignee: Jos van den Oever <jos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kdebuac.rhn 2018-12-24 12:55:30 UTC
SUMMARY
Build broken by 325ffc2a2c840b3a858d7cf55da4b7682292ff16 on Fedora 28. The path used to find Cargo.toml is invalid. Fix available in https://gitlab.com/rhn_mk1/rust-qt-bindings-generator/commit/d67e428ad34b5e9abb5f3d45782a1b5a62cc7dc2

STEPS TO REPRODUCE
0. git clone $rust-qt-binding-generator
1. mkdir build
2. cd build
3. cmake ../rust-qt-binding-generator
4. make

OBSERVED RESULT

    Finished release [optimized] target(s) in 3m 42s                         
[  1%] Built target rust_qt_binding_generator
Scanning dependencies of target test_rust_functions
[  2%] Generating /foo/rq-bindgen/tests/rust_functions/src/interface.rs, /foo/rq-bindgen/tests/test_functions_rust.h, /foo/rq-bindgen/tests/test_functions_rust.cpp
No such file or directory (os error 2)
make[2]: *** [tests/CMakeFiles/test_rust_functions.dir/build.make:67: /foo/rq-bindgen/tests/rust_functions/src/interface.rs] Error 1
make[1]: *** [CMakeFiles/Makefile2:287: tests/CMakeFiles/test_rust_functions.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

EXPECTED RESULT
Success

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 28
Comment 1 Jos van den Oever 2019-02-08 21:03:40 UTC
Thanks for the report and the fix. The fixed version is available as 0.3.1.