From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EId4E5HDVWLTFAAAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 20:23:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KE0uDJHDVWKAcwAAG6o9tA (envelope-from ) for ; Tue, 12 Apr 2022 20:23:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C551F2F223 for ; Tue, 12 Apr 2022 20:23:12 +0200 (CEST) Received: from localhost ([::1]:42008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neLAV-0007ED-BV for larch@yhetil.org; Tue, 12 Apr 2022 14:23:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neLAK-0007Db-Lv for help-guix@gnu.org; Tue, 12 Apr 2022 14:23:00 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:55211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neLAI-00006G-PL for help-guix@gnu.org; Tue, 12 Apr 2022 14:23:00 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DCFD03201F01 for ; Tue, 12 Apr 2022 14:22:56 -0400 (EDT) Received: from imap49 ([10.202.2.99]) by compute3.internal (MEProxy); Tue, 12 Apr 2022 14:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1649787776; x=1649874176; bh=3PWF0C4+Tt5DBKswNoTLCVfj00Cr SXQ3Pi8EbBFzM84=; b=gIfm8jISzHwSB6HXsk3P362B+1kyOyeLA2v9F+2Awi5S +k1uJB9+WSehdGrAkjI4tuBqhFHi2EubQi1USFw1aDnSHYoHS1siOZx03MOdjvWL 46lPBTUYdBhVcdp9iiZFSGJyM5CbvTt3p5+tOVD8ezx5c4OaN0p2lJ3NNQxOuur2 ez/oLslxygxVohE09/2j5BriPDwOmw4hN5f0n3/Yex3NxC8frvECy/Wqp3hAKC8s Kd7Sj9V9m6N3oocXy2+/jDnBBAB9OoDku8vnkDn+18FNt0TkBXjDPW4IohE0IIVa ylq32Fc2Jd6AxM0cgxtY4uO/06Wt2rirbyrm4r/ofw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekkedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgfgse htqhertderreejnecuhfhrohhmpedfffgrvhhiugcutehrrhhohihofdcuoegurghvihgu segrqhifrghrihdrnhgvtheqnecuggftrfgrthhtvghrnhepledtleeilefhuefhffeuie efvdettdeuudejtedvteetvdefkeekheefgffggfeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepuggrvhhiugesrghqfigrrhhirdhnvght X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 57ACC15A005F; Tue, 12 Apr 2022 14:22:56 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-386-g4174665229-fm-20220406.001-g41746652 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Tue, 12 Apr 2022 14:22:36 -0400 From: "David Arroyo" To: help-guix@gnu.org Subject: Re: Defining a toolchain with musl libc Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.19; envelope-from=david@aqwari.net; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649787792; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3PWF0C4+Tt5DBKswNoTLCVfj00CrSXQ3Pi8EbBFzM84=; b=pCjZ6+JMCM/VA8Wm0oIPl1l4NHXPza0KnLuI4U636yanbLxhZRHwMasDyZ+wmIjsKrF52U GT1VBEy3upAE4unDPplN/Bl/wuBzcX3JxS9HdBRxIv058ylvLOapmn64LS+/asi6UbS6l7 9DepCgEIIk2YoiGCjAH4G/nWjy/EifMKHgOLDMAOvkwopEH70AfY7l3XIIpkGixaPPm9aR yKrdh/9+rGbbdC1Ea2LsZN0NykTTu6Du7h9PiKZKHP0a1gd3qmAHeSFzNsRBmLCNzwH9to s5Gz5ENxFoKwtWcICCcFLWAFxtQrtYtBF9prm81m+KscCOC0F7SY1zswcxqpcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649787792; a=rsa-sha256; cv=none; b=dU03LldC/WXbmeDPos6WL+KQQccv9E6BCOWTYw/6kHO0UvEmZRrV1qKPn/vVcpd3fEN9oN 2u8legp1e6M7/hiZX8oYm38mAj1RJv8frK26MprK+Ab4N6y1oUYUbJqt1a2WOGBwYBHg1r RifWnafHRIYrSCr5hFrIyFpgs+A3r0a0SInzril5Ia7RAoIxybEVT/9jZu5rqEXu6atFxi U7V2vvBAELuzCUPg4c3IOilpvgpXOIaydXPf00CJ72iTAdMFAgpJ+dX3JOrSbUXaXROa34 yRkZyldDAOCsiDE8kS5k4JUogcLGqCJl1MfECGd/YZ7bAuj/ZEdI3768fShO9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=gIfm8jIS; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=gIfm8jIS; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C551F2F223 X-Spam-Score: 1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: Nakd7L4Stk/F On Mon, Apr 11, 2022, at 22:34, David Arroyo wrote: > error: in phase 'patch-source-shebangs': uncaught exception: > encoding-error "scm_to_stringn" "cannot convert narrow string to=20 > output locale" 84 #f #f Looking further into this error, errno 84 is EILSEQ, "illegal byte sequence". The error is raised during the 'patch-source-shebangs' phase, while patching ./gcc/testsuite/gdc.test/compilable/test13512.d This file has the shebang #!/opt/dmd/=C3=90=C3=92=C3=8F=C3=82=C3=99/rdmd This in turn seems to be tripping up this line in guix/build/utils.scm:1= 094 : (and=3D> (and line (regexp-exec shebang-rx line)) I'm not sure why I don't hit this error when building gcc-toolchain. Perhaps there is different locale information in the build environment without glibc. David