From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#29642: guix 0.14.0 cannot use HTTPS with guile 2.0 Date: Sun, 10 Dec 2017 13:32:09 +0000 Message-ID: <20171210133209.zjygz3bki3bbdx6k@abyayala> References: <358b5121-7f02-2c9d-878f-6ab550c6ae04@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2odor5nqecxkuxi4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO1j7-0002SN-3M for bug-guix@gnu.org; Sun, 10 Dec 2017 08:33:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO1j3-0005Xg-WE for bug-guix@gnu.org; Sun, 10 Dec 2017 08:33:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO1j3-0005Xa-Rn for bug-guix@gnu.org; Sun, 10 Dec 2017 08:33:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eO1j3-00048A-M2 for bug-guix@gnu.org; Sun, 10 Dec 2017 08:33:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <358b5121-7f02-2c9d-878f-6ab550c6ae04@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?=E8=97=8D=E6=8C=BA=E7=91=8B?= Cc: 29642@debbugs.gnu.org --2odor5nqecxkuxi4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =E8=97=8D=E6=8C=BA=E7=91=8B transcribed 1.7K bytes: > This problem happens on Fedora 27, which uses Guile 2.0.14. Do we still support building with guile 2.0? That's a maintenance version of Guile, 2.2 is the new stable. > $ guix package -i hello > The following package will be installed: > hello 2.10 /gnu/store/pa4w02b89d6sq33840dxfl5vbqbwz5iy-hello-2.10 >=20 > substitute: Backtrace: > substitute: In ice-9/boot-9.scm: > substitute: 160: 9 [catch #t # ...] > substitute: In unknown file: > substitute: ?: 8 [apply-smob/1 #] > substitute: In ice-9/boot-9.scm: > substitute: 66: 7 [call-with-prompt prompt0 ...] > substitute: In ice-9/eval.scm: > substitute: 432: 6 [eval # #] > substitute: In ice-9/boot-9.scm: > substitute: 2412: 5 [save-module-excursion # ice-9/boot-9.scm:4084:3 ()>] > substitute: 4089: 4 [# ()>] > substitute: 1734: 3 [%start-stack load-stack ...] > substitute: 1739: 2 [#] > substitute: In unknown file: > substitute: ?: 1 [primitive-load "/usr/bin/guix"] > substitute: In guix/ui.scm: > substitute: 1452: 0 [run-guix-command substitute "--query"] > substitute: > substitute: guix/ui.scm:1452:12: In procedure run-guix-command: > substitute: guix/ui.scm:1452:12: In procedure setvbuf: Wrong type > argument in position 1 (expecting port that supports 'setvbuf'): > # > guix package: error: corrupt input while restoring archive from socket >=20 > If I revert commit 866f37f, this problem can be avoided. The commit > (download: Improve efficiency of 'write-request' over TLS.) added the > following code to guix/build/download.scm: >=20 > (cond-expand > (guile-2.0 #f) > (else (setvbuf record 'line))) >=20 > The info page of guile doesn't list 'guile-2.0' feature. I know there is > a feature called 'guile-2.2', but I cannot find 'guile-2.0'. >=20 >=20 >=20 >=20 --=20 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys WWW: https://n0.is --2odor5nqecxkuxi4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlotN1kACgkQ4i+bv+40 hYjWiA//dwU358S2x1sn7/GPvqfed/xnGtmSu5OEJYx0MQvyMkFxJBHiSfiUxiN0 uudaRcc9mfba/NYBS+en7h50A0Pvz8QfIRGhf0vqOWvcox/51mli/29V3H17MTh0 loh5pOkYwQDWEPioPSGQQnZUT7Rhfnhi3ceOBkA7rz0Cm6q3w+5kdH1Lhq+YFZPf lZhwMMFl2r4H2SLR6o2ImKEBsFSpbGsfefz2uMDuNxXKvY8Ou8JF0PV0ArLdTn4G wnuUyT9rutO2ySymaGoynjkckaXUtfqZ7FTDIMQd35kTnIJr95dHpDByaK5iKIPl dHbIMicIckQADgIaE4RGQ4QE1/XfJdp+cRx+gmZnf1jYrxWrF4zQGXASCDeGqFd5 N9QQvrp4jS166VA0LL4fnBhqdRrXTNX8dxEuRCQjgRoz8GsfcMQx9TAy7pi6hJPV gMCFwPSeO6AvHo7jvUq8sPmx5lZwNeqGvCNOxnceLlH6FdAW9lIn7Dqhsp4GbRJo 94TZRiXR+IFLzJk1+5HI0yq3PWoICujp376UrV4zEFUhiunHE8MZhgmdA2MMovd9 ZRTiwlCL32a0LeOKGcMUgoByo2hiTRIqbkOZiiiSQPZbJqbgUfyH92ZMaWZWpk5W cbTC3BcYyz4GPnOxfGNAgHLFkkXIJoDBLjfQnjEE51tIWnlFohg= =u332 -----END PGP SIGNATURE----- --2odor5nqecxkuxi4--