===> Building for hugs98-200609nb1
cd src; /opt/pkg/bin/gmake all
gmake[1]: Entering directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/src'
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 hugs.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 edit.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 observe.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 builtin.c
In file included from builtin.c:1414:
./iomonad.c:1632:15: warning: cast to 'Pointer' (aka 'void *') from smaller integer type 'HugsStablePtr' (aka 'int') [-Wint-to-void-pointer-cast]
    PtrResult((Pointer)x);
              ^~~~~~~~~~
./builtin.h:83:21: note: expanded from macro 'PtrResult'
   updateRoot(mkPtr(nm))
                    ^~
./builtin.h:38:49: note: expanded from macro 'updateRoot'
#define updateRoot(c)           update(INDIRECT,c)
                                                ^
./builtin.h:37:52: note: expanded from macro 'update'
#define update(l,r)             ((snd(stack(root))=r),(fst(stack(root))=l))
                                                   ^
In file included from builtin.c:1414:
./iomonad.c:1638:5: warning: cast to smaller integer type 'Int' (aka 'int') from 'HsStablePtr' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    SPResult((HsStablePtr)x);
    ^~~~~~~~~~~~~~~~~~~~~~~~
./iomonad.c:1600:21: note: expanded from macro 'SPResult'
   updateRoot(mkInt((Int)(nm)))
   ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./builtin.h:38:49: note: expanded from macro 'updateRoot'
#define updateRoot(c)           update(INDIRECT,c)
                                ~~~~~~~~~~~~~~~~^~
./builtin.h:37:52: note: expanded from macro 'update'
#define update(l,r)             ((snd(stack(root))=r),(fst(stack(root))=l))
                                                   ^
builtin.c:1777:10: warning: cast to smaller integer type 'HugsStablePtr' (aka 'int') from 'HsStablePtr' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    push((HugsStablePtr)x);
         ^~~~~~~~~~~~~~~~
./storage.h:1107:10: note: expanded from macro 'push'
    onto(c);         \
         ^
./storage.h:1109:35: note: expanded from macro 'onto'
#define onto(c)      stack(++sp)=(c)
                                  ^
builtin.c:1782:12: warning: cast to 'HsStablePtr' (aka 'void *') from smaller integer type 'HugsStablePtr' (aka 'int') [-Wint-to-void-pointer-cast]
    return (HsStablePtr)x;
           ^~~~~~~~~~~~~~
builtin.c:1786:26: warning: cast to smaller integer type 'HugsStablePtr' (aka 'int') from 'HsStablePtr' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    if (x) freeStablePtr((HugsStablePtr)x);
                         ^~~~~~~~~~~~~~~~
5 warnings generated.
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 char.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  compiler.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 errors.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 evaluator.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 ffi.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 goal.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 input.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 machdep.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 machine.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  module.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 opts.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 output.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 plugin.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 script.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  static.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 storage.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 strutil.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  subst.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  type.c
clang -L/opt/pkg/lib -flat_namespace   hugs.o edit.o observe.o builtin.o char.o compiler.o errors.o evaluator.o ffi.o goal.o input.o machdep.o machine.o module.o opts.o output.o plugin.o script.o static.o storage.o strutil.o subst.o type.o version.o  -lreadline -lncurses -lm -ldl  -o hugs 
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 runhugs.c
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 server.c
clang -L/opt/pkg/lib -flat_namespace   runhugs.o server.o builtin.o char.o compiler.o errors.o evaluator.o ffi.o goal.o input.o machdep.o machine.o module.o opts.o output.o plugin.o script.o static.o storage.o strutil.o subst.o type.o version.o  -lreadline -lncurses -lm -ldl  -o runhugs
clang -c -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp  -O2 -DFFI_COMPILER runhugs.c -o ffihugs.o
clang -L/opt/pkg/lib -flat_namespace   ffihugs.o server.o builtin.o char.o compiler.o errors.o evaluator.o ffi.o goal.o input.o machdep.o machine.o module.o opts.o output.o plugin.o script.o static.o storage.o strutil.o subst.o type.o version.o  -lreadline -lncurses -lm -ldl  -o ffihugs
gmake[1]: Leaving directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/src'
cd libraries; /opt/pkg/bin/gmake all
gmake[1]: Entering directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries'
mkdir -p ../hugsdir/include
/bin/cp ../src/HsFFI.h ../hugsdir/include
mkdir -p ../ghc/includes
/bin/cp ../src/platform.h include/MachDeps.h include/ghcconfig.h ../ghc/includes
CPPFLAGS='-D__HUGS__ -Ddarwin_HOST_OS -Ddarwin_TARGET_OS' tools/make_bootlib
checking for gcc... clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /Users/pbulk/build/lang/hugs/work/.tools/bin/grep
checking for egrep... /Users/pbulk/build/lang/hugs/work/.tools/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long long... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/timers.h usability... no
checking sys/timers.h presence... no
checking for sys/timers.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for iswspace... yes
checking for ftime... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for lstat... yes
checking for readdir_r... yes
checking for getclock... no
checking for getrusage... yes
checking for gettimeofday... yes
checking for setitimer... yes
checking for times... yes
checking for _chsize... no
checking for ftruncate... yes
checking for execvpe... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for sys/time.h... (cached) yes
checking whether altzone is declared... no
checking Haskell type for char... Int8
checking Haskell type for signed char... Int8
checking Haskell type for unsigned char... Word8
checking Haskell type for short... Int16
checking Haskell type for unsigned short... Word16
checking Haskell type for int... Int32
checking Haskell type for unsigned int... Word32
checking Haskell type for long... Int64
checking Haskell type for unsigned long... Word64
checking Haskell type for long long... Int64
checking Haskell type for unsigned long long... Word64
checking Haskell type for float... Float
checking Haskell type for double... Double
checking Haskell type for ptrdiff_t... Int64
checking Haskell type for size_t... Word64
checking Haskell type for wchar_t... Int32
checking Haskell type for sig_atomic_t... Int32
checking Haskell type for clock_t... Word64
checking Haskell type for time_t... Int64
checking Haskell type for dev_t... Int32
checking Haskell type for ino_t... Word64
checking Haskell type for mode_t... Word16
checking Haskell type for off_t... Int64
checking Haskell type for pid_t... Int32
checking Haskell type for gid_t... Word32
checking Haskell type for uid_t... Word32
checking Haskell type for cc_t... Word8
checking Haskell type for speed_t... Word64
checking Haskell type for tcflag_t... Word64
checking Haskell type for nlink_t... Word16
checking Haskell type for ssize_t... Int64
checking Haskell type for rlim_t... Word64
checking Haskell type for wint_t... Int32
checking Haskell type for intptr_t... Int64
checking Haskell type for uintptr_t... Word64
checking Haskell type for intmax_t... Int64
checking Haskell type for uintmax_t... Word64
checking value of E2BIG... 7
checking value of EACCES... 13
checking value of EADDRINUSE... 48
checking value of EADDRNOTAVAIL... 49
checking value of EADV... -1
checking value of EAFNOSUPPORT... 47
checking value of EAGAIN... 35
checking value of EALREADY... 37
checking value of EBADF... 9
checking value of EBADMSG... 94
checking value of EBADRPC... 72
checking value of EBUSY... 16
checking value of ECHILD... 10
checking value of ECOMM... -1
checking value of ECONNABORTED... 53
checking value of ECONNREFUSED... 61
checking value of ECONNRESET... 54
checking value of EDEADLK... 11
checking value of EDESTADDRREQ... 39
checking value of EDIRTY... -1
checking value of EDOM... 33
checking value of EDQUOT... 69
checking value of EEXIST... 17
checking value of EFAULT... 14
checking value of EFBIG... 27
checking value of EFTYPE... 79
checking value of EHOSTDOWN... 64
checking value of EHOSTUNREACH... 65
checking value of EIDRM... 90
checking value of EILSEQ... 92
checking value of EINPROGRESS... 36
checking value of EINTR... 4
checking value of EINVAL... 22
checking value of EIO... 5
checking value of EISCONN... 56
checking value of EISDIR... 21
checking value of ELOOP... 62
checking value of EMFILE... 24
checking value of EMLINK... 31
checking value of EMSGSIZE... 40
checking value of EMULTIHOP... 95
checking value of ENAMETOOLONG... 63
checking value of ENETDOWN... 50
checking value of ENETRESET... 52
checking value of ENETUNREACH... 51
checking value of ENFILE... 23
checking value of ENOBUFS... 55
checking value of ENODATA... 96
checking value of ENODEV... 19
checking value of ENOENT... 2
checking value of ENOEXEC... 8
checking value of ENOLCK... 77
checking value of ENOLINK... 97
checking value of ENOMEM... 12
checking value of ENOMSG... 91
checking value of ENONET... -1
checking value of ENOPROTOOPT... 42
checking value of ENOSPC... 28
checking value of ENOSR... 98
checking value of ENOSTR... 99
checking value of ENOSYS... 78
checking value of ENOTBLK... 15
checking value of ENOTCONN... 57
checking value of ENOTDIR... 20
checking value of ENOTEMPTY... 66
checking value of ENOTSOCK... 38
checking value of ENOTTY... 25
checking value of ENXIO... 6
checking value of EOPNOTSUPP... 102
checking value of EPERM... 1
checking value of EPFNOSUPPORT... 46
checking value of EPIPE... 32
checking value of EPROCLIM... 67
checking value of EPROCUNAVAIL... 76
checking value of EPROGMISMATCH... 75
checking value of EPROGUNAVAIL... 74
checking value of EPROTO... 100
checking value of EPROTONOSUPPORT... 43
checking value of EPROTOTYPE... 41
checking value of ERANGE... 34
checking value of EREMCHG... -1
checking value of EREMOTE... 71
checking value of EROFS... 30
checking value of ERPCMISMATCH... 73
checking value of ERREMOTE... -1
checking value of ESHUTDOWN... 58
checking value of ESOCKTNOSUPPORT... 44
checking value of ESPIPE... 29
checking value of ESRCH... 3
checking value of ESRMNT... -1
checking value of ESTALE... 70
checking value of ETIME... 101
checking value of ETIMEDOUT... 60
checking value of ETOOMANYREFS... 59
checking value of ETXTBSY... 26
checking value of EUSERS... 68
checking value of EWOULDBLOCK... 35
checking value of EXDEV... 18
checking value of ENOCIGAR... -1
checking value of SIGABRT... 6
checking value of SIGALRM... 14
checking value of SIGBUS... 10
checking value of SIGCHLD... 20
checking value of SIGCONT... 19
checking value of SIGFPE... 8
checking value of SIGHUP... 1
checking value of SIGILL... 4
checking value of SIGINT... 2
checking value of SIGKILL... 9
checking value of SIGPIPE... 13
checking value of SIGQUIT... 3
checking value of SIGSEGV... 11
checking value of SIGSTOP... 17
checking value of SIGTERM... 15
checking value of SIGTSTP... 18
checking value of SIGTTIN... 21
checking value of SIGTTOU... 22
checking value of SIGUSR1... 30
checking value of SIGUSR2... 31
checking value of SIGPOLL... -1
checking value of SIGPROF... 27
checking value of SIGSYS... 12
checking value of SIGTRAP... 5
checking value of SIGURG... 16
checking value of SIGVTALRM... 26
checking value of SIGXCPU... 24
checking value of SIGXFSZ... 25
checking value of SIG_BLOCK... 1
checking value of SIG_SETMASK... 3
checking value of SIG_UNBLOCK... 2
checking value of SIG_DFL... 0
checking value of SIG_IGN... 1
checking value of SIG_ERR... 18446744073709551615
checking value of O_BINARY... 0
checking what readdir sets errno to upon EOF... 0
configure: creating ./config.status
config.status: creating include/HsBaseConfig.h
Preprocessing Control/Applicative
Preprocessing Control/Arrow
Preprocessing Control/Concurrent
Preprocessing Control/Concurrent/Chan
Preprocessing Control/Concurrent/MVar
Preprocessing Control/Concurrent/QSem
Preprocessing Control/Concurrent/QSemN
Preprocessing Control/Concurrent/SampleVar
Preprocessing Control/Exception
Preprocessing Control/Monad
Preprocessing Control/Monad/Fix
Preprocessing Control/Monad/Instances
Preprocessing Control/Monad/ST
Preprocessing Control/Monad/ST/Lazy
Preprocessing Control/Monad/ST/Strict
Preprocessing Control/Parallel
Preprocessing Control/Parallel/Strategies
Preprocessing Data/Array
Preprocessing Data/Array/Base
Preprocessing Data/Array/Diff
Preprocessing Data/Array/IArray
Preprocessing Data/Array/IO
Preprocessing Data/Array/IO/Internals
Preprocessing Data/Array/MArray
Preprocessing Data/Array/ST
Preprocessing Data/Array/Storable
Preprocessing Data/Array/Unboxed
Preprocessing Data/Bits
Preprocessing Data/Bool
Preprocessing Data/ByteString
Preprocessing Data/ByteString/Base
Preprocessing Data/ByteString/Char8
Preprocessing Data/ByteString/Fusion
Preprocessing Data/ByteString/Lazy
Preprocessing Data/ByteString/Lazy/Char8
Preprocessing Data/Char
Preprocessing Data/Complex
Preprocessing Data/Dynamic
Preprocessing Data/Either
Preprocessing Data/Eq
Preprocessing Data/Fixed
Preprocessing Data/Foldable
Preprocessing Data/FunctorM
Preprocessing Data/Generics
Preprocessing Data/Generics/Aliases
Preprocessing Data/Generics/Basics
Preprocessing Data/Generics/Instances
Preprocessing Data/Generics/Schemes
Preprocessing Data/Generics/Text
Preprocessing Data/Generics/Twins
Preprocessing Data/Graph
Preprocessing Data/HashTable
Preprocessing Data/IORef
Preprocessing Data/Int
Preprocessing Data/IntMap
Preprocessing Data/IntSet
Preprocessing Data/Ix
Preprocessing Data/List
Preprocessing Data/Map
Preprocessing Data/Maybe
Preprocessing Data/Monoid
Preprocessing Data/Ord
Preprocessing Data/PackedString
Preprocessing Data/Queue
Preprocessing Data/Ratio
Preprocessing Data/STRef
Preprocessing Data/STRef/Lazy
Preprocessing Data/STRef/Strict
Preprocessing Data/Sequence
Preprocessing Data/Set
Preprocessing Data/Traversable
Preprocessing Data/Tree
Preprocessing Data/Tuple
Preprocessing Data/Typeable
Preprocessing Data/Unique
Preprocessing Data/Version
Preprocessing Data/Word
Preprocessing Debug/Trace
Preprocessing Foreign
Preprocessing Foreign/C
Preprocessing Foreign/C/Error
Preprocessing Foreign/C/String
Preprocessing Foreign/C/Types
Preprocessing Foreign/Concurrent
Preprocessing Foreign/ForeignPtr
Preprocessing Foreign/Marshal
Preprocessing Foreign/Marshal/Alloc
Preprocessing Foreign/Marshal/Array
Preprocessing Foreign/Marshal/Error
Preprocessing Foreign/Marshal/Pool
Preprocessing Foreign/Marshal/Utils
Preprocessing Foreign/Ptr
Preprocessing Foreign/StablePtr
Preprocessing Foreign/Storable
Preprocessing Numeric
Preprocessing Prelude
Preprocessing System/CPUTime
Preprocessing System/Cmd
Preprocessing System/Console/GetOpt
Preprocessing System/Directory
Preprocessing System/Directory/Internals
Preprocessing System/Environment
Preprocessing System/Exit
Preprocessing System/IO
Preprocessing System/IO/Error
Preprocessing System/IO/Unsafe
Preprocessing System/Info
Preprocessing System/Locale
Preprocessing System/Mem
Preprocessing System/Mem/StableName
Preprocessing System/Mem/Weak
Preprocessing System/Posix/Internals
Preprocessing System/Posix/Signals
Preprocessing System/Posix/Types
Preprocessing System/Process
Preprocessing System/Process/Internals
Preprocessing System/Random
Preprocessing System/Time
Preprocessing Text/ParserCombinators/ReadP
Preprocessing Text/ParserCombinators/ReadPrec
Preprocessing Text/PrettyPrint
Preprocessing Text/PrettyPrint/HughesPJ
Preprocessing Text/Printf
Preprocessing Text/Read
Preprocessing Text/Read/Lex
Preprocessing Text/Show
Preprocessing Text/Show/Functions
Preprocessing Array
Preprocessing Bits
Preprocessing CError
Preprocessing CForeign
Preprocessing CPUTime
Preprocessing CString
Preprocessing CTypes
Preprocessing Char
Preprocessing Complex
Preprocessing Directory
Preprocessing ForeignPtr
Preprocessing IO
Preprocessing Int
Preprocessing Ix
Preprocessing List
Preprocessing Locale
Preprocessing MarshalAlloc
Preprocessing MarshalArray
Preprocessing MarshalError
Preprocessing MarshalUtils
Preprocessing Maybe
Preprocessing Monad
Preprocessing Ptr
Preprocessing Random
Preprocessing Ratio
Preprocessing StablePtr
Preprocessing Storable
Preprocessing System
Preprocessing Time
Preprocessing Word
Preprocessing DefaultSetup
/tmp/cvt.47529/cppinput.c:1:2: Unknown directive #!/usr/bin/runhaskell
Preprocessing Distribution/Compat/Directory
Preprocessing Distribution/Compat/Exception
Preprocessing Distribution/Compat/FilePath
Preprocessing Distribution/Compat/Map
Preprocessing Distribution/Compat/RawSystem
Preprocessing Distribution/Compat/ReadP
Preprocessing Distribution/Compiler
Preprocessing Distribution/Extension
Preprocessing Distribution/GetOpt
Preprocessing Distribution/InstalledPackageInfo
Preprocessing Distribution/License
Preprocessing Distribution/Make
Preprocessing Distribution/Package
Preprocessing Distribution/PackageDescription
Preprocessing Distribution/ParseUtils
Preprocessing Distribution/PreProcess
Preprocessing Distribution/PreProcess/Unlit
Preprocessing Distribution/Program
Preprocessing Distribution/Setup
Preprocessing Distribution/Simple
Preprocessing Distribution/Simple/Build
Preprocessing Distribution/Simple/Configure
Preprocessing Distribution/Simple/GHC
Preprocessing Distribution/Simple/GHCPackageConfig
Preprocessing Distribution/Simple/Hugs
Preprocessing Distribution/Simple/Install
Preprocessing Distribution/Simple/JHC
Preprocessing Distribution/Simple/LocalBuildInfo
Preprocessing Distribution/Simple/NHC
Preprocessing Distribution/Simple/Register
Preprocessing Distribution/Simple/SrcDist
Preprocessing Distribution/Simple/Utils
Preprocessing Distribution/Version
Preprocessing Language/Haskell/Extension
Preprocessing Network/Hackage/CabalInstall/BuildDep
Preprocessing Network/Hackage/CabalInstall/Clean
Preprocessing Network/Hackage/CabalInstall/Config
Preprocessing Network/Hackage/CabalInstall/Configure
Preprocessing Network/Hackage/CabalInstall/Dependency
Preprocessing Network/Hackage/CabalInstall/Fetch
Preprocessing Network/Hackage/CabalInstall/Info
Preprocessing Network/Hackage/CabalInstall/Install
Preprocessing Network/Hackage/CabalInstall/List
Preprocessing Network/Hackage/CabalInstall/Main
Preprocessing Network/Hackage/CabalInstall/Setup
Preprocessing Network/Hackage/CabalInstall/TarUtils
Preprocessing Network/Hackage/CabalInstall/Types
Preprocessing Network/Hackage/CabalInstall/Update
Preprocessing Network/Hackage/Client
Preprocessing Network/Hackage/Interface
Preprocessing Network/Hackage/Version
Undefined symbols for architecture arm64:
  "___hscore_readdir", referenced from:
      _hugsprim___hscore_readdir_40 in Internals-f6fa70.o
  "___hscore_renameFile", referenced from:
      _hugsprim___hscore_renameFile_17 in Internals-f6fa70.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
runhugs: Error occurred
ERROR "libraries/bootlib/System/Posix/Internals.hs" - Error while running compilation command 'clang -DNDEBUG=1 -pipe -Os -I/opt/pkg/include/ncurses -no-cpp-precomp -I/opt/pkg/include/ncurses -L/opt/pkg/lib -flat_namespace -shared -fPIC -D__HUGS__ "-Ihugsdir/include" -o "libraries/bootlib/System/Posix/Internals.so" "libraries/bootlib/System/Posix/Internals.c" -Ipackages/base/include -Ighc/includes'


echo timestamp for bootlib >bootlib/.stamp
cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir ../src/runhugs -98 ../packages/Cabal/examples/hapax.hs configure --verbose --hugs --prefix='/opt/pkg' --scratchdir='../hugsdir/packages/cpphs' --with-compiler=../src/ffihugs
runhugs: Error occurred
ERROR "../libraries/bootlib/System/Posix/Internals.hs" - Error while importing DLL "../libraries/bootlib/System/Posix/Internals.so":
dlopen(../libraries/bootlib/System/Posix/Internals.so, 0x0009): tried: '../libraries/bootlib/System/Posix/Internals.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS../libraries/bootlib/System/Posix/Internals.so' (no such file), '/usr/lib/../libraries/bootlib/System/Posix/Internals.so' (no such file, not in dyld cache), '../libraries/bootlib/System/Posix/Internals.so' (no such file), '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries/bootlib/System/Posix/Internals.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries/bootlib/System/Posix/Internals.so' (no such file), '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries/bootlib/System/Posix/Internals.so' (no such file)



gmake[1]: *** [Makefile:117: ../hugsdir/programs/cpphs/Main.hs] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/lang/hugs/work/hugs98-Sep2006/libraries'
gmake: *** [Makefile:48: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/hugs
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/hugs