=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for hugs98-unix-2.0.20060921
cd /scratch/devel/hugs-unix/work/unix-2.0.20060921 && /usr/pkg/bin/runhugs -98 Setup.hs  build  --verbose
Reading parameters from /scratch/devel/hugs-unix/work/unix-2.0.20060921/unix.buildinfo
Preprocessing library unix-2.0.20060921...
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/DynamicLinker/Module.hs System/Posix/DynamicLinker/Module.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/DynamicLinker/Prim.hs System/Posix/DynamicLinker/Prim.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Directory.hs System/Posix/Directory.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/DynamicLinker.hs System/Posix/DynamicLinker.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Env.hs System/Posix/Env.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Files.hs System/Posix/Files.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/IO.hs System/Posix/IO.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Process.hs System/Posix/Process.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Resource.hs System/Posix/Resource.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Temp.hs System/Posix/Temp.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Terminal.hs System/Posix/Terminal.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Time.hs System/Posix/Time.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Unistd.hs System/Posix/Unistd.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/User.hs System/Posix/User.hsc
/usr/pkg/bin/hsc2hs-hugs -D__HUGS__ -Iinclude -o System/Posix/Signals/Exts.hs System/Posix/Signals/Exts.hsc
Building unix-2.0.20060921...
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix.hs System/Posix.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/DynamicLinker/Module.hs System/Posix/DynamicLinker/Module.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/DynamicLinker/Prim.hs System/Posix/DynamicLinker/Prim.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Directory.hs System/Posix/Directory.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/DynamicLinker.hs System/Posix/DynamicLinker.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Env.hs System/Posix/Env.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Error.hs System/Posix/Error.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Files.hs System/Posix/Files.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/IO.hs System/Posix/IO.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Process.hs System/Posix/Process.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Resource.hs System/Posix/Resource.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Temp.hs System/Posix/Temp.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Terminal.hs System/Posix/Terminal.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Time.hs System/Posix/Time.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Unistd.hs System/Posix/Unistd.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/User.hs System/Posix/User.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
/usr/pkg/bin/cpphs-hugs -Odist/build/System/Posix/Signals/Exts.hs System/Posix/Signals/Exts.hs --noline --strip -Dnetbsd_BUILD_OS -Dnetbsd_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -D__HUGS__ -Iinclude
Compiling FFI stubs
/usr/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/DynamicLinker/Prim.hs -Iinclude
/usr/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Directory.hs -Iinclude
/usr/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Env.hs -Iinclude
/usr/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Files.hs -Iinclude
/usr/pkg/bin/ffihugs -98 -Pdist/build: -i"HsUnix.h" -i"HsUnixConfig.h" dist/build/System/Posix/Process.hs -Iinclude cbits/HsUnix.c
/tmp/HsUnix-03455b.o: In function `__hsunix_SIGINFO':
cbits/HsUnix.c:(.text+0x90): multiple definition of `__hsunix_SIGINFO'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x90): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_SIGWINCH':
cbits/HsUnix.c:(.text+0xa0): multiple definition of `__hsunix_SIGWINCH'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0xa0): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_rtldDefault':
cbits/HsUnix.c:(.text+0x80): multiple definition of `__hsunix_rtldDefault'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x80): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_rtldNext':
cbits/HsUnix.c:(.text+0x70): multiple definition of `__hsunix_rtldNext'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x70): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_wexitstatus':
cbits/HsUnix.c:(.text+0x10): multiple definition of `__hsunix_wexitstatus'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x10): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_wifexited':
cbits/HsUnix.c:(.text+0x0): multiple definition of `__hsunix_wifexited'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x0): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_wifsignaled':
cbits/HsUnix.c:(.text+0x20): multiple definition of `__hsunix_wifsignaled'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x20): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_wifstopped':
cbits/HsUnix.c:(.text+0x50): multiple definition of `__hsunix_wifstopped'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x50): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_wstopsig':
cbits/HsUnix.c:(.text+0x60): multiple definition of `__hsunix_wstopsig'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x60): first defined here
/tmp/HsUnix-03455b.o: In function `__hsunix_wtermsig':
cbits/HsUnix.c:(.text+0x40): multiple definition of `__hsunix_wtermsig'
/tmp/Process-03455a.o:dist/build/System/Posix/Process.c:(.text+0x40): first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
runhugs: Error occurred
ERROR "dist/build/System/Posix/Process.hs" - Error while running compilation command 'gcc -DNDEBUG=1 -O2 -I/usr/include -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -shared -fPIC -D__HUGS__ "-I/usr/pkg/lib/hugs/include" -o "dist/build/System/Posix/Process.so" "dist/build/System/Posix/Process.c" -Iinclude cbits/HsUnix.c'


*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/devel/hugs-unix
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/devel/hugs-unix
