+ 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/hs-isocline-1.0.9nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hs-isocline-1.0.9nb4/work.log
===> Building for hs-isocline-1.0.9nb4
Preprocessing library for isocline-1.0.9...
Building library for isocline-1.0.9...
[1 of 2] Compiling Paths_isocline   ( dist/build/autogen/Paths_isocline.hs, dist/build/Paths_isocline.o, dist/build/Paths_isocline.dyn_o )
[2 of 2] Compiling System.Console.Isocline ( haskell/System/Console/Isocline.hs, dist/build/System/Console/Isocline.o, dist/build/System/Console/Isocline.dyn_o )
haskell/System/Console/Isocline.hs:608:85: warning: [GHC-63394] [-Wx-partial]
    In the use of `head'
    (imported from Prelude, but defined in GHC.Internal.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"."
    |
608 |                         return (if null s then (cbool False) else cbool (isInClass (head s)))
    |                                                                                     ^^^^

[1 of 2] Compiling Paths_isocline   ( dist/build/autogen/Paths_isocline.hs, dist/build/Paths_isocline.p_o )
[2 of 2] Compiling System.Console.Isocline ( haskell/System/Console/Isocline.hs, dist/build/System/Console/Isocline.p_o )
haskell/System/Console/Isocline.hs:608:85: warning: [GHC-63394] [-Wx-partial]
    In the use of `head'
    (imported from Prelude, but defined in GHC.Internal.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"."
    |
608 |                         return (if null s then (cbool False) else cbool (isInClass (head s)))
    |                                                                                     ^^^^

In file included from src/isocline.c:27:0: error: 

src/term.c: In function 'term_update_dim':
src/term.c:904:18: error:
     error: storage size of 'ws' isn't known
      904 |   struct winsize ws;
          |                  ^~
    |
904 |   struct winsize ws;
    |                  ^

src/term.c:905:7: error:
     warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
      905 |   if (ioctl(term->fd_out, TIOCGWINSZ, &ws) >= 0) {
          |       ^~~~~
    |
905 |   if (ioctl(term->fd_out, TIOCGWINSZ, &ws) >= 0) {
    |       ^

src/term.c:905:27: error:
     error: 'TIOCGWINSZ' undeclared (first use in this function)
      905 |   if (ioctl(term->fd_out, TIOCGWINSZ, &ws) >= 0) {
          |                           ^~~~~~~~~~
    |
905 |   if (ioctl(term->fd_out, TIOCGWINSZ, &ws) >= 0) {
    |                           ^

src/term.c:905:27: error:
     note: each undeclared identifier is reported only once for each function it appears in
    |
905 |   if (ioctl(term->fd_out, TIOCGWINSZ, &ws) >= 0) {
    |                           ^

`gcc' failed in phase `C Compiler'. (Exit code: 1)
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/hs-isocline
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/hs-isocline