From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Skyler Ferris <skyvine@protonmail.com>, 70001@debbugs.gnu.org
Subject: [bug#70001] [PATCH] gnu: reprotest: Add missing propogated inputs
Date: Mon, 25 Mar 2024 23:02:58 -0700 [thread overview]
Message-ID: <87a5mlttrh.fsf@wireframe> (raw)
In-Reply-To: <7893aa6e-886b-4e74-999f-886a8ea0166b@protonmail.com>
[-- Attachment #1: Type: text/plain, Size: 2456 bytes --]
On 2024-03-25, Skyler Ferris wrote:
> This patch adds some propagated inputs to the reprotest package so that
> most tests can run in a pure shell.
Thanks for taking an interest in this!
My understanding is that propagated inputs are generally to be used very
sparingly, as they make it very difficult to install multiple packages
that might contain conflicting propagated inputs.
Most of the proposed inputs are largely optional dependencies of
reprotest, which in guix terms, generally the end-user is expected to
install the additional packages to enable desired optional features.
It might make sense to list the additional dependencies in the
description describing what features each enables?
Adding some of them to native-inputs might also make sense to enable
more tests, and give a clear place to write comments about each. Then
"guix shell --pure --development reprotest reprotest" would pull them in
and reprotest itself to be able to run the relevent tests as you had
tried.
If reprotest behaves quite badly without some of the in the working
environment, such as spitting out an ugly backtrace rather than
reporting what is missing, it should probably be fixed upstream (and
possibly patched in guix in the meantime).
> Additionally, this patch adds a new build phase to call fusermount3
> instead of fusermount, which is the name of the command provided by
> Guix's fuse package. This does not make it work in a pure shell but it
> does make it work in an operating system that provides the suid version
> of the binary.
It seems like this is missing from the patch, though I suspect it is
needed to behave correctly with things relying on fuse!
> You can try the suid-dependent tests with the same Makefile. The sudo
> and fuse-2 packages need to be installed; the default %setuid-programs
> variable includes the relevant binaries. Remove the `--pure` flag from
> the shell invocation and change the `--variations` flag in the reprotest
> variations to have the value `"+fileordering, +user_group"`.
Thanks for the detailed report ... this might be or should be covered by
upstream documentation ... although if there are guix-specific angles on
it, I am not sure where that should be documented.
So, in summary, I think there are some ideas to explore from your patch,
although it needs a bit of rethinking about implementation details.
live well,
vagrant
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2024-03-26 14:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 19:12 [bug#70001] [PATCH] gnu: reprotest: Add missing propogated inputs Skyler Ferris via Guix-patches via
2024-03-25 19:16 ` Skyler Ferris via Guix-patches via
2024-03-26 6:02 ` Vagrant Cascadian [this message]
2024-03-26 19:57 ` Skyler Ferris via Guix-patches via
2024-03-26 20:06 ` Skyler Ferris via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5mlttrh.fsf@wireframe \
--to=vagrant@reproducible-builds.org \
--cc=70001@debbugs.gnu.org \
--cc=skyvine@protonmail.com \
/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 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.