Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2023 23:40:42 +0000 (UTC)
From:      Stephen Roznowski <sjrbulk@verizon.net>
To:        Brooks Davis <brooks@freebsd.org>, Ports <ports@freebsd.org>
Subject:   Re: Problems building llvm13 and llvm15?
Message-ID:  <2000255741.294887.1672962042649@mail.yahoo.com>
References:  <2000255741.294887.1672962042649.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_294886_1691954069.1672962042648
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit


On 1/5/23 12:37, Brooks Davis wrote:

 On Thu, Jan 05, 2023 at 04:34:44PM +0000, Stephen Roznowski wrote:
 
  On 1/4/23 18:14, Brooks Davis wrote:

 On Wed, Jan 04, 2023 at 01:10:36AM +0000, Stephen Roznowski wrote:
 
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.

 What errors?  Do you have any out of swap errors in your logs?


No swap errors. Just rebuilt with "portmaster -d -m MAKE_JOBS_UNSAFE=yes llvm15" and got the following error:

[ 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/.build/tools/clang/docs/man && /usr/local/bin/cmake -E env /usr/local/bin/sphinx-build-3.9 -b man -d /usr/ports/devel/llvm15/work/.build/tools/clang/docs/_doctrees-clang-man -q -t builder-man -D version=15 -D release=15.0.6 /usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/clang/docs /usr/ports/devel/llvm15/work/.build/tools/clang/docs/man
FAILED: tools/clang/docs/CMakeFiles/docs-clang-man /usr/ports/devel/llvm15/work/.build/tools/clang/docs/CMakeFiles/docs-clang-man 
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/docs/man && /usr/local/bin/cmake -E env /usr/local/bin/sphinx-build-3.9 -b man -d /usr/ports/devel/llvm15/work/.build/tools/clang/docs/_doctrees-clang-man -q -t builder-man -D version=15 -D release=15.0.6 /usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/clang/docs /usr/ports/devel/llvm15/work/.build/tools/clang/docs/man

Exception occurred:
?? File "/usr/local/lib/python3.9/site-packages/recommonmark/parser.py", line 9, in <module>
?????? 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.

Sphinx-err ends with: ModuleNotFoundError: No module named 'commonmark'

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.
  
Not building with FLANG support.

I guess that I'll try building it without DOC support.

 Hopefully that works.



I just rebuilt py39-recommonmark-0.5.0_2 and all its dependencies and get the same error. I rebuild with DOCS turned off and it successfully built.
I don't have py39-CommonMark installed, but it complains about a conflict with cmark that is installed. (I know that if I remove cmark, then it will then build correctly - and I assume llvm15 w/DOCS will also.)
Thanks,Steve



------=_Part_294886_1691954069.1672962042648
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Arial, Helvetica, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false"><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"><div dir="ltr" data-setdir="false"><br><div class="ydp2ac8030dmoz-cite-prefix">On 1/5/23 12:37, Brooks Davis wrote:<br>
</div>
<blockquote type="cite">
  <pre class="ydp2ac8030dmoz-quote-pre">On Thu, Jan 05, 2023 at 04:34:44PM +0000, Stephen Roznowski wrote:
</pre>
  <blockquote type="cite"><pre class="ydp2ac8030dmoz-quote-pre">  On 1/4/23 18:14, Brooks Davis wrote:

 On Wed, Jan 04, 2023 at 01:10:36AM +0000, Stephen Roznowski wrote:
 
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.

 What errors?  Do you have any out of swap errors in your logs?


No swap errors. Just rebuilt with "portmaster -d -m MAKE_JOBS_UNSAFE=yes llvm15" and got the following error:

[ 47% 4222/8826] cd /usr/ports/devel/llvm15/work/.build/tools/clang/docs &amp;&amp; /usr/local/bin/cmake -E make_directory /usr/ports/devel/llvm15/work/.build/tools/clang/docs/man &amp;&amp; /usr/local/bin/cmake -E env /usr/local/bin/sphinx-build-3.9 -b man -d /usr/ports/devel/llvm15/work/.build/tools/clang/docs/_doctrees-clang-man -q -t builder-man -D version=15 -D release=15.0.6 /usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/clang/docs /usr/ports/devel/llvm15/work/.build/tools/clang/docs/man
FAILED: tools/clang/docs/CMakeFiles/docs-clang-man /usr/ports/devel/llvm15/work/.build/tools/clang/docs/CMakeFiles/docs-clang-man 
cd /usr/ports/devel/llvm15/work/.build/tools/clang/docs &amp;&amp; /usr/local/bin/cmake -E make_directory /usr/ports/devel/llvm15/work/.build/tools/clang/docs/man &amp;&amp; /usr/local/bin/cmake -E env /usr/local/bin/sphinx-build-3.9 -b man -d /usr/ports/devel/llvm15/work/.build/tools/clang/docs/_doctrees-clang-man -q -t builder-man -D version=15 -D release=15.0.6 /usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/clang/docs /usr/ports/devel/llvm15/work/.build/tools/clang/docs/man

Exception occurred:
?? File "/usr/local/lib/python3.9/site-packages/recommonmark/parser.py", line 9, in &lt;module&gt;
?????? 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.

Sphinx-err ends with: ModuleNotFoundError: No module named 'commonmark'

I only have py-39-recommonmark-0.5.0_2 installed, and portmaster doesn't build any other "commonmark" ports.
</pre></blockquote>
  <pre class="ydp2ac8030dmoz-quote-pre">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.

</pre>
  <blockquote type="cite"><pre class="ydp2ac8030dmoz-quote-pre">What does your system/vm config look like?  The default configuration
builds FLANG which unfortunately requires quite a lot of ram.
  
Not building with FLANG support.

I guess that I'll try building it without DOC support.
</pre></blockquote>
  <pre class="ydp2ac8030dmoz-quote-pre">Hopefully that works.
<br></pre></blockquote></div></div></div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>I just rebuilt py39-recommonmark-0.5.0_2 and all its dependencies and get the same error. I rebuild with DOCS turned off and it successfully built.</div><div><br></div><div dir="ltr" data-setdir="false">I don't have py39-CommonMark installed, but it complains about a conflict with cmark that is installed. (I know that if I remove cmark, then it will then build correctly - and I assume llvm15 w/DOCS will also.)</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" data-setdir="false">Steve<br></div><span><pre class="ydp2ac8030dmoz-quote-pre"><br></pre></span><div><br></div></div></div></div></body></html>
------=_Part_294886_1691954069.1672962042648--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2000255741.294887.1672962042649>