From owner-freebsd-ports-bugs@freebsd.org Fri Oct 13 18:41:11 2017 Return-Path: Delivered-To: freebsd-ports-bugs@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 67C13E29E13 for ; Fri, 13 Oct 2017 18:41:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 53898708ED for ; Fri, 13 Oct 2017 18:41:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9DIfBMI084389 for ; Fri, 13 Oct 2017 18:41:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222990] devel/codeblocks need to move math.h above local header files on base/head r324443 Date: Fri, 13 Oct 2017 18:41:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2017 18:41:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222990 Bug ID: 222990 Summary: devel/codeblocks need to move math.h above local header files on base/head r324443 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: lbartoletti@tuxfamily.org Flags: maintainer-feedback?(lbartoletti@tuxfamily.org) CC: lbartoletti@tuxfamily.org Created attachment 187147 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187147&action= =3Dedit Patch for src/sdk/scripting/squirrel/sqvm.cpp =3D=3D=3D> License GPLv3 LGPL3 accepted by the user =3D=3D=3D> codeblocks-16.01_8 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by codeblocks-16.01_8 for buildi= ng =3D=3D=3D> Extracting for codeblocks-16.01_8 =3D> SHA256 Checksum OK for codeblocks_16.01.tar.gz. =3D=3D=3D> Patching for codeblocks-16.01_8 =3D=3D=3D> Applying FreeBSD patches for codeblocks-16.01_8 =3D=3D=3D> codeblocks-16.01_8 depends on executable: zip - found =3D=3D=3D> codeblocks-16.01_8 depends on executable: autoconf-2.69 - found =3D=3D=3D> codeblocks-16.01_8 depends on executable: autoheader-2.69 - fo= und =3D=3D=3D> codeblocks-16.01_8 depends on executable: autoreconf-2.69 - fo= und =3D=3D=3D> codeblocks-16.01_8 depends on executable: aclocal-1.15 - found =3D=3D=3D> codeblocks-16.01_8 depends on executable: automake-1.15 - found =3D=3D=3D> codeblocks-16.01_8 depends on executable: libtoolize - found =3D=3D=3D> codeblocks-16.01_8 depends on executable: update-desktop-datab= ase - found =3D=3D=3D> codeblocks-16.01_8 depends on package: pkgconf>=3D1.3.0_1 - fo= und =3D=3D=3D> codeblocks-16.01_8 depends on executable: update-mime-database= - found =3D=3D=3D> codeblocks-16.01_8 depends on executable: gtk-update-icon-cach= e - found =3D=3D=3D> codeblocks-16.01_8 depends on file: /usr/local/libdata/pkgconf= ig/x11.pc - found =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libboost_system.= so - found (/usr/local/lib/libboost_system.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libfontconfig.so= - found (/usr/local/lib/libfontconfig.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libfreetype.so -= found (/usr/local/lib/libfreetype.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libhunspell-1.6.= so - found (/usr/local/lib/libhunspell-1.6.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libfam.so.0 - fo= und (/usr/local/lib/libfam.so.0) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libintl.so - fou= nd (/usr/local/lib/libintl.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libatk-1.0.so - = found (/usr/local/lib/libatk-1.0.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libcairo.so - fo= und (/usr/local/lib/libcairo.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libgdk_pixbuf-2.= 0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libglib-2.0.so -= found (/usr/local/lib/libglib-2.0.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libintl.so - fou= nd (/usr/local/lib/libintl.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libgtk-x11-2.0.s= o - found (/usr/local/lib/libgtk-x11-2.0.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libpango-1.0.so = - found (/usr/local/lib/libpango-1.0.so) =3D=3D=3D> codeblocks-16.01_8 depends on shared library: libwx_baseu-2.8.= so - found (/usr/local/lib/libwx_baseu-2.8.so) =3D=3D=3D> Configuring for codeblocks-16.01_8 ... =3D=3D=3D> Building for codeblocks-16.01_8 --- all-recursive --- Making all in src ... --- sqvm.lo --- depbase=3D`echo sqvm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -= I. -I../../../../src/include -I../../../../src/include/scripting/include=20 -I../../../../src/include/scripting/squirrel -isystem /usr/local/include -a= nsi -DTIXML_USE_STL -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe -fno-omit-frame-pointer -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wno-undefined-bool-conversion -isystem /usr/local/include -std=3Dc++11 -fPIC -DPIC -fexceptions -MT sqvm.lo -MD -= MP -MF $depbase.Tpo -c -o sqvm.lo sqvm.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/squirrel -isystem /usr/local/include -a= nsi -DTIXML_USE_STL -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe -fno-omit-frame-poi= nter -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wno-undefined-bool-conversion -isystem /usr/local/include -std=3Dc++11 -fP= IC -DPIC -fexceptions -MT sqvm.lo -MD -MP -MF .deps/sqvm.Tpo -c sqvm.cpp -fPIC -DPIC -o .libs/sqvm.o --- sqvm.lo --- In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:148:85: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:148:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();} ^ /usr/include/c++/v1/limits:149:85: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:149:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();} ^ /usr/include/c++/v1/limits:150:88: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXC= EPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:150:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXC= EPT {return type();} ^ /usr/include/c++/v1/limits:159:89: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEX= CEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:159:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEX= CEPT {return type();} ^ /usr/include/c++/v1/limits:160:93: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:160:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type();} ^ /usr/include/c++/v1/limits:172:90: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:172:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();} ^ /usr/include/c++/v1/limits:173:91: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:173:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type();} ^ /usr/include/c++/v1/limits:174:95: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:174:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type();} ^ /usr/include/c++/v1/limits:175:92: error: expected expression _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type();} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ ../../../../src/include/scripting/squirrel/sqobject.h:99:24: note: expanded from macro 'type' #define type(obj) ((obj)._type) ^ In file included from sqvm.cpp:5: In file included from /usr/include/c++/v1/math.h:310: /usr/include/c++/v1/limits:175:61: error: no return statement in constexpr function _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type();} ^ /usr/include/c++/v1/limits:206:53: error: member reference base type 'int' = is not a structure or union static _LIBCPP_CONSTEXPR const bool is_signed =3D type(-1) < type(0); ^~~~~~~~ ../../../../src/include/scripting/squirrel/sqobject.h:99:25: note: expanded from macro 'type' #define type(obj) ((obj)._type) ~~~~~^~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] --- sqtable.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/squirrel -isystem /usr/local/include -a= nsi -DTIXML_USE_STL -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe -fno-omit-frame-poi= nter -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wno-undefined-bool-conversion -isystem /usr/local/include -std=3Dc++11 -fP= IC -DPIC -fexceptions -MT sqtable.lo -MD -MP -MF .deps/sqtable.Tpo -c sqtable.= cpp=20 -fPIC -DPIC -o .libs/sqtable.o --- sqbaselib.lo --- depbase=3D`echo sqbaselib.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../../../../libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -= I. -I../../../../src/include -I../../../../src/include/scripting/include=20 -I../../../../src/include/scripting/squirrel -isystem /usr/local/include -a= nsi -DTIXML_USE_STL -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe -fno-omit-frame-pointer -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wno-undefined-bool-conversion -isystem /usr/local/include -std=3Dc++11 -fPIC -DPIC -fexceptions -MT sqbaselib.lo = -MD -MP -MF $depbase.Tpo -c -o sqbaselib.lo sqbaselib.cpp && mv -f $depbase.Tpo $depbase.Plo --- sqvm.lo --- 20 errors generated. *** [sqvm.lo] Error code 1 make[5]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src/sdk/scripting/squirrel --- sqbaselib.lo --- libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/squirrel -isystem /usr/local/include -a= nsi -DTIXML_USE_STL -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe -fno-omit-frame-poi= nter -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wno-undefined-bool-conversion -isystem /usr/local/include -std=3Dc++11 -fP= IC -DPIC -fexceptions -MT sqbaselib.lo -MD -MP -MF .deps/sqbaselib.Tpo -c sqbaselib.cpp -fPIC -DPIC -o .libs/sqbaselib.o 1 error make[5]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src/sdk/scripting/squirrel *** [all-recursive] Error code 1 make[4]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src/sdk/scripting 1 error make[4]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src/sdk/scripting *** [all-recursive] Error code 1 make[3]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src/sdk 1 error make[3]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src/sdk *** [all-recursive] Error code 1 make[2]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src 1 error make[2]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.releas= e/src *** [all-recursive] Error code 1 make[1]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.release 1 error make[1]: stopped in /usr/ports/workdirs/usr/ports/devel/codeblocks/work/codeblocks-16.01.release =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/devel/codeblocks Fixed by move #include above #include "sqpcheader.h". --=20 You are receiving this mail because: You are the assignee for the bug.=