From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Qg9vCmXPaWC8ZAEAgWs5BA (envelope-from ) for ; Sun, 04 Apr 2021 16:38:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kO5pA2XPaWCBJwAAbx9fmQ (envelope-from ) for ; Sun, 04 Apr 2021 14:38:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 32C7B1EF17 for ; Sun, 4 Apr 2021 16:38:28 +0200 (CEST) Received: from localhost ([::1]:58230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lT3tT-00018a-D6 for larch@yhetil.org; Sun, 04 Apr 2021 10:38:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lT3tK-00018H-6M for help-guix@gnu.org; Sun, 04 Apr 2021 10:38:18 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:49504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lT3tH-0007aJ-5F for help-guix@gnu.org; Sun, 04 Apr 2021 10:38:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=ohIJFbCA3qQFUJw4ihQUmo2dDdkpQty6UxrwaP9z3/A=; h=date:in-reply-to: subject:cc:to:from:references; b=ZyxhdLy6Ol/GtyENFqIpQNyW3rqvEscgde3SE bmrpSYO11QRDOaFmxthJB0XBnBJl98reLQEJG0+gXvFvx//ic7u84pmidq1PYpygGHoi1K AvKyqgPBqDzoYmDQTiPXlTc+n9Jq+36GelVONkDC78XgSR2b8VRGWsi8Gb5GndHL7qLAby vJvU/6uhtJ6ox2z7Jw6icoBs4OFQpwIvIp2JbqQgd6MxYZcJLdZy0Wt8EumrfIEkkijbv7 4zzgrFRGOcc1PijJcN2Yt3DhHFzAjuVJ0aOYMLWzADQPfwgaiF3pIi3CaoNBCP9Asqv4jf buMja9kEXPRVQI85MuMEZOJmw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 005eee0a (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sun, 4 Apr 2021 14:39:21 +0000 (UTC) References: <87y2eomngw.fsf@elephly.net> <51eadb71-592c-d024-3163-85766a1a060c@posteo.de> <874khan4cn.fsf@elephly.net> <871rbs1h64.fsf@elephly.net> <2a22a012-f2b1-9d05-4297-44c5c0e4fd64@posteo.de> From: Tobias Geerinckx-Rice To: Zelphir Kaltstahl Cc: Ricardo Wurmus , help-guix@gnu.org Subject: Re: About packaging (was: About packaging documentation) In-reply-to: <2a22a012-f2b1-9d05-4297-44c5c0e4fd64@posteo.de> BIMI-Selector: v=BIMI1; s=default; Date: Sun, 04 Apr 2021 16:38:08 +0200 Message-ID: <87y2dyuncf.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617547108; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ohIJFbCA3qQFUJw4ihQUmo2dDdkpQty6UxrwaP9z3/A=; b=j0ew3Bjrpg/zMoyqXaKluVMRXm/UY3sTBYlhuYfzdEZh4dZGalaChZoN3jFPhL2Dn20a8+ Lr43G4lkC8OvOeso5Twwdi7zLtrgpcXspkCKXaNBqcu6FSL+PD56NEcMtNSZKsP7RRdjji VUXozNI3DbhglALpRaI1mGmlmlObRiv8jIwDPYDlkwWYj452tM0kqbvDX4DpmR5AdnqRKu 2ZXl5KTQeHBRuDx1U8vl4+zNHEbUzcCaGqhpQoSeCe0suNY9UDxJHnH35md2wuq2dm1Aef zzr6+YttMoN86TERp7b2sjNRC3IdMPI+roeEDsXKlsAm5XaAZLXTjYQoPn0sYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617547108; a=rsa-sha256; cv=none; b=hCzHODh3tyj3Jrc4mhGdJPvG83UuzHuWnejL9/6dvo7Qn9Prt1j8u8RVS/cdcAQV8xeQ4c 2ruZF9j8GJ8NNm1I5fImSachFXWqtO+/nDFjRvpfLXg1dC7aeAUL8KTmiF34nHaZl2M3Mu tfj43OFwPM9ZCrJA12DzC5Fgc/SShVSco8CXDmXWeGH4IOYfB3zmuDZ8hYrsLKXCk4AyTG jHveMaOHCl2zDhvInBTy8t5H7R47QRr0JF1+sk1oyvrmC0kZ8uuRN09ya/MK+/A8QYacK4 S+He5aNY5MFS10p6y11V1AVef7qLuh0xJc8fzmPm2kK6ZJ7xqxW6mA45mMOUSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=ZyxhdLy6; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=ZyxhdLy6; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 32C7B1EF17 X-Spam-Score: -4.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: sMyC5xAGG/Up --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Zelphir, Zelphir Kaltstahl writes: > The guide at=20 > https://guix.gnu.org/manual/en/html_node/Building-from-Git.html > =20 > does not > mention running a lone `make`. It says, after running ./configure: Finally, you have to invoke 'make check' [...] This has the effect of running make [all], and then runs the test=20 suite. Ignore it at your peril. At most, substitute a =E2=80=98lone make=E2=80=99= for=20 =E2=80=98make check=E2=80=99 if you're feeling lucky and have previously ru= n the=20 test suite. > There is an error. Perhaps I need to run it in the some kind of=20 > minimalistic GNU > Guix env as I ran the configure and bootstrap in? Yep, *all* commands need to be run in the guix environment. No=20 need for =E2=80=98--ad-hoc make=E2=80=99 here as =E2=80=98make=E2=80=99 is = already an input to=20 guix. > Trying that (warning, long log ahead): [ 8< nom nom ] > HELP2MAN doc/guix-time-machine.1 > HELP2MAN doc/guix-weather.1 > HELP2MAN doc/guix.1 > make[2]: Leaving directory '/home/user/dev/guix' > make[1]: Leaving directory '/home/user/dev/guix' Success! \o/ > So now it should be build with the package definition I added=20 > known, I guess. > Now I try running guix build again: > > ~~~~ > $ ./pre-inst-env guix build guile-fslib You need to run this inside the environment as well. You keep=20 leaving it; that won't work. It used to work sometimes, years=20 ago. Instead of tediously prefixing everything with =E2=80=98guix environment=20 guix --=E2=80=99, just enter the environment once and stay there: $ guix environment guix $ ./bootstrap $ ./configure --localstatedir=3D/var $ make -j`nproc` check $ ./pre-inst-env guix build guile-fslib $ ... $ exit # or C-d, to leave it when finished That's a rather standard way of doing things. Does it work? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYGnPUQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15tkwBAKGE0W2UqwrkZeb+xcE+06n+cwFNN/jQe1+CtBog qGHWAPwJ/BuiEnS8yv2maPJwqXsRmTPMDDhXKhs79YsROjndCw== =vl2E -----END PGP SIGNATURE----- --=-=-=--