From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: 14.1 Building from Git Date: Mon, 18 Mar 2019 11:08:58 +0100 Message-ID: <87r2b4tryd.fsf@roquette.mug.biscuolo.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5pS7-0008SE-Oq for help-guix@gnu.org; Mon, 18 Mar 2019 06:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5pCu-0007dy-5U for help-guix@gnu.org; Mon, 18 Mar 2019 06:09:25 -0400 Received: from ns13.heimat.it ([46.4.214.66]:39786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5pCt-0007dJ-KA for help-guix@gnu.org; Mon, 18 Mar 2019 06:09:24 -0400 In-Reply-To: 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: mikadoZero , Help Guix --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi mikadoZero, mikadoZero writes: > I am trying to follow the instruction in the Contributing section of the > manual, as I want to submit some patches. Following "14.1 Building from > Git" I am getting an error when running `./bootstrap`. I'm also learning to build from git but I never had such problems with ./bootstrap I'll try to reproduce your bug... > `guix describe` > guix 19c0cdb > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 19c0cdb9e6271956015232421ef7f63a1ad001ae AFAIU it does not matter what Guix version is in your user profile since following "7.2 Running Guix Before It Is Installed" you will =C2=ABtest the changes made in your local source tree checkout without actually installing them. So that you can distinguish between your =E2=80=9Cend-user= =E2=80=9D hat and your =E2=80=9Cmotley=E2=80=9D costume.=C2=BB so in this case is useful to show your "git describe" and not "guix describe": =2D-8<---------------cut here---------------start------------->8--- giovanni@anemone: git describe v0.16.0-3520-gc0d43f6223 =2D-8<---------------cut here---------------end--------------->8--- AFAIU that means: version 0.16.0 and 3520th commit, current commit "c0d43f6223" (I miss the meaning of g before c0d43f6223) that is: my =E2=80=9Cmotley=E2=80=9D costume will use c0d43f6223 for develo= pment compare it with my current guix version (used by my end-user costume): =2D-8<---------------cut here---------------start------------->8--- Generation 5 Mar 16 2019 13:09:52 (current) guix 703a095 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 703a095e7ec3c8247deb527f027615e5e34fe753 =2D-8<---------------cut here---------------end--------------->8--- > Here is what I am doing that leads to the error. > > `git clone https://git.savannah.gnu.org/git/guix.git` > > `cd guix` > > `guix environment guix` > > Then I run `./bootstrap` and it gives me this error output: I did it again (it's the third time I run ./bootstrap in my dev environment) and it succeeded with no errors [...] > configure.ac:88: error: possibly undefined macro: PKG_CHECK_MODULES > If this token and others are legitimate, please use m4_pattern_allo= w. > See the Autoconf documentation. this error is documented in "7.1 Building from Git" (where did you get 14.1 numbering in the subject?) and the solution is described there also anyway I don't understand why this happens in a "environment guix" I'm in this environment =2D-8<---------------cut here---------------start------------->8--- giovanni@anemone: env | grep GUIX_ENV GUIX_ENVIRONMENT=3D/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile =2D-8<---------------cut here---------------end--------------->8--- in this environment ACLOCAL_PATH is defined as =2D-8<---------------cut here---------------start------------->8--- giovanni@anemone: env | grep AC ACLOCAL_PATH=3D/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/share/ac= local =2D-8<---------------cut here---------------end--------------->8--- AFAIU in "environment guix" all needed devel tools should be installed and related evironment variables set up are you sure you are running "./bootstrap" in the environment? [...] HTH! Gio [1] https://www.gnu.org/software/guix/manual/en/html_node/Building-from-Git= .html#Building-from-Git =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlyPbjsACgkQ030Op87M ORKk1BAAwqJVhdkU4uER4oTt2ZJQiZ379MN2MlWhW143GWAsGay3sV4WDpwRqeWh WV3bThksZJAGwQA59OX2inF1f19s6ANSSa+hTQBlVFtsbXYLWLlrxvN2pjNMD0Ya v2xIr3hqoH70Y7INRhyoXoG+b+b/LZWa8FqX/kmOhRm3lMJBqm6vQc23fk3JGy8A I6Pg286i/OC12QKu4zlPFfQwdq1FKCkEUgVyQQsnh0Z+VpZoEFBekJavqxywWUc6 Uv2ymVq0pmbBxA6oDxdwLgiWdpKgH07BXgnHcF54RGUWn5rDmOSXeVInXMFWYXBR I6dGo5fg6lc/1Ir7DrtNzYhhEuJ5JM9SkfVZh8IcSDEyawoyElIU9kuqk+61z8Rq CsRyHZ/gNk9iN38keojIpVlX3Q42A2DUkGqxXAjRJewnfGC7POUd/9KCHvs+XLS0 Xs0nmRQvhxfIIFKfZiF+CFOvSAC9bZdw3EMCMFHabaTRh77qIqrUiak5EN24kYU3 Aqav+uDGHBRh+XStJ7x0KAliMPQL+1Wb4hcQrejj5CHNGDgJwJf2glGFZS4T12l7 RSmnzeqyXdeayYEsUOz2IckLkdCLKXAKqwDZR+iL8g38rK6XPjFL5QuOD/t0NVK7 /tyfpifxOe1EZPK7u88lechjohwh23wjES4QWbRfKCssGQyj//g= =Ur2E -----END PGP SIGNATURE----- --=-=-=--