Date: Sat, 13 Apr 2019 19:57:57 +0200 From: Kurt Jaeger <pi@freebsd.org> To: freebsd-ports@freebsd.org Cc: Jonathan Chen <jonc@chen.org.nz> Subject: Re: PR 23672 - java/eclipse update Message-ID: <20190413175757.GM72200@home.opsec.eu> In-Reply-To: <CAJuc1zM9QqkJh%2BJN61-QwpRiBsFfJ87wn3NqvicP3WApu4r4pQ@mail.gmail.com> References: <CAJuc1zM9QqkJh%2BJN61-QwpRiBsFfJ87wn3NqvicP3WApu4r4pQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! While test-building java/eclipse in poudriere from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236792 I run into this problem: During the build, git is used to create a local git repo. This works in current, because the build inside poudriere runs as root and therefore, this works: git init git config --global user.email "eclipse@freebsd.org" git config --global user.name "Eclipse" git add . It fails on 12.0 and 11.2, because the build is run as user nobody with home: /nonexistent error: could not lock config file /nonexistent/.gitconfig: No such file or directory error: could not lock config file /nonexistent/.gitconfig: No such file or directory Any hints how I can force git to use existing directory as $HOME so that git does not fail ? -- pi@opsec.eu +49 171 3101372 One year to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190413175757.GM72200>