From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:59498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go790-0004te-Lb for guix-patches@gnu.org; Mon, 28 Jan 2019 08:40:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go78t-0007CF-4t for guix-patches@gnu.org; Mon, 28 Jan 2019 08:40:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1go78t-00079w-0k for guix-patches@gnu.org; Mon, 28 Jan 2019 08:40:03 -0500 Subject: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87munrivyd.fsf@gnu.org> <8736pj77x4.fsf@elephly.net> <20190128120720.094dd8be@scratchpost.org> Date: Mon, 28 Jan 2019 14:39:35 +0100 In-Reply-To: <20190128120720.094dd8be@scratchpost.org> (Danny Milosavljevic's message of "Mon, 28 Jan 2019 12:07:20 +0100") Message-ID: <87munkrje0.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 34165@debbugs.gnu.org, Carl Dong Hi Danny, Danny Milosavljevic skribis: > [1] https://github.com/qt/qtbase/commit/38271e9298dcf48652a6e2e08414a940a= 97867fa#commitcomment-32085478 > > https://codereview.qt-project.org/#/c/243636/4/src/tools/rcc/rcc.cpp,unif= ied contains the following patch: > > ... > 228 228 const QDateTime lastModified =3D m_fileInfo.lastModified= (); > 229 229 quint64 lastmod =3D quint64(lastModified.isValid() ? la= stModified.toMSecsSinceEpoch() : 0); > 230 230 static const quint64 sourceDate =3D 1000 * qgetenv("QT_= RCC_SOURCE_DATE_OVERRIDE").toULongLong( > ); > 231 231 if (sourceDate !=3D 0) > 232 232 lastmod =3D sourceDate; > 233 + static const quint64 sourceDate2 =3D 1000 * qgetenv("SOURC= E_DATE_EPOCH").toULongLong(); > 234 + if (sourceDate2 !=3D 0) > 235 + lastmod =3D sourceDate2; Nice, so maybe we don=E2=80=99t need to change anything and just wait for t= he next Qt version? Ludo=E2=80=99.