Thanks Anne and Dennis. After I installed the dbus and systemd devel
packages the build completed fine.
[root@vm37-224 stratisd]# make build
PKG_CONFIG_ALLOW_CROSS=1 \
RUSTFLAGS="-D warnings -D future-incompatible -D unused -D
bare-trait-objects -D ellipsis-inclusive-range-patterns -D
unused-extern-crates" \
cargo build
Compiling libc v0.2.55
Compiling cc v1.0.3
.....
.....
Compiling devicemapper v0.28.0
Compiling libstratis v2.0.0 (/home/ronald/GPL/stratisd)
Finished dev [unoptimized + debuginfo] target(s) in 1m 16s
[root@vm37-224 stratisd]#
Alongside the below thread panic message that I got initially during the
build, I suppose is related to the build failure itself , no ? Can it be
safely ignored?
========
error: failed to run custom build command for `libdbus-sys v0.1.5`
Caused by:
process didn't exit successfully: `/home/ron/GPL/stratisd/
target/debug/build/libdbus-sys-6aa7ee592b8f9632/build-script-build` (exit
code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
Failure { command: "\"pkg-config\" \"--libs\"
\"--cflags\" \"dbus-1 >=
1.6\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout:
"",
stderr: "Package dbus-1 was not found in the pkg-config search
path.\nPerhaps you should add the directory containing `dbus-1.pc\'\nto the
PKG_CONFIG_PATH environment variable\nPackage \'dbus-1\', required by
\'virtual:world\', not found\n" } }', src/libcore/result.rs:999:5
note: run with `RUST_BACKTRACE=1` environment variable to display a
backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
[root@vm37-224 stratisd]#
=============
Cheers
R
On Thu, Jan 16, 2020 at 4:10 AM Dennis Keefe <dkeefe(a)redhat.com> wrote:
Agreed. It is likely that you need dbus-devel installed. Another
package
you might need to
install is systemd-devel.
-Dennis
On Wed, Jan 15, 2020 at 8:56 AM Anne Mulhern <amulhern(a)redhat.com> wrote:
> Hi!
>
> stratisd depends on the dbus Rust crate:
https://crates.io/crates/dbus.
>
> That crate relies on various dbus libraries and for some reason can't
> find the one it needs.
>
> There is some information in the stratisd README:
>
https://github.com/stratis-storage/stratisd#secondary-dependencies,
> but essentially what it's saying is that you have to figure out where
> your distribution stows the necessary dependencies.
> There is some info in the dbus crate README as well.
>
> Hope that helps.
> _______________________________________________
> stratis-devel mailing list -- stratis-devel(a)lists.fedorahosted.org
> To unsubscribe send an email to
> stratis-devel-leave(a)lists.fedorahosted.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedorahosted.org/archives/list/stratis-devel@lists.fedoraho...
>
_______________________________________________
stratis-devel mailing list -- stratis-devel(a)lists.fedorahosted.org
To unsubscribe send an email to stratis-devel-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/stratis-devel@lists.fedoraho...