unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Reproducibility of Qt packages
       [not found] <20200415061156.12525.90496@vcs0.savannah.gnu.org>
@ 2020-04-15 17:09 ` Marius Bakke
  2020-04-16  1:47   ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Marius Bakke @ 2020-04-15 17:09 UTC (permalink / raw)
  To: Maxim Cournoyer, guix-devel

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

Hi Maxim,

I noticed this nice commit:

guix-commits@gnu.org writes:

> commit a4f1a7e2db22cd028fb514846c2791928b8734d3
> Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> AuthorDate: Wed Apr 15 02:03:26 2020 -0400
>
>     gnu: linphoneqt: Fix reproducibility issue and improve description.
>     
>     * gnu/packages/linphone.scm (linphoneqt)[phases]: Rename the 'patch phase to
>     'set-version-string, and use the version variable of the package in the
>     replacement.
>     {set-qt-rcc-source-date-override, fix-cmake-error}: Add phases.
>     [synopsis]: Explicit what the package is.
>     [description]: Mention more useful keywords and features.

[...]

> +         (add-after 'set-paths 'set-qt-rcc-source-date-override
> +           (lambda _
> +             ;; This fixes a reproducibility problem where the Qt Resource
> +             ;; Compiler (RCC) includes timestamp of the its source files
> +             ;; (see: https://reproducible-builds.org/docs/
> +             ;;       deterministic-build-systems/#cmake-notes)
> +             (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
> +             #t))

Would it make sense to add this variable directly in qt-build-system (or
maybe even patch Qt to make it the default)?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reproducibility of Qt packages
  2020-04-15 17:09 ` Reproducibility of Qt packages Marius Bakke
@ 2020-04-16  1:47   ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2020-04-16  1:47 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

Hello Marius!

Marius Bakke <mbakke@fastmail.com> writes:

> Hi Maxim,
>
> I noticed this nice commit:
>
> guix-commits@gnu.org writes:
>
>> commit a4f1a7e2db22cd028fb514846c2791928b8734d3
>> Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
>> AuthorDate: Wed Apr 15 02:03:26 2020 -0400
>>
>>     gnu: linphoneqt: Fix reproducibility issue and improve description.
>>     
>>     * gnu/packages/linphone.scm (linphoneqt)[phases]: Rename the 'patch phase to
>>     'set-version-string, and use the version variable of the package in the
>>     replacement.
>>     {set-qt-rcc-source-date-override, fix-cmake-error}: Add phases.
>>     [synopsis]: Explicit what the package is.
>>     [description]: Mention more useful keywords and features.
>
> [...]
>
>> +         (add-after 'set-paths 'set-qt-rcc-source-date-override
>> +           (lambda _
>> +             ;; This fixes a reproducibility problem where the Qt Resource
>> +             ;; Compiler (RCC) includes timestamp of the its source files
>> +             ;; (see: https://reproducible-builds.org/docs/
>> +             ;;       deterministic-build-systems/#cmake-notes)
>> +             (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
>> +             #t))
>
> Would it make sense to add this variable directly in qt-build-system (or
> maybe even patch Qt to make it the default)?

I thought about this, but according to
https://reproducible-builds.org/docs/deterministic-build-systems/#cmake-notes,
Qt version 5.13 honors SOURCE_DATE_EPOCH which we already set, so I
think it's better to move to this version as soon as possible instead.

Maxim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-16  1:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200415061156.12525.90496@vcs0.savannah.gnu.org>
2020-04-15 17:09 ` Reproducibility of Qt packages Marius Bakke
2020-04-16  1:47   ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).