From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mJM/NQK2a2K3DAAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 11:55:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8OaJNQK2a2KXhwAA9RJhRA (envelope-from ) for ; Fri, 29 Apr 2022 11:55:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5A6B3DE22 for ; Fri, 29 Apr 2022 11:55:14 +0200 (CEST) Received: from localhost ([::1]:41082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkNLF-0001ae-64 for larch@yhetil.org; Fri, 29 Apr 2022 05:55:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkNKl-0001ZJ-D8 for help-guix@gnu.org; Fri, 29 Apr 2022 05:54:43 -0400 Received: from famic.de ([85.25.48.132]:59670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkNKj-0000nm-8g for help-guix@gnu.org; Fri, 29 Apr 2022 05:54:43 -0400 Received: by famic.de (Postfix, from userid 1003) id 2A3FA413BA; Fri, 29 Apr 2022 11:54:37 +0200 (CEST) Date: Fri, 29 Apr 2022 11:54:37 +0200 From: Martin Michel To: help-guix@gnu.org Subject: D compiler installation ldc failed Message-ID: <20220429095437.2vm66uk63w62dkpn@famic.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Received-SPF: pass client-ip=85.25.48.132; envelope-from=martin@mail.famic.de; helo=famic.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651226114; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=QYOzD3J8o0s6K5S+5p/ymEXEBJ23a6b2II44M7+Sou0=; b=hIfK5EUd4z8BLYUnq8WK59hb0+fUHlD3V/hGD307Pe7dGk5vkuvxZbYYhrIfdH0n0ns6V0 rvOJOG8SlnY2xEbdpZ37KR3J28Dz/+moNXOO1SJmMdqJqbgatfqXxokNlxSCaLS565cLcZ sToEhmMoc1YYGlo6DNA/gKtN54wRuX8yQ3HLzh8GDqL+9wJFFrRRwQnwxhcQMO25dkl9v0 rjpebbxIXQrxkbbdp45DVNj/RqRm6Dn62oSSYlEgl+n7MeRjDc0Iv/bGPXCttmdTZhi3Sf b9KpWcLr79upKQC6LTiZNFjt0SwfBmodrC7ii29Ct1iyBHeS/LGHMMaEHBBMyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651226114; a=rsa-sha256; cv=none; b=NssYR2skxPckKTXnbcvgJh9llUjgVztw5nGu/2AY04JMKDWpt6yQIfx3Y0uUNzck8dKsLb u2V2FsIEO8YECb3MDiWRI5W8kaY0ZAmZVZ0Ae68vt64lucqsUp7L2fbu8QTCzTj6sv3oJc FhniptA4iHvxFTnqo8FMlS/HRIQ1dbYOc14Y6Z1hBUQc2V9HKK2H2AN362+0OrkHR68oWy 6rkjswGv1gEuzdUQS/PZFkMZu9heD3MTv/iLjRxEhvpmxnfnORTqt6ZzKlHX440i15jn7Q 0ascP2M7e9PLZX8bCukgDu+g+Ft16NVtdfeFjjvWZyNWWKROym0T/aTf+Z49/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.80 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5A6B3DE22 X-Spam-Score: -2.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: D0QdkmBQlK85 Hello again, today I wanted to install the LLVM-based compiler `ldc` for the D programming language (along with its package management system `dub`). This failed grossly: ``` $ guix install ldc dub The following packages will be installed: dub 1.7.2 ldc 1.27.1 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0% The following derivation will be built: /gnu/store/gnc9jbwxwbplvpygb276p5fkp3q1l7v2-dub-1.7.2.drv 8.2 MB will be downloaded ldc-1.27.1 7.8MiB 3.2MiB/s 00:02 [##################] 100.0% building /gnu/store/gnc9jbwxwbplvpygb276p5fkp3q1l7v2-dub-1.7.2.drv... / 'build' phasebuilder for `/gnu/store/gnc9jbwxwbplvpygb276p5fkp3q1l7v2-dub-1.7.2.drv' failed with exit code 1 build of /gnu/store/gnc9jbwxwbplvpygb276p5fkp3q1l7v2-dub-1.7.2.drv failed View build log at '/var/log/guix/drvs/gn/c9jbwxwbplvpygb276p5fkp3q1l7v2-dub-1.7.2.drv.gz'. guix install: error: build of `/gnu/store/gnc9jbwxwbplvpygb276p5fkp3q1l7v2-dub-1.7.2.drv' failed ``` Unfortunately the tail of the log does not help me: ``` --- cut off many lines --- starting phase `build' ./build.sh: line 45: git: command not found Could not determine a version with git. Using existing version file. Running ldmd2... source/dub/semver.d(107): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. source/dub/internal/sdlang/parser.d(121): Deprecation: module std.variant is not accessible here, perhaps add 'static import std.variant;' source/dub/internal/sdlang/parser.d(121): Deprecation: module std.variant is not accessible here, perhaps add 'static import std.variant;' Serializing composite type BuildRequirements which has no serializable fields Serializing composite type BuildOptions which has no serializable fields 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))? source/dub/internal/vibecompat/data/json.d(838): Error: template instance `dub.internal.vibecompat.data.json.enforceJson!("source/dub/internal/vibecompat/data/json.d", 838LU)` error instantiating source/dub/internal/vibecompat/data/json.d(221): instantiated from here: `checkType!(Json[string])` source/dub/dependency.d(309): instantiated from here: `opBinaryRight!"in"` 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))? source/dub/internal/vibecompat/data/json.d(839): Error: template instance `dub.internal.vibecompat.data.json.enforceJson!("source/dub/internal/vibecompat/data/json.d", 839LU)` error instantiating source/dub/internal/vibecompat/data/json.d(221): instantiated from here: `checkType!(Json[string])` source/dub/dependency.d(309): instantiated from here: `opBinaryRight!"in"` source/dub/internal/vibecompat/data/json.d(403): Error: template instance `dub.internal.vibecompat.data.json.Json.checkType!string` error instantiating source/dub/dependency.d(314): instantiated from here: `get!string` source/dub/internal/vibecompat/data/json.d(403): Error: template instance `dub.internal.vibecompat.data.json.Json.checkType!bool` error instantiating source/dub/internal/vibecompat/data/json.d(399): instantiated from here: `get!bool` source/dub/internal/vibecompat/data/json.d(1744): instantiated from here: `opCast!bool` source/dub/recipe/io.d(158): instantiated from here: `writeJsonString!(LockingTextWriter, true)` source/dub/dub.d(1102): instantiated from here: `serializePackageRecipe!(LockingTextWriter)` source/dub/internal/vibecompat/data/json.d(403): Error: template instance `dub.internal.vibecompat.data.json.Json.checkType!long` error instantiating error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "./build.sh" arguments: () exit-status: 1 term-signal: #f stop-signal: #f> phase `build' failed after 16.0 seconds command "./build.sh" failed with status 1 ``` What to do in such cases? Any help is welcome! Thanks in advance & kind regards, Martin