>>> stack: Building community/stack 3.1.1-r0 (using abuild 3.15.0-r0) started Mon, 13 Oct 2025 18:18:47 +0000 >>> stack: Validating /home/udu/aports/community/stack/APKBUILD... >>> stack: Analyzing dependencies... >>> stack: Installing for build: build-base cabal ghc gmp-dev sqlite-dev uusi zlib-dev ncurses-dev WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/19) Installing libgmpxx (6.3.0-r3) (2/19) Installing gmp-dev (6.3.0-r3) (3/19) Installing linux-headers (6.14.2-r0) (4/19) Installing libffi-dev (3.4.8-r0) (5/19) Installing perl (5.40.3-r0) (6/19) Installing libxml2 (2.13.9-r0) (7/19) Installing llvm15-libs (15.0.7-r19) (8/19) Installing llvm15 (15.0.7-r19) (9/19) Installing ghc (9.8.2-r2) Executing ghc-9.8.2-r2.post-install (10/19) Installing curl (8.14.1-r2) (11/19) Installing cabal (3.10.3.0-r0) (12/19) Installing sqlite (3.49.2-r1) (13/19) Installing sqlite-dev (3.49.2-r1) (14/19) Installing uusi (0.4.3-r0) (15/19) Installing zlib-dev (1.3.1-r2) (16/19) Installing .makedepends-stack (20251013.181848) (17/19) Installing perl-error (0.17030-r0) (18/19) Installing perl-git (2.49.1-r0) (19/19) Installing git-perl (2.49.1-r0) Executing busybox-1.37.0-r19.trigger OK: 1534 MiB in 108 packages >>> stack: Cleaning up srcdir >>> stack: Cleaning up pkgdir >>> stack: Cleaning up tmpdir >>> stack: Fetching https://hackage.haskell.org/package/stack-3.1.1/stack-3.1.1.tar.gz >>> stack: Fetching https://hackage.haskell.org/package/stack-3.1.1/stack-3.1.1.tar.gz >>> stack: Checking sha512sums... stack-3.1.1.tar.gz: OK cabal.project.freeze: OK >>> stack: Unpacking /var/cache/distfiles/stack-3.1.1.tar.gz... Pending action(s): SetVersion["directory", >=0] SetVersion["filepath", >=0] Parsing cabal file from /home/udu/aports/community/stack/src/stack-3.1.1/stack.cabal... Write file: /home/udu/aports/community/stack/src/stack-3.1.1/stack.cabal '/home/udu/aports/community/stack/src/stack-3.1.1/cabal.project.freeze' -> '/home/udu/aports/community/stack/src/cabal.project.freeze' Config file path source is default config file. Config file not found: /home/udu/aports/community/stack/src/cabal/config Writing default configuration to /home/udu/aports/community/stack/src/cabal/config Downloading the latest package list from hackage.haskell.org Package list of hackage.haskell.org has been updated. The index-state is set to 2025-10-13T17:09:23Z. Warning: cannot determine version of /usr/bin/ghc : "" Error: cabal: The program 'ghc' version >=7.0.1 is required but the version of /usr/bin/ghc could not be determined. >>> ERROR: stack: build failed >>> stack: Uninstalling dependencies... (1/19) Purging .makedepends-stack (20251013.181848) (2/19) Purging cabal (3.10.3.0-r0) (3/19) Purging curl (8.14.1-r2) (4/19) Purging sqlite-dev (3.49.2-r1) (5/19) Purging sqlite (3.49.2-r1) (6/19) Purging uusi (0.4.3-r0) (7/19) Purging zlib-dev (1.3.1-r2) (8/19) Purging ghc (9.8.2-r2) (9/19) Purging gmp-dev (6.3.0-r3) (10/19) Purging libgmpxx (6.3.0-r3) (11/19) Purging libffi-dev (3.4.8-r0) (12/19) Purging linux-headers (6.14.2-r0) (13/19) Purging llvm15 (15.0.7-r19) (14/19) Purging git-perl (2.49.1-r0) (15/19) Purging perl-git (2.49.1-r0) (16/19) Purging perl-error (0.17030-r0) (17/19) Purging perl (5.40.3-r0) (18/19) Purging llvm15-libs (15.0.7-r19) (19/19) Purging libxml2 (2.13.9-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages