Bug 187218 - [patch] editors/openoffice-4 build fails in bridges module on i386
Summary: [patch] editors/openoffice-4 build fails in bridges module on i386
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 08:10 UTC by Don Lewis
Modified: 2014-08-05 17:00 UTC (History)
0 users

See Also:


Attachments
file.diff (502 bytes, patch)
2014-03-03 08:10 UTC, Don Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer freebsd_triage 2014-03-03 08:10:00 UTC
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<const rtl::OUString, std::type_info*>, _T2 = _STL::pair<const rtl::OUString, std::type_info*>]':
/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<const rtl::OUString, std::type_info*>, _Key = rtl::OUString, _HF = rtl::OUStringHash, _ExK = _STL::_Select1st<_STL::pair<const rtl::OUString, std::type_info*> >, _EqK = _STL::equal_to<rtl::OUString>, _All = _STL::allocator<_STL::pair<const rtl::OUString, std::type_info*> >, _STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All>::_Node = _STL::_Hashtable_node<_STL::pair<const rtl::OUString, std::type_info*> >, _STL::hashtable<_Val, _Key, _HF, _ExK, _EqK, _All

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.
How-To-Repeat: 
Attempt to build for i386.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-03 08:10:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Don Lewis freebsd_committer freebsd_triage 2014-08-05 17:00:38 UTC
No longer relevant after upgrade to 4.1.0.