Skip to content

Instantly share code, notes, and snippets.

@mitchty
Created March 9, 2018 17:05
Show Gist options
  • Save mitchty/bcdc3e2395e0bd1595e29519514a7b58 to your computer and use it in GitHub Desktop.
Save mitchty/bcdc3e2395e0bd1595e29519514a7b58 to your computer and use it in GitHub Desktop.
10:58:22 [x86_64 ghc] >>> ghc: abuild 3.1.0-r3
10:58:22 [x86_64 ghc] >>> ghc: Checking sanity of /tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA@2/community/ghc/APKBUILD...
10:58:22 [x86_64 ghc] >>> ghc: Analyzing dependencies...
10:58:23 [x86_64 ghc] >>> ghc: Installing for build: build-base gmp-dev perl gcc>=6.2.1 llvm3.9 libffi-dev autoconf cpio binutils-gold paxmark ncurses-dev xz coreutils linux-headers musl-dev zlib-dev binutils-dev python3
10:58:23 [x86_64 ghc] (1/25) Installing musl-dev (1.1.18-r3)
10:58:24 [x86_64 ghc] (2/25) Installing libc-dev (0.7.1-r0)
10:58:24 [x86_64 ghc] (3/25) Installing g++ (6.4.0-r5)
10:58:26 [x86_64 ghc] (4/25) Installing make (4.2.1-r0)
10:58:26 [x86_64 ghc] (5/25) Installing fortify-headers (0.9-r0)
10:58:26 [x86_64 ghc] (6/25) Installing build-base (0.5-r0)
10:58:26 [x86_64 ghc] (7/25) Installing libgmpxx (6.1.2-r1)
10:58:26 [x86_64 ghc] (8/25) Installing gmp-dev (6.1.2-r1)
10:58:26 [x86_64 ghc] (9/25) Installing llvm3.9-libs (3.9.1-r2)
10:58:28 [x86_64 ghc] (10/25) Installing llvm3.9 (3.9.1-r2)
10:58:28 [x86_64 ghc] (11/25) Installing m4 (1.4.18-r0)
10:58:28 [x86_64 ghc] (12/25) Installing autoconf (2.69-r0)
10:58:28 [x86_64 ghc] (13/25) Installing cpio (2.12-r2)
10:58:29 [x86_64 ghc] (14/25) Installing binutils-gold (2.28-r3)
10:58:29 [x86_64 ghc] (15/25) Installing paxmark (0.11-r0)
10:58:29 [x86_64 ghc] (16/25) Installing ncurses-dev (6.0_p20171125-r0)
10:58:29 [x86_64 ghc] (17/25) Installing xz (5.2.3-r1)
10:58:29 [x86_64 ghc] (18/25) Installing libacl (2.2.52-r3)
10:58:29 [x86_64 ghc] (19/25) Installing coreutils (8.28-r0)
10:58:30 [x86_64 ghc] (20/25) Installing linux-headers (4.4.6-r2)
10:58:30 [x86_64 ghc] (21/25) Installing zlib-dev (1.2.11-r1)
10:58:30 [x86_64 ghc] (22/25) Installing binutils-dev (2.28-r3)
10:58:30 [x86_64 ghc] (23/25) Installing gdbm (1.13-r1)
10:58:30 [x86_64 ghc] (24/25) Installing python3 (3.6.3-r9)
10:58:32 [x86_64 ghc] (25/25) Installing .makedepends-ghc (0)
10:58:32 [x86_64 ghc] Executing busybox-1.27.2-r8.trigger
10:58:32 [x86_64 ghc] OK: 1233 MiB in 155 packages
10:58:32 [x86_64 ghc] >>> ghc: Cleaning temporary build dirs...
10:58:32 [x86_64 ghc] >>> ghc: Fetching https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-src.tar.xz
10:58:32 [x86_64 ghc] >>> ghc: Fetching https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-testsuite.tar.xz
10:58:32 [x86_64 ghc] >>> ghc: Fetching https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-src.tar.xz
10:58:32 [x86_64 ghc] >>> ghc: Fetching https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-testsuite.tar.xz
10:58:32 [x86_64 ghc] >>> ghc: Checking sha512sums...
10:58:32 [x86_64 ghc] ghc-8.4.1-src.tar.xz: OK
10:58:32 [x86_64 ghc] ghc-8.4.1-testsuite.tar.xz: OK
10:58:32 [x86_64 ghc] 0005-buildpath-abi-stability.patch: OK
10:58:32 [x86_64 ghc] >>> ghc: Unpacking /var/cache/distfiles/ghc-8.4.1-src.tar.xz...
10:58:33 [x86_64 ghc] >>> ghc: Unpacking /var/cache/distfiles/ghc-8.4.1-testsuite.tar.xz...
10:58:33 [x86_64 ghc] >>> ghc: 0005-buildpath-abi-stability.patch
10:58:33 [x86_64 ghc] patching file compiler/iface/MkIface.hs
10:58:33 [x86_64 ghc] Hunk #1 succeeded at 689 (offset 133 lines).
10:58:33 [x86_64 ghc] Hunk #2 succeeded at 724 with fuzz 2 (offset 135 lines).
10:58:34 [x86_64 ghc] configure: WARNING: unrecognized options: --with-ar, --with-nm, --with-ranlib, --with-objdump, --with-ld
10:58:34 [x86_64 ghc] checking for gfind... no
10:58:34 [x86_64 ghc] checking for find... /usr/bin/find
10:58:34 [x86_64 ghc] checking for sort... /usr/bin/sort
10:58:34 [x86_64 ghc] checking for GHC Git commit id... given 0a3e2f324dbd525d626ebd3d97e8ffa1cf2f0ffb
10:58:34 [x86_64 ghc] checking for ghc... no
10:58:34 [x86_64 ghc] configure: error: GHC is required.
10:58:34 [x86_64 ghc] >>> ERROR: ghc: all failed
10:58:34 [x86_64 ghc] >>> ghc: Uninstalling dependencies...
10:58:34 [x86_64 ghc] (1/25) Purging .makedepends-ghc (0)
10:58:34 [x86_64 ghc] (2/25) Purging build-base (0.5-r0)
10:58:34 [x86_64 ghc] (3/25) Purging g++ (6.4.0-r5)
10:58:34 [x86_64 ghc] (4/25) Purging make (4.2.1-r0)
10:58:34 [x86_64 ghc] (5/25) Purging libc-dev (0.7.1-r0)
10:58:34 [x86_64 ghc] (6/25) Purging fortify-headers (0.9-r0)
10:58:34 [x86_64 ghc] (7/25) Purging gmp-dev (6.1.2-r1)
10:58:34 [x86_64 ghc] (8/25) Purging libgmpxx (6.1.2-r1)
10:58:34 [x86_64 ghc] (9/25) Purging llvm3.9 (3.9.1-r2)
10:58:34 [x86_64 ghc] (10/25) Purging autoconf (2.69-r0)
10:58:34 [x86_64 ghc] (11/25) Purging m4 (1.4.18-r0)
10:58:34 [x86_64 ghc] (12/25) Purging cpio (2.12-r2)
10:58:34 [x86_64 ghc] (13/25) Purging binutils-gold (2.28-r3)
10:58:34 [x86_64 ghc] (14/25) Purging paxmark (0.11-r0)
10:58:34 [x86_64 ghc] (15/25) Purging ncurses-dev (6.0_p20171125-r0)
10:58:34 [x86_64 ghc] (16/25) Purging xz (5.2.3-r1)
10:58:34 [x86_64 ghc] (17/25) Purging coreutils (8.28-r0)
10:58:34 [x86_64 ghc] Executing coreutils-8.28-r0.post-deinstall
10:58:34 [x86_64 ghc] (18/25) Purging linux-headers (4.4.6-r2)
10:58:34 [x86_64 ghc] (19/25) Purging musl-dev (1.1.18-r3)
10:58:34 [x86_64 ghc] (20/25) Purging zlib-dev (1.2.11-r1)
10:58:34 [x86_64 ghc] (21/25) Purging binutils-dev (2.28-r3)
10:58:34 [x86_64 ghc] (22/25) Purging python3 (3.6.3-r9)
10:58:34 [x86_64 ghc] (23/25) Purging llvm3.9-libs (3.9.1-r2)
10:58:34 [x86_64 ghc] (24/25) Purging libacl (2.2.52-r3)
10:58:34 [x86_64 ghc] (25/25) Purging gdbm (1.13-r1)
10:58:34 [x86_64 ghc] Executing busybox-1.27.2-r8.trigger
10:58:34 [x86_64 ghc] OK: 1041 MiB in 130 packages
@mitchty
Copy link
Author

mitchty commented Mar 9, 2018

makedepends_build="ghc autoconf cpio binutils-gold paxmark libffi-dev ncurses-dev xz coreutils" # or $pkgname doesn't matter never gets installed even though its present in apk search and in the repos
makedepends_host="linux-headers musl-dev zlib-dev gmp-dev binutils-dev libffi-dev ncurses-dev"
makedepends="$makedepends_build $makedepends_host"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment