public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] strange ebuild problem
@ 2020-11-20 15:44 Helmut Jarausch
  2020-11-20 16:50 ` Mickaël Bucas
  0 siblings, 1 reply; 3+ messages in thread
From: Helmut Jarausch @ 2020-11-20 15:44 UTC (permalink / raw
  To: gentoo-user

Hi,
I have an ebuild containing

inherit git-r3

and

src_compile() {

	./build_all.sh
}

The script build_all.sh contains

[ -d csources ] || git clone --depth 1  
https://github.com/nim-lang/csources.git


When I try to build I get the strange error
fatal: unable to access 'https://github.com/nim-lang/csources.git/':  
Could not resolve host: github.com

But when I exec
git clone --depth 1 https://github.com/nim-lang/csources.git
in an xterm (i.e. without using 'ebuild') it succeeds.

What's going on here?

Many thanks for a hint,
Helmut


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-20 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-20 15:44 [gentoo-user] strange ebuild problem Helmut Jarausch
2020-11-20 16:50 ` Mickaël Bucas
2020-11-20 19:47   ` Helmut Jarausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox