From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 3 08:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D39B4B43 for ; Mon, 3 Mar 2014 08:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A835A856 for ; Mon, 3 Mar 2014 08:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s238A0wZ050744 for ; Mon, 3 Mar 2014 08:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s238A0Tk050743; Mon, 3 Mar 2014 08:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 3 Mar 2014 08:10:00 GMT Resent-Message-Id: <201403030810.s238A0Tk050743@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Don Lewis Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 903D7AD8 for ; Mon, 3 Mar 2014 08:02:29 +0000 (UTC) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4BBC8826 for ; Mon, 3 Mar 2014 08:02:28 +0000 (UTC) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id s2382MSV001615 for ; Mon, 3 Mar 2014 00:02:22 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from mousie.catspoiler.org (localhost.catspoiler.org [127.0.0.1]) by mousie.catspoiler.org (8.14.7/8.14.7) with ESMTP id s2382MNk004058 for ; Mon, 3 Mar 2014 00:02:22 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: (from dl@localhost) by mousie.catspoiler.org (8.14.7/8.14.7/Submit) id s2382Mbd004057; Mon, 3 Mar 2014 00:02:22 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201403030802.s2382Mbd004057@mousie.catspoiler.org> Date: Mon, 3 Mar 2014 00:02:22 -0800 (PST) From: Don Lewis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/187218: [patch] editors/openoffice-4 build fails in bridges module on i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Don Lewis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 08:10:00 -0000 >Number: 187218 >Category: ports >Synopsis: [patch] editors/openoffice-4 build fails in bridges module on i386 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 03 08:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Don Lewis >Release: FreeBSD 11.0-CURRENT i386 >Organization: FreeBSD Project >Environment: System: FreeBSD scratch.catspoiler.org 11.0-CURRENT FreeBSD 11.0-CURRENT #71 r262666M: Sat Mar 1 16:42:54 PST 2014 dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERICSMB Ports tree revision 346717. All ports rebuilt at ports tree revision r345674, and openoffice failed the same way. >Description: Bulding editors/openoffice-4 fails with this at the end of the log: 1 module(s): bridges need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/bridges/source/cpp_uno/gcc3_freebsd_intel When you have fixed the errors in that module you can resume the build by running: build --from bridges *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/openoffice-4 *** Error code 1 Stop. make: stopped in /usr/ports/editors/openoffice-4 Digging back through the log file, the problem appears to be here: g++46 -o nsTextEditRulesBidi.o -c -I../../../dist/include/system_wrappers -include ../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD11\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/dom -I../../../dist/include/locale -I../../../dist/include/layout -I../../../dist/include/content -I../../../dist/include/txmgr -I../../../dist/include/txtsvc -I../../../dist/include/htmlparser -I../../../dist/include/necko -I../../../dist/include/pref -I../../../dist/include/lwbrk -I../../../dist/include/gfx -I../../../dist/include/widget -I../../../dist/include/unicharutil -I../../../dist/include/editor -I../../../dist/include -I../../../dist/include/nspr -I../../../dist/sdk/include -I../../../../editor/libeditor/base -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-l! ong -pedantic -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsTextEditRulesBidi.pp ../../../../editor/libeditor/text/nsTextEditRulesBidi.cpp In file included from /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_alloc.h:68:0, from /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_vector.h:40, from /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_hashtable.h:34, from /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_hash_map.h:34, from /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/hash_map:27, from /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx:30: /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_construct.h: In function 'void _STL::_Construct(_T1*, const _T2&) [with _T1 = _STL::pair, _T2 = _STL::pair]': /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_hashtable.h:566:7: instantiated from '_STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All>::_Node* _STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All>::_M_new_node(const value_type&) [with _Val = _STL::pair, _Key = rtl::OUString, _HF = rtl::OUStringHash, _ExK = _STL::_Select1st<_STL::pair >, _EqK = _STL::equal_to, _All = _STL::allocator<_STL::pair >, _STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All>::_Node = _STL::_Hashtable_node<_STL::pair >, _STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All >How-To-Repeat: Attempt to build for i386. >Fix: The following patch file tweaks the includes in the i386 version of except.cxx so they match the amd64 version and allows the build to succeed. --- bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx.orig 2013-08-13 04:42:39.000000000 -0700 +++ bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx 2014-03-02 11:46:11.000000000 -0800 @@ -24,7 +24,12 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_bridges.hxx" +#if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) +#include +#endif + #include +#include #include #include #include >Release-Note: >Audit-Trail: >Unformatted: >::value_type = _STL::pair]' /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_hashtable.c:130:35: instantiated from '_STL::pair<_STL::_Ht_iterator<_Val, _STL::_Nonconst_traits<_Val>, _Key, _HF, _ExK, _EqK, _All>, bool> _STL::hashtab le<_Val, _Key, _HF, _ExK, _EqK, _All>::insert_unique_noresize(const value_type&) [with _Val = _STL::pair, _Key = rtl::OUString, _HF = rtl::OUStringHash, _ExK = _STL::_Select1st<_STL::pair >, _EqK = _STL::equal_to, _All = _STL::allocator<_STL::pair >, _STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All>::value_type = _STL::pair]' /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_hashtable.h:366:40: instantiated from '_STL::pair<_STL::_Ht_iterator<_Val, _STL::_Nonconst_traits<_Val>, _Key, _HF, _ExK, _EqK, _All>, bool> _STL::hashtab le<_Val, _Key, _HF, _ExK, _EqK, _All>::insert_unique(const value_type&) [with _Val = _STL::pair, _Key = rtl::OUString, _HF = rtl::OUStringHash, _ExK = _STL::_Select1st<_STL::pair >, _EqK = _STL::equal_to, _All = _STL::allocator<_STL::pair >, _STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All>::value_type = _STL::pair]' /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_hash_map.h:166:39: instantiated from '_STL::pair, _Key, _HashFcn, _STL::_Select1st<_STL::pair >, _EqualKey, _Alloc>::iterator, bool> _STL::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::insert(const value_type&) [with _Key = rtl::OUString, _Tp = std::type_info*, _HashFcn = rtl::OUStringHash, _EqualKey = _STL::equal_to, _Alloc = _STL::allocator<_STL::pair >, typename _STL::hashtable<_STL::pair, _Key, _HashFcn, _STL::_Select1st<_STL::pair >, _EqualKey, _Alloc>::iterator = _STL::_Ht_iterator<_STL::pa ir, _STL::_Nonconst_traits<_STL::pair >, rtl::OUString, rtl::OUStringHash, _STL::_Select1st<_STL::pair >, _STL::e! qual_to, _STL::allocator<_STL::pair > >, _STL::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::value_type = _STL::pair]' /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx:165:73: instantiated from here /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_construct.h:85:5: error: no matching function for call to 'operator new(unsigned int, _STL::pair*&)' /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/inc/stl/stl/_construct.h:85:5: note: candidate is: :0:0: note: void* operator new(unsigned int) :0:0: note: candidate expects 1 argument, 2 provided dmake: Error code 1, while making '../../../unxfbsdi.pro/slo/except.obj'