From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +OkwC5FlY2e0CgEA62LTzQ:P1 (envelope-from ) for ; Thu, 19 Dec 2024 00:15:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +OkwC5FlY2e0CgEA62LTzQ (envelope-from ) for ; Thu, 19 Dec 2024 01:15:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ghDRxAeW; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b=yyqTKZUt; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734567313; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8BuJsZowJVJ+Q+rGyXC8qOV8QBKV0fcTw5RZAyE+xSg=; b=B47zkdmFcWcYC9qt3+qgAOkgIMqFDMtFYf2QdeEIyWHY7Etzmc75qiZSJxt1BZnjSdMR/T 38tfLXUWhs2IBckB1e31S5hBxyL8fTVoTqEVwZpFgY83Wr0qbY5GrGy98vgfGN+jILTnbn Hn00XGQ467MyDSnqz4oSlk0dOLXggO4l8jTOpFCG2Ni6uilKYlQGmfUWFzVJzQC5gP1qR5 RN/NbX/bkaIUmS+RmNR3exHWk2pF0zErGXjTKHPy700v+AuxHO9ogSjI1MsybSmWoa2ZjF wRcGHS+91T637mBRJ6868VgBiO+eofTKoi+ihik/xwssHfT0NNUMKq0ZirQrpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734567313; a=rsa-sha256; cv=none; b=fSGVSvUjJWeTPfYHNd6o52nFEF61viPEkn1jh4hxgK9Y1fOyCCg0FcnoLTmr6xv67py7gG N1Qpzs/L0ytoNfAa8FCvN0xFFHhUsdlzeUMkinuBoDzifp9K/E/QCUnODIEQOPh+1cegMJ UXA/TJD3iZD1HIG8zsa0/nU6bXic0u9z3jgd3Mh35sKd9DSUhTOlQ0W2byLDR6vMWWg+Xc M5w0nAoW5EqrMB2DQsQcvV1BWmgJLBSXyg4S7TRONdYfV2CSAZnH7FjQGTmYgITOoC+9JY BmYr+Wy6NFv9yvFoUQDethAPAAsZH9TOja2APstGNhiKSqUpDnbucN5C9EhbTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ghDRxAeW; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b=yyqTKZUt; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 12DE680BCF for ; Thu, 19 Dec 2024 01:15:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tO4C1-0006C2-SQ; Wed, 18 Dec 2024 19:15:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tO4Bz-0006A0-WB for guix-patches@gnu.org; Wed, 18 Dec 2024 19:15:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tO4Bz-00049c-Mp for guix-patches@gnu.org; Wed, 18 Dec 2024 19:15:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=8BuJsZowJVJ+Q+rGyXC8qOV8QBKV0fcTw5RZAyE+xSg=; b=ghDRxAeWCH0Zy5MGa6EVi2E0R85dwjtazh/Quxoewz9dj8x/ygq9rn+XVwDsmDGY3mhhkjjLpbMFGjVm+ktXa1Rb6jVBO1cgNHcGsVSsSLWIQliSJLp1/yDU6Xmnw2CwzygcFdVenVwUBSE04t/xDbKbUVRGq3WGALIsASX4ITOR5IrWbSmp+c8UDGCY883Y7LgioHVd5rP6O/Ry6ZXkOi0jGUffzcpz1VH4wL7jrCf3yWa0aPioFdhKP2VcNit+7HtzMdGUCx1NiQSKauGjOp96+YcmfWEk/UDHTzroAXLKOaZ0giBIrazModngdBwLlKjQPKIBVbSi3hH3UA9CDw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tO4By-0001mC-Hf for guix-patches@gnu.org; Wed, 18 Dec 2024 19:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74956] [PATCH] build: pack: Fix unexpected type in assert-utf8-local. Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Dec 2024 00:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74956@debbugs.gnu.org Cc: =?UTF-8?Q?No=C3=A9?= Lopez X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17345672506726 (code B ref -1); Thu, 19 Dec 2024 00:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2024 00:14:10 +0000 Received: from localhost ([127.0.0.1]:36514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tO4B8-0001kP-EI for submit@debbugs.gnu.org; Wed, 18 Dec 2024 19:14:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:43884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tO4B6-0001kI-KU for submit@debbugs.gnu.org; Wed, 18 Dec 2024 19:14:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tO4B6-000632-Bs for guix-patches@gnu.org; Wed, 18 Dec 2024 19:14:08 -0500 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tO4B4-00045v-1F for guix-patches@gnu.org; Wed, 18 Dec 2024 19:14:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202402; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8BuJsZowJVJ+Q+rGyXC8qOV8QBKV0fcTw5RZAyE+xSg=; b=yyqTKZUtM84G2yXdL6BW80dmd+ zTg4dE9PdUdz0fzej0HoIMrpdrsRtrRsPYvBiVvUql71+QX4L+mIN1UfPRFljemerDTYzm/XWpcwV GDN53vjXwhjedkjus/apE7hOrhFEt86642sNy2jUq6KXk6wvqT5dVC0SdBW4VFOeesblLi+zUDuPM 917vtWfiUOnRFxnZBcYtQ0qpWlK9Xsm+alEiSUihjwZ/TdGL10P1oYaFMU3SqP4tIki2Kn7B1A2WQ 3KOeflxHOA8SRNpCxfMdYxxnn+WSZFaIF87cxnZdC9JzVTWxNtA40phTiT4MKPscwnX0AmsyVgQ7T cge3W9ZQ==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1tO4Au-00COdr-6y; Thu, 19 Dec 2024 01:13:56 +0100 Date: Thu, 19 Dec 2024 01:15:05 +0100 Message-ID: <7498899ac5e19362bdaae45c2bf185bb10709a71.1734567208.git.noelopez@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?UTF-8?Q?No=C3=A9?= Lopez X-ACL-Warn: , =?utf-8?q?No=C3=A9_Lopez_via_Guix-patches?= From: =?utf-8?q?No=C3=A9_Lopez_via_Guix-patches?= via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.21 X-Spam-Score: -2.21 X-Migadu-Queue-Id: 12DE680BCF X-TUID: o3d+NLW2it93 From: NoƩ Lopez getenv returns #f if the environment variable does not exist, causing a type error since string=? expects a string. * guix/build/pack.scm (assert-utf8-locale): Handle unset environment variable. Change-Id: Idbe7a33a4c8453b8f4ffe6245c32c1373020fb06 --- guix/build/pack.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/pack.scm b/guix/build/pack.scm index fcb1da2a6c..1b28101469 100644 --- a/guix/build/pack.scm +++ b/guix/build/pack.scm @@ -72,7 +72,7 @@ (define* (tar-base-options #:key tar compressor) (define (assert-utf8-locale) "Verify the current process is using the en_US.utf8 locale." - (unless (string=? "unset for tests" (getenv "GUIX_LOCPATH")) + (unless (string=? "unset for tests" (or (getenv "GUIX_LOCPATH") "")) (unless (false-if-exception (setlocale LC_ALL "en_US.utf8")) (error "environment not configured for en_US.utf8 locale")))) base-commit: 1a62f687e504c67f26693f3bc60a90e503ab4ea9 -- 2.46.0