Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××.be>
To: gentoo-user@l.g.o
Subject: [gentoo-user] git command within an ebuild fails - why?
Date: Fri, 23 Sep 2022 16:18:04
Message-Id: 6L6HHHCY.RB2KIZQQ.QMWPPVB2@LVGYC2LB.G2DCZ6C5.XH2GHUTP
1 Hi,
2 I'd like to write an ebuild for installing nim-9999.
3 Within "src_compile"
4 a shell script is executed which tries to invoke
5
6 git clone -q --depth 1 -b master
7 https://github.com/nim-lang/csources_v1.git csources_v1
8
9 This fails with "Could not resolve host: github.com"
10
11 When I excute the git command above within the source directory it just
12 works.
13 So, what's different when executing it within the ebuild.
14 Does "inherit git-r3" redefine something.
15
16 Many thanks for hint,
17 Helmut

Replies

Subject Author
Re: [gentoo-user] git command within an ebuild fails - why? tastytea <gentoo@××××××××.de>