From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: 14.1 Building from Git Date: Mon, 18 Mar 2019 20:54:54 +0100 Message-ID: <87imwgx8j5.fsf@elephly.net> References: <87wokwxssw.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5yLq-0001Q3-9l for help-guix@gnu.org; Mon, 18 Mar 2019 15:55:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5yLo-0005Dm-D7 for help-guix@gnu.org; Mon, 18 Mar 2019 15:55:14 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5yLl-00054r-Sm for help-guix@gnu.org; Mon, 18 Mar 2019 15:55:10 -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 Cc: Help Guix mikadoZero writes: > Ricardo Wurmus writes: > >> 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`. >>> >>> `guix describe` >>> guix 19c0cdb >>> repository URL: https://git.savannah.gnu.org/git/guix.git >>> branch: master >>> commit: 19c0cdb9e6271956015232421ef7f63a1ad001ae >>> >>> 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` >> >> Could you try if you get different behaviour with =E2=80=9Cguix environm= ent >> --pure guix=E2=80=9D? >> >>> configure.ac:88: error: possibly undefined macro: PKG_CHECK_MODULES >>> If this token and others are legitimate, please use m4_pattern_al= low. >>> See the Autoconf documentation. >>> configure.ac:89: error: possibly undefined macro: GUILE_MODULE_AVAILABLE >>> configure.ac:96: error: possibly undefined macro: GUILE_PKG >>> configure.ac:97: error: possibly undefined macro: GUILE_PROGS >> >> This looks like some environment variables are not set properly. If you >> set variables in ~/.bashrc, for example, (instead of ~/.bash_profile) >> that could interfere with =E2=80=9Cguix environment=E2=80=9D. >> >> Could you please show the output of =E2=80=9Cenv=E2=80=9D after you ran = =E2=80=9Cguix >> environment guix=E2=80=9D? > > Thank you for your help. > > Using `guix environment --pure guix` > > Removing all the environment variables from .zhsrc allows `./bootstrap` > to finish. It outputs these warnings: [=E2=80=A6] > ACLOCAL_PATH=3D/root/.guix-profile/share/aclocal:/run/current-system/prof= ile/share/acl > ocal:/gnu/store/kjmqpchkfy8rvv19jvd14q40shm9fk2p-profile/share/aclocal Why are /root/.guix-profile directories first? Are setting these variables in some shell initialization files? > GUILE_LOAD_PATH=3D/run/current-system/profile/share/guile/site/2.2:/gnu/s= tore/kjmqpchk > fy8rvv19jvd14q40shm9fk2p-profile/share/guile/site/2.2 Same here. --=20 Ricardo