`guix install dub` fails

  • Open
  • quality assurance status badge
Details
2 participants
  • Hugo Nobrega
  • (
Owner
unassigned
Submitted by
Hugo Nobrega
Severity
normal
H
H
Hugo Nobrega wrote on 14 Jun 2022 02:30
(address . bug-guix@gnu.org)
8735g8jdcx.fsf@gmail.com
Hello,

The `dub` package cannot be installed on an up-to-date Guix System. I am
attaching the failed build log, although honestly I couldn't make much
from it.

This of course has implications such as `dub-build-system` not working...

Best wishes,
Hugo
(
(address . 55953@debbugs.gnu.org)
CKQMWUBQN0WA.3JU1DSE4HN9JY@guix-aspire
This probably went unnoticed because we don't actually _have_ any
Dub-based packages. Anyway, from that log:

Toggle quote (6 lines)
> source/dub/internal/vibecompat/data/json.d(2111): Error: template
> instance `enforceEx!JSONException` template `enforceEx` is not
> defined, did you mean enforce(E : Throwable = Exception) if
> (is(typeof(new E("", string.init, size_t.init)) : Throwable) ||
> is(typeof(new E(string.init, size_t.init)) : Throwable))?

Something something templates, something something throwable, something
something optional type, something something second-system syndrome.
Seems likely to me that our Dub is too old for our ldmd2. I'll send a
patch to update it.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 55953@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 55953
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch