From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: Build failure on nss-3.36.1 Date: Sun, 4 Nov 2018 11:38:07 +0100 Message-ID: <20181104113807.10cdaecd@alma-ubu> References: <83121EB2-6001-499F-ABEF-AD98A03DE9A5@inskydata.com> <5E3CDDC4-C2F0-4D3A-AE45-F2F6E6793333@inskydata.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/1J=0XCT3sU_jKJV2OEqI/yq"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJFnK-0005gR-Ig for help-guix@gnu.org; Sun, 04 Nov 2018 05:38:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJFnH-00027h-CQ for help-guix@gnu.org; Sun, 04 Nov 2018 05:38:14 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:48660 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJFnH-00025U-3w for help-guix@gnu.org; Sun, 04 Nov 2018 05:38:11 -0500 In-Reply-To: <5E3CDDC4-C2F0-4D3A-AE45-F2F6E6793333@inskydata.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Brian Woodcox Cc: help-guix@gnu.org --Sig_/1J=0XCT3sU_jKJV2OEqI/yq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 3 Nov 2018 21:46:02 -0600 Brian Woodcox wrote: > Hi Bj=C3=B6rn, >=20 > You nailed it. >=20 > Of course, I am not too certain how to use the guix git-checkout > command. >=20 > Do you or anyone else have an example of how you would build this > after downloading it? >=20 > I=E2=80=99ve done a bit of search, but have not come up with much. >=20 > Thanks >=20 Hi Brian, its described in section "7 Contributing" of the manual: https://www.gnu.org/software/guix/manual/en/guix.html#Contributing Please refer to the manual for full details, I will show here in short out of my head, errors/typos might be included: git clone https://...guix.gt cd git # Now you need to enter an enviromnent where guix' build tools are # available. You could install everything yourself in a foreign distro # or via guix package -i ..., but Guix knows it best, so just do a: guix environment guix # Next you need to bootstrap and build: ./bootstrap ./configure --localstatedir=3D/var make # Now search source file: guix package -s "^nss$" name: nss version: 3.39 outputs: out bin systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux dependencies: nspr@4.20 perl@5.26.1 sqlite@3.23.0 zlib@1.2.11 location: gnu/packages/gnuzilla.scm:364:2 [..] # edit it: emacs gnu/packages/gnuzilla.scm #[could also call "guix edit nss" directly] (arguments `(#:parallel-build? #f ; not supported ;; Add this line to arguments: #:tests? #f #:make-flags ;; Remove this: (replace 'check ...) Now run guix from source: ./pre-inst-env guix build nss Then do whatever you want to from there: ./pre-inst-env guix install ... ./pre-inst-env guix system ... Note: It is not enough to just build/install nss from here and then go on with the "normal" guix: Because you changed nss, all dependencies need to be built too. And that is basically the world: ./pre-inst-env guix refresh -l nss Building the following 3119 packages would ensure 8553 dependent packages a= re rebuilt: So, not sure if that helps you here... Bj=C3=B6rn --Sig_/1J=0XCT3sU_jKJV2OEqI/yq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlvezBAACgkQvyhstlk+X/2Y8QCfeypJqYvmCWSZX4OPeZt+fSzK ePAAn3f3hCDV5JOkuqh8ts8+GsXTi2qx =CVtu -----END PGP SIGNATURE----- --Sig_/1J=0XCT3sU_jKJV2OEqI/yq--