From nobody Tue Oct 01 19:24:46 2024 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XJ7DZ5mH6z5YFgH for ; Tue, 01 Oct 2024 19:24:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJ7DZ4jCJz4d6G for ; Tue, 1 Oct 2024 19:24:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727810686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DnkiVtOGOPUMA9EKzfvsmXbw2uLbHbKjaQeO6FrghBo=; b=oa/Sc+ZlRACGw2ZCgaCNuAB4QAF0YcDXw5TAP2WM/nDWc8d3nCNGZEIoT576Gc3WHWmCrz mDBGNMxgBndI+xMcYOgaF9AGq7XN9MoI+FnHiOJQHi9CAIWJgqS4YW+S3vxrbAmuee75vH LAb7Lp7gvqRrofIwV+NzUr6GuEWiBMsOFTPS0prQXko+aYtW9B6s8mH13EEqz3grpwQS0t w6R9wRxqPLu+aZXRGVBC2K4sUg4Y/A2ospczi4bl2BU218maHFoMVCfPw+uSeqt4roXGz4 v9hhdRyHaiblNHcNCcRNkC+NjlpWivzCDDXUkjI0J9GeQoS5KIgNMI3K5aE6Pw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727810686; a=rsa-sha256; cv=none; b=UIVHv3DpE6U7mM/Axr3HgpO1i31QEC8DqQX2STYoX2/jREQ+lFT496xIFO8K3I+zLnnf6x JGy1rQJ/glQmn3M4I4QjrZmHlClu/hO4S0LKhC1KvJZQD3HIKve3qD0k4umm/4V3z1wPms DVCuELV/TSGbMgNtw3fDsEtUNZxtm5oq1Yo5avGU+gpfz8ALIG77sqN0PO+65qUSKh6Ebu b3szcEZEEla9N51Cb1lvlHzbKfCvjeYsWrLQJN2+M0ZQFyCvDU2kILpLSuTlgzfBBpijWo 3WDE4aneFE9fWaIMiNCgQRIFqtJZTu7Qk2tit52Kkr11NcgbTib8Pd9ULE5tUw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XJ7DZ3vFWzqKl for ; Tue, 1 Oct 2024 19:24:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 491JOke1097798 for ; Tue, 1 Oct 2024 19:24:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 491JOkKD097797 for riscv@FreeBSD.org; Tue, 1 Oct 2024 19:24:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 281600] lang/rust failing to build on risc-v (again) Date: Tue, 01 Oct 2024 19:24:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281600 --- Comment #13 from Dennis Clarke --- After four days of thrashing the build of lang/rust the SiFive RISC-V board known as HiFive Unmatched Rev B ran out of swap and then the build process died.=20 Seen on the console : swap_pager: out of swap space swp_pager_getswapspace(28): failed swap_pager: out of swap space swp_pager_getswapspace(19): failed Oct 1 11:45:34 enceladus kernel: pid 93520 (bsdtar), jid 3, uid 0, was kil= led: failed to reclaim memory swp_pager_getswapspace(11): failed Oct 1 11:45:37 enceladus kernel: pid 1771 (ntpd), jid 0, uid 0, was killed: failed to reclaim memory swp_pager_getswapspace(1): failed Oct 1 11:45:40 enceladus kernel: pid 1963 (top), jid 0, uid 1001, was kill= ed: failed to reclaim memory Oct 1 11:45:43 enceladus kernel: pid 1957 (sshd), jid 0, uid 1001, was kil= led: failed to reclaim memory swp_pager_getswapspace(22): failed swap_pager: out of swap space swp_pager_getswapspace(9): failed swap_pager: out of swap space swp_pager_getswapspace(3): failed Oct 1 11:45:46 enceladus kernel: pid 1845 (sshd), jid 0, uid 1001, was kil= led: failed to reclaim memory Oct 1 11:45:49 enceladus kernel: pid 1505 (devd), jid 0, uid 0, was killed: failed to reclaim memory swp_pager_getswapspace(21): failed Oct 1 11:45:51 enceladus kernel: pid 94189 (xargs), jid 0, uid 0, was kill= ed: failed to reclaim memory That happened because my poudriere.conf had USE_TMPFS=3Dyes and so now I have it set to a nice safe "no". From time to time I would check on the status of poudriere which was building a conservative little pile of packages. That final status I saw was late last night :=20 . . . here I hit CTRL t load: 1.56 cmd: sh 41871 [running] 0.09r 0.00u 0.01s 3% 1428k [150rv64-latest] [2024-09-27_03h40m22s] [parallel_build] Queued: 72 Built: = 56 Failed: 2 Skipped: 10 Ignored: 0 Fetched: 0 Tobuild: 4 Time: 4D:03:31:= 32 ID TOTAL ORIGIN PKGNAME PHASE PHASE TMPFS CPU% = MEM% [02] 3D:23:48:48 lang/rust | rust-1.81.0 build 3D:23:39:43 20.67 GiB 81.4% = 3.7% [4D:03:31:55] Logs: /poudriere/data/logs/bulk/150rv64-latest/2024-09-27_03h40m22s I would have thought that 16G of memory and 16G of swap was plenty but not when building rust. enceladus# uname -apKU FreeBSD enceladus 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n272477-5b8f97d8db82-dirty: Thu Sep 26 22:57:07 GMT 2024=20=20=20=20 root@enceladus:/usr/obj/usr/src/riscv.riscv64/sys/SIFIVE-COMPAT11 riscv ris= cv64 1500023 1500023 enceladus# swapinfo -k Device 1K-blocks Used Avail Capacity /dev/mirror/swap 16777212 4532 16772680 0% enceladus#=20 I will start the poudriere bulk build again thus :=20 enceladus# cat essential.list=20 databases/sqlite3 devel/ccache devel/gdb devel/git dns/bind-tools editors/emacs editors/vim lang/gcc13 lang/go122 lang/python311 ports-mgmt/pkg ports-mgmt/poudriere security/gnupg shells/ksh93 sysutils/fastfetch sysutils/tmux textproc/groff x11-fonts/xlsfonts x11/xauth x11/xcb-util x11/xcb-util-wm x11/xlogo x11/xterm enceladus#=20 enceladus# idprio 0 poudriere bulk -r -j 150rv64 -p latest -f essential.list [00:00:01] Creating the reference jail... done [00:00:01] Mounting system devices for 150rv64-latest [00:00:02] Warning: Using packages from previously failed, or uncommitted, build: /poudriere/data/packages/150rv64-latest/.building [00:00:02] Mounting ccache from: /var/cache/ccache [00:00:02] Mounting ports from: /poudriere/ports/latest [00:00:02] Mounting packages from: /poudriere/data/packages/150rv64-latest [00:00:02] Mounting distfiles from: /poudriere/distfiles /etc/resolv.conf -> /poudriere/data/.m/150rv64-latest/ref/etc/resolv.conf [00:00:02] Starting jail 150rv64-latest Updating /var/run/os-release done. [00:00:03] Will build as nobody:nobody (65534:65534) [00:00:22] Logs: /poudriere/data/logs/bulk/150rv64-latest/2024-10-01_19h19m= 36s [00:00:22] Loading MOVED for /poudriere/data/.m/150rv64-latest/ref/usr/ports [00:00:27] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS [00:00:27] Inspecting ports tree for modifications to git checkout... no [00:01:08] Ports top-level git hash: 1779e67e6=20 [00:01:08] Gathering ports metadata [00:03:00] Calculating ports order and dependencies [00:03:13] Trimming IGNORED and blacklisted ports [00:03:17] Sanity checking the repository [00:03:17] Checking packages for incremental rebuild needs [00:04:05] Deleting stale symlinks... done [00:04:05] Deleting empty directories... done [00:04:09] Unqueueing existing packages [00:04:16] Unqueueing orphaned build dependencies [00:04:17] Sanity checking build queue [00:04:17] Processing PRIORITY_BOOST [00:04:18] Balancing pool [150rv64-latest] [2024-10-01_19h19m36s] [balancing_pool] Queued: 16 Built: = 0=20 Failed: 0 Skipped: 0 Ignored: 0 Fetched: 0 Tobuild: 16 Time: 00:03:56 [00:04:18] Recording filesystem state for prepkg... done [00:04:22] Building 16 packages using up to 2 builders [00:04:22] Hit CTRL+t at any time to see build progress and stats [00:04:22] [01] [00:00:00] Builder starting [00:04:22] [02] [00:00:00] Builder starting [00:04:24] [01] [00:00:02] Builder started [00:04:24] [01] [00:00:00] Building devel/highway | highway-1.2.0 [00:04:25] [02] [00:00:03] Builder started [00:04:25] [02] [00:00:00] Building print/texlive-texmf | texlive-texmf-20240312_1 . . . So now we wait another five days. Or more. --=20 You are receiving this mail because: You are on the CC list for the bug.=