Date: Sun, 17 Jan 2021 00:30:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 252757] WITHOUT_INSTALLLIB build option fails on usr.bin/fortune Message-ID: <bug-252757-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252757 Bug ID: 252757 Summary: WITHOUT_INSTALLLIB build option fails on usr.bin/fortune Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: editor@callfortesting.org If WITHOUT_INSTALLLIB=YES is set in /etc/src.conf on 13.0-ALPHA1 amd64, the following error is generated: --- _bootstrap-tools-usr.bin/fortune/strfile --- cc: error: linker command failed with exit code 1 (use -v to see invocation) --- _bootstrap-tools-usr.bin/mandoc --- --- .depend --- echo mandoc.full: /usr/lib/libc.a /usr/obj/usr/src/tools/tools/bos-ng/_.tst/usr/src/amd64.amd64/tmp/obj-tools/lib/libopenbsd/libopenbsd.a /usr/lib/libz.a /usr/obj/usr/src/tools/tools/bos-ng/_.tst/usr/src/amd64.amd64/tmp/legacy/usr/lib/libegacy.a >> .depend --- _bootstrap-tools-usr.bin/fortune/strfile --- *** [strfile.full] Error code 1 make[3]: stopped in /usr/src/usr.bin/fortune/strfile This patch appears to address it but I cannot say if strfile should be excluded within fortune, or simply all of usr.bin/fortune when the build option is requested: diff --git a/usr.bin/fortune/Makefile b/usr.bin/fortune/Makefile index ed00d012cd37..4d9a36fbb693 100644 --- a/usr.bin/fortune/Makefile +++ b/usr.bin/fortune/Makefile @@ -2,9 +2,12 @@ # # $FreeBSD$ -SUBDIR= fortune strfile datfiles unstr +SUBDIR= fortune datfiles unstr +.if ${WITHOUT_INSTALLLIB} == "no" +SUBDIR+= strfile SUBDIR_DEPEND_datfiles= strfile +.endif SUBDIR_PARALLEL= -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252757-227>
