Date: Fri, 12 Nov 2021 00:44:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 259788] misc/help2man (probably others?) make -B in ports tree breaks gmake build. Message-ID: <bug-259788-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259788 Bug ID: 259788 Summary: misc/help2man (probably others?) make -B in ports tree breaks gmake build. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: mirror176@hotmail.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org -B causes failure during build of misc/help2man. -B has a different meaning= for gmake telling it to unconditionally make all targets. I presume -B was to t= ry to get -jN kernel builds to not try to build multiple ports simultaneously = as building dependencies may happen and that would lead to possible collisions= . My build attempts have been on a -stable and ports tree updated with git within the past two weeks. Following build(7) to use PORTS_MODULES lead me to discover this problem: `make PORTS_MODULES=3Demulators/virtualbox-ose-kmod buildkernel` which executes: `cd ${PORTSDIR:-/usr/ports}/emulators/virtualbox-ose-kmod; env -u CC -u C= XX=20 -u CPP -u MAKESYSPATH -u MK_AUTO_OBJ -u MAKEOBJDIR MAKEFLAGS=3D"-D NO_MODULES_OBJ KERNEL=3Dkernel TARGET=3Damd64 TARGET_ARCH=3Damd64"=20 SYSDIR=3D/usr/src/sys=20 PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tm= p/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.= amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/= usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp= /legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/loca= l/sbin SRC_BASE=3D/usr/src OSVERSION=3D1300520=20 WRKDIRPREFIX=3D/usr/obj/usr/src/amd64.amd64/sys/GENERIC make -B clean build= `. I tried removing the -B from /usr/src/sys/conf/kern.post.mk (lines 132 and 140) but leads to a failure earlier up the chain in devel/kBuild though I m= ay have tested with -jN type of setting during buildkernel. This is repeatable= by merely having -B on the command line when in the ports tree normally. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259788-7788>