Description
From Matrix
pgnd:
with a simple test.spec, https://is.gd/vRBpwO, and jq added to pkg build chroot,
i still get the ""stderr: sh: line 1: jq: command not found"".
stumped. or missing the obvious ...
if anyone can spare a look --> https://download.copr.fedorainfracloud.org/results/pgfed/vulkan-wsi-layer-pgnd/srpm-builds/08653401/builder-live.log.gz
FrostyX:
thats because the failure is when building a SRPM and at that point we are
probably not installing the additional packages into the buildroot. IIRC we do
so only for custom method. Thank you for this minimal reproducer, it was
helpful. At the moment I am not sure what should we do about it though
The specfile is here: https://pagure.io/pgnd/vulkan-wsi-layer-pgnd/blob/main/f/vulkan-wsi-layer.spec
The package does something like this at the very top:
%global _test %( curl -s "https://filesamples.com/samples/code/json/sample1.json" | jq .fruit )
which looks insane to me but it is obviously meant as a reproducer. I am not sure what the real use-case is.
However, this seems like an easyfix? We can just do this for SRPM builds as well
Metadata
Assignees
Labels
Type
Projects
Status
In 2 years
Activity