On 12/11/11 00:50, Benjamin Kaduk wrote: > [-questions to bcc] > > On Sat, 10 Dec 2011, O. Hartmann wrote: > >> On 12/07/11 07:11, Steve Kargl wrote: >>> On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote: >>>> config.status: creating ada/Makefile >>>> config.status: creating auto-host.h >>>> config.status: executing default commands >>>> gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' >>>> gmake[1]: *** [stage1-bubble] Error 2 >>>> gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' >>>> gmake: *** [bootstrap-lean] Error 2 >>>> *** Error code 1 >>>> >>>> Stop in /usr/ports/lang/gcc46. >>>> *** Error code 1 >>>> >>>> Stop in /usr/ports/lang/gcc46. >>>> >>>> ===>>> make failed for lang/gcc46 >>>> ===>>> Aborting update >>>> >>> >>> See if setting DISABLE_MAKE_JOBSi helps. >>> >> >> This doesn't work, either. > > The end of the build log from that case should be more enlightening than > the one you originally posted, as it is more likely to actually contain > the actual error (which is not present in the snippet above). > >> >> In /etc/src.conf, I use WITH_ICONV=YES and _WITH_BSD_GREP=YES. Switching >> off WITH_ICONV seems to solve the problem on FreeBSD 10.0-CURRENT/amd64. >> >> I do not know whether OS versions below 10.0 do support the WITH_ICONV >> knob. >> >> This maybe is a hint to the problem. > > iconv was only added to base in > r219019 | gabor | 2011-02-24 19:04:39 -0500 (Thu, 24 Feb 2011) > so it will first appear in the imminent 9.0 release. > > Assuming that the error remains reproducible with an up-to-date tree, > the end of the build log from the DISABLE_MAKE_JOBS case would be useful > to see. I've added gabor as a cc, since he seems to be doing most of > the iconv work. > > -Ben Kaduk Following, you'll see the required output. This is the result on FreeBSD 10.-CURRENT/amd64, built with CLANG and in /etc/src.conf WITH_ICONV set. Also set is the requested knob DISABLE_MAKE_JOBS. Without /etc/src.conf setting of WITH_ICONV, lang/gcc46 build fine. Regards, Oliver P.S. The source tree is up to date and system/world has been built recently ago: FreeBSD 10.0-CURRENT #28 r228399 ===== configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depdir commands mkdir .deps gmake[3]: Entering directory `/usr/ports/lang/gcc46/work/build/libcpp' clang -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo .././../gcc-4.6-20111202/libcpp/charset.c .././../gcc-4.6-20111202/libcpp/charset.c:1371:1: error: conflicting types for 'cpp_interpret_string' cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count, ^ .././../gcc-4.6-20111202/libcpp/include/cpplib.h:742:13: note: previous declaration is here extern bool cpp_interpret_string (cpp_reader *, ^ .././../gcc-4.6-20111202/libcpp/charset.c:1452:1: error: conflicting types for 'cpp_interpret_string_notranslate' cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *from, ^ .././../gcc-4.6-20111202/libcpp/include/cpplib.h:745:13: note: previous declaration is here extern bool cpp_interpret_string_notranslate (cpp_reader *, ^ 2 errors generated. gmake[3]: *** [charset.o] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/libcpp' gmake[2]: *** [all-stage1-libcpp] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc46. *** Error code 1 Stop in /usr/ports/lang/gcc46. ===>>> make failed for lang/gcc46 ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> lang/gcc46
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC