From nobody Fri Sep 15 04:32:20 2023 X-Original-To: freebsd-arm@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 4Rn1WY1ck5z4tTxW for ; Fri, 15 Sep 2023 04:32:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (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 4Rn1WW6rl3z3LHk for ; Fri, 15 Sep 2023 04:32:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=GKWn4qBe; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694752357; bh=F0veZSaCLdorVmIfPqpaDW3Ti9ZCKMc7Iy8o5gOuBm0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=GKWn4qBepMKLv4M8UFrTji8+3OLMdjac0+Xcezj4cPNrgWHvCPzP/562GOQVLISXcOP+a+1YHyILO2IOn2rYC4SLS/gljRdJSDBjRKt7GY0XBHHPB3cVGhXshRQay2n4CvVLz7pkb9umoKMz+mWJ7hLI2hpTmmnAP5zbc3tprh/5sm+QLlhZOlBP8JouD/m+wQOOZ69Khqrc6zZtPILSaapiHg2GU8zxEpR1BESaARjphljH9JNTtJXqnhtuLpfl0KtWZ0XStLx/ZjzMI513ylHJDkPESmlCAuQbyhwN+A7et3JYffj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tduL_J48SeTwA6Gzej5ZkqWskbbwfjfNn_a5lAh3BCjxHFHKjUFF1L6L8OzISpQam Ng2PXIQqBeOW9yNWmEnsN6f5nW2hvHoERYz0ZhR3ro3f9wOmkYx3XIJH4IaNZFBs9y0QB.Wmb8gr yXD5XJhePxhJuEHdtIxTw_H1d3BFXqX6sLrAxN9hGQL9r7oQzmDLTu6m9aOocgkteHhHtz.Nlqnt 7hHtZ2._o5NWt_DCXDTvb2s5ff.QAH4At4px2B4kunZpfoOeTF5Zk4lvoEdPJJI5Pk9uh8eHcMLA thTNACMbSPPN6TuVa9vXrnEnJadn5J6OzRpreduYFJF.Bh81UtETjwAontxR.Iup3TDqnj_7ZYAd QqKWHIxdYd1e2Myw.d16Oe2XUjK.qsDbjGRwBbdJ7_jDe0c9AjTfFrSopa1nGtqnAhBrTjJIVdvu dHEGqJvIdKJfaGoOC94Bjd4wwdUfMlNUg85SN4CD1le_NMmd4f8Ucef19xDwoQXxIyH2Ftf0nk6X T_nThgOHeXSYJ1gVzWrh97qEJ.CGN6AT_xVRxLxlSobX4fbEmy2jOVnSrPN6aOf49JvKXE63I5BB PFyGf7LAm2bAl2dTYCEbAkbtOa6KRnLLh4rsBwHFAkOYdttvmouQXRWbYwniR_y_EnfmXnn4n6XL nPsd8ecBeRDWkDUg_1WmxNrUZziv7R5fwrrGyNCbfs7.FB_6BjWofH8IyxVTNZ.bSIye_f.WWyq6 4xPUP X-Sonic-MF: X-Sonic-ID: a032fb3c-9d09-4c35-b2c9-f11946952e33 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Fri, 15 Sep 2023 04:32:37 +0000 Received: by hermes--production-bf1-678f64c47b-f88h5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1cef5c16583f5fd4f281b042b4a81ef2; Fri, 15 Sep 2023 04:32:33 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Wow: Building the likes of devel/llvm16 now requires building rust first (when rust is out of date). . . A WORKAROUND From: Mark Millard In-Reply-To: <5620735A-FB8A-4AFE-B4E4-32D0D8D58962@yahoo.com> Date: Thu, 14 Sep 2023 21:32:20 -0700 Cc: freebsd-arm , John F Carr , Charlie Li , Tatsuki Makino , saper@aper.info, freebsd@quinteiro.org Content-Transfer-Encoding: quoted-printable Message-Id: <6557AA51-D4E2-4E30-B3B4-BA0B356D5343@yahoo.com> References: <5620735A-FB8A-4AFE-B4E4-32D0D8D58962@yahoo.com> To: FreeBSD Mailing List X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.43 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.93)[-0.934]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.146:from]; ARC_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.146:from]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_CC(0.00)[freebsd.org,mit.edu,hotmail.com,aper.info,quinteiro.org]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rn1WW6rl3z3LHk On Sep 13, 2023, at 23:20, Mark Millard wrote: > Note: py39 is in use in my context. >=20 > Building devel/llvm16 requires building textproc/py-recommonmark@py39 > Building textproc/py-recommonmark@py39 requires building = textproc/py-sphinx@py39 > Building textproc/py-sphinx@py39 requires building = www/py-requests@py39 > Building www/py-requests@py39 requires building net/py-urllib3@py39 > Building net/py-urllib3@py39 requires building = security/py-openssl@py39 > Building security/py-openssl@py39 requires building = security/py-cryptography@py39 > Building security/py-cryptography@py39 requires building = devel/py-setuptools-rust@py39 > Building devel/py-setuptools-rust@py39 requires building lang/rust >=20 > Building devel/llvm16 and the like just got more > resource intensive for those not already building > lang/rust . Building lang/rust in my context uses > system-clang ( not a devel/llvm* ). So no loop in > my context. >=20 > I normally build rust anyway. But other folks may > have been avoiding such. >=20 I have the file (for other reasons): /usr/local/etc/poudriere.d/make.conf and I added to it: .if ${.CURDIR:M*/devel/llvm*} OPTIONS_UNSET=3DDOCS .endif This overrides the "always on" for DOCS for the various devel/llvm* . (In more complicated contexts +=3D would be appropriate i order to allow multiple assignments to accumulate.) This stopped the recommonmark use and, so, stopped the sequence of dependencies leading to lang/rust being required. This appears to do more than whatever John F Carr did to get it to report in his context: =3D=3D=3D> The following configuration options are available for = llvm17-17.0.0.r4: . . . DOCS=3Doff: Build and/or install documentation . . . (Likely normal style options file content was involved.) I did not make any such "normal style" OPTIONS changes and the log file for my build attempt reported: ---Begin OPTIONS List--- =3D=3D=3D> The following configuration options are available for = llvm17-17.0.0.r4: BE_AMDGPU=3Don: AMD GPU backend (required by mesa) BE_WASM=3Don: WebAssembly backend (required by firefox via wasi) CLANG=3Don: Build clang COMPILER_RT=3Don: Sanitizer libraries DOCS=3Doff: Build and/or install documentation EXTRAS=3Don: Extra clang tools FLANG=3Doff: Flang FORTRAN compiler GOLD=3Don: Build the LLVM Gold plugin for LTO LIT=3Don: Install lit and FileCheck test tools LLD=3Don: Install lld, the LLVM linker LLDB=3Don: Install lldb, the LLVM debugger MLIR=3Don: Multi-Level Intermediate Representation OPENMP=3Don: Install libomp, the LLVM OpenMP runtime library POLLY=3Don: Polyhedral loop and data-locality optimizer PYCLANG=3Don: Install python bindings to libclang STATIC_LIBS=3Don: Install static libraries (does not effect = sanitizers) =3D=3D=3D=3D> Options available for the single BACKENDS: you have to = select exactly one of them BE_FREEBSD=3Doff: Backends for FreeBSD architectures BE_NATIVE=3Doff: Backend(s) for this architecture (X86) BE_STANDARD=3Don: All non-experimental backends =3D=3D=3D> Use 'make config' to modify these settings ---End OPTIONS List--- The --PLIST_SUB-- section ended up listing: PORTDOCS=3D"@comment and: DOCS=3D"@comment " NO_DOCS=3D"" but still listed: DOCSDIR=3D"share/doc/llvm17" The --SUB_LIST-- section ended up listing: DOCS=3D"@comment " NO_DOCS=3D""= but still listed: DOCSDIR=3D/usr/local/share/doc/llvm17 FYI, without rust having been built, my first ever build of llvm17 (not reporting on the 49 prior poort->package builds before devel/llvm17 started): [00:43:30] Finished devel/llvm17@default | llvm17-17.0.0.r4: Success FYI: 5.14.1.3 Default Options in: = https://docs.freebsd.org/en/books/porters-handbook/makefiles/#makefile-opt= ions reports the always-on status for DOCS (and some more) but not the way(s) to override that status for specific ports. It seems that only some ways actually change the status to off --and I've found one such. =3D=3D=3D Mark Millard marklmi at yahoo.com