[Bug 293331] lang/mono5.10: Fails to build with GCC 15: error CS0234: The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference?)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Feb 2026 13:31:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293331

            Bug ID: 293331
           Summary: lang/mono5.10: Fails to build with GCC 15: error
                    CS0234: The type or namespace name 'Xml' does not
                    exist in the namespace 'System' (are you missing an
                    assembly reference?)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan05/data/143amd64-d
                    efault-foo/2026-01-30_10h01m25s/logs/errors/mono5.10-5
                    .10.1.57_7.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 292692

The port fails to build with GCC 15 and blocks GCC_DEFAULT update to 15. Full
log in URL field. This link might be useful:
https://gcc.gnu.org/gcc-15/porting_to.html .

wrkdirs/usr/ports/lang/mono5.10/work/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/diagnostics/XmlWriterTraceListener.cs(9,14):
error CS0234: The type or namespace name 'Xml' does not exist in the namespace
'System' (are you missing an assembly reference?)
/wrkdirs/usr/ports/lang/mono5.10/work/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/diagnostics/XmlWriterTraceListener.cs(10,14):
error CS0234: The type or namespace name 'Xml' does not exist in the namespace
'System' (are you missing an assembly reference?)
System.Configuration/ConfigHelper.cs(34,14): error CS0234: The type or
namespace name 'Xml' does not exist in the namespace 'System' (are you missing
an assembly reference?)
System.Configuration/ConfigXmlDocument.cs(38,14): error CS0234: The type or
namespace name 'Xml' does not exist in the namespace 'System' (are you missing
an assembly reference?)
System.Configuration/ConfigurationException.cs(36,14): error CS0234: The type
or namespace name 'Xml' does not exist in the namespace 'System' (are you
missing an assembly reference?)
System.Configuration/ConfigurationSettings.cs(42,14): error CS0234: The type or
namespace name 'Xml' does not exist in the namespace 'System' (are you missing
an assembly reference?)
System.Configuration/ConfigurationSettings.cs(43,14): error CS0234: The type or
namespace name 'Xml' does not exist in the namespace 'System' (are you missing
an assembly reference?)


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292692
[Bug 292692] [exp-run] Update GCC_DEFAULT to 15
-- 
You are receiving this mail because:
You are the assignee for the bug.