GNU bug report logs - #43613
compiling 1.1.0 from sources on linux with guile 3

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Yury Tarasievich <yury.tarasievich@HIDDEN>; dated Fri, 25 Sep 2020 15:36:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 43613 <at> debbugs.gnu.org:


Received: (at 43613) by debbugs.gnu.org; 28 Oct 2020 18:44:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 28 14:44:49 2020
Received: from localhost ([127.0.0.1]:50665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kXqRF-0003qT-LR
	for submit <at> debbugs.gnu.org; Wed, 28 Oct 2020 14:44:49 -0400
Received: from mail-wm1-f46.google.com ([209.85.128.46]:52956)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1kXqRD-0003q9-DF
 for 43613 <at> debbugs.gnu.org; Wed, 28 Oct 2020 14:44:47 -0400
Received: by mail-wm1-f46.google.com with SMTP id c18so262558wme.2
 for <43613 <at> debbugs.gnu.org>; Wed, 28 Oct 2020 11:44:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=sYEkUe9Ysdh4aSL6SNAdLZ0rK0rYH44Nh6Mw3lh0Q9g=;
 b=RwhVYUflACR5Ql9PgGY3SJraeAT0KzsFNn/btiSyh3STcwOnD2mqrsQkILQj/O9yFD
 zr6nNjre22rKHpGBNMov+YDJ946iGpIx+yxN1avzHfjXEzWPQaOoHDnHbyBIggCyqb/0
 NigkpxdJz+z7llBCcxX1ewtLZeQ74Wj9XzAXyKXg1wLabMZEOqKys8zt80IeINU5Yftd
 5hJYIWtGBWr2ZNjPR9Wgj4OuODrPtFD3Qe47uZcIezfkKgEbBJXjswbMZDT9CNOzKK+e
 2rxtLesQi9a/FB45FIUdt2jYydh0LbGWnHuEXdRfQv2GmyXC9/4/pfqh1F5uqhOx7C1R
 +OKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=sYEkUe9Ysdh4aSL6SNAdLZ0rK0rYH44Nh6Mw3lh0Q9g=;
 b=co+qWWmfGt75lhgchsN4yYTeC1r+ltsxJ7UY4Hv/zyKnS58EG7MKt5hgd5Org+B1n+
 iJC7esj8naF5pW68YTra84zLuKTfMRJ0nOdeqampuRP5Hax2C+zmswWozjh8byFAAFRZ
 DNBGlP06fFFKRVBX0FpKI89rmcywbdeCVGfnacsvpf/RcbDpnPKNVCnspuJigAPj/Hoq
 pFJUmkfbBaf0xjP/G+3jr8u61tO+fUV/o+JUY60IS5kANHMYOiscLSKdd8etZNEtO/57
 0maCHnzMZ6M4AcZTDROT/5QExAOqS6uhd0N4wKxr9n1dFsuIxnY5VRqB45bBz2pSSQf+
 KUSw==
X-Gm-Message-State: AOAM532lw20NzxXioklqnYCMvyUXCPnr1k19Yptla8SRbYQITGG/CFWp
 y6S4oENb66ePId4ENGyxCQ3eT8EK4AE=
X-Google-Smtp-Source: ABdhPJwToIs5pgcROX1eGXi3SpLu0G83bRLeyxpE9VhRMwGIlPPZ2IAH1Lj3rj7gBCZ4omFXlWpkpA==
X-Received: by 2002:a7b:c4c3:: with SMTP id g3mr159930wmk.65.1603910681374;
 Wed, 28 Oct 2020 11:44:41 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id z191sm379630wme.30.2020.10.28.11.44.40
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 28 Oct 2020 11:44:40 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Yury Tarasievich <yury.tarasievich@HIDDEN>
Subject: Re: [bug#43613] compiling 1.1.0 from sources on linux with guile 3
References: <27781955-6d6c-df8c-b648-1db140775993@HIDDEN>
Date: Wed, 28 Oct 2020 19:44:39 +0100
In-Reply-To: <27781955-6d6c-df8c-b648-1db140775993@HIDDEN> (Yury
 Tarasievich's message of "Fri, 25 Sep 2020 12:02:15 +0300")
Message-ID: <86sg9yyyug.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43613
Cc: 43613 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Dear,

On Fri, 25 Sep 2020 at 12:02, Yury Tarasievich <yury.tarasievich@HIDDEN>=
 wrote:

> Had an issue with compiling 1.1.0 from source on
> linux (64-bit slackware, almost current) with
> guile 3.0.4.

What do you mean by =E2=80=9Ccompiling 1.1.0 from source=E2=80=9D?  Do you =
mean
compiling Guix from scratch (without any packages provided by =E2=80=9Cguix
environment guix=E2=80=9D)?


All the best,
simon




Information forwarded to guix-patches@HIDDEN:
bug#43613; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Sep 2020 15:35:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 25 11:35:47 2020
Received: from localhost ([127.0.0.1]:45110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kLplB-0001zJ-GA
	for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 11:35:47 -0400
Received: from lists.gnu.org ([209.51.188.17]:46166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yury.tarasievich@HIDDEN>) id 1kLjcX-00062G-3U
 for submit <at> debbugs.gnu.org; Fri, 25 Sep 2020 05:02:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55138)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yury.tarasievich@HIDDEN>)
 id 1kLjcW-0006vz-Cy
 for guix-patches@HIDDEN; Fri, 25 Sep 2020 05:02:24 -0400
Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:33886)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yury.tarasievich@HIDDEN>)
 id 1kLjcS-0006qV-1U
 for guix-patches@HIDDEN; Fri, 25 Sep 2020 05:02:23 -0400
Received: by mail-lf1-x12d.google.com with SMTP id u8so1996637lff.1
 for <guix-patches@HIDDEN>; Fri, 25 Sep 2020 02:02:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language;
 bh=fWvbL8IagQS1jHeXm5DRGZ3GhGBJUhQKDybd+M2Viyk=;
 b=VNwjwKrCH0im18Z/JKJeejgW9vWHwDyEzwR86GvcO+W2cUoUVShLVH5zLbw/igpJwm
 sRBOxlFodefcFbWD0cH9IF6paMLovtGkx9IA5PZe+lMMJNsVNxGg5OltoZZ1Mpy2rfai
 0nEVQm/cB/vwmnSE9Oop95Z6rJ+dvKD0X0Wc9mYwP4c/kIFjnm9lERkp7QPfJfMjTwRB
 GWlGy9Rz1qJ4HzS+JVeJ/a9KMm3rIUpPmLh3QwJm9Zq6bWUe24YceSSuNOzClZPFRe5Q
 Tz/hDBw/r4iUfw1v1icX2DAUweKf0hzdrX58JVKfCnrdMlmKmjnWJsfdYt3CY0JJPNi8
 hB8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language;
 bh=fWvbL8IagQS1jHeXm5DRGZ3GhGBJUhQKDybd+M2Viyk=;
 b=SHUlekGpwr1zcFTPtmsAVAqluqBdv8kx3NMZOGv3Qfo7ZZMhnrriGBhbomGArnzTSh
 V6l5xalmL0+eJUgGcYviFBitSWUT1hnepx+cRdaHXl5r4Fy4XpDjGPI0qIbthSA+Ia2M
 yot778NtrS4TFiVGpW5VHUBXbOoZbze3VcVEZ7eH95eVI3Qk2rZX3l1KLo4kZnv1M72f
 GpOFMxjckhFUV2ukndLsJzFtlXo4MBbLCGqbu6tHHthGQx2rCmiL5PVaAfgkt6EVFBbc
 Bqf8uayv1Lgn9beV9Y7Hie2BAtYpFBiFprnTR2kdWJdSbv3q9b2GY8x1EsV95eElWo5P
 fwdA==
X-Gm-Message-State: AOAM533DX7EkCWUVp9J1of9eaZ4WJEVXiJfiGJEYiXC4+CAC3CcpsVSc
 XMHFGRGCDkIpF1T6WJ00fUtnnd/hWrM=
X-Google-Smtp-Source: ABdhPJyvbIMg9YDJshXdHSa3SqZic8EALFFnpWiOTNc2MyuQGd50zngwlWWve//u9uBEMRt7LYb4lg==
X-Received: by 2002:ac2:5333:: with SMTP id f19mr1134512lfh.339.1601024537414; 
 Fri, 25 Sep 2020 02:02:17 -0700 (PDT)
Received: from sandys.from.by ([37.212.55.155])
 by smtp.gmail.com with ESMTPSA id g63sm1763432lfd.28.2020.09.25.02.02.16
 for <guix-patches@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 25 Sep 2020 02:02:16 -0700 (PDT)
To: guix-patches@HIDDEN
From: Yury Tarasievich <yury.tarasievich@HIDDEN>
Subject: compiling 1.1.0 from sources on linux with guile 3
Message-ID: <27781955-6d6c-df8c-b648-1db140775993@HIDDEN>
Date: Fri, 25 Sep 2020 12:02:15 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------8FF67C2307E00CAB8E5DCC88"
Content-Language: ru
Received-SPF: pass client-ip=2a00:1450:4864:20::12d;
 envelope-from=yury.tarasievich@HIDDEN; helo=mail-lf1-x12d.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -1
X-Spam_score: -0.2
X-Spam_bar: /
X-Spam_report: (-0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 LH_URI_DOM_IN_PATH=1.902, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hello, Had an issue with compiling 1.1.0 from source on linux
 (64-bit slackware, almost current) with guile 3.0.4. First thing, it couldn't
 find guild with the default configure template. I had to add a kludge
 (configure.ac.diff, attached). 
 Content analysis details:   (2.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (yury.tarasievich[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [209.51.188.17 listed in wl.mailspike.net]
 1.9 LH_URI_DOM_IN_PATH     URI: Long-host URI having a domain name in
 the path part 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 2.0 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 25 Sep 2020 11:35:44 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

This is a multi-part message in MIME format.
--------------8FF67C2307E00CAB8E5DCC88
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Hello,

Had an issue with compiling 1.1.0 from source on
linux (64-bit slackware, almost current) with
guile 3.0.4.

First thing, it couldn't find guild with the
default configure template. I had to add a
kludge (configure.ac.diff, attached).

Then, it wouldn't compile some files in guix/
subdir. The diagnostics went like this in each case:

WARNING: (guix swh): `define-json-mapping'
imported from both (guix json) and (json)
WARNING: (guix swh): `define-json-mapping'
imported from both (guix json) and (json)
ice-9/eval.scm:293:34: error:
define-json-mapping: unbound variable
hint: Did you forget `(use-modules (json record))'?

I took the compiler's suggestion and added
'(use-modules (json record))'. Have no idea how
that works.
I'm attaching the patch for that
compilation_define-json-mapping.diff.

Hope that helps.

-Yury

--------------8FF67C2307E00CAB8E5DCC88
Content-Type: text/x-patch;
 name="configure.ac.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="configure.ac.diff"

--- configure.ac.prev	2020-03-11 20:42:09.000000000 +0300
+++ configure.ac	2020-09-24 22:20:05.999398242 +0300
@@ -96,7 +96,10 @@
 GUILE_PKG([3.0 2.2])
 GUILE_PROGS
 if test "x$GUILD" = "x"; then
-   AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.])
+  GUILD="`pkg-config guile-3.0 --variable=guild`"
+  if test "x$GUILD" = "x"; then
+    AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.])
+  fi
 fi
 
 if test "x$GUILE_EFFECTIVE_VERSION" = "x2.2"; then

--------------8FF67C2307E00CAB8E5DCC88
Content-Type: text/x-patch;
 name="compilation_define-json-mapping.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="compilation_define-json-mapping.diff"

--- guix/import/crate.scm.prev	2020-03-24 17:44:45.000000000 +0300
+++ guix/import/crate.scm	2020-09-24 23:16:07.076901808 +0300
@@ -52,6 +52,7 @@
 ;; Crates.  A crate is essentially a "package".  It can have several
 ;; "versions", each of which has its own set of dependencies, license,
 ;; etc.--see <crate-version> below.
+(use-modules (json record))
 (define-json-mapping <crate> make-crate crate?
   json->crate
   (name          crate-name)                      ;string
--- guix/swh.scm.prev	2020-03-10 22:19:30.000000000 +0300
+++ guix/swh.scm	2020-09-24 23:11:45.910912646 +0300
@@ -251,6 +251,7 @@
        docstring
        (call (swh-url components ...) json->value)))))
 
+(use-modules (json record))
 ;; <https://archive.softwareheritage.org/api/1/origin/https://github.com/guix-mirror/guix/get>
 (define-json-mapping <origin> make-origin origin?
   json->origin
--- guix/cve.scm.prev	2019-10-23 17:40:23.000000000 +0300
+++ guix/cve.scm	2020-09-24 23:12:16.596911372 +0300
@@ -70,6 +70,7 @@
 (define (string->date* str)
   (string->date str "~Y-~m-~dT~H:~M~z"))
 
+(use-modules (json record))
 (define-json-mapping <cve-item> cve-item cve-item?
   json->cve-item
   (cve            cve-item-cve "cve" json->cve)   ;<cve>
--- guix/ci.scm.prev	2020-03-31 15:55:42.000000000 +0300
+++ guix/ci.scm	2020-09-24 23:08:53.074919818 +0300
@@ -52,6 +52,8 @@
 ;;;
 ;;; Code:
 
+(use-modules (json record))
+
 (define-json-mapping <build> make-build build?
   json->build
   (id          build-id "id")                     ;integer

--------------8FF67C2307E00CAB8E5DCC88--




Acknowledgement sent to Yury Tarasievich <yury.tarasievich@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#43613; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 28 Oct 2020 18:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.