pkgsrc-Users archive

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

misc/libreoffice fails to build

With up-to-date pkgsrc (including recend updates to libvisio and libcdr) I am unable to build libreoffice. There are hundreds of error messages in the log file, starting with

[build CXX] sal/osl/unx/file_error_transl.cxx
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice- warning: "ETIME" redefined
 #   define  ETIME ETIMEDOUT

In file included from /usr/include/errno.h:43:0,
                 from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-,
                 from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-
/usr/include/sys/errno.h:165:0: note: this is the location of the previous definition
 #define ETIME  92  /* STREAM ioctl timeout */

[build CXX] sal/osl/unx/file_misc.cxx
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-
x:155:0: warning: "ETIME" redefined
 #   define  ETIME ETIMEDOUT


And then a whole lot of BOOST-related messages:

/tmp/pkgs/misc/libreoffice/work.x86_64/.buildlink/include/boost/type_traits/is_nothrow_move_constructible.hpp:30:96: warning: "BOOST_GCC_VERSION_WORKAROUND_GUARD" is not defined [-Wundef]

/tmp/pkgs/misc/libreoffice/work.x86_64/.buildlink/include/boost/config/workaround.hpp:244:10: note: in definition of macro 'BOOST_WORKAROUND'
        ((symbol ## _WORKAROUND_GUARD + 0 == 0) &&     \

Followed by some regex-related issues?

/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice- In function 'bool {anonymous}::match(const rtl::OUString&, const rtl::OUString&)':
onfig.cxx:122:5: error: 'RegexMatcher' was not declared in this scope
     RegexMatcher aMatcher(sIcuPattern, sIcuInput, 0, nIcuError);
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice- note: suggested alternative:
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-
/tmp/pkgs/misc/libreoffice/work.x86_64/.buildlink/include/unicode/regex.h:664:18: note:   'icu_61::RegexMatcher'
 class U_I18N_API RegexMatcher U_FINAL : public UObject {

(I can provide the entire build log if needed - it's about 260kb)

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |

Home | Main Index | Thread Index | Old Index