Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id A464E782BF8 for <~alpine/devel@lists.alpinelinux.org>; Sat, 22 Feb 2020 14:15:45 +0000 (UTC) Date: Sat, 22 Feb 2020 14:15:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogitri.dev; s=protonmail; t=1582380944; bh=a81C4ocO+Vimy26HkwSLK6akPD+S8ghiDaSyuG9TeTc=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=S1aPJm57soFOzjdYOC1KfMYI2OVN62V4avo/u++V44B0QpRgWs5qE7WMN5UClS77A LkE7a1DMdeXOHTlioUADeHFtfoIKcqt7b33jkZYtx22NaGz409sqV/FkxAhrZaIPX4 DL6P7d8oVwTi9utjZBryKqkVZ7yUusG4OH6GbSKw= To: Will Sinatra From: Rasmus Thomsen Cc: ~alpine/devel@lists.alpinelinux.org Reply-To: Rasmus Thomsen Subject: Re: options="net" Message-ID: In-Reply-To: References: <66ae88ace2c6c1a53a940e5ccb2f38980eb1c90a.camel@cogitri.dev> Feedback-ID: LZW2MXNaH7NSG88i8lGpebeqB0wmcl0-3TbzkSuzsmAwEQspn4GI-WRe8j3PhRL4SBmua4rQWq6fadPcLS5uxQ==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch On Sat, 2020-02-22 at 09:09 -0500, Will Sinatra wrote: > Rasmus, >=20 > Does this apply for any package that pulls in resources outside of > the source, or including the source? >=20 > I assume since you mentioned rust it's for pulling things like cargo > packages or quicklisp packages during build (like my next browser > package does). >=20 > -Will Sinatra >=20 > On Sat, Feb 22, 2020, 8:36 AM Rasmus Thomsen wrote: > > Hello list, > >=20 > > I've noticed that many aports that do need net access don't specify > > options=3D"net" (basically all of Rust packages AFAICS, I think most > > Go > > packages too at least), so rootbld isn't that nice to use as of > > now. Do > > we have a roadmap for switching over the builders or at least CI > > over > > to rootbld? > >=20 > > Regards, > >=20 > > Rasmus > >=20 Hello Will, options=3D"net" is only required if your APKBUILD downloads something from the network, see=20 https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#options: net: Allows network access when run in fakeroot. So e.g. Rust packages which use cargo but don't vendor the source of the crates they need in their tarball need options=3D"net" since cargo will attempt to download the missing crates from the network. It's not required if you copy files from your $srcdir (e.g. .desktop files/patches). Regards, Rasmus