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

nightly version fails: invalid version 3 on git_proxy_options; class=Invalid (3) #63476

Closed
yurivict opened this issue Aug 11, 2019 · 9 comments
Closed
Labels
C-bug Category: This is a bug. O-freebsd Operating system: FreeBSD

Comments

@yurivict
Copy link

On FreeBSD 12 amd64 rust-nightly-1.38.0.20190811_1 fails:

$ cargo build
    Updating crates.io index
error: failed to load source for a dependency on `image`

Caused by:
  Unable to update registry `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  invalid version 3 on git_proxy_options; class=Invalid (3)

Project: https://github.com/Twinklebear/bspline

@jonas-schievink jonas-schievink added C-bug Category: This is a bug. O-freebsd Operating system: FreeBSD labels Aug 11, 2019
@jonas-schievink
Copy link
Contributor

This looks like a packaging issue with libgit2, have you reported this to FreeBSD?

@yurivict
Copy link
Author

@jbeich
Copy link

jbeich commented Aug 12, 2019

This looks like a packaging issue with libgit2

FreeBSD libgit2 package didn't change since 2019-03-31 while old Nightly snapshots with current libgit2 work fine:

  • 20190811 affected
  • 20190806 affected
  • 20190723 works fine
  • 20190711 works fine

@jbeich
Copy link

jbeich commented Aug 12, 2019

Bisecting cargo led to rust-lang/cargo#7018 but I'm still puzzled given FreeBSD libgit2 package is at 0.28.1.

@jbeich
Copy link

jbeich commented Aug 12, 2019

Updating libgit2 to 0.28.2 doesn't help.

@semarie
Copy link
Contributor

semarie commented Sep 25, 2019

I have the same problem with upcoming stable 1.38.0 on OpenBSD, when built with libgit2-0.28.1

@semarie
Copy link
Contributor

semarie commented Sep 25, 2019

@jbeich I took your patch for OpenBSD. Thanks for have restored the compatibility

@Cogitri
Copy link

Cogitri commented Sep 27, 2019

This has hit Alpine Linux too.

@cemeyer
Copy link

cemeyer commented Jan 1, 2021

Can this issue be closed after meta-rust/meta-rust#279 ?

@yurivict yurivict closed this as completed Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-freebsd Operating system: FreeBSD
Projects
None yet
Development

No branches or pull requests

6 participants