From owner-freebsd-ports@freebsd.org Mon Apr 10 16:31:23 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97943D3651F for ; Mon, 10 Apr 2017 16:31:23 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E4D0127 for ; Mon, 10 Apr 2017 16:31:23 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1cxc7z-0003ai-SX for freebsd-ports@freebsd.org; Mon, 10 Apr 2017 10:25:19 -0600 Date: Mon, 10 Apr 2017 10:25:19 -0600 From: The Doctor To: freebsd-ports@freebsd.org Subject: lang/gcc5 issue Message-ID: <20170410162519.GA13467@doctor.nl2k.ab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 16:31:23 -0000 All right, when I turn on all options, I am getting Configuring stage 2 in ./gcc In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/directives.c:21:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/directives-only.c:19:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/expr.c:19:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/mkdeps.c:23:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/files.c:23:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/errors.c:25:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/identifiers.c:25:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/line-map.c:22: : ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/macro.c:25:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/lex.c:22:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/charset.c:20:0: ./config.h:350:19: error: multiple types in one declaration #define ptrdiff_t int ^ ./config.h:350:19: error: declaration does not declare anything [-fpermissive] gmake[5]: *** [Makefile:224: mkdeps.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: *** [Makefile:224: errors.o] Error 1 gmake[5]: *** [Makefile:224: directives-only.o] Error 1 gmake[5]: *** [Makefile:224: identifiers.o] Error 1 configure: creating cache ./config.cache checking build system type... x86_64-portbld-freebsd11.0 checking host system type... gmake[5]: *** [Makefile:224: files.o] Error 1 x86_64-portbld-freebsd11.0 checking target system type... gmake[5]: *** [Makefile:224: line-map.o] Error 1 x86_64-portbld-freebsd11.0 checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no checking whether a default linker was specified... yes (/usr/local/bin/ld - GNU ld) checking whether a default assembler was specified... yes (/usr/local/bin/as - GNU as) checking for x86_64-portbld-freebsd11.0-gcc... /usr/ports/lang/gcc5/work/.build/./prev-gcc/xgcc -B/usr/ports/lang/gcc5/work/.build/./prev-gcc/ -B/usr/local/x86_64-portbld-freebsd11.0/bin/ -B/usr/local/x86_64-portbld-freebsd11.0/bin/ -B/usr/local/x86_64-portbld-freebsd11.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd11.0/include -isystem /usr/local/x86_64-portbld-freebsd11.0/sys-include gmake[5]: *** [Makefile:224: expr.o] Error 1 gmake[5]: *** [Makefile:224: directives.o] Error 1 checking for C compiler default output file name... gmake[5]: *** [Makefile:224: macro.o] Error 1 gmake[5]: *** [Makefile:224: lex.o] Error 1 a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... gmake[5]: *** [Makefile:224: charset.o] Error 1 gmake[5]: Leaving directory '/usr/ports/lang/gcc5/work/.build/libcpp' gmake[4]: *** [Makefile:7913: all-stage2-libcpp] Error 2 gmake[4]: *** Waiting for unfinished jobs.... yes What is causing this conflict? -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism God is dead! Yahweh lives! Jesus his only begotten Son is the Risen Saviour!!