all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unable to build "Ten Years Reproducibility Challenge" paper
@ 2023-10-29 18:44 Suhail
  2023-10-31 13:03 ` Julien Lepiller
  2023-10-31 15:19 ` Simon Tournier
  0 siblings, 2 replies; 9+ messages in thread
From: Suhail @ 2023-10-29 18:44 UTC (permalink / raw)
  To: Help-Guix mailing list; +Cc: Suhail

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

Hi Guix,

I am relatively new to Guix. I recently came across this blog post:
<https://hpc.guix.info/blog/2020/06/reproducible-research-articles-from-source-code-to-pdf/>.

In trying to build and run the evaluation as documented in
<https://gitlab.inria.fr/lcourtes-phd/edcc-2006-redone>, I'm
encountering the following error (both on Guix package on OpenSUSE
distribution as well as on Guix system in a VM):

#+begin_example
  $> guix time-machine -C channels.scm -- build -f guix.scm
  Updating channel 'guix-past' from Git repository at 'https://gitlab.inria.fr/guix-hpc/guix-past.git'...
  Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...

  ...

  building /gnu/store/vsvpi0cy4g3s5w7p9rj3ixnw16jllmr1-guix-config.drv...
  building /gnu/store/2igl2vvjmvg2qwizy5w0gvf63vsvb44x-guix-core.drv...
  building /gnu/store/0y3m9wj8qziblk743fjjxmn1iybm2zif-guix-config-modules.drv...
  building /gnu/store/0ny9586ypfm7d7k9ly3s4i60hb3wczlj-guix-core-modules.drv...
  building /gnu/store/cscfsg5hmznn5rgk3q8affwc5445fqcd-openssl-1.1.1g.tar.xz.drv...
  applying 6 grafts for pango-1.42.4 ...
  building /gnu/store/vvhn7r1343mkyj291h13f3bk29n6m8j6-openssl-1.1.1g.drv...
  / 'check' phasebuilder for `/gnu/store/vvhn7r1343mkyj291h13f3bk29n6m8j6-openssl-1.1.1g.drv' failed with exit code 1
  build of /gnu/store/vvhn7r1343mkyj291h13f3bk29n6m8j6-openssl-1.1.1g.drv failed
  View build log at '/var/log/guix/drvs/vv/hn7r1343mkyj291h13f3bk29n6m8j6-openssl-1.1.1g.drv.gz'.
  applying 7 grafts for graphviz-2.40.1 ...
  cannot build derivation `/gnu/store/8adwgdgaf6xcyhyyc5z9nvrql7bkgvhy-libgit2-1.0.0.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/kml3x6f5arzsqbqcf9n77dpw1mwszybr-guile3.0-git-0.3.0.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/bgyz3mib0bvpmxl1j0jp9x4jqqhw6416-guix-cli.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/cjqbylp554mhwhl8895z5n74q5998waq-guix-extra.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/ql55k991hvz4x9splndhwyzq9apnasig-guix-module-union.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/s9j6wb6jzqhfcwb8isjbalf6msdqq83b-guix-packages-base.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/mf05ss7j1hh06vnrkywkswvlgdzv2i8k-guix-packages.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/x1ci1v82ncj679gipnk3s5sszshl66fi-guix-system-tests.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/pm8y6k5kzcddk170h0biarmqi278m0ww-guix-system.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/nnv3zac8hj40kdz5i4bwwbfzqq5j6bi9-guix-cli-modules.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/2xilwplb6mzqsh4p5yym52f1q4l14lmc-guix-command.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/9g1cw0wxwi0jm7akmrf48hx6rxswx4nn-guix-extra-modules.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/v9zjw4gphv900swc8z450hal3farykwd-guix-packages-base-modules.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/fjqv9nagdnda38l68x6f82qlradx18a7-guix-packages-modules.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/m5z9ba7gra3qml9gzl6vh4d8fcq4qn20-guix-system-modules.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/i37g4wlrgwcaq5v2c4zrkaysfnf95spy-guix-system-tests-modules.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/fp7isyvw7g8kr2vhqgw4p45yckz0srd9-guix-40fd909e3.drv': 1 dependencies couldn't be built
  cannot build derivation `/gnu/store/x2fv84h6izjn8sh50nn55i2qp9h3hbzj-profile.drv': 1 dependencies couldn't be built
  guix time-machine: error: build of `/gnu/store/x2fv84h6izjn8sh50nn55i2qp9h3hbzj-profile.drv' failed
#+end_example

As can be seen in the attached build log, it seems some tests for
openssl are failing. I'm speculating that these tests are
non-deterministic and perhaps overly rigid.

Is there a way to tell Guix to either skip the 'check' build-phase for a
specific dependency (or perhaps for the entire build invocation)? Any
guidance?


-- 
Suhail

This email is not an offer capable of acceptance, does not evidence an intention
to enter into an agreement, has no operative effect until a definitive agreement
is signed in writing by both parties, and that no party should act in reliance
on the email or any representations of the sender until a definitive agreement
is signed in writing by both parties.

This email may contain information that is privileged, confidential and/or
exempt from disclosure.  No waiver whatsoever is intended by sending this e-mail
which is intended only for the named recipient(s).  Unauthorized use,
dissemination or copying is prohibited.  If you receive this email in error,
please notify the sender and destroy all copies of this email.

[-- Attachment #2: hn7r1343mkyj291h13f3bk29n6m8j6-openssl-1.1.1g.drv.gz --]
[-- Type: application/x-gzip, Size: 52294 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Unable to build "Ten Years Reproducibility Challenge" paper
@ 2023-11-01 16:47 Suhail
  0 siblings, 0 replies; 9+ messages in thread
From: Suhail @ 2023-11-01 16:47 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: Suhail, Help-Guix mailing list

Julien Lepiller <julien@lepiller.eu> writes:

> That's openssl failing due to a time-dependent test. Try making your system time
> something around 2010 and don't let ntpd set it back to today until openssl is
> built.

Thanks; that worked.

> You could skip tests, but that would build a different derivation tree, so it
> might affect reproducibility (probably not): --without-checks=openssl

Did you mean: --without-tests=openssl

-- 
Suhail

This email is not an offer capable of acceptance, does not evidence an intention
to enter into an agreement, has no operative effect until a definitive agreement
is signed in writing by both parties, and that no party should act in reliance
on the email or any representations of the sender until a definitive agreement
is signed in writing by both parties.

This email may contain information that is privileged, confidential and/or
exempt from disclosure.  No waiver whatsoever is intended by sending this e-mail
which is intended only for the named recipient(s).  Unauthorized use,
dissemination or copying is prohibited.  If you receive this email in error,
please notify the sender and destroy all copies of this email.



^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Unable to build "Ten Years Reproducibility Challenge" paper
@ 2023-11-01 17:06 Suhail
  2023-11-01 19:11 ` Simon Tournier
  0 siblings, 1 reply; 9+ messages in thread
From: Suhail @ 2023-11-01 17:06 UTC (permalink / raw)
  To: Simon Tournier; +Cc: Suhail, Help-Guix mailing list

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Sadly, it is a known issue:
>
> ...
>      https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-time_002dmachine

Thank you for the reference; much appreciated!

> For an immediate fix, you can do something along these lines:
>
>         sudo timedatectl set-ntp false
>         sudo timedatectl set-time '2020-06-23 00:00:00'

Thank you; that resolved the issue.

> For a long-term fix, I have done a systematic review about what
> happens in the worst case scenario:
>
>     https://simon.tournier.info/posts/2023-06-23-hackathon-repro.html

That was an insightful read. Are there related discussions/plans to
better address some of the issues you point out in the post (over and
above those that are linked from the post)?

-- 
Suhail

This email is not an offer capable of acceptance, does not evidence an intention
to enter into an agreement, has no operative effect until a definitive agreement
is signed in writing by both parties, and that no party should act in reliance
on the email or any representations of the sender until a definitive agreement
is signed in writing by both parties.

This email may contain information that is privileged, confidential and/or
exempt from disclosure.  No waiver whatsoever is intended by sending this e-mail
which is intended only for the named recipient(s).  Unauthorized use,
dissemination or copying is prohibited.  If you receive this email in error,
please notify the sender and destroy all copies of this email.



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

end of thread, other threads:[~2023-11-02 12:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-29 18:44 Unable to build "Ten Years Reproducibility Challenge" paper Suhail
2023-10-31 13:03 ` Julien Lepiller
2023-11-01  3:36   ` Felix Lechner via
2023-11-01 18:09     ` Vagrant Cascadian
2023-11-02 12:13       ` Simon Tournier
2023-10-31 15:19 ` Simon Tournier
  -- strict thread matches above, loose matches on Subject: below --
2023-11-01 16:47 Suhail
2023-11-01 17:06 Suhail
2023-11-01 19:11 ` Simon Tournier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.