guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reproducibility of Qt packages


From: Marius Bakke
Subject: Reproducibility of Qt packages
Date: Wed, 15 Apr 2020 19:09:01 +0200
User-agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu)

Hi Maxim,

I noticed this nice commit:

address@hidden writes:

> commit a4f1a7e2db22cd028fb514846c2791928b8734d3
> Author: Maxim Cournoyer <address@hidden>
> 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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]