GNU bug report logs -
#49868
[PATCH 0/2] guix: dune-build-system: Add a profile parameter.
Previous Next
Reported by: pukkamustard <pukkamustard <at> posteo.net>
Date: Wed, 4 Aug 2021 08:05:01 UTC
Severity: normal
Tags: patch
Done: Julien Lepiller <julien <at> lepiller.eu>
Bug is archived. No further changes may be made.
Full log
Message #40 received at 49868 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I suggest reverting commit 33a1ec29fa0ad72c61cef13c8af08c847eb399c1
('guix: dune-build-system: Add a profile parameter.') and instead
applying attached patch.
The attached patch sets the '--release' flag instead of '--profile
release'. From 'dune --help':
--8<---------------cut here---------------start------------->8---
--release
Put dune into a reproducible release mode. This is in fact a
shorthand for --root . --ignore-promoted-rules --no-config
--profile release --always-show-command-line
--promote-install-files --default-target @install. You should use
this option for release builds. For instance, you must use this
option in your <package>.opam files. Except if you already use -p,
as -p implies this option.
--8<---------------cut here---------------end--------------->8---
I think this is what we want.
Setting '--profile release' was not enough and was causing
inconsistencies with packages that were building with the '-p' flag.
-pukkamustard
[0001-guix-dune-build-system-Put-dune-into-a-reproducible-.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
pukkamustard <pukkamustard <at> posteo.net> writes:
> I submitted #50180 to fix builds of ocaml-ppx-hash.
>
> The impact of this seems to be smaller than I feared. Maybe reverting is not necessary.
>
> Still I don't really understand what's going on. I will try and find a concise example and ask the Dune people.
>
> pukkamustard <pukkamustard <at> posteo.net> writes:
>
>> pukkamustard <pukkamustard <at> posteo.net> writes:
>>
>>> For example ocaml-ppxlib builds properly but seems to be broken. Anything depending on ocaml-ppxlib fails with the errors:
>>
>> This is not true. ocaml-ppx-hash fails to build. But other things depending on ocaml-ppxlib seem to build fine (e.g. ocaml-ppx-optional, ocaml-ppx-assert).
This bug report was last modified 3 years and 347 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.