[Bug 267871] /usr/bin/rs compile fails after udate to c++

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Nov 2022 23:53:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267871

            Bug ID: 267871
           Summary: /usr/bin/rs compile fails after udate to c++
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rkoberman@gmail.com

buildwrld fails building rc. It attempts to compile rs.c, but it has been
replaced by rc.cc.

--- rs.o ---
cc -target x86_64-unknown-freebsd14.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -fPIE -g
-gz=zlib -MD  -MF.depend.rs.o -MTrs.o -std=gnu99 -Wno-format-zero-length
-fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition
-Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable  -Qunused-arguments    -c
/usr/src/usr.bin/rs/rs.c -o rs.o
cc: error: no such file or directory: '/usr/src/usr.bin/rs/rs.c'
cc: error: no input files
*** [rs.o] Error code 1

# ls /usr/src/usr.bin/rs
Makefile                rs.1                    tests/
Makefile.depend         rs.cc

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