Bug 182036

Summary: editors/libreoffice: /usr/include/c++/v1/memory:1616:18: error: no matching member function for call to 'construct' {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2013-09-12 12:50:03 UTC
Port editors/libreoffice fails to compile, even WITHOUT having CXXFLAGS=std=c++11 set anywhere.

This problem immediately arose after making

make delete-old-[files|libs]

in /usr/src.

[...]
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DPACKAGE=\"xmlsec1\" -I../include -I../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -O2 -pipe -O3 -march=native -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -MT app.lo -MD -MP -MF .deps/app.Tpo -c app.c  -fPIC -DPIC -o app.o
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -DPACKAGE=\"xmlsec1\" -I../include -I../include -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -O2 -pipe -O3 -march=native -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c  -fPIC -DPIC -o base64.o
/usr/ports/editors/libreoffice/work/libreoffice-4.0.5.2/sal/rtl/source/bootstrap.cxx:694:61: warning: unused variable 'insertion' [-Wunused-variable]
            ::std::pair< bootstrap_map::t::iterator, bool > insertion(
                                                            ^
base64.c:164:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                    sizeof(xmlSecBase64Ctx));
                    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.0.5.2/sal/rtl/source/bootstrap.cxx:22:
In file included from /usr/ports/editors/libreoffice/work/solver/unxfbsd.pro/inc/rtl/bootstrap.hxx:21:
In file included from /usr/ports/editors/libreoffice/work/solver/unxfbsd.pro/inc/rtl/ustring.hxx:26:
In file included from /usr/include/c++/v1/ostream:130:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:434:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:1616:18: error: no matching member function for call to 'construct'
            {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}

How-To-Repeat: try compiling port editors/libreoffice on most recent 10.0-CURRENT (try a libstdc++-free commit, i.e. r255479).
Comment 1 Edwin Groothuis freebsd_committer 2013-09-12 12:50:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jung-uk Kim freebsd_committer 2013-09-19 00:32:52 UTC
State Changed
From-To: open->closed

This problem should be with r327493 and r327589.