unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66351: Python build is not reproducible
@ 2023-10-04 21:48 wolf
  2024-01-12  0:43 ` Tomas Volf
  0 siblings, 1 reply; 2+ messages in thread
From: wolf @ 2023-10-04 21:48 UTC (permalink / raw)
  To: 66351

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

Hi,

python package currently does not build in a reproducible way:

    /gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7 contents differ:
      local hash: 0iw988a0573bc7ag1c3da23cvcl0xp166l1zazi31i9cf1faprmh
      https://ci.guix.gnu.org/nar/lzip/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7: 0iw988a0573bc7ag1c3da23cvcl0xp166l1zazi31i9cf1faprmh
      https://bordeaux.guix.gnu.org/nar/lzip/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7: 08g7gnv6852xwjw21w2nkd662xh2h8pvcryczsxcppdqaskmxy43
      differing files:
        /lib/python3.10/multiprocessing/__pycache__/connection.cpython-310.opt-1.pyc
        /lib/python3.10/multiprocessing/__pycache__/connection.cpython-310.opt-2.pyc
        /lib/python3.10/multiprocessing/__pycache__/connection.cpython-310.pyc
        /lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-310.opt-1.pyc
        /lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-310.opt-2.pyc
        /lib/python3.10/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-310.pyc
        /lib/python3.10/test/support/__pycache__/os_helper.cpython-310.opt-1.pyc
        /lib/python3.10/test/support/__pycache__/os_helper.cpython-310.opt-2.pyc
        /lib/python3.10/test/support/__pycache__/os_helper.cpython-310.pyc
    
    1 store items were analyzed:
      - 0 (0.0%) were identical
      - 1 (100.0%) differed
      - 0 (0.0%) were inconclusive

It however *is* reproducible on a single machine, --rounds=30 finished
successfully.  Possible cause seems to be described in this opensuse issue:

    https://bugzilla.opensuse.org/show_bug.cgi?id=1049186

The patch linked seems fairly simple:

    https://build.opensuse.org/request/show/687278#revision_details_6

As far as I can tell, we currently do not carry patch like this and in 3.10.7 it
is not present upstream.

Have a nice day,
W.

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2024-01-12  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 21:48 bug#66351: Python build is not reproducible wolf
2024-01-12  0:43 ` Tomas Volf

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).