NetBSD Problem Report #56680
From triaxx@netbsd.org Tue Feb 1 10:47:22 2022
Return-Path: <triaxx@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 571971A9239
for <gnats-bugs@gnats.NetBSD.org>; Tue, 1 Feb 2022 10:47:22 +0000 (UTC)
Message-Id: <20220201104720.EE2371A923D@mollari.NetBSD.org>
Date: Tue, 1 Feb 2022 10:47:20 +0000 (UTC)
From: triaxx@netbsd.org
Reply-To: triaxx@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: lang/guile22 build step blocked with multi-job pbulk
X-Send-Pr-Version: 3.95
>Number: 56680
>Category: pkg
>Synopsis: lang/guile22 build step blocked with multi-job pbulk
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 01 10:50:00 +0000 2022
>Last-Modified: Sun Feb 13 21:20:01 +0000 2022
>Originator: Frédéric Fauberteau
>Release: NetBSD 9.2
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD ultralisk.triaxx.org 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
When building the HEAD branch of pkgsrc with pbulk in a sandbox, the build step of lang/guile22 blocks with the following state:
STAT WCHAN COMMAND
Il+ parked /tmp/work/guile-2.2.7/libguile/.libs/guile-e(@@ (guild) main)-s/tmp/work/guile-2.2.7/meta/guildcompile--target=x86_64-unknown-netbsd9.2-Wunbound-variable-Wmacro-use-before-definition-Warity-mismatch-Wformat-L/tmp/work/guile-2.2.7/module-L/tmp/work/guile-2.2.7/module-L/tmp/work/guile-2.2.7/guile-readline-oice-9/textual-ports.goice-9/textual-ports.scm
The characteristics of the building platform are:
CPU: Intel(R) Core(TM) i7 940 @ 2.93GHz (4 cores / 8 threads)
Memory: 12 GB
Swap: 12 GB
MAKE_JOBS=9
>How-To-Repeat:
>Fix:
MAKE_JOBS_SAFE=no?
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: triaxx@netbsd.org
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: pkg/56680: lang/guile22 build step blocked with multi-job pbulk
Date: Tue, 1 Feb 2022 12:30:53 +0100
--g4a36fkvmswopuxm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I'm not sure if it's the same issue you're seeing, but for me guile
(on NetBSD-current) something hangs. Nothing to do with build-jobs.
The attached simple script works around it.
(Some people also see this with cmake, that's why that is included as
well.)
Thomas
--g4a36fkvmswopuxm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=jiggle-cmake-guile
#!/bin/sh
pkill -STOP guile cmake
sleep 1
pkill -CONT guile cmake
--g4a36fkvmswopuxm--
From: Frederic Fauberteau <triaxx@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: Thomas Klausner <wiz@NetBSD.org>
Subject: Re: pkg/56680: lang/guile22 build step blocked with multi-job pbulk
Date: Tue, 1 Feb 2022 13:55:03 +0100
Do we have an intuition where this issue come from? I also had misc/xdg-utils that blocked with a parked process while it successfully built in my previous pbulk. I'm afraid this is a bigger problem than lang/guile22.
From: Thomas Klausner <wiz@NetBSD.org>
To: Frederic Fauberteau <triaxx@NetBSD.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/56680: lang/guile22 build step blocked with multi-job pbulk
Date: Tue, 1 Feb 2022 14:25:25 +0100
On Tue, Feb 01, 2022 at 01:55:03PM +0100, Frederic Fauberteau wrote:
> Do we have an intuition where this issue come from? I also had misc/xdg-utils that blocked with a parked process while it successfully built in my previous pbulk. I'm afraid this is a bigger problem than lang/guile22.
I haven't heard of xdg-utils being affected too, so I guess you have a
different problem.
The guile/cmake issue is tracked here:
http://gnats.netbsd.org/56414
Thomas
From: Frederic Fauberteau <triaxx@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: Thomas Klausner <wiz@NetBSD.org>
Subject: Re: pkg/56680: lang/guile22 build step blocked with multi-job pbulk
Date: Tue, 1 Feb 2022 19:06:00 +0100
> I haven't heard of xdg-utils being affected too, so I guess you have a
> different problem.
I didn't write the exact command down but I remember that the parked process was processing xml. I will try STOP/CONT the last time I will face this kind of blocking.
From: Frederic Fauberteau <triaxx@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: Thomas Klausner <wiz@NetBSD.org>
Subject: Re: pkg/56680: lang/guile22 build step blocked with multi-job pbulk
Date: Sun, 13 Feb 2022 22:19:48 +0100
>> I haven't heard of xdg-utils being affected too, so I guess you have a
>> different problem.
> I didn't write the exact command down but I remember that the parked process was processing xml. I will try STOP/CONT the last time I will face this kind of blocking.
The workaround script unblocks the build step of lang/guile.
But it also unblocks the installation step of lang/nodejs (kill -STOP <pid>;sleep 1;kill -CONT <pid>)
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.