bug#23973: 'guix environment guix' fails with "Argument 1 out of range: 10"

2016-07-14 Thread Andreas Enge
So closing this bug, simply by a cc to 23973-d...@debbugs.gnu.org.

Andreas






bug#23973: 'guix environment guix' fails with "Argument 1 out of range: 10"

2016-07-13 Thread myglc2
A fix for this was helpfully provided in #guix irc by ...

 myglc2: ludovic noted that recent commits have caused the ABI to
change which requires rebuilding from scratch.  have you done so?
[13:07]
 make clean-go && make

Thank you!

myglc2  writes:

> Somewhere between
>
> '7a7d6b2 gnu: linux-libre: Update to 4.6.4.'
>
> and
>
> '7a7d6b2 gnu: linux-libre: Update to 4.6.4.'
>
> 'guix environment guix' stopped working for me. 
>
> g1@g1 ~/src/guix$ guix environment guix
> ;;; note: source file /home/g1/.config/guix/latest/guix/packages.scm
> ;;;   newer than compiled /home/g1/.config/guix/latest/guix/packages.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/packages.scm
> ;;;   newer than compiled 
> /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/packages.scm.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/gexp.scm
> ;;;   newer than compiled /home/g1/.config/guix/latest/guix/gexp.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/gexp.scm
> ;;;   newer than compiled 
> /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/gexp.scm.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/profiles.scm
> ;;;   newer than compiled /home/g1/.config/guix/latest/guix/profiles.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/profiles.scm
> ;;;   newer than compiled 
> /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/profiles.scm.go
> ;;; note: source file 
> /home/g1/.config/guix/latest/gnu/system/linux-container.scm
> ;;;   newer than compiled 
> /home/g1/.config/guix/latest/gnu/system/linux-container.go
> ;;; note: source file /home/g1/.config/guix/latest/gnu/services.scm
> ;;;   newer than compiled /home/g1/.config/guix/latest/gnu/services.go
> ;;; note: source file /home/g1/.config/guix/latest/gnu/services.scm
> ;;;   newer than compiled 
> /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/gnu/services.scm.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/download.scm
> ;;;   newer than compiled /home/g1/.config/guix/latest/guix/download.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/download.scm
> ;;;   newer than compiled 
> /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/download.scm.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/git-download.scm
> ;;;   newer than compiled 
> /home/g1/.config/guix/latest/guix/git-download.go
> ;;; note: source file /home/g1/.config/guix/latest/guix/git-download.scm
> ;;;   newer than compiled 
> /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/git-download.scm.go
> Backtrace:
> In unknown file:
>?: 19 [primitive-load-path "gnu/packages/autotools" ...]
> In gnu/packages/autotools.scm:
>   24: 18 [#]
> In ice-9/boot-9.scm:
> 2951: 17 [define-module* (gnu packages autotools) #:filename ...]
> 2926: 16 [resolve-imports ((#) (#) (#) (#) ...)]
> 2864: 15 [resolve-interface (gnu packages bash) #:select ...]
> 2789: 14 [# autoload version #:key ensure)> # ...]
> 3065: 13 [try-module-autoload (gnu packages bash) #f]
> 2401: 12 [save-module-excursion # ice-9/boot-9.scm:3066:17 ()>]
> 3085: 11 [#]
> In unknown file:
>?: 10 [primitive-load-path "gnu/packages/bash" ...]
> In gnu/packages/bash.scm:
>   21: 9 [#]
> In ice-9/boot-9.scm:
> 2951: 8 [define-module* (gnu packages bash) #:filename ...]
> 2926: 7 [resolve-imports ((#) (#) (#) (#) ...)]
> 2864: 6 [resolve-interface (gnu packages readline) #:select ...]
> 2789: 5 [# autoload version #:key ensure)> # ...]
> 3065: 4 [try-module-autoload (gnu packages readline) #f]
> 2401: 3 [save-module-excursion # ice-9/boot-9.scm:3066:17 ()>]
> 3085: 2 [#]
> In unknown file:
>?: 1 [primitive-load-path "gnu/packages/readline" ...]
> In gnu/packages/readline.scm:
>   81: 0 [#]
>
> gnu/packages/readline.scm:81:12: In procedure #:
> gnu/packages/readline.scm:81:12: In procedure struct-ref: Argument 1 out of 
> range: 10
> g1@g1 ~/src/guix$ 






bug#23973: 'guix environment guix' fails with "Argument 1 out of range: 10"

2016-07-13 Thread myglc2
Somewhere between

'7a7d6b2 gnu: linux-libre: Update to 4.6.4.'

and

'7a7d6b2 gnu: linux-libre: Update to 4.6.4.'

'guix environment guix' stopped working for me. 

g1@g1 ~/src/guix$ guix environment guix
;;; note: source file /home/g1/.config/guix/latest/guix/packages.scm
;;;   newer than compiled /home/g1/.config/guix/latest/guix/packages.go
;;; note: source file /home/g1/.config/guix/latest/guix/packages.scm
;;;   newer than compiled 
/home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/packages.scm.go
;;; note: source file /home/g1/.config/guix/latest/guix/gexp.scm
;;;   newer than compiled /home/g1/.config/guix/latest/guix/gexp.go
;;; note: source file /home/g1/.config/guix/latest/guix/gexp.scm
;;;   newer than compiled 
/home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/gexp.scm.go
;;; note: source file /home/g1/.config/guix/latest/guix/profiles.scm
;;;   newer than compiled /home/g1/.config/guix/latest/guix/profiles.go
;;; note: source file /home/g1/.config/guix/latest/guix/profiles.scm
;;;   newer than compiled 
/home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/profiles.scm.go
;;; note: source file 
/home/g1/.config/guix/latest/gnu/system/linux-container.scm
;;;   newer than compiled 
/home/g1/.config/guix/latest/gnu/system/linux-container.go
;;; note: source file /home/g1/.config/guix/latest/gnu/services.scm
;;;   newer than compiled /home/g1/.config/guix/latest/gnu/services.go
;;; note: source file /home/g1/.config/guix/latest/gnu/services.scm
;;;   newer than compiled 
/home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/gnu/services.scm.go
;;; note: source file /home/g1/.config/guix/latest/guix/download.scm
;;;   newer than compiled /home/g1/.config/guix/latest/guix/download.go
;;; note: source file /home/g1/.config/guix/latest/guix/download.scm
;;;   newer than compiled 
/home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/download.scm.go
;;; note: source file /home/g1/.config/guix/latest/guix/git-download.scm
;;;   newer than compiled /home/g1/.config/guix/latest/guix/git-download.go
;;; note: source file /home/g1/.config/guix/latest/guix/git-download.scm
;;;   newer than compiled 
/home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/src/guix/guix/git-download.scm.go
Backtrace:
In unknown file:
   ?: 19 [primitive-load-path "gnu/packages/autotools" ...]
In gnu/packages/autotools.scm:
  24: 18 [#]
In ice-9/boot-9.scm:
2951: 17 [define-module* (gnu packages autotools) #:filename ...]
2926: 16 [resolve-imports ((#) (#) (#) (#) ...)]
2864: 15 [resolve-interface (gnu packages bash) #:select ...]
2789: 14 [# # ...]
3065: 13 [try-module-autoload (gnu packages bash) #f]
2401: 12 [save-module-excursion #]
3085: 11 [#]
In unknown file:
   ?: 10 [primitive-load-path "gnu/packages/bash" ...]
In gnu/packages/bash.scm:
  21: 9 [#]
In ice-9/boot-9.scm:
2951: 8 [define-module* (gnu packages bash) #:filename ...]
2926: 7 [resolve-imports ((#) (#) (#) (#) ...)]
2864: 6 [resolve-interface (gnu packages readline) #:select ...]
2789: 5 [# # ...]
3065: 4 [try-module-autoload (gnu packages readline) #f]
2401: 3 [save-module-excursion #]
3085: 2 [#]
In unknown file:
   ?: 1 [primitive-load-path "gnu/packages/readline" ...]
In gnu/packages/readline.scm:
  81: 0 [#]

gnu/packages/readline.scm:81:12: In procedure #:
gnu/packages/readline.scm:81:12: In procedure struct-ref: Argument 1 out of 
range: 10
g1@g1 ~/src/guix$