Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 10:53:29 -0500
From:      Matteo Riondato <matteo@FreeBSD.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   build with WITHOUT_GPL_DTC=y broken?
Message-ID:  <065D64EE-D742-4E09-A3C0-658FE7020DC6@FreeBSD.org>

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

--Apple-Mail=_BE2A8B7D-9923-40C1-9C5C-49BEA7A75C56
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

When I build world with WITHOUT_GPL_DTC=3Dy in src.conf (complete file =
after the error) I get the following error in stage 1.2: bootstrap =
tools. This is not a recent breakage, I=E2=80=99ve experienced it for a =
while.

=3D=3D=3D> usr.bin/dtc (obj,all,install)
/usr/obj/usr/src/tmp/usr/src/usr.bin/dtc created for =
/usr/src/usr.bin/dtc
echo dtc: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a =
>> .depend
echo dtc: /usr/lib/libc++.a >> .depend
c++  -O2 -pipe -DNDEBUG -MD -MF.depend.dtc.o -MTdtc.o -Qunused-arguments =
-I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -fno-rtti =
-fno-exceptions  -Wno-c++11-extensions  -c /usr/src/usr.bin/dtc/dtc.cc =
-o dtc.o
c++  -O2 -pipe -DNDEBUG -MD -MF.depend.input_buffer.o -MTinput_buffer.o =
-Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 =
-fno-rtti -fno-exceptions  -Wno-c++11-extensions  -c =
/usr/src/usr.bin/dtc/input_buffer.cc -o input_buffer.o
/usr/src/usr.bin/dtc/input_buffer.cc:547:53: error: type =
'dtc::(anonymous namespace)::expression' is not a direct or virtual base =
of 'binary_operator<Precedence, Op>'
        binary_operator(source_location l, const char *) : expression(l) =
{}
                                                           ^~~~~~~~~~
/usr/src/usr.bin/dtc/input_buffer.cc:653:8: error: using declaration =
refers into 'binary_operator<5, modulus<unsigned long long> >::', which =
is not a base class of 'divmod<std::__1::modulus<unsigned long long> >'
        using binary_operator<5, T>::binary_operator;
              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/usr.bin/dtc/input_buffer.cc:687:15: note: in instantiation of =
template class 'dtc::(anonymous =
namespace)::divmod<std::__1::modulus<unsigned long long> >' requested =
here
                        expr =3D new divmod<std::modulus<valty>>(l, =
"/");
                                   ^
/usr/src/usr.bin/dtc/input_buffer.cc:654:8: error: using declaration =
refers into 'binary_operator_base::', which is not a base class of =
'divmod<std::__1::modulus<unsigned long long> >'
        using binary_operator_base::result;
              ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/usr.bin/dtc/input_buffer.cc:655:22: error: only virtual member =
functions can be marked 'override'
        result operator()() override
                            ^~~~~~~~
/usr/src/usr.bin/dtc/input_buffer.cc:653:8: error: using declaration =
refers into 'binary_operator<5, divides<unsigned long long> >::', which =
is not a base class of 'divmod<std::__1::divides<unsigned long long> >'
        using binary_operator<5, T>::binary_operator;
              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/src/usr.bin/dtc/input_buffer.cc:693:15: note: in instantiation of =
template class 'dtc::(anonymous =
namespace)::divmod<std::__1::divides<unsigned long long> >' requested =
here
                        expr =3D new divmod<std::divides<valty>>(l, =
"/");
                                   ^
/usr/src/usr.bin/dtc/input_buffer.cc:654:8: error: using declaration =
refers into 'binary_operator_base::', which is not a base class of =
'divmod<std::__1::divides<unsigned long long> >'
        using binary_operator_base::result;
              ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/usr.bin/dtc/input_buffer.cc:655:22: error: only virtual member =
functions can be marked 'override'
        result operator()() override
                            ^~~~~~~~
/usr/src/usr.bin/dtc/input_buffer.cc:1201:78: error: use of undeclared =
identifier 'errno'
                        fprintf(stderr, "Unable to open file '%s'.  =
%s\n", path.c_str(), strerror(errno));
                                                                         =
                         ^
8 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/src/usr.bin/dtc
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src



### /etc/src.conf

WITH_BSD_GREP=3Dy
WITHOUT_AMD=3Dy
WITHOUT_APM=3Dy
WITHOUT_ASSERT_DEBUG=3Dy
WITHOUT_ATM=3Dy
WITHOUT_AUDIT=3Dy
WITHOUT_AUTOFS=3Dy
WITHOUT_BHYVE=3Dy
WITHOUT_BLACKLIST=3Dy
WITHOUT_BLUETOOTH=3Dy
WITHOUT_BOOTPARAMD=3Dy
WITHOUT_BOOTPD=3Dy
WITHOUT_BSNMP=3Dy
WITHOUT_CAPSICUM=3Dy
WITHOUT_CASPER=3Dy
WITHOUT_CDDL=3Dy
WITHOUT_CUSE=3Dy
WITHOUT_DEBUG_FILES=3Dy
WITHOUT_EE=3Dy
WITHOUT_EXAMPLES=3Dy
WITHOUT_FLOPPY=3Dy
WITHOUT_FREEBSD_UPDATE=3Dy
WITHOUT_GAMES=3Dy
WITHOUT_GPL_DTC=3Dy
WITHOUT_CTM=3Dy
WITHOUT_HESIOD=3Dy
WITHOUT_HAST=3Dy
WITHOUT_HTML=3Dy
WITHOUT_HYPERV=3Dy
WITHOUT_IPFILTER=3Dy
WITHOUT_IPFW=3Dy
WITHOUT_ISCSI=3Dy
WITHOUT_KERBEROS=3Dy
WITHOUT_LIB32=3Dy
WITHOUT_NDIS=3Dy
WITHOUT_NIS=3Dy
WITHOUT_PC_SYSINSTALL=3Dy
WITHOUT_PPP=3Dy
WITHOUT_PROFILE=3Dy
WITHOUT_QUOTAS=3Dy
WITHOUT_RBOOTD=3Dy
WITHOUT_RCMDS=3Dy
WITHOUT_ROUTED=3Dy
WITHOUT_SHARED_DOCS=3Dy
WITH_SORT_THREADS=3Dy
WITHOUT_SVNLITE=3Dy
WITHOUT_SYSINSTALL=3Dy
WITHOUT_SYSCONS=3Dy
WITHOUT_TALK=3Dy
WITHOUT_TCP_WRAPPERS=3Dy
WITHOUT_TELNET=3Dy
WITHOUT_TESTS=3Dy
WITHOUT_TFTP=3Dy
WITHOUT_TIMED=3Dy
WITHOUT_WIRELESS=3Dy
WITHOUT_WPA_SUPPLICANT_EAPOL=3Dy
WITHOUT_ZFS=3Dy

No WITH_META_MODE in /etc/src-env.conf

Matteo


--Apple-Mail=_BE2A8B7D-9923-40C1-9C5C-49BEA7A75C56
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJYodZ5AAoJEJ/Xw+PLA1Gf/zMQAIMcpMprbE5182dBEQICPfJT
Q/doZ5/D/Y+zn7WT8gWOExE9ZbkVHte59dA5/fbA45O6Y9CcrpiKh0OuRepP/AeI
L2Tkp9TyUsOwxm7JEkm0JVTnRdeO6p26WTNWxLy1ucavTQPKlSrY7n3+RpHNj3XS
z3/Fj4qj7hm3Rn1lH56+g5khUXVIaXhm10wDba/5ytBWhI4DQSGmZT9QS5PbzP3+
OgLtAilN/Qd9x2XytcCi7dEz8vByg3p5Fu+M9XYKO7Jx9Hc5E+VM7C0IksjSi26Y
jZjE1cj7x2bU8q7h2S8ci9KE+KtpSBSAccGu9F195oHC6chMi4lBLXPGradcE4Y3
ks+0QwDgrhzRMz0PnixrjvUazyf+hXTZiGoFDYraEmq+hURIEZSrtv9kjy9jGiNA
bP9G8M6y3hBpzzIDNWNKQiUoe2SJWkpmF6CslZFFXreTbRcToSdsrYZq+GqzHM0d
pYlYO/mLYYNfwp5B60BLPhsLRiLstSlNrqmK6wijG1UBeupZPrgUCHo9E/XJ9khe
VJbOiXEHQNfupz5bzfNcb40Ys3h6v+7r8NsTdKvaUd2Fu3DrTiHhF/tUNmHgzInW
+z117VS9ool1E4/+sgISL/4RzSX4D7dGVYvlrk2TRtGLd3MLJj1E0g5cTxJBHJi/
ju//vfmLrdlq4/jhbDsW
=GLu4
-----END PGP SIGNATURE-----

--Apple-Mail=_BE2A8B7D-9923-40C1-9C5C-49BEA7A75C56--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?065D64EE-D742-4E09-A3C0-658FE7020DC6>