[Bug 267364] "make install" target does not fail if target "fake-pkg" fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Mar 2023 11:56:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267364

--- Comment #6 from Michael Osipov <michael.osipov@siemens.com> ---
Here is the reason: https://github.com/freebsd/pkg/issues/2073

Combined with the patch of
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267384 and this PR
https://github.com/freebsd/pkg/pull/2111 the port is finally failing:
gmake[3]: Leaving directory
'/root/freebsd-ports/devel/git/work-default/git-2.39.2/contrib/subtree'
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===>  Installing for git-2.39.2
===>  Checking if git is already installed
===>   Registering installation for git-2.39.2
[deblndw013x3j.ad001.siemens.net] Installing git-2.39.2...
===> Creating groups
Using existing group 'git_daemon'.
===> Creating users
Creating user 'git_daemon' with uid '964'.
pw: uid `964' has already been allocated
pkg-static: PRE-INSTALL script failed
*** Error code 1

Stop.
make[2]: stopped in /root/freebsd-ports/devel/git
*** Error code 1

Stop.
make[1]: stopped in /root/freebsd-ports/devel/git
*** Error code 1

Stop.
make: stopped in /root/freebsd-ports/devel/git

-- 
You are receiving this mail because:
You are on the CC list for the bug.