Mailinglist Archive: opensuse-factory (439 mails)

< Previous Next >
Re: [opensuse-factory] Building Rust Packages

On nie, Apr 28, 2019 at 9:23 PM, Michael Aquilina <michaelaquilina@xxxxxxxxx> wrote:
Hi there,

I'm looking into adding several rust packages to OBS including
xidlehook ( and vivid

From what I recall, network connections cannot be made from within the
build service and this is an important part of how the "cargo build"
process in rust works. Is there any documentation for how to build
rust packages in OBS that I can reference?

Looking at the ripgrep package for inspiration
it seems like you take a copy of the dependencies locally? Is this a
purely manual process or are there some tools to help?

In theory this should be done through rust2rpm, but that doesn't really work
in openSUSE because nobody had the time to review [1] (associated with [2]).
Otherwise, there is a cargo-vendor package to gather everything required for
the package.

LCP [Stasiek]

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >