Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
yemouu opened this issue Aug 11, 2021 · 4 comments
Closed

Comments

@yemouu
Copy link

yemouu commented Aug 11, 2021

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 yemouu changed the title Build Fail: failed to parse the version requirement ` for dependency gio` Build Fail: failed to parse the version requirement '' for dependency 'gio' Aug 11, 2021
yemouu pushed a commit to yemouu/moulay that referenced this issue Aug 13, 2021
myxer is giving a compile error, keyword will be added
once I can patch it or when it gets fixed.

Aurailus/Myxer#18

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Kofi Hannam <meeyou@tuta.io>
@MikaelUrankar
Copy link

MikaelUrankar commented Aug 19, 2021

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

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Aug 19, 2021
yemouu pushed a commit to yemouu/moulay that referenced this issue Sep 14, 2021
Patch from @MikaelUrankar on GitHub
Aurailus/Myxer#18

Package-Manager: Portage-3.0.23, Repoman-3.0.3
@ErinvanderVeen
Copy link
Contributor

PR reopened at #20

@bneijt
Copy link

bneijt commented Apr 5, 2022

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.

@Aurailus
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants