From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QNy9ObJH7GM5UQEAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 03:47:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MBaZObJH7GOQXAAAauVa8A (envelope-from ) for ; Wed, 15 Feb 2023 03:47:14 +0100 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 7C8D439EF1 for ; Wed, 15 Feb 2023 03:47:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="hm/leljs"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676429234; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=3nsDJ6uFtIUi7svO4fd4ME+FL2uJrpfFJU0uO5I9eBc=; b=dMpiiNuXJCnQkgxJ9Vv7HupcNVBMOjaLcmWpVK1NGG4LtFDn7/m75uPsLOssw5XUP7iGHI A30dL60COXM6+NMsGIMstTQv+IUORazG7DDXRSqJcqMeo7yqD4UgQEmTHm3NTVhNK+Q45J iRudgXpKo2U8ftQ+jDS6RHr5AH+5gEWs4SQtaV/H/TIakXBDlvOm0Xaw8EK2mVzT9yIEu/ Siz0Eo+W6KUKJxYx/zDeFB1Qq/9OZtIEVHB9uDtes2EuFg8z4ye+LZwKFuK3L5khwqavwc q6uYxU16gZuViaDtqz2e/nOsz//41YtKqcBjDUpKVE0RZql5ALOBa0MFUqRj1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="hm/leljs"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676429234; a=rsa-sha256; cv=none; b=emGwICYPfssGnPDVLNRubSSaLNWDCyQAjnSkDxkFz74W1r/OiochGRtKUAYe3d4ghOzPmX aO9e+kpYMxs7V3i7Mwh2+pA0JS5J2STF4b5N/Uk08EDSG/dLgOxPlDfVIT02mvWhpHAtQq SMD1LskMSR5K9V5nBWrQY4McPKYDAWvk1eK6zzndzq3M5bXmm1OtICajxJssMsiLHJXtRk zL/a2GHCyuoMu8/zqQR5QY/SK749jnLgEZC+YScuQL1dmGaQ4PGojMkEg/18dl/0Yoj06D zxra1V0n5MGiN5ZbEWY+ltvYUEeOxNYwj9wGGSZGexnQQQord4qlFPKRMGUlhA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pS7p1-0005xV-QT; Tue, 14 Feb 2023 21:47:03 -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 1pS7p0-0005wH-Pp for bug-guix@gnu.org; Tue, 14 Feb 2023 21:47:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pS7p0-00076v-Hm for bug-guix@gnu.org; Tue, 14 Feb 2023 21:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pS7p0-0003Co-6r for bug-guix@gnu.org; Tue, 14 Feb 2023 21:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59368: icecat does not honor /etc/timezone starting with 102.3.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Feb 2023 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59368 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 59368@debbugs.gnu.org Cc: Tobias Geerinckx-Rice Received: via spool by 59368-submit@debbugs.gnu.org id=B59368.167642916212245 (code B ref 59368); Wed, 15 Feb 2023 02:47:02 +0000 Received: (at 59368) by debbugs.gnu.org; 15 Feb 2023 02:46:02 +0000 Received: from localhost ([127.0.0.1]:57498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pS7o2-0003BP-I0 for submit@debbugs.gnu.org; Tue, 14 Feb 2023 21:46:02 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:34721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pS7o0-0003Aq-10 for 59368@debbugs.gnu.org; Tue, 14 Feb 2023 21:46:00 -0500 Received: by mail-qt1-f170.google.com with SMTP id f10so20521942qtv.1 for <59368@debbugs.gnu.org>; Tue, 14 Feb 2023 18:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=3nsDJ6uFtIUi7svO4fd4ME+FL2uJrpfFJU0uO5I9eBc=; b=hm/leljsX7OItUY4kG0P4FKbLUIJOD4Q2g2eo3QNULe4AgtPFiykvs8zKfAkXIcw5F Q4uO1RlCMzo6R36EwGOk0pY443Z5J/G5RGSxtipxFVY6X8ajzN/rEux5Nt8QJ1Qlk7L0 CCScQNS/4P7mP1odzEzub8h/y55emIEXsbWt7UstNONkG17P3bxcbDHAdjtGW7RJbhn8 KnzCPvSvKmguGO3zS3DeMxDA3OQnZ/inipMqWeHjTkHO6X8jjF9vnfPvUbBDBV7/jegY NpJJgOSH8T12JIYoJ4s2dxEXqyYlrCPqtGU7JD2NdD1i2mIlQ8obmJWKqTE40DOWvr/Y uDXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3nsDJ6uFtIUi7svO4fd4ME+FL2uJrpfFJU0uO5I9eBc=; b=F1qMHRa6JMQn7QGn7hk0qZCKbzL7rLSLrGo30x8FVCprqOteVWFfuEhN0Bx+pS3qJi b0bWaHoew3bXvRPLgoWMgPHLHh9+KOdmAd1WL7KlojrylS0lkKwggPGcOQCxxnzD4dhG a598ysfhvHaEoQdtW6hCAiHjNjrohvmC560CU590clb1x79DilGYnLwymQrlhQHP+pe/ 2sYOazXZHoTWwK4ksaR7REKeBV31yw3PS6+Xu25blRD0CTui/ShZiywLl79nKwFHm1ts iSCEdRxsVEyWsqnvVRaFWRdwWSL/XDlXllHmvyVK6CyMfExMZNmV9RRl0IJQmjZT/5tK 53mA== X-Gm-Message-State: AO0yUKUsIZ8E3aycR7nPxl16pmcYZUBOecDSHGeaRML++uxTBTjQccgU hrUd8P1J6w9t0lDEJl/cIO336h63G8uSVA== X-Google-Smtp-Source: AK7set/9MEVW3QoMr/TF5NQd6BVYSDO3FxxLyh10BDwQjvLyrJdkd7hM7cayGxkqC3WBiIo2LwzgQw== X-Received: by 2002:a05:622a:164b:b0:3b8:6bd7:6057 with SMTP id y11-20020a05622a164b00b003b86bd76057mr855165qtj.68.1676429154495; Tue, 14 Feb 2023 18:45:54 -0800 (PST) Received: from hurd (dsl-155-109.b2b2c.ca. [66.158.155.109]) by smtp.gmail.com with ESMTPSA id y16-20020ac85f50000000b003ba1ccba523sm12535990qta.93.2023.02.14.18.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 18:45:54 -0800 (PST) From: Maxim Cournoyer References: <87iljc2gat.fsf@gmail.com> <871qmtdxc1.fsf@gmail.com> <87wn4lc7tt.fsf@gmail.com> <87y1p0b3z1.fsf@gmail.com> Date: Tue, 14 Feb 2023 21:45:48 -0500 In-Reply-To: <87y1p0b3z1.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 14 Feb 2023 11:34:42 -0500") Message-ID: <875yc3hcir.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: X-Migadu-Queue-Id: 7C8D439EF1 X-Spam-Score: 4.58 X-Migadu-Spam-Score: 4.58 X-Migadu-Scanner: scn0.migadu.com List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: zKHlxR871lLs Hi, Maxim Cournoyer writes: > Hello, > > I've logged a feature request with ICU upstream at > https://unicode-org.atlassian.net/browse/ICU-22278. > > In the meantime, we can apply a patch to our icu4c@71 on master or icu4c > on core-updates to substitute the zoneinfo file name in > > "#define TZZONEINFO "/usr/share/zoneinfo/"" > > from the putil.cpp file of ICU. It seems this was a red herring; patching this reference doesn't help. I've made the following minimal reproducer to convince myself that ICU worked in isolation: --8<---------------cut here---------------start------------->8--- #include #include #include #include int main() { UChar result[100]; /* char16_t array */ UErrorCode errorCode = U_ZERO_ERROR; char timezone[200]; ucal_getHostTimeZone(result, 100, &errorCode); if (!u_austrncpy(timezone, result, 100)) { printf("error: failed to convert UChar array to byte string\n"); exit(1); } printf("host timezone: %s\n", timezone); } --8<---------------cut here---------------end--------------->8--- Building and running it yields: --8<---------------cut here---------------start------------->8--- $ make icu-repro && ./icu-repro gcc -I ./install/include -L ./install/lib -licudata -licuuc -licui18n \ -g3 -O0 icu-repro.c -o icu-repro host timezone: US/Eastern --8<---------------cut here---------------end--------------->8--- Which is correct for my America/Montreal defined timezone. To be continued... -- Thanks, Maxim