pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/libreoffice fails to build
With updated pkgsrc as of 2021-08-29 at 00:41:43 UTC, and with all
dependencies having been rebuilt in an initially-empty sandbox (as
created by sysutils/mksandbox), I am getting the following build
error for misc/libreoffice. The host/target is NetBSD 9.99.87 on
amd64.
(raw log is attached)
...
[build CXX] sw/source/uibase/dochdl/gloshdl.cxx
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx: In member function 'com::sun::star::uno::Sequence<rtl::OUString> SwContentViewConfig::GetPropertyNames() const':
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:114:24: error: 'strcmp' is not a member of 'std'; did you mean 'strcmp'?
114 | static_assert(std::strcmp("Update/Link", aPropNames[g_UpdateLinkIndex]) == 0);
| ^~~~~~
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/string.hxx:36,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/ustring.hxx:43,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.h:30,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.hxx:35,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/o3tl/any.hxx:21,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:23:
/usr/include/string.h:56:6: note: 'strcmp' declared here
56 | int strcmp(const char *, const char *);
| ^~~~~~
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:115:24: error: 'strcmp' is not a member of 'std'; did you mean 'strcmp'?
115 | static_assert(std::strcmp("Display/DefaultAnchor", aPropNames[g_DefaultAnchor]) == 0);
| ^~~~~~
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/string.hxx:36,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/ustring.hxx:43,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.h:30,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.hxx:35,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/o3tl/any.hxx:21,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:23:
/usr/include/string.h:56:6: note: 'strcmp' declared here
56 | int strcmp(const char *, const char *);
| ^~~~~~
gmake[1]: *** [/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/solenv/gbuild/LinkTarget.mk:301: /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/workdir/CxxObject/sw/source/uibase/config/usrpref.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:287: build] Error 2
*** Error code 2
Stop.
make[1]: stopped in /build/pkgsrc/misc/libreoffice
*** Error code 1
Stop.
make: stopped in /build/pkgsrc/misc/libreoffice
+--------------------+--------------------------+----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
| | | pgoyette99%gmail.com@localhost |
+--------------------+--------------------------+----------------------+
[build CXX] sw/source/uibase/dochdl/gloshdl.cxx
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx: In member function 'com::sun::star::uno::Sequence<rtl::OUString> SwContentViewConfig::GetPropertyNames() const':
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:114:24: error: 'strcmp' is not a member of 'std'; did you mean 'strcmp'?
114 | static_assert(std::strcmp("Update/Link", aPropNames[g_UpdateLinkIndex]) == 0);
| ^~~~~~
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/string.hxx:36,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/ustring.hxx:43,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.h:30,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.hxx:35,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/o3tl/any.hxx:21,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:23:
/usr/include/string.h:56:6: note: 'strcmp' declared here
56 | int strcmp(const char *, const char *);
| ^~~~~~
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:115:24: error: 'strcmp' is not a member of 'std'; did you mean 'strcmp'?
115 | static_assert(std::strcmp("Display/DefaultAnchor", aPropNames[g_DefaultAnchor]) == 0);
| ^~~~~~
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/string.hxx:36,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/rtl/ustring.hxx:43,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.h:30,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/com/sun/star/uno/Any.hxx:35,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/include/o3tl/any.hxx:21,
from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/sw/source/uibase/config/usrpref.cxx:23:
/usr/include/string.h:56:6: note: 'strcmp' declared here
56 | int strcmp(const char *, const char *);
| ^~~~~~
gmake[1]: *** [/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/solenv/gbuild/LinkTarget.mk:301: /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-7.2.0.4/workdir/CxxObject/sw/source/uibase/config/usrpref.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:287: build] Error 2
*** Error code 2
Stop.
make[1]: stopped in /build/pkgsrc/misc/libreoffice
*** Error code 1
Stop.
make: stopped in /build/pkgsrc/misc/libreoffice
Home |
Main Index |
Thread Index |
Old Index