Aurailus / Myxer

A modern Volume Mixer for PulseAudio.

Home Page:https://myxer.aurailus.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

yemouu opened this issue · comments

commented

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

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

PR reopened at #20

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.

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