[Bug 294182] devel/viewvc-devel: Build failures for Python 3.13 & 3.14

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Apr 2026 12:25:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294182

            Bug ID: 294182
           Summary: devel/viewvc-devel: Build failures for Python 3.13 &
                    3.14
           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: dvl@FreeBSD.org

I'm building on FreeBSD 15.0 with viewvc code from 2025-03-16 (re
6e60e18d5e5388697c5f6cda917c944e6138d3d9).

The build succeeds on Python 3.12 (1) but fails on Python 3.13 (2).

The build failure is:

  File
"/wrkdirs/usr/ports/devel/viewvc-devel/work-py313/viewvc-6e60e18d5e5388697c5f6cda917c944e6138d3d9/viewvc-install",
line 38, in <module>
    import viewvc
  File
"/wrkdirs/usr/ports/devel/viewvc-devel/work-py313/viewvc-6e60e18d5e5388697c5f6cda917c944e6138d3d9/lib/viewvc.py",
line 53, in <module>
    import sapi
  File
"/wrkdirs/usr/ports/devel/viewvc-devel/work-py313/viewvc-6e60e18d5e5388697c5f6cda917c944e6138d3d9/lib/sapi.py",
line 20, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'


Is this a packaging issue or should I send it upstream?

The build also fails on Python 3.14 (3) but that is because
devel/py-subversion@py314 fails. I'll open a separate ticket for that.

-- 

1 -
https://services.unixathome.org/poudriere/data/150amd64-default-python312/2026-04-01_11h28m30s/logs/py312-viewvc-devel-1.3.0.20250316_2.log

2 -
https://services.unixathome.org/poudriere/data/150amd64-default-python313/2026-04-01_10h08m45s/logs/errors/py313-viewvc-devel-1.3.0.20250316_2.log

3 -
https://services.unixathome.org/poudriere/build.html?mastername=150amd64-default-python314&build=2026-04-01_12h19m04s

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