Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2023 20:23:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270887] devel/llvm15: llvm15 won't build if cmark is installed
Message-ID:  <bug-270887-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270887

            Bug ID: 270887
           Summary: devel/llvm15: llvm15 won't build if cmark is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: sjrbulk@verizon.net
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

If cmark is installed llvm15 (and probably all the others) will not correct=
ly
build.

Previous attempted fixes in:
https://bugs.freebsd.org/239636
and
https://cgit.freebsd.org/ports/commit/?id=3D47c2b0aec1c3e92243d2d3677d4a026=
8475d6e0c

I notice that DOCS_CONFLICTS_BUILD is defined in llvm15/Makefile, but doesn=
't
seem to be used elsewhere, nor is it referenced in /usr/ports/Mk/*

Error message is:

<snip>
FAILED: tools/clang/docs/CMakeFiles/docs-clang-man
/usr/ports/devel/llvm15/work-default/.build/tools/clang/docs/CMakeFiles/doc=
s-clang-man=20
cd /usr/ports/devel/llvm15/work-default/.build/tools/clang/docs &&
/usr/local/bin/cmake -E make_directory
/usr/ports/devel/llvm15/work-default/.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-default/.build/tools/clang/docs/_doctrees-clan=
g-man
-q -t builder-man -D version=3D15 -D release=3D15.0.7
/usr/ports/devel/llvm15/work-default/llvm-project-15.0.7.src/clang/docs
/usr/ports/devel/llvm15/work-default/.build/tools/clang/docs/man

Exception occurred:
  File "/usr/local/lib/python3.9/site-packages/recommonmark/parser.py", lin=
e 9,
in <module>
    from commonmark import Parser
ModuleNotFoundError: No module named 'commonmark'
<snip>

I had the following ports installed (after attempted build):
cmark-0.30.2                   CommonMark parsing and rendering library and
program in C
py39-recommonmark-0.5.0_2      CommonMark bridge for docutils and Sphinx

(I deleted cmark, py39-recommonmark, and py39-CommonMark, and just installed
cmark before starting build)

Without cmark installed, builds correctly.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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