Jakub Lach
2016-Dec-29 22:51 UTC
Cannot buildworld r310779 on FreeBSD 11.0-STABLE #0 r310265 amd64
Hello, I'm quite puzzled. Emptied /usr/obj, make cleandir and # make buildworld && make buildkernel... svn st is clear. <...> ===> usr.bin/dtc (all) echo dtc: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend echo dtc: /usr/obj/usr/src/tmp/usr/lib/libc++.a >> .depend c++ -O2 -pipe -march=native -DNDEBUG -MD -MF.depend.dtc.o -MTdtc.o -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments -std=c++11 -fno-rtti -fno-exceptions -Wno-c++11-extensions -c /usr/src/usr.bin/dtc/dtc.cc -o dtc.o c++ -O2 -pipe -march=native -DNDEBUG -MD -MF.depend.input_buffer.o -MTinput_buffer.o -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments -std=c++11 -fno-rtti -fno-exceptions -Wno-c++11-extensions -c /usr/src/usr.bin/dtc/input_buffer.cc -o input_buffer.o c++ -O2 -pipe -march=native -DNDEBUG -MD -MF.depend.string.o -MTstring.o -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments -std=c++11 -fno-rtti -fno-exceptions -Wno-c++11-extensions -c /usr/src/usr.bin/dtc/string.cc -o string.o c++ -O2 -pipe -march=native -DNDEBUG -MD -MF.depend.dtb.o -MTdtb.o -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments -std=c++11 -fno-rtti -fno-exceptions -Wno-c++11-extensions -c /usr/src/usr.bin/dtc/dtb.cc -o dtb.o c++ -O2 -pipe -march=native -DNDEBUG -MD -MF.depend.fdt.o -MTfdt.o -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments -std=c++11 -fno-rtti -fno-exceptions -Wno-c++11-extensions -c /usr/src/usr.bin/dtc/fdt.cc -o fdt.o /usr/src/usr.bin/dtc/fdt.cc:1593:8: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char *val = strchr(def, '='); ^ ~~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/usr.bin/dtc *** Error code 1 -- View this message in context: http://freebsd.1045724.x6.nabble.com/Cannot-buildworld-r310779-on-FreeBSD-11-0-STABLE-0-r310265-amd64-tp6155011.html Sent from the freebsd-stable mailing list archive at Nabble.com.
Dimitry Andric
2016-Dec-30 09:39 UTC
Cannot buildworld r310779 on FreeBSD 11.0-STABLE #0 r310265 amd64
On 29 Dec 2016, at 23:51, Jakub Lach <jakub_lach at mailplus.pl> wrote:> > I'm quite puzzled. Emptied /usr/obj, make cleandir and > # make buildworld && make buildkernel... svn st is clear....> /usr/src/usr.bin/dtc/fdt.cc -o fdt.o > /usr/src/usr.bin/dtc/fdt.cc:1593:8: error: cannot initialize a variable of > type 'char *' with an > rvalue of type 'const char *' > char *val = strchr(def, '='); > ^ ~~~~~~~~~~~~~~~~This was fixed in head with r309191, but it was not MFC'd yet. I have done so in r310808. -Dimitry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20161230/778ea6c6/attachment.sig>