[Bug 295293] cad/freecad: build failure on recent main (16-CURRENT)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 May 2026 01:00:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295293

            Bug ID: 295293
           Summary: cad/freecad: build failure on recent main (16-CURRENT)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cmt@freebsd.org
          Reporter: bugsbeastie@gmail.com
          Assignee: cmt@freebsd.org
             Flags: maintainer-feedback?(cmt@freebsd.org)

Created attachment 270739
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270739&action=edit
poudriere log

cad/freecad fails to build on recent CURRENT (1600018 from 2026-05-05), most
probably due to update of the system compiler to llvm21. The error message is
(see the attached reduced poudriere log for details):
"/wrkdirs/usr/ports/cad/freecad/work/FreeCAD-1.1.1/src/Mod/TechDraw/Gui/CommandCreateDims.cpp:1106:52:
error: call to 'abs' is ambiguous"

I do not have a patch yet :(

Note that cad/freecad-devel is not affected!

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