PR 23672 - java/eclipse update

Kurt Jaeger pi at freebsd.org
Sat Apr 13 17:57:58 UTC 2019


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 at 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 at opsec.eu            +49 171 3101372                    One year to go !


More information about the freebsd-ports mailing list