Received: (at 33305) by debbugs.gnu.org; 10 Nov 2018 21:24:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 10 16:24:29 2018 Received: from localhost ([127.0.0.1]:45062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gLak1-00040J-HI for submit <at> debbugs.gnu.org; Sat, 10 Nov 2018 16:24:29 -0500 Received: from maximusconfessor.all2all.org ([79.99.200.102]:55872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <david@HIDDEN>) id 1gLajz-000408-9U for 33305 <at> debbugs.gnu.org; Sat, 10 Nov 2018 16:24:27 -0500 Received: from localhost (localhost [127.0.0.1]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 7EA8F1BE00F1; Sat, 10 Nov 2018 22:24:26 +0100 (CET) Received: from maximusconfessor.all2all.org ([127.0.0.1]) by localhost (maximusconfessor.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a-l1AxClhN3P; Sat, 10 Nov 2018 22:24:26 +0100 (CET) Received: from capac (unknown [179.210.17.68]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 80F5F1BE00EF; Sat, 10 Nov 2018 22:24:25 +0100 (CET) Date: Sat, 10 Nov 2018 19:24:19 -0200 From: David Pirotte <david@HIDDEN> To: Marc =?UTF-8?B?TmllcGVyLVdpw59raXJjaGVu?= <marc@HIDDEN> Subject: Re: bug#33305: Guile's Autoconf macros play not well with make distcheck Message-ID: <20181110192419.20f63772@capac> In-Reply-To: <20181110182047.5bb110d5@capac> References: <CAEYrNrS_CPHHMBJSLtKVME1SqfaYXk0=BHR=ZsfdGu60wcSQ6g@HIDDEN> <20181110182047.5bb110d5@capac> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/E6Ji4cMYSAJ8roA.DdvloHQ"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33305 Cc: 33305 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --Sig_/E6Ji4cMYSAJ8roA.DdvloHQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > ... > There are solution though, here is an example of what I do [1]. Actually, I do this for all the projects maintain, and explain all this in = detail on the Guile-CV install page: https://www.gnu.org/software/guile-cv/install.html [ see "Install from ..." and following "Notes:" ... David --Sig_/E6Ji4cMYSAJ8roA.DdvloHQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlvnTIMACgkQ83T9k6MF etccmgf+PpWZHY8Qg54ZFWNT0nYk5+uZ5MNRWjVtt2PW25Z/xdy6zkPtiKjyK7qX xZHLjnLSQE0FmH3e8XUbwu0yEhDKXG/JkxTuuZoKHAh+h/qg70hTGRgmC+KynZYP U3Ons0gttIH1Qv579XXJTtsr8ASP8XU228UYS8YaEjUKPCWaLQHLmzwsGfbRFZuS EEIm2+8b2MD/4+b8PrNXtFzFxvKWExk3Vnkrn9+xznp85Sw0aWxAsk8cAJ2Mh9AU vGiEfFd0oRMYqPtL8tuXb5P5u5zPs1lTovdd1ZkT4NRffqCirpMvp2/Ux9doyaKb PtK4wlkqJPaaFbWsV5GL9AwRMhCaGw== =UtBY -----END PGP SIGNATURE----- --Sig_/E6Ji4cMYSAJ8roA.DdvloHQ--
bug-guile@HIDDEN
:bug#33305
; Package guile
.
Full text available.Received: (at 33305) by debbugs.gnu.org; 10 Nov 2018 20:21:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 10 15:21:00 2018 Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gLZkY-0002Vz-Tu for submit <at> debbugs.gnu.org; Sat, 10 Nov 2018 15:20:59 -0500 Received: from maximusconfessor.all2all.org ([79.99.200.102]:52342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <david@HIDDEN>) id 1gLZkW-0002Vq-5M for 33305 <at> debbugs.gnu.org; Sat, 10 Nov 2018 15:20:56 -0500 Received: from localhost (localhost [127.0.0.1]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 5A2B71BE00F2; Sat, 10 Nov 2018 21:20:55 +0100 (CET) Received: from maximusconfessor.all2all.org ([127.0.0.1]) by localhost (maximusconfessor.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E3bATnqHuLVy; Sat, 10 Nov 2018 21:20:55 +0100 (CET) Received: from capac (unknown [179.210.17.68]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 909071BE00EF; Sat, 10 Nov 2018 21:20:54 +0100 (CET) Date: Sat, 10 Nov 2018 18:20:47 -0200 From: David Pirotte <david@HIDDEN> To: Marc =?UTF-8?B?TmllcGVyLVdpw59raXJjaGVu?= <marc@HIDDEN> Subject: Re: bug#33305: Guile's Autoconf macros play not well with make distcheck Message-ID: <20181110182047.5bb110d5@capac> In-Reply-To: <CAEYrNrS_CPHHMBJSLtKVME1SqfaYXk0=BHR=ZsfdGu60wcSQ6g@HIDDEN> References: <CAEYrNrS_CPHHMBJSLtKVME1SqfaYXk0=BHR=ZsfdGu60wcSQ6g@HIDDEN> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_//tp3Rl1I9u491QruAyc0BVJ"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33305 Cc: 33305 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --Sig_//tp3Rl1I9u491QruAyc0BVJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Mark, disclaimer: I'm not a Guile maintainer, just giving you my personal opinion here > Consider an Autotools project that eventually wants to install some Guile > modules in the system. The canonical way to do this seems to add > GUILE_SITE_DIR to ... > However, this doesn't honor --prefix settings; in particular, make > distcheck fails for non-root users; see here for a general discussion: The guile.m4 macros are not meant to (and shouldn't) honor variables such as --prefix, that is the responsibility of the (autotool based) project author= . The guile.m4 macros and variables that it defines provide (and meant to only pr= ovide) information about 'the Guile' that is 'visible' to your project (at configu= re and make time ...). There are solution though, here is an example of what I do [1]. > P.S.: There is one more issue with guile.m4: When it finds the program > guile-2.2, it only searches for guild-2.2, but not for guild. However, at > least on Ubuntu systems, there is only guild, but no guild-2.2. That is expected, because 'guild' could point to 'another Guile' ... either= it is an Ubuntu problem, either guild was not properly post-fixed as requested, not = sure, one would have to check ... HTH, David 1] http://git.savannah.nongnu.org/cgit/guile-lib.git/tree/ [ see the configure.ac, Makefile.am and am/guile.mk ... [ I suggest you clone and try it (you'll need to run ./autogen.sh first) [ try with no option, then only using --prefix, then using both --prefix [ and --with-guile-site=3Dyes=20 --Sig_//tp3Rl1I9u491QruAyc0BVJ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlvnPZ8ACgkQ83T9k6MF etexLAgAzR+o8b6OsC5MLn7TR7jtjJruxy63EF3ff4NH1Ri3WH5dVc4IwYfOgslD +tUFO49drfmbgqp6lglhAKp2QenZ5qazek1+0+CTnKWjG+zLM7z5FlHR0AYlfIvZ XiPm2xRe9iJETLGjKhUU+60hnFbM95/iJTPpl2VZS2QHoVwgkhPKuAgTIqtv4s9w cErUMojM4lHkxehAb1jrQOxWMgRkoP83RLkIeg6zIvH49P+geSDYl/sXuewiEU3d TFSn2R0bB40MLp6rKOKZTybPL4z9M94rqd8Qf/Xw2LF8MHy7VmjwI4/Nnhl+4uzR DokcHccoYbXuRvYDF6o7N3LLGtzMyg== =0kqG -----END PGP SIGNATURE----- --Sig_//tp3Rl1I9u491QruAyc0BVJ--
bug-guile@HIDDEN
:bug#33305
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Nov 2018 16:37:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 07 11:37:16 2018 Received: from localhost ([127.0.0.1]:39806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gKQpP-00046Y-M7 for submit <at> debbugs.gnu.org; Wed, 07 Nov 2018 11:37:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <marc.nieper@HIDDEN>) id 1gKQN2-0001He-M2 for submit <at> debbugs.gnu.org; Wed, 07 Nov 2018 11:07:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marc.nieper@HIDDEN>) id 1gKQMw-0005ha-Kc for submit <at> debbugs.gnu.org; Wed, 07 Nov 2018 11:07:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <marc.nieper@HIDDEN>) id 1gKQMw-0005hP-H5 for submit <at> debbugs.gnu.org; Wed, 07 Nov 2018 11:07:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marc.nieper@HIDDEN>) id 1gKQMv-0001SV-GK for bug-guile@HIDDEN; Wed, 07 Nov 2018 11:07:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marc.nieper@HIDDEN>) id 1gKQMs-0005ed-91 for bug-guile@HIDDEN; Wed, 07 Nov 2018 11:07:49 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:50986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <marc.nieper@HIDDEN>) id 1gKQMr-0005Y4-Uw for bug-guile@HIDDEN; Wed, 07 Nov 2018 11:07:46 -0500 Received: by mail-wm1-f48.google.com with SMTP id 124-v6so9687283wmw.0 for <bug-guile@HIDDEN>; Wed, 07 Nov 2018 08:07:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8mT2KU36xIDH6ghVP4Q8r1jdCWEmtXNExEMeyF2V/mU=; b=MjutEjGD2gpHF5m0y8ZvdVXubbVJTBk/hzUq4Hz6+8sXq1mc97dipg1ok0HJeiRBBS sRZOeR4wOVYsYMhNzEBJ01YC+e+pEKELTzFI85666kbWUbkmaE40QGBt60hmCAEi2IXC k9hAtk2dVssUdyiQiWDZ/0tmC2l/sUE5SsnCwIj09UPp5ZLfgi96bE1RpG6bqwBTFuRh s+qDJVB/Ki5L39sxiWfhPfP07Xi2/StTkyOZaamEoqiTqAc/z1Cz3xA3P/ETUyGUnorN RD0wS47My/JMm7yT+uNCoyvNPEhBxWhAp5ah3P1jaebivCZ3xJKmxniJ9FQ3lFMMpPUQ jyOQ== X-Gm-Message-State: AGRZ1gLnGIX99oNdnhyPof+f4IgrdzS8cynK86Na1kzsXVMB1ZruN7Wf T51ToMvdMlBRqrTXKtgNQYMN+SN1VNBqQE8F28EkzcOf X-Google-Smtp-Source: AJdET5fH3t8Gqm/iRO1yDkz11ewbEQ92pMRS1YH3frviGljmYvCwZRIDa3uJ4ttV+VD7NhWYlDfwFwZi/JOZFPN3LAk= X-Received: by 2002:a1c:8604:: with SMTP id i4-v6mr705689wmd.23.1541606855755; Wed, 07 Nov 2018 08:07:35 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= <marc@HIDDEN> Date: Wed, 7 Nov 2018 17:07:24 +0100 Message-ID: <CAEYrNrS_CPHHMBJSLtKVME1SqfaYXk0=BHR=ZsfdGu60wcSQ6g@HIDDEN> Subject: Guile's Autoconf macros play not well with make distcheck To: bug-guile@HIDDEN Content-Type: multipart/alternative; boundary="000000000000054d78057a155175" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 07 Nov 2018 11:37:14 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.8 (----) --000000000000054d78057a155175 Content-Type: text/plain; charset="UTF-8" Consider an Autotools project that eventually wants to install some Guile modules in the system. The canonical way to do this seems to add GUILE_SITE_DIR to https://www.gnu.org/software/guile/manual/html_node/Autoconf-Macros.html in configure.ac and to use the variables GUILE_SITE and GUILE_SITE_CCACHE in Makefile.am to determine the install targets. However, this doesn't honor --prefix settings; in particular, make distcheck fails for non-root users; see here for a general discussion: https://www.gnu.org/software/automake/manual/html_node/Hard_002dCoded-Install-Paths.html So in order to make use of GUILE_SITE and GUILE_SITE_CCACHE, I think we need Autoconf macros in guile.m4 that allow to specify the prefix (as in the Python example on the cited page). -- Marc P.S.: There is one more issue with guile.m4: When it finds the program guile-2.2, it only searches for guild-2.2, but not for guild. However, at least on Ubuntu systems, there is only guild, but no guild-2.2. P.P.S.: Of course, in the long run we need integration of Guile in Autoconf like Python and Elisp are already integrated. --000000000000054d78057a155175 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Consider an Autotools pr= oject that eventually wants to install some Guile modules in the system. Th= e canonical way to do this seems to add GUILE_SITE_DIR to <a href=3D"https:= //www.gnu.org/software/guile/manual/html_node/Autoconf-Macros.html">https:/= /www.gnu.org/software/guile/manual/html_node/Autoconf-Macros.html</a> in <a= href=3D"http://configure.ac">configure.ac</a> and to use the variables GUI= LE_SITE and GUILE_SITE_CCACHE in Makefile.am to determine the install targe= ts.</div><div dir=3D"ltr"><br></div><div>However, this doesn't honor --= prefix settings; in particular, make distcheck fails for non-root users; se= e here for a general discussion: <a href=3D"https://www.gnu.org/software/au= tomake/manual/html_node/Hard_002dCoded-Install-Paths.html">https://www.gnu.= org/software/automake/manual/html_node/Hard_002dCoded-Install-Paths.html</a= ></div><div><br></div><div>So in order to make use of GUILE_SITE and GUILE_= SITE_CCACHE, I think we need Autoconf macros in guile.m4 that allow to spec= ify the prefix (as in the Python example on the cited page).</div><div><br>= </div><div>-- Marc</div><div><br></div><div>P.S.: There is one more issue w= ith guile.m4: When it finds the program guile-2.2, it only searches for gui= ld-2.2, but not for guild. However, at least on Ubuntu systems, there is on= ly guild, but no guild-2.2.</div><div><br></div><div>P.P.S.: Of course, in = the long run we need integration of Guile in Autoconf like Python and Elisp= are already integrated.<br></div></div></div> --000000000000054d78057a155175--
Marc Nieper-Wißkirchen <marc@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#33305
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.