Myxer icon indicating copy to clipboard operation
Myxer copied to clipboard

Build Fail: failed to parse the version requirement '' for dependency 'gio'

Open yemouu opened this issue 3 years ago • 3 comments

When running cargo build --release, the build fails with this message.

error: failed to parse manifest at `/home/mou/tmp/ebuild-temp/Myxer-1.2.1/Cargo.toml`

Caused by:
  failed to parse the version requirement `` for dependency `gio`

Caused by:
  unexpected end of input while parsing major version number

yemouu avatar Aug 11 '21 18:08 yemouu

You need to put the "gio" version in Cargo.toml, it seems to be needed with rust 1.54.0:

--- Cargo.toml.orig
+++ Cargo.toml
@@ -36,5 +36,5 @@ version = "0.9.0"
 features = [ "v3_22" ]
 
 [dependencies.gio]
-version = ""
+version = "0.9.1"
 features = [ "v2_44" ]

https://github.com/VixenUtils/Myxer/blob/master/Cargo.lock#L250

MikaelUrankar avatar Aug 19 '21 12:08 MikaelUrankar

PR reopened at #20

ErinvanderVeen avatar Nov 07 '21 17:11 ErinvanderVeen

Tried to install this from aur source and ran into this issue on Archlinux.

My workaround was

  • download https://aur.archlinux.org/packages/myxer
  • extract, run makepkg which will fail on the gio dependency
  • update the file src/Myxer-1.2.1/Cargo.toml as per PR suggested
  • run makepkg -e to build without extracting the source again.

When this is merged, please consider publishing a new release.

bneijt avatar Apr 05 '22 09:04 bneijt

Thank you! I know this is very late but I've merged this :)

Aurailus avatar Nov 20 '23 20:11 Aurailus