Closed FauxFaux closed 6 years ago
The embedded variant is failing to build because the libgpg-error-sys crate, which it depends on, requires more recent versions of automake and gettext to build its embedded variant. After the embedded version fails to build it finds the system variant and checks that the system's version meets the version requested via feature selection, by default the version of the embedded variant:
thread 'main' panicked at 'GPGME version `1.4.3` is less than requested `1.9.0`', /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/gpgme-sys-0.6.1/build.rs:269:33
This can be fixed by updating automake and gettext (see .travis.yml for details), using a more recent version of the gpgme crate (>0.7), which uses compile time version detection instead of feature selection, or disabling the default features of the crate and selecting an appropriate minimum supported version.
[dependency.gpgme]
default-features = false
features = ["v1_4_3"]
version = "0.6"
My simple
sudo: false
Travis build fails insidegpgme-sys
. I haven't diagnosed it but thought I'd make a note here, in case anyone else has the solution.e.g. build: https://travis-ci.org/FauxFaux/fapt/jobs/331235428 travis.yml at that build: https://github.com/FauxFaux/fapt/blob/a58706d16515234224e37d1913eaceefb1b5d621/.travis.yml
My guess as to the problem is that the build of embedded gpgme is failing for some unknown reason (perhaps a submodule fetch failed?), and the exterior one is too old according to some check, even though 1.2 looks to be supported. (1.4.3 > 1.2)?
I realise the library itself builds fine on Travis normally.
Log excerpts:
...
Any suggestions appreciated, but I don't expect anyone to fix this for me.