NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/59416: tools/mandoc fails to build on host system where cc is not present



>Number:         59416
>Category:       toolchain
>Synopsis:       tools/mandoc fails to build on host system where cc is not present
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 11 19:40:00 +0000 2025
>Originator:     Palle Lyckegaard
>Release:        current as of 2025-05-11
>Organization:
NetBSD
>Environment:
SunOS s11-sparc.cfarm 5.11 11.4.80.189.2 sun4v sparc sun4v logical-domain

>Description:
After mandoc has been updated in the NetBSD codebase to mandoc 1.14.6 building tools/mandoc fails on a Solaris 11.4 host system.

external/bsd/mdocml/dist/configure seems to assume that cc is present on the host system which is not the case on this host system.



>How-To-Repeat:
build.sh tools

>Fix:
The following patch fixes the issue, assuming that tools/mandoc/Makefile sets properly sets CC.


diff --git a/external/bsd/mdocml/dist/configure b/external/bsd/mdocml/dist/configure
index d309ec5f59e7..07c1e2b79024 100644
--- a/external/bsd/mdocml/dist/configure
+++ b/external/bsd/mdocml/dist/configure
@@ -43,7 +43,7 @@ MAKEFLAGS=
 UTF8_LOCALE=
 
 AR=ar
-CC=cc
+#CC=cc
 CFLAGS=
 FATAL=0
 LDADD=


I can commit the fix myself if nobody objects.
palle%netbsd.org@localhost





Home | Main Index | Thread Index | Old Index