From nobody Thu Mar 26 20:59:35 2026 X-Original-To: freebsd-pkgbase@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 4fhbkR0vWlzWBsM for ; Thu, 26 Mar 2026 20:59:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4fhbkQ49lxz3VbP for ; Thu, 26 Mar 2026 20:59:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1774558779; bh=fA4f+SY+doyx5z+DfR8nKsN3W+7UTKZEtlgS079aPeE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=YiacWMh2WPlqT9HtnVv9oHRDiNZAnOG9VUpYUtvpPEB4va8mmBZQuBd9M1kXaDUVD6+d1DwGH1eXKW+ps2bhz1A1oGov7BopkJrYN2gRhtNP//BB62/ZuMlq7GehGWNo/Jx2EMKVahregiQ1+cjj6Kwt93LcB04wmGLek7pmadauBH0JW5bScOEYo586YFRsaKivBg1+EXP+th14SygJhsAXJN6IgbHmGKcojUl65vIhICPPBvfpb28f/mNg9tMVEkI76EEoYs8hMr9S5lggMO7oWAMME6STs4IlEO5JhtCgdUBddLVck8LtKl+CEDGDHmjjzvGLYm+srgNQC94Q8A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1774558779; bh=ZX95gDN8EVdYuwAjlnoo3Z0WjN/EADXq680kZtScQ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Kc.LemOCVE_XOkw6uW0Dd5VWM9.eO01LxaQLK_5WZC_db9Q4b2fxfwYX0IsOZMX eM7BLdQXZtEU9TjqwxMNrPfs3c62HlrQZQWiy8OddRgwHH.uF4z_Lk6Hf80rzF6_0AdvAC66iYct hYnwsWWSRiwO..DiYdEKWlvIfl5Ib2hVySaCQticpLdSJLLdGMhoB5U8miOFY2uR5iS2grYeO9dd wRG.Zf0TBDqc0rBkOBqOpnI3YGLwns34fO.grYNQRr327wQ6IX.tJDHO3zdBTrf3Wp0Kd_ZRs0QY 34Hn4bq1P5NYk58fpiHpJQieXr4XWR2kH2Fej4FjglypLwwVrgTiF_YfevPQOYlkI5SKCRUZ5pfY 4TU_lSkp2A8mRZt5qw0UiXPAFT3TGE546KpR2DVz1qmmrW8vDfeWxDxvts7wy3ihwZnBmv.xXqbZ BEkMqG4eHcguSPtEJx6AEV1EIkERrkrHs.yeNObiXyLHm8r_AyNZyexXBjpGBvyay2UpD8w9zucb Cmt6pgOB7mgjbLPwa1HcHMvuCY15aqRxVH8luYCP0bCs1Tjoo2ndasqHX7b6K.Ym1kpviKi.Efl9 h.MJVvzPSu1SUix.CeMIMhnWLQbjw.81QORlAmIIpf3TVVoxC8M.i7aD_j0j3SAfU0rA- X-Sonic-MF: X-Sonic-ID: 4dc8b676-e3b6-42cd-a694-16159d6cd3f3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Thu, 26 Mar 2026 20:59:39 +0000 Received: by hermes--production-gq1-6dfcf9f8b-gxljn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3302fe016ef5f0a6938195ee56c57c05; Thu, 26 Mar 2026 20:59:36 +0000 (UTC) Message-ID: <82e40b37-64b2-4dc2-b304-5002bacf4dc2@yahoo.com> Date: Thu, 26 Mar 2026 13:59:35 -0700 List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: installing world from src on a pkgbase system To: Pat Maddox Cc: freebsd-pkgbase@freebsd.org References: <0802ab25-0509-44d1-929e-2bb81108fa38@app.fastmail.com> Content-Language: en-US From: Mark Millard In-Reply-To: <0802ab25-0509-44d1-929e-2bb81108fa38@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.25449 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4fhbkQ49lxz3VbP X-Spamd-Bar: ---- On 3/26/26 12:05, Pat Maddox wrote: > On Thu, Mar 26, 2026, at 9:52 AM, Mark Millard wrote: >> On 3/26/26 04:30, polyduekes@proton.me wrote: >>> On Thursday, March 26th, 2026 at 3:26 AM, Lexi Winter wrote: >>> >>>> polyduekes@proton.me wrote in : >>>>> is needing to do both buildworld and buildkernel to create a pkg repo >>>>> the intended behaviour or is that planned to change >>>> >>>> right now i don't believe there are any plans to change that. i suppose >>>> it might change in the future. usually people want to build both the >>>> world and the kernel, so this isn't an oft-requested feature. >>>> >>>> could you elaborate on why you want to build world but not kernel? >>>> this would help inform development efforts in that area. >>>> >>> i usually make my own changes to base code to test some things and learn a few others,and most of the time the changes i make touch only world and dont touch kernel at all,so i like to avoid unnecessary compilation of the binaries and things i didn't change and doing only make buildworld and not make buildkernel buildworld is part of that reason >> >> Are you aware of META_MODE for buildworld and buildkernel (with its use >> of filemon.ko)? Its purpose is to keep track of things and so generally >> rebuild what is necessary but avoid rebuilding what is not. For example, >> back to back rebuilds have the second one not taking very long based on >> the lack of changes. > > How long is "not very long" in your experience? I happen to have been doing builds as part of a long overdue update of my context. The below builds were executed from an official pkgbase distribution of main that was booted, using the non-debug kernel that was distributed. (Only a debug world is distributed for main.) But I was building non-debug worlds and kernels of nearly the same source code, with other tailoring involved, such as static linking of the llvm related toolchain. I've access to a wide range of system performance, from old armv7 RPi*'s to a 7950X3D amd64 system with Optane 1.4T media on PCIe. First picking an aarch64 system likely slow compared to common amd64 hardware, but faster than a RP* aarch64 system, showing both from-scratch build time and then the rebuild, not having changed anything, showing both World and Kernel. . . Microsoft Dev Kit 2023 from-scratch build sequence, USB3 based media, 8 core, 32 GiByTes of RAM: (I have reordered lines to have the world's together and the kernels together and used extra end-of-lines to group things and some leading spaces to avoid misformatting) # grep "built.*ncpu:" /usr/obj/BUILDs/main-CA76-nodbg-clang/sys-typescripts/typescript-make-main-*.2026-03-2[56]* /usr/obj/BUILDs/main-CA76-nodbg-clang/sys-typescripts/typescript-make-main-CA76-nodbg-clang.aarch64-host.2026-03-25:23:12:00: >>> World built in 10909 seconds, ncpu: 8, make -j12 /usr/obj/BUILDs/main-CA76-nodbg-clang/sys-typescripts/typescript-make-main-CA76-nodbg-clang.aarch64-host.2026-03-26:13:04:35: >>> World built in 146 seconds, ncpu: 8, make -j12 /usr/obj/BUILDs/main-CA76-nodbg-clang/sys-typescripts/typescript-make-main-CA76-nodbg-clang.aarch64-host.2026-03-26:02:13:50: >>> Kernel(s) GENERIC-NODBG-CA76 built in 632 seconds, ncpu: 8, make -j12 /usr/obj/BUILDs/main-CA76-nodbg-clang/sys-typescripts/typescript-make-main-CA76-nodbg-clang.aarch64-host.2026-03-26:13:07:02: >>> Kernel(s) GENERIC-NODBG-CA76 built in 11 seconds, ncpu: 8, make -j12 A faster system . . . amd64 7950X3D with Optane 1.4T media on PCIe, 32 freebsd CPUs (16 SMT cores);, 192 GiBytes of RAM: # grep 'built.*ncpu:' /usr/obj/BUILDs/main-ZNV4-*-clang/sys-typescripts/typescript-make-ZNV4-*-clang-amd64-host-2026-03-2[56]* /usr/obj/BUILDs/main-ZNV4-nodbg-clang/sys-typescripts/typescript-make-ZNV4-nodbg-clang-amd64-host-2026-03-25:15:50:07: >>> World built in 1048 seconds, ncpu: 32, make -j48 /usr/obj/BUILDs/main-ZNV4-nodbg-clang/sys-typescripts/typescript-make-ZNV4-nodbg-clang-amd64-host-2026-03-26:13:10:20: >>> World built in 34 seconds, ncpu: 32, make -j48 /usr/obj/BUILDs/main-ZNV4-nodbg-clang/sys-typescripts/typescript-make-ZNV4-nodbg-clang-amd64-host-2026-03-25:15:47:41: >>> Kernel(s) GENERIC-NODBG built in 91 seconds, ncpu: 32, make -j48 /usr/obj/BUILDs/main-ZNV4-nodbg-clang/sys-typescripts/typescript-make-ZNV4-nodbg-clang-amd64-host-2026-03-26:13:10:54: >>> Kernel(s) GENERIC-NODBG built in 2 seconds, ncpu: 32, make -j48 So the example ratios span: 10909/146 approx.= 74.7 1048/34 approx.= 30.8 I'll not get into the details of my builds. The builds are personal builds in various ways. > > Pat > > Note: I'm not set up to send to freebsd-questions. -- === Mark Millard marklmi at yahoo.com