[Bug 1154817] New: "cargo build" issues with rust-1.38.0
http://bugzilla.suse.com/show_bug.cgi?id=1154817 Bug ID: 1154817 Summary: "cargo build" issues with rust-1.38.0 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: rhafer@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I am currently trying to build https://github.com/firecracker-microvm/firecracker.git (but other rust project show the same issue) on tumbleweed and always get this: ---------------------- ~/firecracker> cargo build Updating crates.io index error: failed to fetch `https://github.com/rust-lang/crates.io-index` Caused by: invalid version 3 on git_proxy_options; class=Invalid (3) ---------------------- Digging through the upstream bugs report I came accross: https://github.com/rust-lang/rust/issues/63476 Which points at an issue with the libgit2 integration. Which itself leads to https://github.com/rust-lang/git2-rs/issues/458. I am by no means a rust expert but I if I understand correctly the recommendation is to build rust with the bundled libgit2 instead of using the system provide one. Which means we'd need to remove the LIBGIT2_SYS_USE_PKG_CONFIG=1 from our spec files (AFAIU this is also how the package is build on Fedora) Another possible fix is outlined here (and parently in use on FreeBSD): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239785 using this patch: https://svnweb.freebsd.org/ports/head/lang/rust-nightly/files/patch-vendor_libgit2-sys_lib.rs?view=log&pathrev=509173 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1154817 Ralf Haferkamp <rhafer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |federico@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1154817 http://bugzilla.suse.com/show_bug.cgi?id=1154817#c1 --- Comment #1 from Ralf Haferkamp <rhafer@suse.com> --- I have created https://build.opensuse.org/request/show/742099 as a suggested fix. Feel free to take another approach. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1154817 http://bugzilla.suse.com/show_bug.cgi?id=1154817#c3 Ralf Haferkamp <rhafer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Ralf Haferkamp <rhafer@suse.com> --- The suggested fix was merged a while ago. So I guess we can close this. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1154817 https://bugzilla.suse.com/show_bug.cgi?id=1154817#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-SU-2020:0933-1: An update that solves one vulnerability and has two fixes is now available. Category: security (moderate) Bug References: 1115645,1154817,1173202 CVE References: CVE-2020-1967 Sources used: openSUSE Leap 15.1 (src): rust-1.43.1-lp151.5.13.1, rust-cbindgen-0.14.1-lp151.8.2 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1154817 https://bugzilla.suse.com/show_bug.cgi?id=1154817#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-SU-2020:0945-1: An update that solves one vulnerability and has two fixes is now available. Category: security (moderate) Bug References: 1115645,1154817,1173202 CVE References: CVE-2020-1967 Sources used: openSUSE Leap 15.2 (src): rust-1.43.1-lp152.3.5.1, rust-cbindgen-0.14.1-lp152.2.4.1 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1154817 https://bugzilla.suse.com/show_bug.cgi?id=1154817#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2020:2041-1: An update that solves one vulnerability and has two fixes is now available. Category: security (moderate) Bug References: 1115645,1154817,1173202 CVE References: CVE-2020-1967 Sources used: SUSE Linux Enterprise Module for Development Tools 15-SP2 (src): rust-1.43.1-12.1 SUSE Linux Enterprise Module for Development Tools 15-SP1 (src): rust-1.43.1-12.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1154817 https://bugzilla.suse.com/show_bug.cgi?id=1154817#c11 Andreas Schneider <asn@cryptomilk.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asn@cryptomilk.org --- Comment #11 from Andreas Schneider <asn@cryptomilk.org> --- cargo vendor fails for me on Tumbleweed: Caused by: invalid version 0 on git_proxy_options; class=Invalid (3) Is it possible that cargo need to be rebuilt against libgit2 as they broke the ABI? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1154817 https://bugzilla.suse.com/show_bug.cgi?id=1154817#c12 William Brown <william.brown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |william.brown@suse.com --- Comment #12 from William Brown <william.brown@suse.com> --- (In reply to Andreas Schneider from comment #11)
cargo vendor fails for me on Tumbleweed:
Caused by: invalid version 0 on git_proxy_options; class=Invalid (3)
Is it possible that cargo need to be rebuilt against libgit2 as they broke the ABI?
Yes, there is already a fix in the pipeline. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com