+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hs-terminal-size-0.3.2.1nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hs-terminal-size-0.3.2.1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for hs-terminal-size-0.3.2.1nb1 Preprocessing library for terminal-size-0.3.2.1.. compiling dist/build/System/Console/Terminal/Posix_hsc_make.c failed (exit code 1) rsp file was: "dist/build/System/Console/Terminal/hsc2hscall32559-0.rsp" command was: /home/pbulk/build/devel/hs-terminal-size/work/.cwrapper/bin/gcc -c dist/build/System/Console/Terminal/Posix_hsc_make.c -o dist/build/System/Console/Terminal/Posix_hsc_make.o -m64 -m64 -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib -m64 -D__GLASGOW_HASKELL__=900 -Dsolaris2_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dsolaris2_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/opt/local/include -I/opt/local/lib/ghc-9.0.1/base-4.15.0.0/include -I/opt/local/include -I/opt/local/lib/ghc-9.0.1/ghc-bignum-1.0/include -I/opt/local/lib/ghc-9.0.1/include -I/opt/local/include -I/opt/local/lib/ghc-9.0.1/include/ error: Posix.hsc:24: warning: "hsc_alignment" redefined In file included from dist/build/System/Console/Terminal/Posix_hsc_make.c:1: /opt/local/lib/ghc-9.0.1/template-hsc.h:98: note: this is the location of the previous definition 98 | #define hsc_alignment(x...) \ | Posix.hsc: In function 'main': Posix.hsc:31:15: error: invalid application of 'sizeof' to incomplete type 'struct winsize' /opt/local/lib/ghc-9.0.1/template-hsc.h:96:39: note: in definition of macro 'hsc_size' 96 | hsc_printf("(%ld)", (long) sizeof(t)); | ^ In file included from /opt/local/lib/ghc-9.0.1/template-hsc.h:11, from dist/build/System/Console/Terminal/Posix_hsc_make.c:1: Posix.hsc:24:92: error: field 'y__' has incomplete type Posix.hsc:32:5: note: in expansion of macro 'hsc_alignment' /opt/local/lib/ghc-9.0.1/template-hsc.h:82:24: error: invalid use of undefined type 'struct winsize' 82 | (long) offsetof (t, f)); | ^~~~~~~~ Posix.hsc:34:5: note: in expansion of macro 'hsc_peek' /opt/local/lib/ghc-9.0.1/template-hsc.h:82:24: error: invalid use of undefined type 'struct winsize' 82 | (long) offsetof (t, f)); | ^~~~~~~~ Posix.hsc:35:5: note: in expansion of macro 'hsc_peek' /opt/local/lib/ghc-9.0.1/template-hsc.h:86:24: error: invalid use of undefined type 'struct winsize' 86 | (long) offsetof (t, f)); | ^~~~~~~~ Posix.hsc:38:5: note: in expansion of macro 'hsc_poke' /opt/local/lib/ghc-9.0.1/template-hsc.h:86:24: error: invalid use of undefined type 'struct winsize' 86 | (long) offsetof (t, f)); | ^~~~~~~~ Posix.hsc:39:5: note: in expansion of macro 'hsc_poke' In file included from dist/build/System/Console/Terminal/Posix_hsc_make.c:1: Posix.hsc:45:16: error: 'TIOCGWINSZ' undeclared (first use in this function) Posix.hsc:45:5: note: in expansion of macro 'hsc_const' Posix.hsc:45:16: note: each undeclared identifier is reported only once for each function it appears in Posix.hsc:45:5: note: in expansion of macro 'hsc_const' *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/hs-terminal-size *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/hs-terminal-size