(1/40) Installing m4 (1.4.19-r1) (2/40) Installing autoconf (2.71-r1) (3/40) Installing automake (1.16.5-r1) (4/40) Installing ncurses-dev (6.3_p20221029-r0) (5/40) Installing xz (5.2.7-r0) (6/40) Installing skalibs (2.12.0.1-r0) (7/40) Installing utmps-libs (0.1.2.0-r1) (8/40) Installing coreutils (9.1-r0) (9/40) Installing grep (3.8-r1) (10/40) Installing gdbm (1.23-r0) (11/40) Installing mpdecimal (2.5.1-r1) (12/40) Installing readline (8.2.0-r0) (13/40) Installing sqlite-libs (3.39.4-r0) (14/40) Installing python3 (3.10.8-r3) (15/40) Installing py3-tz (2022.6-r0) (16/40) Installing py3-babel (2.11.0-r0) (17/40) Installing py3-docutils (0.19-r1) (18/40) Installing py3-imagesize (1.4.1-r0) (19/40) Installing py3-markupsafe (2.1.1-r1) (20/40) Installing py3-jinja2 (3.1.2-r0) (21/40) Installing py3-parsing (3.0.9-r0) (22/40) Installing py3-packaging (21.3-r2) (23/40) Installing py3-pygments (2.13.0-r0) (24/40) Installing py3-certifi (2022.9.24-r0) (25/40) Installing py3-charset-normalizer (2.1.1-r0) (26/40) Installing py3-idna (3.4-r2) (27/40) Installing py3-urllib3 (1.26.12-r0) (28/40) Installing py3-requests (2.28.1-r0) (29/40) Installing py3-snowballstemmer (2.2.0-r0) (30/40) Installing py3-alabaster (0.7.12-r5) (31/40) Installing py3-sphinxcontrib-applehelp (1.0.2-r3) (32/40) Installing py3-sphinxcontrib-devhelp (1.0.2-r3) (33/40) Installing py3-sphinxcontrib-htmlhelp (2.0.0-r2) (34/40) Installing py3-sphinxcontrib-jsmath (1.0.1-r3) (35/40) Installing py3-sphinxcontrib-serializinghtml (1.1.5-r2) (36/40) Installing py3-sphinxcontrib-qthelp (1.0.3-r3) (37/40) Installing py3-sphinx (5.2.1-r0) (38/40) Installing zlib-dev (1.2.13-r0) (39/40) Installing binutils-dev (2.39-r2) (40/40) Installing .makedepends-ghc (20221102.222405) Executing busybox-1.35.0-r27.trigger OK: 1751 MiB in 150 packages ghc-9.0.2-src.tar.xz: OK ghc-9.0.2-testsuite.tar.xz: OK 0005-buildpath-abi-stability.patch: OK 0001-testsuite-unset-MAKEFLAGS-when-calling-python.patch: OK 0001-testsuite-T12600-avoid-broken-pipe-on-Alpine.patch: OK skip-tests.patch: OK tests-use-iterable-from-collections-abc.patch: OK llvm14.patch: OK patching file compiler/GHC/Iface/Recomp.hs Hunk #1 succeeded at 1071 (offset 515 lines). Hunk #2 succeeded at 1106 with fuzz 2 (offset 517 lines). patching file testsuite/mk/test.mk Hunk #1 succeeded at 349 (offset 23 lines). patching file testsuite/tests/simplCore/should_compile/Makefile Hunk #1 succeeded at 254 (offset 16 lines). patching file libraries/base/tests/IO/all.T patching file testsuite/tests/ghci/linking/all.T patching file testsuite/tests/ghci/linking/dyn/all.T patching file testsuite/driver/testlib.py patching file compiler/GHC/CmmToLlvm.hs patching file configure.ac checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for GHC Git commit id... given 6554ff2843d53dddeb875cb145ab892725eac54c checking for ghc... /usr/bin/ghc checking version of ghc... 9.0.2 checking build system type... aarch64-alpine-linux-musl checking host system type... aarch64-alpine-linux-musl checking target system type... aarch64-alpine-linux-musl GHC build : aarch64-alpine-linux GHC host : aarch64-alpine-linux GHC target : aarch64-alpine-linux LLVM target: aarch64-alpine-linux checking whether target supports a registerised ABI... yes checking whether target supports tables next to code... yes checking for path to top of build tree... /home/buildozer/aports/community/ghc/src/ghc-9.0.2 checking for aarch64-alpine-linux-musl-windres... no checking for windres... no checking for aarch64-alpine-linux-musl-dllwrap... no checking for dllwrap... no checking for aarch64-alpine-linux-musl-objdump... no checking for objdump... objdump checking for aarch64-alpine-linux-musl-cc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... gcc -E checking for aarch64-alpine-linux-musl-ld... ld checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES checking whether ld understands --build-id... yes checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking for aarch64-alpine-linux-musl-nm... no checking for nm... nm checking for aarch64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for aarch64-alpine-linux-musl-strip... no checking for strip... strip checking for aarch64-alpine-linux-musl-libtool... no checking for libtool... no checking for aarch64-alpine-linux-musl-otool... no checking for otool... no checking for aarch64-alpine-linux-musl-install_name_tool... no checking for install_name_tool... no checking for aarch64-alpine-linux-musl-clang... no checking for clang... no checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for aarch64-alpine-linux-musl-llc-14... no checking for aarch64-alpine-linux-musl-llc-14.0... no checking for aarch64-alpine-linux-musl-llc-13... no checking for aarch64-alpine-linux-musl-llc-13.0... no checking for aarch64-alpine-linux-musl-llc-12... no checking for aarch64-alpine-linux-musl-llc-12.0... no checking for aarch64-alpine-linux-musl-llc-11... no checking for aarch64-alpine-linux-musl-llc-11.0... no checking for aarch64-alpine-linux-musl-llc-10... no checking for aarch64-alpine-linux-musl-llc-10.0... no checking for aarch64-alpine-linux-musl-llc-9... no checking for aarch64-alpine-linux-musl-llc-9.0... no checking for aarch64-alpine-linux-musl-llc... no checking for llc-14... no checking for llc-14.0... no checking for llc-13... no checking for llc-13.0... no checking for llc-12... no checking for llc-12.0... no checking for llc-11... no checking for llc-11.0... no checking for llc-10... no checking for llc-10.0... no checking for llc-9... no checking for llc-9.0... no checking for llc... no checking for aarch64-alpine-linux-musl-opt-14... no checking for aarch64-alpine-linux-musl-opt-14.0... no checking for aarch64-alpine-linux-musl-opt-13... no checking for aarch64-alpine-linux-musl-opt-13.0... no checking for aarch64-alpine-linux-musl-opt-12... no checking for aarch64-alpine-linux-musl-opt-12.0... no checking for aarch64-alpine-linux-musl-opt-11... no checking for aarch64-alpine-linux-musl-opt-11.0... no checking for aarch64-alpine-linux-musl-opt-10... no checking for aarch64-alpine-linux-musl-opt-10.0... no checking for aarch64-alpine-linux-musl-opt-9... no checking for aarch64-alpine-linux-musl-opt-9.0... no checking for aarch64-alpine-linux-musl-opt... no checking for opt-14... no checking for opt-14.0... no checking for opt-13... no checking for opt-13.0... no checking for opt-12... no checking for opt-12.0... no checking for opt-11... no checking for opt-11.0... no checking for opt-10... no checking for opt-10.0... no checking for opt-9... no checking for opt-9.0... no checking for opt... no configure: Creating links for in-tree file handling routines configure: Routines in place. Packages can now be build normally. configure: Creating links for ghci wrapper configure: done. checking whether #! works in shell scripts... yes checking version of gcc... checking version of gcc... 12.2.1 12.2.1 checking whether GCC supports -no-pie... yes checking whether GCC supports __atomic_ builtins... yes checking for extra options to pass gcc when compiling via C... checking whether C compiler has an LLVM back end... no checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether CC supports --target... no checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for GNU non-executable stack support... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-alpine-linux-musl-ar... no checking for ar... ar checking whether ar is GNU ar... yes checking for ar arguments... q checking whether ar supports @file... yes checking for aarch64-alpine-linux-musl-ranlib... ranlib checking whether ln -s works... yes checking for gsed... no checking for sed... /bin/sed checking for time... /usr/bin/time checking for gnutar... no checking for gtar... no checking for tar... /bin/tar checking for bzip2... /usr/bin/bzip2 checking for gzip... /bin/gzip checking for pxz... no checking for xz... /usr/bin/xz checking for gpatch... no checking for patch... /usr/bin/patch checking for autoreconf... /usr/bin/autoreconf checking for dtrace... no checking for HsColour... no checking for sphinx-build... /usr/bin/sphinx-build checking for version of sphinx-build... 5.2.1 checking for xelatex... no checking for makeindex... no checking for makeinfo... no checking for python3... /usr/bin/python3 checking for ghc-pkg matching /usr/bin/ghc... /usr/bin/ghc-pkg checking for happy... no checking for version of happy... checking for alex... no checking for version of alex... checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ctype.h... yes checking for dirent.h... yes checking for dlfcn.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for limits.h... yes checking for locale.h... yes checking for nlist.h... no checking for pthread.h... yes checking for pwd.h... yes checking for signal.h... yes checking for sys/param.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for sys/timerfd.h... yes checking for sys/timers.h... no checking for sys/times.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes checking for termios.h... yes checking for time.h... yes checking for utime.h... yes checking for windows.h... no checking for winsock.h... no checking for sched.h... yes checking for sys/cpuset.h... no checking for gcc options needed to detect all undeclared functions... none needed checking whether environ is declared... yes checking for long long... yes checking size of char... 1 checking for char... yes checking alignment of char... 1 checking size of double... 8 checking for double... yes checking alignment of double... 8 checking size of float... 4 checking for float... yes checking alignment of float... 4 checking size of int... 4 checking for int... yes checking alignment of int... 4 checking size of long... 8 checking for long... yes checking alignment of long... 8 checking size of long long... 8 checking for long long... (cached) yes checking alignment of long long... 8 checking size of short... 2 checking for short... yes checking alignment of short... 2 checking size of unsigned char... 1 checking for unsigned char... yes checking alignment of unsigned char... 1 checking size of unsigned int... 4 checking for unsigned int... yes checking alignment of unsigned int... 4 checking size of unsigned long... 8 checking for unsigned long... yes checking alignment of unsigned long... 8 checking size of unsigned long long... 8 checking for unsigned long long... yes checking alignment of unsigned long long... 8 checking size of unsigned short... 2 checking for unsigned short... yes checking alignment of unsigned short... 2 checking size of void *... 8 checking for void *... yes checking alignment of void *... 8 checking size of int8_t... 1 checking for int8_t... yes checking alignment of int8_t... 1 checking size of uint8_t... 1 checking for uint8_t... yes checking alignment of uint8_t... 1 checking size of int16_t... 2 checking for int16_t... yes checking alignment of int16_t... 2 checking size of uint16_t... 2 checking for uint16_t... yes checking alignment of uint16_t... 2 checking size of int32_t... 4 checking for int32_t... yes checking alignment of int32_t... 4 checking size of uint32_t... 4 checking for uint32_t... yes checking alignment of uint32_t... 4 checking size of int64_t... 8 checking for int64_t... yes checking alignment of int64_t... 8 checking size of uint64_t... 8 checking for uint64_t... yes checking alignment of uint64_t... 8 checking whether byte ordering is bigendian... no checking for WinExec... no checking for GetModuleFileName... no checking for getclock... no checking for getrusage... yes checking for gettimeofday... yes checking for setitimer... yes checking for siginterrupt... yes checking for sysconf... yes checking for times... yes checking for ctime_r... yes checking for sched_setaffinity... yes checking for sched_getaffinity... yes checking for setlocale... yes checking whether ctime_r is declared... yes checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for ffi_call in -lffi... yes checking for ffi.h... yes checking for dlopen in -ldl... yes checking for dlopen in -ldl... (cached) yes checking for dlinfo... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes 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 whether byte ordering is bigendian... (cached) no checking whether float word order is big endian... no checking for nlist in -lelf... no checking leading underscore in symbol names... no checking whether __attribute__((visibility("hidden"))) is supported... yes checking for clock_gettime in -lrt... yes checking for clock_gettime in -lrt... (cached) yes checking for clock_gettime... yes checking for timer_settime... yes checking for timer_create... yes checking for a working timer_create(CLOCK_REALTIME)... yes checking for printf$LDBLStub... no checking whether -lpthread is needed for pthreads... checking for pthread_create... yes no checking for pthread_np.h... no checking for pthread_setname_np in -lpthread... yes checking for pthread_setname_np (Darwin)... no checking for pthread_setname_np (glibc)... yes checking for pthread_set_name_np... no checking for sys/eventfd.h... yes checking for eventfd... yes checking for __thread support... yes checking whether MAP_NORESERVE is declared... yes checking whether MADV_FREE is declared... yes checking whether MADV_DONTNEED is declared... yes checking whether to use libffi for adjustors... checking for numa.h... no checking for numaif.h... no configure: creating ./config.status config.status: creating hadrian/cfg/system.config config.status: creating hadrian/ghci-cabal config.status: creating hadrian/ghci-stack config.status: creating mk/config.mk config.status: creating mk/install.mk config.status: creating mk/project.mk config.status: creating rts/rts.cabal config.status: creating compiler/ghc.cabal config.status: creating ghc/ghc-bin.cabal config.status: creating utils/runghc/runghc.cabal config.status: creating driver/ghci/ghci-wrapper.cabal config.status: creating utils/iserv/iserv.cabal config.status: creating utils/iserv-proxy/iserv-proxy.cabal config.status: creating utils/ghc-pkg/ghc-pkg.cabal config.status: creating utils/remote-iserv/remote-iserv.cabal config.status: creating utils/gen-dll/gen-dll.cabal config.status: creating libraries/ghc-boot/ghc-boot.cabal config.status: creating libraries/ghc-boot-th/ghc-boot-th.cabal config.status: creating libraries/ghci/ghci.cabal config.status: creating libraries/ghc-heap/ghc-heap.cabal config.status: creating libraries/libiserv/libiserv.cabal config.status: creating libraries/template-haskell/template-haskell.cabal config.status: creating docs/users_guide/ghc_config.py config.status: creating docs/index.html config.status: creating libraries/prologue.txt config.status: creating distrib/configure.ac config.status: creating mk/config.h ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 9.0.2 Git commit id : 6554ff2843d53dddeb875cb145ab892725eac54c Build platform : aarch64-alpine-linux Host platform : aarch64-alpine-linux Target platform : aarch64-alpine-linux Bootstrapping using : /usr/bin/ghc which is version : 9.0.2 with threaded RTS? : YES Using (for bootstrapping) : gcc Using gcc : gcc which is version : 12.2.1 linker options : Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES Build GMP in tree : NO hs-cpp : gcc hs-cpp-flags : -E -undef -traditional ar : ar ld : ld nm : nm libtool : objdump : objdump ranlib : ranlib otool : install_name_tool : windres : dllwrap : genlib : Happy : () Alex : () sphinx-build : /usr/bin/sphinx-build xelatex : makeinfo : Using LLVM tools clang : llc : opt : HsColour was not found; documentation will not contain source links Tools to build Sphinx HTML documentation available: YES Tools to build Sphinx PDF documentation available: NO Tools to build Sphinx INFO documentation available: NO ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type (g)make. To make changes to the default build configuration, copy the file mk/build.mk.sample to mk/build.mk, and edit the settings in there. For more information on how to configure your GHC build, see https://gitlab.haskell.org/ghc/ghc/wikis/building touch -r mk/config.mk.old mk/config.mk touch -r mk/project.mk.old mk/project.mk touch -r compiler/ghc.cabal.old compiler/ghc.cabal ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds mkdir -p inplace/bin mkdir -p inplace/lib "rm" -f inplace/bin/mkdirhier echo '#!/bin/sh' >> inplace/bin/mkdirhier cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier chmod +x inplace/bin/mkdirhier "inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. "inplace/bin/mkdirhier" bootstrapping/. "rm" -f includes/dist/build/ghcplatform.h "rm" -f includes/dist/build/ghcautoconf.h "inplace/bin/mkdirhier" compiler/stage1/build/GHC/Settings//. "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC//. "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC/Platform//. Creating includes/dist/build/ghcplatform.h... Creating includes/dist/build/ghcautoconf.h... "/usr/bin/ghc" -H32m -O -Wall \ -optc-Wall \ -optl-Wl,-z,noexecstack \ -O0 \ -XHaskell2010 \ -hide-all-packages \ -package-env - \ -package ghc-prim -package base -package binary -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package filepath -package template-haskell -package unix \ --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal \ -no-user-package-db \ -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \ -DCABAL_VERSION=3,4,1,0 \ -DBOOTSTRAPPING \ -odir bootstrapping \ -hidir bootstrapping \ libraries/Cabal/Cabal/Distribution/Fields/Lexer.hs \ -ilibraries/Cabal/Cabal \ -ilibraries/binary/src \ -ilibraries/filepath \ -ilibraries/hpc \ -ilibraries/mtl \ -ilibraries/text/src \ libraries/text/cbits/cbits.c \ -Ilibraries/text/include \ -ilibraries/parsec/src \ \ "rm" -f compiler/stage1/build/GHC/Settings/Config.hs "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Version.hs "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Platform/Host.hs Creating compiler/stage1/build/GHC/Settings/Config.hs ... Done. done. Done. done. done. [ 1 of 298] Compiling Control.Monad.Cont.Class ( libraries/mtl/Control/Monad/Cont/Class.hs, bootstrapping/Control/Monad/Cont/Class.o ) (1/40) Purging .makedepends-ghc (20221102.222405) (2/40) Purging autoconf (2.71-r1) (3/40) Purging m4 (1.4.19-r1) (4/40) Purging automake (1.16.5-r1) (5/40) Purging ncurses-dev (6.3_p20221029-r0) (6/40) Purging xz (5.2.7-r0) (7/40) Purging coreutils (9.1-r0) Executing coreutils-9.1-r0.post-deinstall (8/40) Purging grep (3.8-r1) (9/40) Purging py3-sphinx (5.2.1-r0) (10/40) Purging py3-babel (2.11.0-r0) (11/40) Purging py3-tz (2022.6-r0) (12/40) Purging py3-docutils (0.19-r1) (13/40) Purging py3-imagesize (1.4.1-r0) (14/40) Purging py3-jinja2 (3.1.2-r0) (15/40) Purging py3-markupsafe (2.1.1-r1) (16/40) Purging py3-packaging (21.3-r2) (17/40) Purging py3-parsing (3.0.9-r0) (18/40) Purging py3-pygments (2.13.0-r0) (19/40) Purging py3-requests (2.28.1-r0) (20/40) Purging py3-certifi (2022.9.24-r0) (21/40) Purging py3-charset-normalizer (2.1.1-r0) (22/40) Purging py3-idna (3.4-r2) (23/40) Purging py3-urllib3 (1.26.12-r0) (24/40) Purging py3-snowballstemmer (2.2.0-r0) (25/40) Purging py3-alabaster (0.7.12-r5) (26/40) Purging py3-sphinxcontrib-applehelp (1.0.2-r3) (27/40) Purging py3-sphinxcontrib-devhelp (1.0.2-r3) (28/40) Purging py3-sphinxcontrib-htmlhelp (2.0.0-r2) (29/40) Purging py3-sphinxcontrib-jsmath (1.0.1-r3) (30/40) Purging py3-sphinxcontrib-serializinghtml (1.1.5-r2) (31/40) Purging py3-sphinxcontrib-qthelp (1.0.3-r3) (32/40) Purging python3 (3.10.8-r3) (33/40) Purging zlib-dev (1.2.13-r0) (34/40) Purging binutils-dev (2.39-r2) (35/40) Purging utmps-libs (0.1.2.0-r1) (36/40) Purging skalibs (2.12.0.1-r0) (37/40) Purging gdbm (1.23-r0) (38/40) Purging mpdecimal (2.5.1-r1) (39/40) Purging readline (8.2.0-r0) (40/40) Purging sqlite-libs (3.39.4-r0) Executing busybox-1.35.0-r27.trigger OK: 1616 MiB in 110 packages