Summary: | lang/ghc fails to build | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | tech-lists |
Component: | Individual Port(s) | Assignee: | freebsd-haskell (Nobody) <haskell> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | arrowd, tech-lists |
Priority: | --- | Flags: | arrowd:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | arm64 | ||
OS: | Any | ||
URL: | https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/arm64.aarch64/ghc-8.10.7.log |
Description
tech-lists
2021-11-30 01:49:54 UTC
It looks like out-of-memory problem. How much RAM do you have? (In reply to Gleb Popov from comment #1) it's an 8GB raspberry pi 4. USE_TMPFS=yes is set in poudriere.conf so I'll set that to "no" and see what happens thanks (In reply to Gleb Popov from comment #1) wuth USE_TMPFS set to no: https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/arm64.aarch64/ghc-8.10.7-poudriere-no-tmpfs.log % swapinfo -h Device Size Used Avail Capacity /dev/da0p2.eli 16G 107M 16G 1% zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls) error message is a bit different: [02:13:41] | [02:13:41] 322 | sched_setaffinity(0, sizeof(cpu_set_t), &cs); [02:13:41] | ^ [02:13:41] 1 warning and 2 errors generated. [02:13:41] `cc' failed in phase `C Compiler'. (Exit code: 1) [02:13:41] gmake[2]: *** [rts/ghc.mk:325: rts/dist/build/posix/OSThreads.p_o] Error 1 [02:13:41] gmake[2]: *** Waiting for unfinished jobs.... [02:13:42] gmake[1]: *** [Makefile:128: all] Error 2 [02:13:42] gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.7' next step is poudriere testport -J1 (In reply to tech-lists from comment #3) still fails with poudriere testport -J1 https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/arm64.aarch64/ghc-8.10.7-poudriere-no-tmpfs-testport-J1.log Yep, this is a known problem, I just didn't get to it yet, as I have too old CURRENT to reproduce this. I'm going to handle this soon (tm). I don't see cpuset_t related failures anymore on a fresh CURRENT system. The problem seems to be resolved? (In reply to Gleb Popov from comment #6) I'll check (In reply to Gleb Popov from comment #6) seems to be getting a little bit further but ghc takes a while on this hardware ID TOTAL ORIGIN PKGNAME PHASE PHASE TMPFS CPU% MEM% [01] 01:12:43 lang/ghc | ghc-8.10.7 build 01:05:11 176.3% 12.6% will let you know when it completes (In reply to Gleb Popov from comment #6) Problem is still there. Full poudriere log: https://cloud.zyxst.net/~john/FreeBSD/ports/ghc/arm64.aarch64/2021-12-14.ghc-8.10.7.log (In reply to tech-lists from comment #9) You server doesn't seem to be reachable. (In reply to Gleb Popov from comment #10) Try here: https://zyxst.net/FreeBSD/rpi4-8GB/2021-12-14.ghc-8.10.7.log.txt (In reply to tech-lists from comment #11) I believe you have too old CURRENT. Do you have commit 5e04571cf3cf in your branch? (In reply to Gleb Popov from comment #12) it's impossible to tell from git, as the poudriere jail was built on the 2nd December but from -m src=/usr/src on that date. git updates /usr/src daily (but poudriere doesn't build the jail daily) I'll rebuild the jail and try again Hi, This is building fine now. Do you want me to close this or shall I? thanks Thanks for testing! |