+ 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/hugs98-unix-2.0.20060921/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hugs98-unix-2.0.20060921/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hugs98-unix-2.0.20060921 cd /home/pbulk/build/devel/hugs-unix/work/unix-2.0.20060921 && /opt/pkg/bin/runhugs -98 Setup.hs build --verbose Reading parameters from /home/pbulk/build/devel/hugs-unix/work/unix-2.0.20060921/unix.buildinfo Preprocessing library unix-2.0.20060921... /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/DynamicLinker/Module.hs System/Posix/DynamicLinker/Module.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/DynamicLinker/Prim.hs System/Posix/DynamicLinker/Prim.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Directory.hs System/Posix/Directory.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/DynamicLinker.hs System/Posix/DynamicLinker.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Env.hs System/Posix/Env.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Files.hs System/Posix/Files.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/IO.hs System/Posix/IO.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Process.hs System/Posix/Process.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Resource.hs System/Posix/Resource.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Temp.hs System/Posix/Temp.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Terminal.hs System/Posix/Terminal.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Time.hs System/Posix/Time.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Unistd.hs System/Posix/Unistd.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/User.hs System/Posix/User.hsc /opt/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude --lflag=-ldl -o System/Posix/Signals/Exts.hs System/Posix/Signals/Exts.hsc Building unix-2.0.20060921... /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix.hs System/Posix.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/DynamicLinker/Module.hs System/Posix/DynamicLinker/Module.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/DynamicLinker/Prim.hs System/Posix/DynamicLinker/Prim.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Directory.hs System/Posix/Directory.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/DynamicLinker.hs System/Posix/DynamicLinker.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Env.hs System/Posix/Env.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Error.hs System/Posix/Error.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Files.hs System/Posix/Files.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/IO.hs System/Posix/IO.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Process.hs System/Posix/Process.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Resource.hs System/Posix/Resource.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Temp.hs System/Posix/Temp.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Terminal.hs System/Posix/Terminal.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Time.hs System/Posix/Time.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Unistd.hs System/Posix/Unistd.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/User.hs System/Posix/User.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude /opt/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Signals/Exts.hs System/Posix/Signals/Exts.hs --noline --strip -Dsolaris2_BUILD_OS -Dsolaris2_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude Compiling FFI stubs /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/DynamicLinker/Prim.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Directory.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Env.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Files.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Process.hs -Iinclude cbits/HsUnix.c -ldl In file included from cbits/HsUnix.c:12: include/HsUnix.h:85: warning: "INLINE" redefined 85 | #define INLINE static inline | cbits/HsUnix.c:11: note: this is the location of the previous definition 11 | #define INLINE /* nothing */ | /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Resource.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Temp.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Terminal.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Time.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Unistd.hs -Iinclude -ldl /opt/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/User.hs -Iinclude -ldl dist/build/System/Posix/User.c: In function 'hugsprim_getpwnam_r_12': dist/build/System/Posix/User.c:55:12: error: too many arguments to function 'getpwnam_r' 55 | res1 = getpwnam_r(arg1, arg2, arg3, arg4, arg5); | ^~~~~~~~~~ In file included from include/HsUnix.h:68, from dist/build/System/Posix/User.c:4: /usr/include/pwd.h:167:23: note: declared here 167 | extern struct passwd *getpwnam_r(const char *, struct passwd *, char *, int); | ^~~~~~~~~~ dist/build/System/Posix/User.c:55:10: warning: assignment to 'HsInt32' {aka 'int'} from 'struct passwd *' makes integer from pointer without a cast [-Wint-conversion] 55 | res1 = getpwnam_r(arg1, arg2, arg3, arg4, arg5); | ^ dist/build/System/Posix/User.c: In function 'hugsprim_getpwuid_r_11': dist/build/System/Posix/User.c:78:12: error: too many arguments to function 'getpwuid_r' 78 | res1 = getpwuid_r(arg1, arg2, arg3, arg4, arg5); | ^~~~~~~~~~ /usr/include/pwd.h:166:23: note: declared here 166 | extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int); | ^~~~~~~~~~ dist/build/System/Posix/User.c:78:10: warning: assignment to 'HsInt32' {aka 'int'} from 'struct passwd *' makes integer from pointer without a cast [-Wint-conversion] 78 | res1 = getpwuid_r(arg1, arg2, arg3, arg4, arg5); | ^ dist/build/System/Posix/User.c: In function 'hugsprim_getgrnam_r_9': dist/build/System/Posix/User.c:114:12: error: too many arguments to function 'getgrnam_r' 114 | res1 = getgrnam_r(arg1, arg2, arg3, arg4, arg5); | ^~~~~~~~~~ In file included from include/HsUnix.h:71: /usr/include/grp.h:149:22: note: declared here 149 | extern struct group *getgrnam_r(const char *, struct group *, char *, int); | ^~~~~~~~~~ dist/build/System/Posix/User.c:114:10: warning: assignment to 'HsInt32' {aka 'int'} from 'struct group *' makes integer from pointer without a cast [-Wint-conversion] 114 | res1 = getgrnam_r(arg1, arg2, arg3, arg4, arg5); | ^ dist/build/System/Posix/User.c: In function 'hugsprim_getgrgid_r_8': dist/build/System/Posix/User.c:137:12: error: too many arguments to function 'getgrgid_r' 137 | res1 = getgrgid_r(arg1, arg2, arg3, arg4, arg5); | ^~~~~~~~~~ /usr/include/grp.h:148:22: note: declared here 148 | extern struct group *getgrgid_r(gid_t, struct group *, char *, int); | ^~~~~~~~~~ dist/build/System/Posix/User.c:137:10: warning: assignment to 'HsInt32' {aka 'int'} from 'struct group *' makes integer from pointer without a cast [-Wint-conversion] 137 | res1 = getgrgid_r(arg1, arg2, arg3, arg4, arg5); | ^ runhugs: Error occurred ERROR "dist/build/System/Posix/User.hs" - Error while running compilation command 'gcc -DNDEBUG=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -shared -fPIC -D__HUGS__ "-I/opt/pkg/lib/hugs/include" -o "dist/build/System/Posix/User.so" "dist/build/System/Posix/User.c" -Iinclude -ldl' *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/hugs-unix *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/hugs-unix