From owner-freebsd-ports@freebsd.org Sat Apr 13 17:57:58 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 942B2157EE32 for ; Sat, 13 Apr 2019 17:57:58 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EFBA8BF61 for ; Sat, 13 Apr 2019 17:57:58 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hFMub-000Fmo-Kt; Sat, 13 Apr 2019 19:57:57 +0200 Date: Sat, 13 Apr 2019 19:57:57 +0200 From: Kurt Jaeger To: freebsd-ports@freebsd.org Cc: Jonathan Chen Subject: Re: PR 23672 - java/eclipse update Message-ID: <20190413175757.GM72200@home.opsec.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2019 17:57:58 -0000 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 !