https://bugzilla.redhat.com/show_bug.cgi?id=2124697



--- Comment #53 from Stefan Hajnoczi <[email protected]> ---
(In reply to Richard W.M. Jones from comment #50)
> (In reply to Stefan Hajnoczi from comment #49)
> > Hi Rich,
> > Is it possible to add the following to the rpm spec file?
> > 
> > export CARGO_NET_OFFLINE=true # avoid the need to patch src/cargo-build.sh
> 
> The above failed with the error:
> 
> error: the lock file /home/rjones/rpmbuild/BUILD/libblkio-v1.1.1/Cargo.lock
> needs to be updated but --locked was passed to prevent this
> 
> (The original code which edited cargo-build.sh was designed to prevent that)
> 
> > # Explicitly enable debuginfo and release build optimization level for now.
> > # In the future this can be dropped when rpm macros set RUSTFLAGS
> > # themselves like they set CFLAGS, CXXFLAGS, etc.
> > {%meson} -Ddebug=true -Doptimization=3
> 
> Making just this change, here are new scratch builds:
> 
> f37: https://koji.fedoraproject.org/koji/taskinfo?taskID=94429101
> f38: https://koji.fedoraproject.org/koji/taskinfo?taskID=94429097

Cool, the builds are succeeding!


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2124697
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to