From nobody Mon Aug 19 01:26:22 2024 X-Original-To: bugs@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 4WnFL71Mtqz5Thdq for ; Mon, 19 Aug 2024 01:26:23 +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 4WnFL64qyzz4h1V for ; Mon, 19 Aug 2024 01:26:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724030782; a=rsa-sha256; cv=none; b=wBC+W95/K9lXse+l0Q0IuCr+FmS1hnZtnfVFWn0ckznT9WAQTlAw0cJqHmz4NVcUI3dkal fziIdPrZU/Te08USt5OLrLvobe+vrQcT84Ii0Redpyzb2XPYE8T8I1abj3LRYEd6qkK+V5 cmlM416UThsOK/aPMR9AD+b5djdstxtRv4ox2At9s3A53/gt0gIrnpxBp51EqYdT1hvPnx JPxqDJWs4KppWCOa9HKsAzjCSDAtT5m4CTFR+gn8J8ZRadzs1LL5oiepBJ+y8rn8QlpqLH s5cgVng2prJ9BcA2olP8WkmvrvYwlV/qts4gX+dlwpCfPSCUesCNfRnBDC2nbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724030782; 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=z72Mu7McefaJgxsT+408Ay/StYPhmMY+6/Rtx0S4ap4=; b=gcSQjjAX9Mw32TLu1uXqUaiAUVtzQjruii/YMIL8fJYyS5Oyu2oadOuRXvit98fkXJEsAN tvPWTbF7GfiqOgLK4L0I0STiJFrZHcc0wl9kZixciMVBOkfO5QnwmTWrXt+hCxUEVQazvl 1P80fffTS8kUDHaXZtJdjOkkCwUUlqIaedTC4EZb7dRxMS4wifxt0+qj9qHqBJMB1Ghx5p Vx1fwZlzeVtVi3yeXdJ6q9Euom+ConlAR9wTNQIPxPPFIUFkh26skM6jzrRB/T5EOLlNsM VLjxj/Q9grFv3+H9Ft9CFcUhhaCnOqD1BBjro3kedoWmkUbUNHt3rovWg323FA== 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 4WnFL644k5zwbB for ; Mon, 19 Aug 2024 01:26:22 +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 47J1QMFW097714 for ; Mon, 19 Aug 2024 01:26:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47J1QMbA097713 for bugs@FreeBSD.org; Mon, 19 Aug 2024 01:26:22 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: bugs@FreeBSD.org Subject: [Bug 237290] [PATCH] build(7): PORTS_MODULES does not build in parallel Date: Mon, 19 Aug 2024 01:26:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, patch, performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237290 Tatsuki Makino changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #234307|0 |1 is obsolete| | --- Comment #19 from Tatsuki Makino --- Created attachment 252906 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252906&action= =3Dedit patch for stable/14 I don't know how to do it best, but I decided to apply this to stable/14. And the command to generate the PORTS_MODULES is as follows. # generate from installed files. find -s /boot/modules/ -name '*.ko' -exec pkg which -q {} \; | sort -u | xa= rgs -- sh -c 'for i ; do { pkg query %o "$i" ; pkg query "%o@%At@%Av" "$i" | sed -ne "/@flavor@/{s,@flavor@,@,;p;};" ; } | tail -n 1 ; done' sh # generate from loaded modules kldstat | sed -e '1d; s,^[[:space:]]*,,;' | cut -f 5 -w | xargs -J % -n 1 -- find /boot/ -name % | xargs -- pkg which -q | sort -u | xargs -- sh -c 'for= i ; do { pkg query %o "$i" ; pkg query "%o@%At@%Av" "$i" | sed -ne "/@flavor@/{s,@flavor@,@,;p;};" ; } | tail -n 1 ; done' sh --=20 You are receiving this mail because: You are the assignee for the bug.=