+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fcitx5-gtk-5.1.1nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fcitx5-gtk-5.1.1nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for fcitx5-gtk-5.1.1nb2
[  3%] Generating marshall.h
INFO: Reading /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/gtk-common/marshall.list...
[  6%] Generating marshall.c
INFO: Reading /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/gtk-common/marshall.list...
[  9%] Building C object fcitx-gclient/CMakeFiles/Fcitx5GClient.dir/fcitxgwatcher.c.o
[ 12%] Building C object fcitx-gclient/CMakeFiles/Fcitx5GClient.dir/fcitxgclient.c.o
[ 15%] Building C object fcitx-gclient/CMakeFiles/Fcitx5GClient.dir/marshall.c.o
[ 18%] Linking C shared library libFcitx5GClient.so
ld: fatal: unrecognized option '--as-needed'
ld: fatal: use the -z help option for usage information
collect2: error: ld returned 1 exit status
*** [fcitx-gclient/libFcitx5GClient.so.5.1.1] Error code 1

bmake[2]: stopped in /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/cmake-pkgsrc-build
1 error

bmake[2]: stopped in /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/cmake-pkgsrc-build
*** [fcitx-gclient/CMakeFiles/Fcitx5GClient.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/cmake-pkgsrc-build
1 error

bmake[1]: stopped in /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/cmake-pkgsrc-build
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/cmake-pkgsrc-build
1 error

bmake: stopped in /home/pbulk/build/inputmethod/fcitx5-gtk/work/fcitx5-gtk-5.1.1/cmake-pkgsrc-build
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/inputmethod/fcitx5-gtk
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/inputmethod/fcitx5-gtk