Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2024 19:49:08 -0800
From:      Michael Dexter <editor@callfortesting.org>
To:        freebsd-current@freebsd.org
Subject:   WITHOUT_CASPER ghost?
Message-ID:  <8f2d4d8c-9c93-42be-b67b-2495cb027c8f@callfortesting.org>

next in thread | raw e-mail | index | archive | help
All,

The WITHOUT_CASPER build option was deprecated in main and 14-stable 
branches but is still showing up and will trip up the build option survey:

sh src/tools/tools/build_option_survey/listallopts.sh | grep CASPER
WITHOUT_CASPER

--- all_subdir_sbin/mdconfig ---
===> sbin/mdconfig (all)
make[4]: "/b/stable/14/src/share/mk/bsd.mkopt.mk" line 62: warning: 
WITHOUT_CAPSICUM option ignored: it is no longer supported
make[4]: "/b/stable/14/src/share/mk/bsd.mkopt.mk" line 62: warning: 
WITHOUT_CASPER option ignored: it is no longer supported
--- .depend ---
echo mdconfig: 
/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp/usr/lib/libc.a 
/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp/usr/lib/libutil.a 
/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp/usr/lib/libgeom.a 
/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp/usr/lib/libbsdxml.a 
/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp/usr/lib/libsbuf.a >> 
.depend
--- mdconfig.o ---
cc -target x86_64-unknown-freebsd14.0 
--sysroot=/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp 
-B/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp/usr/bin  -O2 -pipe 
-fno-common   -DNDEBUG -MD  -MF.depend.mdconfig.o -MTmdconfig.o 
-std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter 
/usr/lib/clang/16/include -Qunused-arguments   -c 
/b/stable/14/src/sbin/mdconfig/mdconfig.c -o mdconfig.o
--- all_subdir_sbin/md5 ---
4 warnings generated.
--- md5 ---
cc -target x86_64-unknown-freebsd14.0 
--sysroot=/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp 
-B/b/stable/14/obj/b/stable/14/src/amd64.amd64/tmp/usr/bin -O2 -pipe 
-fno-common -DHAVE_CAPSICUM -DWITH_CASPER -DNDEBUG -std=gnu99 
-Wno-format-zero-length -nobuiltininc -idirafter 
/usr/lib/clang/16/include -Qunused-arguments  -Wl,-znorelro -static   -o 
md5 md5.o   -lmd  -lcasper  -lnv  -lcap_fileargs  -lnv
ld: error: unable to find library -lcasper
ld: error: unable to find library -lcap_fileargs
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [md5] Error code 1

make[4]: stopped in /b/stable/14/src/sbin/md5
1 error

I am tracking the build options here:

https://callfortesting.org/results/bos-ci/

My apologies if this is a false positive.

Michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f2d4d8c-9c93-42be-b67b-2495cb027c8f>