[Bug 268414] cc: error: no such file or directory: '/usr/src/usr.bin/rs/rs.c'
Date: Fri, 16 Dec 2022 17:16:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268414
Bug ID: 268414
Summary: cc: error: no such file or directory:
'/usr/src/usr.bin/rs/rs.c'
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: dan.kotowski@a9development.com
When building world, make errors out building rs.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
make[4]: stopped in /usr/src/usr.bin/rs
--- all_subdir_tests ---
make[5]: stopped in /usr/src/tests/sys/fs
--- all_subdir_lib ---
--- all_subdir_lib/atf ---
make[5]: stopped in /usr/src/lib/atf/tests
make[4]: stopped in /usr/src/lib/atf
make[3]: stopped in /usr/src/lib
--- all_subdir_lib/libarchive ---
make[3]: stopped in /usr/src/lib
--- all_subdir_lib/googletest ---
--- all_subdir_lib/googletest/tests/gmock_main ---
make[5]: stopped in /usr/src/lib/googletest/tests
make[4]: stopped in /usr/src/lib/googletest
make[3]: stopped in /usr/src/lib
make[2]: stopped in /usr/src
--- all_subdir_usr.bin ---
make[2]: stopped in /usr/src
--- all_subdir_tests ---
make[4]: stopped in /usr/src/tests/sys
make[3]: stopped in /usr/src/tests
make[2]: stopped in /usr/src
--- all_subdir_usr.sbin ---
make[2]: stopped in /usr/src
57.30 real 1365.96 user 93.34 sys
make[1]: stopped in /usr/src
make: stopped in /usr/src
```
I get the same even if I run `make clean` first.
Currently at 38d2b4db7853 (HEAD -> main, freebsd/main, freebsd/HEAD) daily
440.status-mailq: avoid error from dma with submit queue
```
# git status
On branch main
Your branch is up to date with 'freebsd/main'.
nothing to commit, working tree clean
```
Most likely introduced by 1 of these 2 commits:
commit afb4998dd4de03c2d635faf7db89f3d3f6c3a6ff
Author: John Baldwin <jhb@FreeBSD.org>
Date: Tue Nov 15 21:19:35 2022 -0800
rs: Use getopt() and strtol() instead of mannual parsing.
This uses the "::" extension to getopt() to handle options which take
an optional argument.
The updated flag tests were all wrong before and only passed because
the manual parser failed to raise errors when a required argument was
missing. The invalid argument test now gets a better error message.
Reviewed by: brooks, imp, emaste
Differential Revision: https://reviews.freebsd.org/D36834
commit 42d10b1b56f2f7739081487814f90a22b81792ee
Author: John Baldwin <jhb@FreeBSD.org>
Date: Tue Nov 15 21:03:12 2022 -0800
rs: Convert to C++ to convert elem to a std::vector<char *>.
This also updates various indices and counters from int to size_t to
pacify resulting -Wsign-compare warnings.
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D36833
--
You are receiving this mail because:
You are the assignee for the bug.