GNU bug report logs - #55004
Cant build xonsh 0.12.1

Previous Next

Package: guix;

Reported by: arkhan <at> disroot.org

Date: Mon, 18 Apr 2022 16:44:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55004 in the body.
You can then email your comments to 55004 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#55004; Package guix. (Mon, 18 Apr 2022 16:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to arkhan <at> disroot.org:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 18 Apr 2022 16:44:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: arkhan <at> disroot.org
To: bug-guix <at> gnu.org
Subject: Cant build xonsh 0.12.1
Date: Mon, 18 Apr 2022 16:43:44 +0000
Hello, I'm trying to update xonsh to the latest version available which is 0.12.1, but it fails in
the installation step, I can't understand what the problem is, version 0.11.0 installs without any
problem, I attach the log of the error and package definition:

xonsh.scm (https://paste.debian.net/1238284)
xonsh.log (https://paste.debian.net/1238282)

Thanks for the help




Information forwarded to bug-guix <at> gnu.org:
bug#55004; Package guix. (Mon, 18 Apr 2022 18:06:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: arkhan <at> disroot.org
To: "arkhan--- via Bug reports for GNU Guix" <bug-guix <at> gnu.org>
Subject: Re: bug#55004: Cant build xonsh 0.12.1
Date: Mon, 18 Apr 2022 18:03:05 +0000
correct links:
xonsh.scm (https://paste.debian.net/1238284)
xonsh.log (https://paste.debian.net/1238282)

18 de abril de 2022 11:49, "arkhan--- via Bug reports for GNU Guix" <bug-guix <at> gnu.org> escribió:

> Hello, I'm trying to update xonsh to the latest version available which is 0.12.1, but it fails in
> the installation step, I can't understand what the problem is, version 0.11.0 installs without any
> problem, I attach the log of the error and package definition:
> 
> xonsh.scm (https://paste.debian.net/1238284)
> xonsh.log (https://paste.debian.net/1238282)
> 
> Thanks for the help




Information forwarded to bug-guix <at> gnu.org:
bug#55004; Package guix. (Wed, 11 May 2022 21:14:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: arkhan <at> disroot.org
To: guix-patches <at> gnu.org
Subject: [bug#55004] [PATCH] gnu: xonsh: Update to 0.12.4
Date: Wed, 11 May 2022 21:12:57 +0000
From 70d42eba0c1f764956ad319853a5a1da7eb3da2a Mon Sep 17 00:00:00 2001
From: arkhan <arkhan <at> riseup.net>
Date: Wed, 11 May 2022 16:04:40 -0500
Subject: [PATCH] Update xonsh 0.12.4

---
gnu/packages/shells.scm | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 00a0ef363d..ce4cdc765d 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -545,13 +545,13 @@ (define-public zsh
(define-public xonsh
(package
(name "xonsh")
- (version "0.9.27")
+ (version "0.12.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "xonsh" version))
(sha256
- (base32 "1maz7yvb5py91n699yqsna81x2i25mvrqkrcn7h7870nxd87ral2"))
+ (base32 "0xlac84nsgs0052n2pw8np1smlgghrbd7p6yrcp7d5qh8zdr9lx3"))
(modules '((guix build utils)))
(snippet
`(begin
@@ -565,6 +565,7 @@ (define-public xonsh
"xonsh/__amalgam__.py"
"xonsh/lexer.py"
"xonsh/parsers/base.py"
+ "xonsh/parsers/completion_context.py"
"xonsh/xonfig.py")
(("from xonsh\\.ply\\.(.*) import" _ module)
(format #f "from ~a import" module))
@@ -572,10 +573,18 @@ (define-public xonsh
#t))))
(build-system python-build-system)
(arguments
- '(;; TODO Try running run the test suite.
- ;; See 'requirements-tests.txt' in the source distribution for more
- ;; information.
- #:tests? #f))
+ (list ;; TODO Try running run the test suite.
+ ;; See 'requirements-tests.txt' in the source distribution for more
+ ;; information.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (invoke "python" "-m" "compileall" "--invalidation-mode=unchecked-hash" out)
+ (invoke "python" "setup.py" "install" "--root=/"
+ (string-append "--prefix=" out))))))))
(inputs
(list python-ply))
(home-page "https://xon.sh/")
-- 
2.36.0




Information forwarded to bug-guix <at> gnu.org:
bug#55004; Package guix. (Wed, 11 May 2022 21:36:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: arkhan <at> disroot.org
To: "arkhan--- via Bug reports for GNU Guix" <bug-guix <at> gnu.org>,
 guix-patches <at> gnu.org
Subject: Re: bug#55004: [PATCH] gnu: xonsh: Update to 0.12.4
Date: Wed, 11 May 2022 21:35:25 +0000
[Message part 1 (text/plain, inline)]
Attach patch file

11 de mayo de 2022, 16:14, "arkhan--- via Bug reports for GNU Guix" <bug-guix <at> gnu.org mailto:bug-guix <at> gnu.org?to=%22arkhan---%20via%20Bug%20reports%20for%20GNU%20Guix%22%20%3Cbug-guix%40gnu.org%3E > escribió:

> 
> From 70d42eba0c1f764956ad319853a5a1da7eb3da2a Mon Sep 17 00:00:00 2001
> From: arkhan <arkhan <at> riseup.net>
> Date: Wed, 11 May 2022 16:04:40 -0500
> Subject: [PATCH] Update xonsh 0.12.4
> 
> ---
> gnu/packages/shells.scm | 21 +++++++++++++++------
> 1 file changed, 15 insertions(+), 6 deletions(-)
> 
> diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
> index 00a0ef363d..ce4cdc765d 100644
> --- a/gnu/packages/shells.scm
> +++ b/gnu/packages/shells.scm
> @@ -545,13 +545,13 @@ (define-public zsh
> (define-public xonsh
> (package
> (name "xonsh")
> - (version "0.9.27")
> + (version "0.12.4")
> (source
> (origin
> (method url-fetch)
> (uri (pypi-uri "xonsh" version))
> (sha256
> - (base32 "1maz7yvb5py91n699yqsna81x2i25mvrqkrcn7h7870nxd87ral2"))
> + (base32 "0xlac84nsgs0052n2pw8np1smlgghrbd7p6yrcp7d5qh8zdr9lx3"))
> (modules '((guix build utils)))
> (snippet
> `(begin
> @@ -565,6 +565,7 @@ (define-public xonsh
> "xonsh/__amalgam__.py"
> "xonsh/lexer.py"
> "xonsh/parsers/base.py"
> + "xonsh/parsers/completion_context.py"
> "xonsh/xonfig.py")
> (("from xonsh\\.ply\\.(.*) import" _ module)
> (format #f "from ~a import" module))
> @@ -572,10 +573,18 @@ (define-public xonsh
> #t))))
> (build-system python-build-system)
> (arguments
> - '(;; TODO Try running run the test suite.
> - ;; See 'requirements-tests.txt' in the source distribution for more
> - ;; information.
> - #:tests? #f))
> + (list ;; TODO Try running run the test suite.
> + ;; See 'requirements-tests.txt' in the source distribution for more
> + ;; information.
> + #:tests? #f
> + #:phases
> + #~(modify-phases %standard-phases
> + (replace 'install
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out")))
> + (invoke "python" "-m" "compileall" "--invalidation-mode=unchecked-hash" out)
> + (invoke "python" "setup.py" "install" "--root=/"
> + (string-append "--prefix=" out))))))))
> (inputs
> (list python-ply))
> (home-page "https://xon.sh/")
> -- 
> 2.36.0
>
[0001-Update-xonsh-0.12.4.patch (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#55004; Package guix. (Wed, 08 Jun 2022 20:36:01 GMT) Full text and rfc822 format available.

Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: arkhan <at> disroot.org
Cc: guix-patches <at> gnu.org, 55004-done <at> debbugs.gnu.org
Subject: Re: bug#55004: Cant build xonsh 0.12.1
Date: Wed, 08 Jun 2022 16:35:48 -0400
Hi,

Closing, as it was applied by Ludovic in
2e6f4220cffc72f55f5390a57499e95fc9a03796.

Thanks!

Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 08 Jun 2022 20:37:02 GMT) Full text and rfc822 format available.

Notification sent to arkhan <at> disroot.org:
bug acknowledged by developer. (Wed, 08 Jun 2022 20:37:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 07 Jul 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 287 days ago.

Previous Next


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