GNU bug report logs - #31602
libreoffice not reproducible

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Sat, 26 May 2018 07:32: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 31602 in the body.
You can then email your comments to 31602 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#31602; Package guix. (Sat, 26 May 2018 07:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 26 May 2018 07:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: libreoffice not reproducible
Date: Sat, 26 May 2018 09:31:17 +0200
[Message part 1 (text/plain, inline)]
libreoffice 5.4.7.2 is not reproducible:

│ │ ├── presets
│ │ │ ├── autotext
│ │ │ │ ├── mytexts.bau

and similar bau files

│ │ │ ├── autocorr
│ │ │ │ ├── acor_af-ZA.dat

and similar dat files

│ │ │ ├── config
│ │ │ │ ├── images_breeze.zip

and similar zip files
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#31602; Package guix. (Sun, 27 May 2018 21:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 31602 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 31602 <at> debbugs.gnu.org
Subject: Re: bug#31602: libreoffice not reproducible
Date: Sun, 27 May 2018 23:38:13 +0200
[Message part 1 (text/plain, inline)]
These are actually all zip files.  The reason for the non-reproducibility is
that something copies the contents from the source to a mktemp'ed directory
without preserving timestamps.  Then this directory is zipped up.

So the zip file now contains non-constant timestamps.

I think it's somewhere in postprocess, but I can't find it so far.

I found packimages.pl but I'm not sure whether this does the copying, too.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#31602; Package guix. (Tue, 29 May 2018 17:22:01 GMT) Full text and rfc822 format available.

Message #11 received at 31602 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 31602 <at> debbugs.gnu.org
Subject: Re: bug#31602: libreoffice not reproducible
Date: Tue, 29 May 2018 19:21:40 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> These are actually all zip files.  The reason for the non-reproducibility is
> that something copies the contents from the source to a mktemp'ed directory
> without preserving timestamps.  Then this directory is zipped up.

Without *clearing* timestamps?

> So the zip file now contains non-constant timestamps.
>
> I think it's somewhere in postprocess, but I can't find it so far.

Perhaps we could add a phase that unpacks-resets-repacks these?  Or,
alternately, something like the Debian/R-B tool (I forgot the name) that
does that automatically.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#31602; Package guix. (Wed, 30 May 2018 07:48:02 GMT) Full text and rfc822 format available.

Message #14 received at 31602 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 31602 <at> debbugs.gnu.org
Subject: Re: bug#31602: libreoffice not reproducible
Date: Wed, 30 May 2018 09:47:15 +0200
[Message part 1 (text/plain, inline)]
Hi Ludo,

On Tue, 29 May 2018 19:21:40 +0200
ludo <at> gnu.org (Ludovic Courtès) wrote:

> Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
> 
> > These are actually all zip files.  The reason for the non-reproducibility is
> > that something copies the contents from the source to a mktemp'ed directory
> > without preserving timestamps.  Then this directory is zipped up.  
> 
> Without *clearing* timestamps?

I think it's something like this:

src/foo.png exists with the source timestamp (which is constant for this version).

Something does mktemp, then copies the src/foo.png there without preserving timestamps.

Then this temp directory is zipped up.  Now it has the wrong (different, more current)
timestamps in it.

> Perhaps we could add a phase that unpacks-resets-repacks these?  Or,
> alternately, something like the Debian/R-B tool (I forgot the name) that
> does that automatically.

As a fallback - sure.

For now I've been trying to find the place in libreoffice where
it does the copying and patch that and upstream it.

I tried Zip.mk but seems that's not actually used (?).

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#31602; Package guix. (Tue, 14 Jul 2020 22:14:02 GMT) Full text and rfc822 format available.

Message #17 received at 31602 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 31602 <at> debbugs.gnu.org
Subject: Re: bug#31602: libreoffice not reproducible
Date: Wed, 15 Jul 2020 00:13:00 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> libreoffice 5.4.7.2 is not reproducible:

It’s still the case, here’s a complete list of files:

--8<---------------cut here---------------start------------->8---
$ guix challenge libreoffice --substitute-urls='https://ci.guix.gnu.org https://bayfront.guix.gnu.org'
/gnu/store/fv69m52aawvn7n5jk27bnrz1f2d7jvkp-libreoffice-6.4.4.2 contents differ:
  no local build for '/gnu/store/fv69m52aawvn7n5jk27bnrz1f2d7jvkp-libreoffice-6.4.4.2'
  https://ci.guix.gnu.org/nar/lzip/fv69m52aawvn7n5jk27bnrz1f2d7jvkp-libreoffice-6.4.4.2: 0fa8az4i1msscynapb9a8rn07w1q7j2bq441xwd4a38xvs3qrmz6
  https://bayfront.guix.gnu.org/nar/lzip/fv69m52aawvn7n5jk27bnrz1f2d7jvkp-libreoffice-6.4.4.2: 0mbh0ibhy548gln9a4b9q62w8y3pndils24g04wbpx92ysc7jidr
  differing files:
    /lib/libreoffice/share/template/common/styles/Modern.ott
    /lib/libreoffice/share/template/common/styles/Default.ott
    /lib/libreoffice/share/template/common/presnt/Vivid.otp
    /lib/libreoffice/share/template/common/presnt/Vintage.otp
    /lib/libreoffice/share/template/common/presnt/Sunset.otp
    /lib/libreoffice/share/template/common/presnt/Progress.otp
    /lib/libreoffice/share/template/common/presnt/Portfolio.otp
    /lib/libreoffice/share/template/common/presnt/Piano.otp
    /lib/libreoffice/share/template/common/presnt/Pencil.otp
    /lib/libreoffice/share/template/common/presnt/Nature_Illustration.otp
    /lib/libreoffice/share/template/common/presnt/Midnightblue.otp
    /lib/libreoffice/share/template/common/presnt/Metropolis.otp
    /lib/libreoffice/share/template/common/presnt/LushGreen.otp
    /lib/libreoffice/share/template/common/presnt/Lights.otp
    /lib/libreoffice/share/template/common/presnt/Inspiration.otp
    /lib/libreoffice/share/template/common/presnt/Impress.otp
    /lib/libreoffice/share/template/common/presnt/Forestbird.otp
    /lib/libreoffice/share/template/common/presnt/Focus.otp
    /lib/libreoffice/share/template/common/presnt/DNA.otp
    /lib/libreoffice/share/template/common/presnt/Classy_Red.otp
    /lib/libreoffice/share/template/common/presnt/BrightBlue.otp
    /lib/libreoffice/share/template/common/presnt/Blueprint_Plans.otp
    /lib/libreoffice/share/template/common/presnt/Blue_Curve.otp
    /lib/libreoffice/share/template/common/presnt/Beehive.otp
    /lib/libreoffice/share/template/common/presnt/Alizarin.otp
    /lib/libreoffice/share/template/common/personal/Resume1page.ott
    /lib/libreoffice/share/template/common/personal/CV.ott
    /lib/libreoffice/share/template/common/offimisc/Businesscard-with-logo.ott
    /lib/libreoffice/share/template/common/officorr/Modern_business_letter_serif.ott
    /lib/libreoffice/share/template/common/officorr/Modern_business_letter_sans_serif.ott
    /lib/libreoffice/share/config/images_tango.zip
    /lib/libreoffice/share/config/images_sifr_svg.zip
    /lib/libreoffice/share/config/images_sifr_dark_svg.zip
    /lib/libreoffice/share/config/images_sifr_dark.zip
    /lib/libreoffice/share/config/images_sifr.zip
    /lib/libreoffice/share/config/images_karasa_jaga_svg.zip
    /lib/libreoffice/share/config/images_karasa_jaga.zip
    /lib/libreoffice/share/config/images_elementary_svg.zip
    /lib/libreoffice/share/config/images_elementary.zip
    /lib/libreoffice/share/config/images_colibre_svg.zip
    /lib/libreoffice/share/config/images_colibre.zip
    /lib/libreoffice/share/config/images_breeze_svg.zip
    /lib/libreoffice/share/config/images_breeze_dark_svg.zip
    /lib/libreoffice/share/config/images_breeze_dark.zip
    /lib/libreoffice/share/config/images_breeze.zip
    /lib/libreoffice/share/autotext/en-US/template.bau
    /lib/libreoffice/share/autotext/en-US/standard.bau
    /lib/libreoffice/share/autotext/en-US/crdbus50.bau
    /lib/libreoffice/share/autocorr/acor_zh-TW.dat
    /lib/libreoffice/share/autocorr/acor_zh-CN.dat
    /lib/libreoffice/share/autocorr/acor_vi-VN.dat
    /lib/libreoffice/share/autocorr/acor_tr-TR.dat
    /lib/libreoffice/share/autocorr/acor_sv-SE.dat
    /lib/libreoffice/share/autocorr/acor_sr-RS.dat
    /lib/libreoffice/share/autocorr/acor_sr-ME.dat
    /lib/libreoffice/share/autocorr/acor_sr-Latn-RS.dat
    /lib/libreoffice/share/autocorr/acor_sr-Latn-ME.dat
    /lib/libreoffice/share/autocorr/acor_sr-Latn-CS.dat
    /lib/libreoffice/share/autocorr/acor_sr-CS.dat
    /lib/libreoffice/share/autocorr/acor_sl-SI.dat
    /lib/libreoffice/share/autocorr/acor_sk-SK.dat
    /lib/libreoffice/share/autocorr/acor_ru-RU.dat
    /lib/libreoffice/share/autocorr/acor_ro-RO.dat
    /lib/libreoffice/share/autocorr/acor_pt-PT.dat
    /lib/libreoffice/share/autocorr/acor_pt-BR.dat
    /lib/libreoffice/share/autocorr/acor_pl-PL.dat
    /lib/libreoffice/share/autocorr/acor_nl-NL.dat
    /lib/libreoffice/share/autocorr/acor_nl-BE.dat
    /lib/libreoffice/share/autocorr/acor_mn-MN.dat
    /lib/libreoffice/share/autocorr/acor_lt-LT.dat
    /lib/libreoffice/share/autocorr/acor_lb-LU.dat
    /lib/libreoffice/share/autocorr/acor_ko-KR.dat
    /lib/libreoffice/share/autocorr/acor_ja-JP.dat
    /lib/libreoffice/share/autocorr/acor_it.dat
    /lib/libreoffice/share/autocorr/acor_is-IS.dat
    /lib/libreoffice/share/autocorr/acor_hu-HU.dat
    /lib/libreoffice/share/autocorr/acor_hsb.dat
    /lib/libreoffice/share/autocorr/acor_hr-HR.dat
    /lib/libreoffice/share/autocorr/acor_ga-IE.dat
    /lib/libreoffice/share/autocorr/acor_fr.dat
    /lib/libreoffice/share/autocorr/acor_fi-FI.dat
    /lib/libreoffice/share/autocorr/acor_fa-IR.dat
    /lib/libreoffice/share/autocorr/acor_es.dat
    /lib/libreoffice/share/autocorr/acor_en-ZA.dat
    /lib/libreoffice/share/autocorr/acor_en-US.dat
    /lib/libreoffice/share/autocorr/acor_en-GB.dat
    /lib/libreoffice/share/autocorr/acor_en-AU.dat
    /lib/libreoffice/share/autocorr/acor_el-GR.dat
    /lib/libreoffice/share/autocorr/acor_dsb.dat
    /lib/libreoffice/share/autocorr/acor_de.dat
    /lib/libreoffice/share/autocorr/acor_da-DK.dat
    /lib/libreoffice/share/autocorr/acor_cs-CZ.dat
    /lib/libreoffice/share/autocorr/acor_ca-ES.dat
    /lib/libreoffice/share/autocorr/acor_bg-BG.dat
    /lib/libreoffice/share/autocorr/acor_af-ZA.dat
    /lib/libreoffice/presets/autotext/mytexts.bau
--8<---------------cut here---------------end--------------->8---

And indeed, all the template files as well as *.dat files are actually
zip files with embedded timestamps.

Ludo’.




Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Mon, 30 Nov 2020 20:48:02 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Mon, 30 Nov 2020 20:48:02 GMT) Full text and rfc822 format available.

Message #22 received at 31602-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 31602-done <at> debbugs.gnu.org
Subject: libreoffice not reproducible
Date: Mon, 30 Nov 2020 21:47:47 +0100
[Message part 1 (text/plain, inline)]
Finally fixed in commit 0d5578c12beec105f5ec113cc50deab703270a82:

 ~$ guix environment --pure guix -- ./pre-inst-env guix build \
    --{check,no-grafts} libreoffice
 successfully built /gnu/store/...-libreoffice-6.4.6.2.drv
 successfully built /gnu/store/...-libreoffice-6.4.6.2.drv
 /gnu/store/25q6nl2l2k3nks0rrh2ah5qsxr3mqy3a-libreoffice-6.4.6.2

Closing, though it remains to be seen whether it works across file 
systems.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Dec 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.