GNU bug report logs -
#58031
LibreOffice 7.3.5.2 is not reproducible
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Fri, 23 Sep 2022 20:13:01 UTC
Severity: normal
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58031 in the body.
You can then email your comments to 58031 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#58031
; Package
guix
.
(Fri, 23 Sep 2022 20:13:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 23 Sep 2022 20:13:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
There’s a single file that differs:
--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 228 Sep 12 2022 08:17:50 (current)
guix e3ed1d0
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: e3ed1d09f9d490eff6becd6e9cb85a4d36c48e85
$ guix challenge libreoffice
/gnu/store/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2 contents differ:
no local build for '/gnu/store/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2'
https://ci.guix.gnu.org/nar/lzip/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2: 1hp4dknx01s2lylf0bfagfvf04naaayrhyjbwa5l2iv0vqxdbcx8
https://bordeaux.guix.gnu.org/nar/lzip/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2: 10vraihz73428z453wj7546ic98bkv3mkdr5222lg6grrfc49rp3
differing file:
/lib/libreoffice/share/template/common/draw/bpmn.otg
1 store items were analyzed:
- 0 (0.0%) were identical
- 1 (100.0%) differed
- 0 (0.0%) were inconclusive
--8<---------------cut here---------------end--------------->8---
It’s apparently a zip file and the difference lies in mtimes:
--8<---------------cut here---------------start------------->8---
$ guix challenge libreoffice --diff=diffoscope
/gnu/store/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2 contents differ:
no local build for '/gnu/store/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2'
https://ci.guix.gnu.org/nar/lzip/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2: 1hp4dknx01s2lylf0bfagfvf04naaayrhyjbwa5l2iv0vqxdbcx8
https://bordeaux.guix.gnu.org/nar/lzip/652zk4gzcnwpq90lbzvr1gk5q2p3flf7-libreoffice-7.3.5.2: 10vraihz73428z453wj7546ic98bkv3mkdr5222lg6grrfc49rp3
bordeaux.guix.gnu.org 125.3MiB 10.5MiB/s 00:12 [##################] 100.0%--- /tmp/guix-directory.7C81ON
+++ /tmp/guix-directory.n0WtkB
│ --- /tmp/guix-directory.7C81ON/lib
├── +++ /tmp/guix-directory.n0WtkB/lib
│ │ --- /tmp/guix-directory.7C81ON/lib/libreoffice
│ ├── +++ /tmp/guix-directory.n0WtkB/lib/libreoffice
│ │ │ --- /tmp/guix-directory.7C81ON/lib/libreoffice/share
│ │ ├── +++ /tmp/guix-directory.n0WtkB/lib/libreoffice/share
│ │ │ │ --- /tmp/guix-directory.7C81ON/lib/libreoffice/share/template
│ │ │ ├── +++ /tmp/guix-directory.n0WtkB/lib/libreoffice/share/template
│ │ │ │ │ --- /tmp/guix-directory.7C81ON/lib/libreoffice/share/template/common
│ │ │ │ ├── +++ /tmp/guix-directory.n0WtkB/lib/libreoffice/share/template/common
│ │ │ │ │ │ --- /tmp/guix-directory.7C81ON/lib/libreoffice/share/template/common/draw
│ │ │ │ │ ├── +++ /tmp/guix-directory.n0WtkB/lib/libreoffice/share/template/common/draw
│ │ │ │ │ │ │ --- /tmp/guix-directory.7C81ON/lib/libreoffice/share/template/common/draw/bpmn.otg
│ │ │ │ │ │ ├── +++ /tmp/guix-directory.n0WtkB/lib/libreoffice/share/template/common/draw/bpmn.otg
│ │ │ │ │ │ │ ├── zipinfo {}
│ │ │ │ │ │ │ │ @@ -1,8 +1,8 @@
│ │ │ │ │ │ │ │ Zip file size: 36563 bytes, number of entries: 6
│ │ │ │ │ │ │ │ --rw-r--r-- 3.0 unx 52 b- stor 22-Aug-29 17:52 mimetype
│ │ │ │ │ │ │ │ --rw-r--r-- 3.0 unx 281529 t- defN 22-Aug-29 17:52 content.xml
│ │ │ │ │ │ │ │ --rw-r--r-- 3.0 unx 711 t- defN 22-Aug-29 17:52 META-INF/manifest.xml
│ │ │ │ │ │ │ │ --rw-r--r-- 3.0 unx 1096 t- defN 22-Aug-29 17:52 meta.xml
│ │ │ │ │ │ │ │ --rw-r--r-- 3.0 unx 25395 t- defN 22-Aug-29 17:52 styles.xml
│ │ │ │ │ │ │ │ --rw-r--r-- 3.0 unx 4680 b- defN 22-Aug-29 17:52 Thumbnails/thumbnail.png
│ │ │ │ │ │ │ │ +-rw-r--r-- 3.0 unx 52 b- stor 22-Aug-16 02:46 mimetype
│ │ │ │ │ │ │ │ +-rw-r--r-- 3.0 unx 281529 t- defN 22-Aug-16 02:46 content.xml
│ │ │ │ │ │ │ │ +-rw-r--r-- 3.0 unx 711 t- defN 22-Aug-16 02:46 META-INF/manifest.xml
│ │ │ │ │ │ │ │ +-rw-r--r-- 3.0 unx 1096 t- defN 22-Aug-16 02:46 meta.xml
│ │ │ │ │ │ │ │ +-rw-r--r-- 3.0 unx 25395 t- defN 22-Aug-16 02:46 styles.xml
│ │ │ │ │ │ │ │ +-rw-r--r-- 3.0 unx 4680 b- defN 22-Aug-16 02:46 Thumbnails/thumbnail.png
│ │ │ │ │ │ │ │ 6 files, 313463 bytes uncompressed, 35921 bytes compressed: 88.5%
1 store items were analyzed:
- 0 (0.0%) were identical
- 1 (100.0%) differed
- 0 (0.0%) were inconclusive
--8<---------------cut here---------------end--------------->8---
We could add a phase that resets timestamps in the zip file, or we could
tweak the build process that produces it.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58031
; Package
guix
.
(Fri, 25 Nov 2022 22:41:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58031 <at> debbugs.gnu.org (full text, mbox):
Hi,
From some local testing, it appears the timestamps in bpmn.otg can be addressed by adding "otg" to the list of file extensions the existing 'reset-zip-timestamps phase looks for:
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 8343f8ffc6..69319177db 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1159,7 +1159,7 @@ (define-public libreoffice
(for-each (lambda (file)
(invoke "ziptime" file))
;; So many different extensions for .zip files.
- (find-files #$output "\\.(bau|dat|otp|ott|zip)$"))))
+ (find-files #$output "\\.(bau|dat|otg|otp|ott|zip)$"))))
(add-after 'install 'bin-and-desktop-install
;; Create 'soffice' and 'libreoffice' symlinks to the executable
;; script.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58031
; Package
guix
.
(Sat, 26 Nov 2022 22:16:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Kaelyn,
Kaelyn via Bug reports for GNU Guix 写道:
> diff --git a/gnu/packages/libreoffice.scm
> b/gnu/packages/libreoffice.scm
Thanks! Pushed as 68925b5ee7e0d96b0c84ae98a633eea5097bf511.
This patch was missing a commit message (in fact it was just a
diff). I added one:
gnu: libreoffice: Build reproducibly.
* gnu/packages/libreoffice.scm (libreoffice)[arguments]:
Include ‘.otp’
files in the 'reset-zip-timestamps phase.
In future, please use ‘git send-email’ if possible, or ‘git
format-patch’ otherwise, and read the Guix manual section on
submitting patches if you haven't yet.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Tobias Geerinckx-Rice <me <at> tobias.gr>
:
You have taken responsibility.
(Sat, 26 Nov 2022 22:16:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
bug acknowledged by developer.
(Sat, 26 Nov 2022 22:16:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 25 Dec 2022 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.