GNU bug report logs - #41631
broken asdf-build-system on some CL source packages

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; Reported by: Jiří Špaček <spacekj3@HIDDEN>; dated Sun, 31 May 2020 16:21:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 31 May 2020 16:20:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 12:20:08 2020
Received: from localhost ([127.0.0.1]:33680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jfQgx-0007R0-NZ
	for submit <at> debbugs.gnu.org; Sun, 31 May 2020 12:20:08 -0400
Received: from lists.gnu.org ([209.51.188.17]:41256)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spacekj3@HIDDEN>) id 1jfQaD-0007GA-Mr
 for submit <at> debbugs.gnu.org; Sun, 31 May 2020 12:13:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52820)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spacekj3@HIDDEN>)
 id 1jfQaD-0001fA-H2
 for bug-guix@HIDDEN; Sun, 31 May 2020 12:13:09 -0400
Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:42866)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <spacekj3@HIDDEN>)
 id 1jfQaC-0002QF-LB
 for bug-guix@HIDDEN; Sun, 31 May 2020 12:13:09 -0400
Received: by mail-qk1-x72d.google.com with SMTP id s1so6890211qkf.9
 for <bug-guix@HIDDEN>; Sun, 31 May 2020 09:13:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=mGjTup9toHgb/Pq8ChdUTPYnu2aHf+cl9xYr/sYCXHg=;
 b=fuuiyUMhMQ7EpbNr2mRVHFCHtcFbDDYjETFuOHHc4I8acUQP/9laiYam8pFgBe6t2p
 gJy1+4FMDvR8abUgSz2bNs375zOIXIZ2MR0iSHV3KfQKFKKmBzM3y+h3f0WTiFGhD5D5
 V6jJP9gZ26hiFwzGr821bLJ4Bh/1aGVrnv6tO71RkKKmXzfbk+fRGQzfMZfP5NE/H5oR
 XLnfcl82RcbSFrao7icQOl2QKMnf9vszrW2Mti+Ii+X+dqKSKHVgPvY3t9ipkMe6HhhI
 Uhvn1zmR5Os+951cU84y0L48LGS28zKU6bNtpt80PD4YIl4g1luFCKtYNuI5LyBowjOa
 jOiA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=mGjTup9toHgb/Pq8ChdUTPYnu2aHf+cl9xYr/sYCXHg=;
 b=JORLXuLYXLVLlT7fd7rA6tjZfwrniZ7lSEzFRAo358LzQama+rVNxUqIDkwi+BtYtK
 mCWb0qNveEBLEt0fTQx+bH4T6bw3Weldk932VhQH0P61V0MrvmSAQO0y3TXcAvYsM/b/
 m51zgEcrWtvh0/J0O29de4mwNi/XR6rLWluiXeRduOddedsM3sg3sKZYsfSIDCliPR27
 ot6/W+G2zJURAmlcExVDv1dM8FONP9xE3qYssHRNnW+hyeRZl5DgJxX6Bg3YrZfZmsch
 Y4C3u/7hgQ4yQ1gAVHpk1+BWP/hKxjLImnPF0G9qtE6Yr5oTnbKBs+D6a8PIawKIq+iQ
 zGLw==
X-Gm-Message-State: AOAM532L/lLmet+vJyhHJGdKPRlCLLqfjlB64TIBa+GhDUnNzR0x15rr
 4DAjG62lsvtwRpYdiCM66K7EEJ331XNyt4c7EVjfjiS5
X-Google-Smtp-Source: ABdhPJxRuFTx/Kf/TZU7bKCYqtbA0Zz4UUK7giNx331KiKB1JGugZXlKBrXLW9E8IIu3ZdhlPIiFqKMHiK72snfKV0s=
X-Received: by 2002:a37:d0b:: with SMTP id 11mr15996841qkn.282.1590941587158; 
 Sun, 31 May 2020 09:13:07 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?B?SmnFmcOtIMWgcGHEjWVr?= <spacekj3@HIDDEN>
Date: Sun, 31 May 2020 16:12:55 +0000
Message-ID: <CA+VBW33=SguC3oCAZKbE+MtPA5XDFC6tCXwjpc5+rhs7YCDByw@HIDDEN>
Subject: broken asdf-build-system on some CL source packages
To: bug-guix@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::72d;
 envelope-from=spacekj3@HIDDEN; helo=mail-qk1-x72d.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: -8
X-Spam_score: -0.9
X-Spam_bar: /
X-Spam_report: (-0.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FROM_EXCESS_BASE64=0.979,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 31 May 2020 12:20:06 -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: -2.1 (--)

This problem manifests when installing cl-stumpwm package from
gnu/packages/wm.scm but other cl-* packages are likely to be affected
as well.

guix build cl-stumpwm fails with:

...
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./autogen.sh: changing `/bin/sh' to
`/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `install'
Backtrace:
           8 (primitive-load "/gnu/store/3yrl560yxms43sqvyhv0g5xy4ki=E2=80=
=A6")
In ice-9/eval.scm:
   191:35  7 (_ #f)
In guix/build/gnu-build-system.scm:
    838:2  6 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1736:10  5 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
   857:16  4 (every1 #<procedure 7ffff4b067c0 at guix/build/gnu-bui=E2=80=
=A6> =E2=80=A6)
In guix/build/gnu-build-system.scm:
   847:30  3 (_ _)
In guix/build/asdf-build-system.scm:
   128:24  2 (install #:inputs _ #:outputs _)
In unknown file:
           1 (string-take "stumpwm" #f)
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Wrong type (expecting exact integer): #f

The problem seems to be caused by this commit
https://git.savannah.gnu.org/cgit/guix.git/commit/guix/build/asdf-build-sys=
tem.scm?id=3Dc3f1f09586967c3fefbb280014a4d46b57786696
 "
build: asdf-build-system: Use SBCL source in CL packages.
"


More specifically the way the parent-source is computed does not seem
handle packages that lack hyphen character in the name of their
parent.
+ (define parent-source
+ (and parent
+ (string-append parent "/share/common-lisp/"
+ (string-take parent-name
+ (string-index parent-name #\-))
+ "-source")))

My guix describe is:
Generation 10    May 31 2020 18:04:46    (current)
  my-personal-packages 451bc28
    repository URL: https://github.com/geostarling/guix-packages.git
    branch: master
    commit: 451bc28676242ff3ada89eae73b3a914836205e6
  guix bf6438f
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: bf6438f46583003cfd851c9f8ff4104aa3107c4d


Thank you for advice,

Jiri




Acknowledgement sent to Jiří Špaček <spacekj3@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#41631; Package guix. 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: Sun, 31 May 2020 16:30:02 UTC

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