pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiling misc/libreoffice4 fails



On Tue, Apr 07, 2015 at 09:20:45AM -0500, John D. Baker wrote:
> On Mon, 6 Apr 2015, John D. Baker wrote:
> 
> > The following build is in progress:
> > 
> >   NetBSD/i386-7.0_BETA
> 
> The above build has completed successfully.
> 
> The following builds are pending dependency updates (pkg_rolling-replace):
> 
>   NetBSD/amd64-6.1_STABLE
>   NetBSD/amd64-7.99.9

That last one (NetBSD/amd64-7.99.9) has just failed for me.

Are these bad for the build? :
PKGSRC_FORTRAN=gfortran
PYTHON_VERSION_DEFAULT=33
?

Oddly, the error refers to c++-11:

[build CXX] drawinglayer/source/primitive2d/openglprimitive2d.cxx
...
In file included from /usr/include/g++/type_traits:35:0,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/o3tl/typed_flags_set.hxx:26,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/rsc/rsc-vcl-shared-types.hxx:24,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/vclenum.hxx:23,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/font.hxx:29,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/outdev.hxx:31,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/virdev.hxx:25,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx:36:
/usr/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
In file included from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/rsc/rsc-vcl-shared-types.hxx:24:0,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/vclenum.hxx:23,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/font.hxx:29,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/outdev.hxx:31,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/vcl/virdev.hxx:25,
                 from /usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx:36:
/usr/obj/pkgsrc/misc/libreoffice4/work.x86_64/libreoffice-4.4.2.2/include/o3tl/typed_flags_set.hxx:54:5: warning: identifier 'static_assert' is a keyword in C++11 [-Wc++0x-compat]
     static_assert(
     ^



Home | Main Index | Thread Index | Old Index