Build GHC.

Имиль Аметов charlz_klug at mail.ru
Sat Jun 24 11:57:40 UTC 2017


Hello! Excuse me for my poor English. I'm trying to build GHC (The Glasgow Haskell Compiler) on FreeBSD 10.3 i386 with poudriere.  And I got a problem. After a lot of time of compiling the operating system is freezes and doesn't respond to anything. After reset of the machine I found follow in the /var/log/messages:
Jun 23 15:30:27 Kate kernel: blanktime.
Jun 23 16:42:21 Kate kernel: warning: total configured swap (2025472 pages) exceeds maximum recommended amount (1946784 pages).
Jun 23 16:42:21 Kate kernel: warning: increase kern.maxswzone or reduce amount of swap.
Jun 24 13:42:12 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:12 Kate kernel: pid 780 (Xorg), uid 0, was killed: out of swap space
Jun 24 13:42:14 Kate kernel: swap zone ok
Jun 24 13:42:14 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:14 Kate kernel: pid 97398 (gmake), uid 0, was killed: out of swap space
Jun 24 13:42:14 Kate kernel: swap zone ok
Jun 24 13:42:17 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:17 Kate kernel: pid 31260 (ghc-stage1), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: pid 964 (sudo), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: pid 695 (sendmail), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: pid 394 (devd), uid 0, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: swap zone ok
Jun 24 13:42:17 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:17 Kate kernel: pid 698 (sendmail), uid 25, was killed: out of swap space
Jun 24 13:42:17 Kate kernel: swap zone ok
Jun 24 13:42:18 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:18 Kate kernel: pid 654 (dbus-daemon), uid 556, was killed: out of swap space
Jun 24 13:42:18 Kate kernel: swap zone ok
Jun 24 13:42:18 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:18 Kate kernel: pid 778 (xdm), uid 0, was killed: out of swap space
Jun 24 13:42:18 Kate kernel: swap zone ok
Jun 24 13:42:18 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:18 Kate kernel: pid 949 (tmux), uid 1001, was killed: out of swap space
Jun 24 13:42:18 Kate kernel: swap zone ok
Jun 24 13:42:20 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:20 Kate kernel: pid 952 (bash), uid 1001, was killed: out of swap space
Jun 24 13:42:20 Kate kernel: pid 372 (dhclient), uid 65, was killed: out of swap space
Jun 24 13:42:20 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 327 (dhclient), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: pid 377 (moused), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 777 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 776 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 775 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 774 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:21 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:21 Kate kernel: pid 773 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:21 Kate kernel: swap zone ok
Jun 24 13:42:22 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:22 Kate kernel: pid 772 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:22 Kate kernel: swap zone ok
Jun 24 13:42:22 Kate kernel: swap zone exhausted, increase kern.maxswzone
Jun 24 13:42:22 Kate kernel: pid 771 (getty), uid 0, was killed: out of swap space
Jun 24 13:42:22 Kate kernel: swap zone ok

The log file of poudriere's build there:  http://rgho.st/8vHKcxDHR . Approximately 3 Mb. I can't understand what is going on. How I can build ghc?



More information about the freebsd-chat mailing list