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 WP05DB+9PGeRVQEA62LTzQ:P1 (envelope-from ) for ; Tue, 19 Nov 2024 16:30:23 +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 WP05DB+9PGeRVQEA62LTzQ (envelope-from ) for ; Tue, 19 Nov 2024 17:30:23 +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=l+1CnM3Z; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=bAg1CzKt; 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=1732033823; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=z8eQwFPmQsTueFe3YtY1hOBW3c9IrFZaE5rUy0YgAo4=; b=nh2xaHBE9e/Nt3VSaQsL/PiD8NFacXX6fcs7/tz7rSfkfeX1eE8r8njJnygPED/ZproFaK HghGJfbHdzBj6kqHfNcztvbSbQh89WSQxOB6H3WQDC19Rd1PlpiNnVetAY/lp0DsS9arQ9 hjS0TYffaPGNL/VZaPtCr45r7x2bZUyvCRI8s102BfO9Z2h2fY5llPTyYeVMIZRr9CbewR vddWCI2NDi272fC5e/fvIzq/sVqN6yhJLTmPN2vJBT9pyWv+4iBZGz1KYxO2tSdJnh5u0p 98NgH53u5Bc7RTmS3e4grdnFqSzGXzYLyp+XIh6dFHzsVQXZl816izkot4LGpw== 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=l+1CnM3Z; dkim=fail ("headers rsa verify failed") header.d=whispers-vpn.org header.s=protonmail header.b=bAg1CzKt; 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-Seal: i=1; s=key1; d=yhetil.org; t=1732033823; a=rsa-sha256; cv=none; b=XLaTrUSThQBUjBDOXMdtBXCJYVbTcFDEwiMlF7BbCKjzZPnSIImQYL2iNb/MesehjUnYgT XzQ8Q1qQBYE5flo6OCYIE+nejisYzzW2ouGUuOzfEzCKO+a5U09H04WW5SMxCYggQLGGfm PA271wc6uk2eQfrp2LGPUG+/k2hqb5Fn7p1gveeGJ/mqkRne+nu7PaFL8x7aQPnG5pwCjO JK5eq04AsnGPzFAAdi9TIXvC478oHramMFuGklclFQlnGJtf3hRlV7jQkqDmnvcKi+fX7w 5e1JybuX/68344JNnQMe8/gNcHgJfVbvAeNtaZgljolmuPVsj04fEYWi593VoQ== 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 767B5787EF for ; Tue, 19 Nov 2024 17:30:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDPvh-00080r-Dp; Tue, 19 Nov 2024 10:14:13 -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 1tDPvW-0007z1-GL for guix-patches@gnu.org; Tue, 19 Nov 2024 10:14: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 1tDPvW-0005C3-7e for guix-patches@gnu.org; Tue, 19 Nov 2024 10:14:02 -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:From:Date:To:In-Reply-To:References:Subject; bh=z8eQwFPmQsTueFe3YtY1hOBW3c9IrFZaE5rUy0YgAo4=; b=l+1CnM3ZAbord0FQC0Vm0HuUjBVLRqhETHRnjx0vVWwekWsKZK4+1kDqcTzh8vm+AmU+Yu8lndqiaX17S/xSsxY6ucMzpd/siBV1x8SIWAZfVjVuXDX3xMrr16dOKhXDMHO5ECnaddmtNczb04wCwZnBkF9+JRl0Dy7+0vy+ChgOPnlAcW2+un+iSiHCBe4eqSF9nEuwUHGaKJShQE38teInyACZqOykGHpy8at8lpoPuT012ws57zDb7mMsOB0FkGLIsqFG6eiIkbxU8MiDeljWdgXa/Gv0bpU5/CpZmW/Fnb2YjOyeaEnGUzwc0bk8b43I7jNTU5497q1uQaidiw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDPvW-0002tR-1F for guix-patches@gnu.org; Tue, 19 Nov 2024 10:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74411] freedict-dictionaries build non-deterministic References: In-Reply-To: Resent-From: Runciter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 15:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Graves Cc: 74411@debbugs.gnu.org Received: via spool by 74411-submit@debbugs.gnu.org id=B74411.173202920311062 (code B ref 74411); Tue, 19 Nov 2024 15:14:01 +0000 Received: (at 74411) by debbugs.gnu.org; 19 Nov 2024 15:13:23 +0000 Received: from localhost ([127.0.0.1]:43639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDPus-0002sL-IJ for submit@debbugs.gnu.org; Tue, 19 Nov 2024 10:13:22 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:46961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDPuo-0002s3-FW for 74411@debbugs.gnu.org; Tue, 19 Nov 2024 10:13:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whispers-vpn.org; s=protonmail; t=1732029190; x=1732288390; bh=z8eQwFPmQsTueFe3YtY1hOBW3c9IrFZaE5rUy0YgAo4=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=bAg1CzKtf6AgnN870S4deT9hZFakX5GyRuQx4qK8rozXGETR343vBfASLm/I4pHsE 8MUNxH7Phuy0RwRsviDsgbhJZupeI7+O87PIh8fOFjS+ACqe9SwfNPh15weJ7yhkFE QQY6SeSKDMPjr4SiiYpcZIZNoUL9mTE4NWHziZNjzOH/pxPw/XBYw5hfJioZJh1WrW UP5YT8h4o/G2x2LzNMgztLnvDPMI8x51Ng69IHB5r/Z8yDZd2YhTG2PsaUVpKHy/5U s3JDIXa5NQqTUk/k1SsRCPPfrWOdPgAaHhTzL14LLCW7ssc+0PTrC2XI39ztBiHP10 ShwfOg1wh5V6Q== Date: Tue, 19 Nov 2024 15:13:06 +0000 Message-ID: <871pz76yv7.fsf@whispers-vpn.org> Feedback-ID: 119317227:user:proton X-Pm-Message-ID: 80ce89d9ca239d47d3308c9106eb181cbf4e6b13 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Runciter X-ACL-Warn: , Runciter via Guix-patches From: Runciter 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.62 X-Spam-Score: -2.62 X-Migadu-Queue-Id: 767B5787EF X-TUID: GZOWfLLF1av2 "Nicolas Graves" writes: > On 2024-11-18 06:37, Runciter via Guix-patches via wrote: > >> The build of the package freedict-dictionaries is non-deterministic, at >> least because the output dictionaries are compressed by the utility >> dictzip, which includes a timestamp in the compressed file headers. > > Are you sure there are no options at compression time to force > determinism on the archive? > I'm as sure as one can be when one has read the man page of dictzip. That is to say, not sure about undocumented features. Independently of dictzip capabilities, one problem actually is having to patch the freedict-tools package if one wants to change anything to the output compression of freedict-dictionaries. From what I found online, FreeDict does not document how to fine-tune or disable dictzip compression within its build system. In the place where it's done at compile-time, I don't see any handles I could use; you can look if you want, it's in the source of the freedict-tools package, the 'install-base' target found in the file mk/dicts.mk. Now that I think about it I figure, IF a patch has to be done, then surely anyway some command-line hack could be inserted into the target from the patch that would make up for the lack of a usable command-line switch in dictzip... It's lame to have to create, setup and maintain a patch, but if it has to be done we might as well enjoy the flexibility. Incidentally, gzip as a subsitute for dictzip is documented to work in dictd, some dictd optimizations would be lost though, I guess gzipped dictionaries may also work in dicod and I also guess, dicod probably does not bother to make detailed optimizations tailored to the dictzip format specifics. This and other considerations makes it potentially worthwhile to experiment a little by creating a dictd service in my system, if that is practical, as well as playing around with the relevant dicod handler. Let me study in those directions until the end of the week and get back to you. Regards,