[Bug 285875] x11/wezterm: fails to build with DOCS=ON

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Apr 2025 06:53:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285875

            Bug ID: 285875
           Summary: x11/wezterm: fails to build with DOCS=ON
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: pat@patmaddox.com
                CC: vladislav.movchan@gmail.com
                CC: vladislav.movchan@gmail.com
             Flags: maintainer-feedback?(vladislav.movchan@gmail.com)

ports 8374d218
poudriere-devel-3.4.99.20250209
host and poudriere jail both 14.2-RELEASE-p2

A default build results in the below error. Building without docs succeeds.

---

(cd /wrkdirs/usr/ports/x11/wezterm/work/wezterm-20240203-110809-5046fc22 &&
/usr/local/bin/python3.11 ci/generate-docs.py)
mdbook-mermaid install
/wrkdirs/usr/ports/x11/wezterm/work/wezterm-20240203-110809-5046fc22/docs
[2025-04-04T06:00:13Z INFO  mdbook_mermaid] Reading configuration file
/wrkdirs/usr/ports/x11/wezterm/work/wezterm-20240203-110809-5046fc22/docs/book.toml
[2025-04-04T06:00:13Z INFO  mdbook_mermaid] Writing additional files to project
directory at
/wrkdirs/usr/ports/x11/wezterm/work/wezterm-20240203-110809-5046fc22/docs
[2025-04-04T06:00:13Z INFO  mdbook_mermaid] Files & configuration for
mdbook-mermaid are installed. You can start using it in your book.
[2025-04-04T06:00:13Z INFO  mdbook_mermaid] Add a code block like:
    ```mermaid
    graph TD;
        A-->B;
        A-->C;
        B-->D;
        C-->D;
    ```
mdbook build
/wrkdirs/usr/ports/x11/wezterm/work/wezterm-20240203-110809-5046fc22/docs
2025-04-04 06:00:13 [ERROR] (mdbook::utils): Error: Summary parsing failed for
file="/wrkdirs/usr/ports/x11/wezterm/work/wezterm-20240203-110809-5046fc22/docs/./SUMMARY.md"
2025-04-04 06:00:13 [ERROR] (mdbook::utils):  Caused By: Duplicate file in
SUMMARY.md: "index.md"
*** Error code 101

Stop.
make: stopped in /usr/ports/x11/wezterm
=>> Cleaning up wrkdir
===>  Cleaning for wezterm-20240203.110809.5046.f22_7
build of x11/wezterm | wezterm-20240203.110809.5046.f22_7 ended at
2025-04-03T23:00:33-07:00
build time: 00:08:03
!!! build failure encountered !!!

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