From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Add php Date: Mon, 14 Nov 2016 15:46:06 +0100 Message-ID: <87lgwm6rwx.fsf@gnu.org> References: <20161030130828.3797d37d@polymos.lepiller.eu> <20161030175105.1f6eeff2@polymos.lepiller.eu> <87ins9s9y1.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> <20161102224052.7ec98d2d@lepiller.eu> <87eg2k8xp2.fsf@gnu.org> <20161111173123.51375f43@polymos.lepiller.eu> <87eg2etms7.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87bmxitmdi.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87y40m8ben.fsf@gnu.org> <8760nqtbg6.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6IWS-0007ZD-3E for guix-devel@gnu.org; Mon, 14 Nov 2016 09:46:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6IWO-0004Lc-RN for guix-devel@gnu.org; Mon, 14 Nov 2016 09:46:12 -0500 In-Reply-To: <8760nqtbg6.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Mon, 14 Nov 2016 13:53:13 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel@gnu.org Marius Bakke skribis: > Some failures are indeed due to missing network or programs in the build > environment. I tried patching a few just now, but unfortunately some > files are in a format apparently not supported by Guile! > > 870: 5 [call-with-input-file "ext/mbstring/tests/bug26639.phpt" ...] > In /gnu/store/ciqw5z470c8ihl1kfswj1j3ix6hs092d-module-import/guix/build/u= tils.scm: > 556: 4 [# d/utils.scm:555:10 (in)> #] > 592: 3 [# d/utils.scm:578:6 (in out)> #= ...] > In ice-9/rdelim.scm: > 188: 2 [read-line # concat] > In unknown file: > ?: 1 [%read-line #] > In ice-9/boot-9.scm: > 109: 0 [#= decoding-error ...] > > ice-9/boot-9.scm:109:20: In procedure # s)>: > ice-9/boot-9.scm:109:20: Throw to key `decoding-error' with args `("scm_g= etc" "input decoding error > " 84 #)'. > > `file` reports: ext/mbstring/tests/bug26639.phpt: Non-ISO extended-ASCII = text Presumably this is =E2=80=98substitute*=E2=80=99 failing to read the file. =E2=80=98substitute*=E2=80=99 expects input files to be UTF-8-encoded; when= this is not the case, you need to bind =E2=80=98%default-port-encoding=E2=80=99 to what= ever is the right encoding or #f for the catch-all ISO-8859-1. See =E2=80=98gettext-minimal=E2=80=99 for an example. HTH! Ludo=E2=80=99.