[From nobody Sun Aug  2 08:23:06 2026
Received: (at submit) by bugs.debian.org; 31 Jul 2026 13:45:23 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.8 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FROMDEVELOPER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 115; neutral, 29; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;dparsons@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:55416)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;dparsons@debian.org&gt;) id 1wpnYB-002MnX-2o
 for submit@bugs.debian.org; Fri, 31 Jul 2026 13:45:23 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Date:Message-ID:Subject:To:From:
 Content-Transfer-Encoding:MIME-Version:Content-Type:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=dITwlCKQXohx7xGQMVdG5PGILr6D0gSpCKNqtba8nKw=; b=tKG2qgrn4+o0h740X6KJUfOXIZ
 etOWreRSago8ZZRInM66cnoZchuLTuoO6Z2ycaAwvHBeR3Da1XvJ0uSM3ZW5Ip60QS6UG7Sp486YO
 2/WUCS0faX7MUfKYAeUbqIHo9T3V0oYB3JivZNNYCFlieMpYnZzE7hMr4y6VAWUBxu/q5DbXfBsf4
 Go7Ceh6WFHWdQ33d5+Yb3fP43+80yhNyWCAE4Y8nDU4T6NVSu/6sLAAhQaih68oHAUP2PmYZiGQRq
 KwmSWZ+lWoEXeB0ywGiKO7oOgFdcZO8Qev3we424kMVXVHYKNlfS8LR4d0N0IB33yY/hEeBGvkyYk
 g8qX/SrQ==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;dparsons@debian.org&gt;)
 id 1wpnYA-00A3aP-0P; Fri, 31 Jul 2026 13:45:22 +0000
Received: from drew by gelly with local (Exim 4.99.4)
 (envelope-from &lt;dparsons@debian.org&gt;) id 1wpnY8-0000000Ce7W-3lkK;
 Fri, 31 Jul 2026 15:45:20 +0200
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Drew Parsons &lt;dparsons@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: reproducibility: codes_get_build_date() returns library build date
Message-ID: &lt;178550552088.2956968.12564084060109083107.reportbug@gelly&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Fri, 31 Jul 2026 15:45:20 +0200
X-Debian-User: dparsons
Delivered-To: submit@bugs.debian.org

Source: eccodes
Version: 2.48.0-1
Severity: normal

eccodes upstream has seen fit to make the library build date a part of
their API via codes_get_build_date()

The build date is set via src/eccodes/grib_api_version.cc.in

https://github.com/ecmwf/eccodes/blob/develop/src/eccodes/grib_api_version.cc.in

see also
https://github.com/ecmwf/eccodes/blob/f923a68eb9ce626db79f54bfe118865c8d688977/src/eccodes/eccodes.h#L1257
https://github.com/ecmwf/eccodes/blob/f923a68eb9ce626db79f54bfe118865c8d688977/src/eccodes/eccodes_prototypes.h#L758
https://github.com/ecmwf/eccodes/blob/f923a68eb9ce626db79f54bfe118865c8d688977/tools/codes_info.cc#L59
https://github.com/ecmwf/eccodes/blob/f923a68eb9ce626db79f54bfe118865c8d688977/tests/unit_tests.cc#L79


Debian now has an enforced policy of reproducible builds, which is
deliberately violated by eccodes through this codes_get_build_date()

So we have a problem. What is the best way to resolve it?

Hard code the &quot;build date&quot; to the tag release date?
Or to the original first eccodes date, Mar 25, 2013?

Or ask the release team for an exception to the reproducible builds
policy?
]