From: Danny Milosavljevic <dannym@scratchpost.org>
To: Nikolai Merinov <nikolai.merinov@member.fsf.org>
Cc: 33066@debbugs.gnu.org
Subject: [bug#33066] [PATCH 1/2] gnu: rust: workaround rust 1.25-27 reproducibility issues
Date: Wed, 17 Oct 2018 13:14:06 +0200 [thread overview]
Message-ID: <20181017131406.01c3b011@scratchpost.org> (raw)
In-Reply-To: <875zy1u5ec.fsf@member.fsf.org>
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
Hi Nikolai,
On Tue, 16 Oct 2018 02:32:11 +0500
Nikolai Merinov <nikolai.merinov@member.fsf.org> wrote:
> * gnu/packages/patches/rust-mdbook-Support-reproducible-builds-by-forcing-window.search.patch:
Nitpick: No big "S" (file names are easier to find if they are all lower case).
> patch that make "searchindex.js" reproducible in rust 1.27 and newer.
"New file".
> * gnu/local.mk (dist_patch_DATA): Add new patch file.
> * gnu/packages/rust.scm (rust-1.19): Use system libssh2 library
Hmm, I'm not sure about doing this in the same commit.
Is it also related to reproducibility?
> during cargo build. Note: libgit2 still builded as part of cargo build,
> because cargo tests assume specific libgit2 minor release.
What does this mean? Does it mean "bundled"?
> (rust-1.23): inherit native-inputs from previous package.
Ok.
> (rust-1.25): switch back to llvm 3.9.1 as workaround for
> https://github.com/rust-lang/rust/issues/50556 issue.
Please add the reasoning as a comment inside the source code instead.
> (rust-1.27): apply patch to make "searchindex.js" files reproducible.
Maybe add "[source]".
> - (add-after 'configure 'enable-codegen-tests
> - (lambda _
> - (substitute* "config.toml"
> - (("codegen-tests = false") ""))
> - #t))
I think I had reproducibility problems when enabling codegen tests and
parallel tests. Is that not the case anymore?
> ;; FIXME: Re-enable this test if it's indeed supposed to work.
> ;; See <https://github.com/rust-lang/rust/issues/54178>.
Note to myself: I think the issue comments indicate that the newer gdb output
is better - so we should create a patch similar to
rust-1.25-accept-more-detailed-gdb-lines.patch to accept the newer output.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2018-10-17 11:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-16 18:00 [bug#33066] [PATCH 0/2] Workaround rust reproducibility issues Nikolai Merinov
2018-10-15 21:32 ` [bug#33066] [PATCH 1/2] gnu: rust: workaround rust 1.25-27 " Nikolai Merinov
2018-10-17 11:14 ` Danny Milosavljevic [this message]
2018-10-19 19:44 ` Nikolai Merinov
2018-10-19 20:58 ` [bug#33066] [PATCHv3] " Nikolai Merinov
2018-10-21 7:28 ` Nikolai Merinov
2018-10-24 19:43 ` Danny Milosavljevic
2018-10-25 5:44 ` Danny Milosavljevic
2018-10-26 11:40 ` Nikolai Merinov
2018-10-26 16:12 ` Danny Milosavljevic
2021-02-05 15:00 ` bug#33066: [PATCH 0/2] Workaround rust " Maxim Cournoyer
2018-10-15 21:37 ` [bug#33066] [PATCH 2/2] gnu: rust: add rust 1.28 and rust 1.29 packages Nikolai Merinov
2018-10-17 11:15 ` Danny Milosavljevic
2018-10-17 14:14 ` Joe Hillenbrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181017131406.01c3b011@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=33066@debbugs.gnu.org \
--cc=nikolai.merinov@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).