Re: [CURRENT] r284404 buildworld failure due to CXXFLAGS+= -std=c++11 in /etc/src.conf

From: Benjamin Perrault <ben.perrault_at_gmail.com>
Date: Mon, 15 Jun 2015 00:04:49 -0700
I’m experiencing the same issues with make buildkernel / make buildworld (r284402+) - no src.conf, always with a fresh source tree - lots of issues with mk and depends such as: 

make[1]: stopped in /usr/src
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src'
.TARGETS='buildworld'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH=''
MAKE_VERSION=‘20150510'
SRCTOP='/usr/src'
OBJTOP=''
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/Makefile.inc1 /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.arch.inc.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk'
.PATH='. /usr/src'
*** [buildworld] Error code 2.

or:

make[2]: stopped in /usr/src
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src'
.TARGETS='par-depend'
DESTDIR='/usr/obj/usr/src/tmp'
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH=''
MAKE_VERSION='20150510'
SRCTOP='/usr/src'
OBJTOP=''
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/Makefile.inc1 /usr/src/share/mk/src.opts.mk /usr/src
/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.arch.inc.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk'
.PATH='. /usr/src'
*** [_depend] Error code 2
(I can provide well over 10 different but similar error messages all regarding 

My last successful build{kernel|world} was r283762. 

best,
-bp

> On Jun 14, 2015, at 11:54 PM, O. Hartmann <ohartman_at_zedat.fu-berlin.de> wrote:
> 
> On Mon, 15 Jun 2015 08:15:52 +0200
> "O. Hartmann" <ohartman_at_zedat.fu-berlin.de> wrote:
> 
>> Recent source of CURRENT (r284404) fails to buildworld when option 
>> 
>> CXXFLAGS+=             -std=c++11 in /etc/src.conf
>> 
>> is given in /etc/src.conf. That issue was introduced around after
>> r282336. Below, you'll se the src.conf I use. I also have the buildworl
>> d failure with src.conf containing only the line CXXFLAGS as specified
>> above.
>> 
>> With r284336 and before, this issue wasn't present.
>> 
>> Regards,
>> 
>> Oliver
>> 
>> 
>> #
>> CPUTYPE?=               native
>> #
>> CFLAGS+=                -O3 -pipe
>> # for the kernel
>> #COPTFLAGS+=            -g -O0
>> COPTFLAGS+=             -O3 -pipe
>> #
>> #CXXFLAGS+=             -std=c++11
>> #
>> WITH_CLANG_FULL=        YES
>> WITH_CLANG_EXTRAS=      YES
>> WITH_LLDB=              YES
>> #
>> WITH_IDEA=              YES
>> #
>> #WITH_BSD_GREP=         YES
>> #
>> #WITH_OFED=             YES
>> WITH_NAND=              YES
>> #WITH_CTF=              YES
>> #
>> WITH_SVN=               YES
>> #
>> MALLOC_PRODUCTION=      YES
>> #
>> WITH_ELFTOOLCHAIN_TOOLS=        YES
>> #
>> #WITHOUT_DEBUG_FILES=   YES
>> #
>> PORTS_MODULES=
>> #PORTS_MODULES+=                x11/nvidia-driver
>> #PORTS_MODULES+=                emulators/virtualbox-ose-kmod
>> #PORTS_MODULES+=                sysutils/acpi_call
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
> Sorry for the noise,
> but also most recent source r284407 bails out with "CXXFLAGS+=" commented out,
> but at a later point.
> 
> It seems source s of >r284336 are not capable of being built via "buildworld
> buildkernel" anymore?
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Jun 15 2015 - 05:04:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC