From nobody Thu Jan 5 17:37:45 2023 X-Original-To: ports@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 4NntwB4YPgz2lTPc for ; Thu, 5 Jan 2023 17:37:46 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4NntwB2c4Gz4H8c; Thu, 5 Jan 2023 17:37:46 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Authentication-Results: mx1.freebsd.org; none Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 39D513C0199; Thu, 5 Jan 2023 17:37:45 +0000 (UTC) Date: Thu, 5 Jan 2023 17:37:45 +0000 From: Brooks Davis To: Stephen Roznowski Cc: "brooks@freebsd.org" , Ports Subject: Re: Problems building llvm13 and llvm15? Message-ID: References: <1929599112.6353689.1672936484424.ref@mail.yahoo.com> <1929599112.6353689.1672936484424@mail.yahoo.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1929599112.6353689.1672936484424@mail.yahoo.com> X-Rspamd-Queue-Id: 4NntwB2c4Gz4H8c X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, Jan 05, 2023 at 04:34:44PM +0000, Stephen Roznowski wrote: > On 1/4/23 18:14, Brooks Davis wrote: >=20 > On Wed, Jan 04, 2023 at 01:10:36AM +0000, Stephen Roznowski wrote: > =20 > Are others having problems building both llvm13 and llvm15? > I get errors when trying to rebuild llvm13-13.0.1_3 and upgrading llvm15-= 15.0.6 to llvm15-15.0.6_1 on 13.1-STABLE. >=20 > What errors? Do you have any out of swap errors in your logs? >=20 >=20 > No swap errors. Just rebuilt with "portmaster -d -m MAKE_JOBS_UNSAFE=3Dye= s llvm15" and got the following error: >=20 > [ 47% 4222/8826] cd /usr/ports/devel/llvm15/work/.build/tools/clang/docs = && /usr/local/bin/cmake -E make_directory /usr/ports/devel/llvm15/work/.bui= ld/tools/clang/docs/man && /usr/local/bin/cmake -E env /usr/local/bin/sphin= x-build-3.9 -b man -d /usr/ports/devel/llvm15/work/.build/tools/clang/docs/= _doctrees-clang-man -q -t builder-man -D version=3D15 -D release=3D15.0.6 /= usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/clang/docs /usr/ports/d= evel/llvm15/work/.build/tools/clang/docs/man > FAILED: tools/clang/docs/CMakeFiles/docs-clang-man /usr/ports/devel/llvm1= 5/work/.build/tools/clang/docs/CMakeFiles/docs-clang-man=20 > cd /usr/ports/devel/llvm15/work/.build/tools/clang/docs && /usr/local/bin= /cmake -E make_directory /usr/ports/devel/llvm15/work/.build/tools/clang/do= cs/man && /usr/local/bin/cmake -E env /usr/local/bin/sphinx-build-3.9 -b ma= n -d /usr/ports/devel/llvm15/work/.build/tools/clang/docs/_doctrees-clang-m= an -q -t builder-man -D version=3D15 -D release=3D15.0.6 /usr/ports/devel/l= lvm15/work/llvm-project-15.0.6.src/clang/docs /usr/ports/devel/llvm15/work/= =2Ebuild/tools/clang/docs/man >=20 > Exception occurred: > ?? File "/usr/local/lib/python3.9/site-packages/recommonmark/parser.py", = line 9, in > ?????? from commonmark import Parser > ModuleNotFoundError: No module named 'commonmark' > The full traceback has been saved in /tmp/sphinx-err-t7yo16nq.log, if you= want to report the issue to the developers. >=20 > Sphinx-err ends with: ModuleNotFoundError: No module named 'commonmark' >=20 > I only have py-39-recommonmark-0.5.0_2 installed, and portmaster doesn't = build any other "commonmark" ports. Hmm. Do you have py39-CommonMark-0.9.1? (Why is it CamelCase? That is confusing.) I wonder if there's some messed up dependency tracking. A forced reinstall of py39-recommonmark-0.5.0_2 and dependencies might fix it. > What does your system/vm config look like? The default configuration > builds FLANG which unfortunately requires quite a lot of ram. > =20 > Not building with FLANG support. >=20 > I guess that I'll try building it without DOC support. Hopefully that works. -- Brooks