`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.
?