git needs sed either as propagated input or as input (with some substitute*-work)

OpenSubmitted by Björn Höfling.
Details
3 participants
  • Björn Höfling
  • Ludovic Courtès
  • phodina
Owner
unassigned
Severity
normal
B
B
Björn Höfling wrote on 16 Aug 2019 08:18
(address . bug-guix@gnu.org)
20190816081815.0127bc43@alma-ubu
guix environment --container -N --ad-hoc go coreutils binutils less emacs grep findutils git nss-certs

[env] $ go get github.com/fatih/structs
# cd /home/bjoern/go/src/github.com/fatih/structs; git submodule update --init --recursive
/gnu/store/i89f4rw8a2nzppxf2yixl0hvcw46rsxv-git-2.22.0/libexec/git-core/.git-submodule-real: line 7: sed: command not found
/gnu/store/kiykcyp4n45c7prba3k3zvfz19vvmymd-profile/libexec/git-core/git-sh-setup: line 86: sed: command not found
/gnu/store/i89f4rw8a2nzppxf2yixl0hvcw46rsxv-git-2.22.0/libexec/git-core/.git-submodule-real: line 1115: sed: command not found
/gnu/store/i89f4rw8a2nzppxf2yixl0hvcw46rsxv-git-2.22.0/libexec/git-core/.git-submodule-real: line 1115: cmd_: command not found
package github.com/fatih/structs: exit status 127
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXVZKqQAKCRC/KGy2WT5f
/eK+AJ45+wWZcRhKzDCXVIT6NEB6MdCzMgCdHcrWFwknBrfG9QU6eVlcfvrXbmQ=
=G/99
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 28 Aug 2019 22:39
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)(address . 37047@debbugs.gnu.org)
87imqhf2jc.fsf@gnu.org
Hi Björn,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:

Toggle quote (10 lines)
> guix environment --container -N --ad-hoc go coreutils binutils less emacs grep findutils git nss-certs
>
> [env] $ go get github.com/fatih/structs
> # cd /home/bjoern/go/src/github.com/fatih/structs; git submodule update --init --recursive
> /gnu/store/i89f4rw8a2nzppxf2yixl0hvcw46rsxv-git-2.22.0/libexec/git-core/.git-submodule-real: line 7: sed: command not found
> /gnu/store/kiykcyp4n45c7prba3k3zvfz19vvmymd-profile/libexec/git-core/git-sh-setup: line 86: sed: command not found
> /gnu/store/i89f4rw8a2nzppxf2yixl0hvcw46rsxv-git-2.22.0/libexec/git-core/.git-submodule-real: line 1115: sed: command not found
> /gnu/store/i89f4rw8a2nzppxf2yixl0hvcw46rsxv-git-2.22.0/libexec/git-core/.git-submodule-real: line 1115: cmd_: command not found
> package github.com/fatih/structs: exit status 127

I vote for ‘substitute*’ trickery in libexec/git-core/*.

Ludo’.
L
L
Ludovic Courtès wrote on 21 Feb 2020 21:21
control message for bug #37047
(address . control@debbugs.gnu.org)
87tv3j3d4u.fsf@gnu.org
tags 37047 + easy
quit
P
P
phodina wrote on 4 Nov 2021 22:53
RE: git needs sed either as propagated input or as input (with some substitute*-work)
(name . 37047@debbugs.gnu.org)(address . 37047@debbugs.gnu.org)
w6S_zjIe1iPLFyxBt7x1teWxhZ2E3ctaSJhzGIFBssGs8O_MdpXeY_fhTC0cffovdeEXC-pWNntP2GOs_ZuCKNnWnZNiB0d4SLiy7yBZl4c=@protonmail.com
Hi,

I'm attempting to replicate the described issue, but when I run the commands I get certificate error.

$ guix environment --container -N --ad-hoc go coreutils binutils lessĀ  emacs grep findutils git nss-certs
[env]$ go get github.com/fatih/structs
go get: module github.com/fatih/structs: Get "https://proxy.golang.org/github.com/fatih/structs/@v/list":x509: certificate signed by unknown authority

Petr
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 37047@debbugs.gnu.org