guix-devel
[Top][All Lists]
Advanced

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

Weird things found while fixing basic Guix packages


From: Danny Milosavljevic
Subject: Weird things found while fixing basic Guix packages
Date: Wed, 7 Oct 2020 17:56:40 +0200

Hi,

because I don't have another place to put this, here are some weird things I
found while I was fixing basic Guix packages (for fixing bug #43513), which
have nothing specifically to do with bug #43513:

* curl[-minimal]: Needs (delete-file "tests/data/test1094") to fix a test 
failure:
  ;; "timeout: 5[LF]"(expected) vs "timeout: 6[LF]"(generated).
  What causes this?

* Why does cmake-bootstrap have curl-minimal as a dependency in the first place?

  It makes sense if bootstrap packages don't have extra dependencies that can
  be avoided.  And this one sounds really weird.  We want to have NETWORK
  CONNECTIVITY while bootstrapping??

  It turns out that that exist in order for ctest to automatically publish test
  results to a dashboard server.  It seems that that cannot be compiled out.
  Could upstream make it possible to remove curl?
  (If one specifies CMAKE_TESTS_CDASH_SERVER="NOTFOUND" then it won't publish.
  CMake_TEST_NO_NETWORK also exists)

* cmake and cmake-bootstrap could be updated to the newest release (3.18.3)
  with a tiny adaption to the snippet.  Do we want to?  It doesn't help us
  with the thing above, though.

* lz4 has "CC=gcc".  Shouldn't that be (string-append "CC=" (cc-for-target)) ?

* Long term, would it be possible to have some kind of check that the closure
  size of bootstrap packages can't exceed some amount?  This way, new
  weirdness like this cannot sneak in.  We need a LOT of checks of
  derivations anyway.  So many things come to mind.

* Grep and coreutils fail strerror_r and perror2 tests in gnulib-tests.
  test-perror2.c:84: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed
  test-strerror_r.c:170: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed

Attachment: pgpxO8yW9hNKQ.pgp
Description: OpenPGP digital signature


reply via email to

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