Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o
Subject: [gentoo-user] strange ebuild problem
Date: Fri, 20 Nov 2020 15:44:24
Message-Id: AY4QLZLU.EQCZ3YWF.JGNBAU5Y@ZOA7TC4O.QID2XBFC.V4KU2XFN
1 Hi,
2 I have an ebuild containing
3
4 inherit git-r3
5
6 and
7
8 src_compile() {
9
10 ./build_all.sh
11 }
12
13 The script build_all.sh contains
14
15 [ -d csources ] || git clone --depth 1
16 https://github.com/nim-lang/csources.git
17
18
19 When I try to build I get the strange error
20 fatal: unable to access 'https://github.com/nim-lang/csources.git/':
21 Could not resolve host: github.com
22
23 But when I exec
24 git clone --depth 1 https://github.com/nim-lang/csources.git
25 in an xterm (i.e. without using 'ebuild') it succeeds.
26
27 What's going on here?
28
29 Many thanks for a hint,
30 Helmut

Replies

Subject Author
Re: [gentoo-user] strange ebuild problem "Mickaël Bucas" <mbucas@×××××.com>