Bug 214463 - editors/libreoffice: Fails to build -- No type named 'string_type' in 'svl::matrix_trait'
Summary: editors/libreoffice: Fails to build -- No type named 'string_type' in 'svl::m...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2016-11-13 01:24 UTC by Walter Schwarzenfeld
Modified: 2016-11-13 09:51 UTC (History)
3 users (show)

See Also:
koobs: maintainer-feedback? (office)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Schwarzenfeld freebsd_triage 2016-11-13 01:24:25 UTC
Fails on 10.3-amd64 with:

[CXX] svl/source/misc/ownlist.cxx
[CXX] svl/source/misc/sharecontrolfile.cxx
In file included from /ram/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/svl/source/misc/gridprinter.cxx:16:
/usr/local/include/mdds/multi_type_matrix.hpp:76:36: error: no type named 'string_type' in 'svl::matrix_trait'
    typedef typename string_trait::string_type string_type;
            ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/ram/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/svl/source/misc/gridprinter.cxx:53:20: note: in instantiation of template class 'mdds::multi_type_matrix<svl::matrix_trait>' requested here
    MatrixImplType maMatrix;
                   ^
1 error generated.
Comment 1 Rainer Hurling freebsd_committer 2016-11-13 08:39:57 UTC
This seems to be a problem with the existence of devel/mdds0 and devel/mdds.

Removing them before building editor/libreoffice works fine for me. Note, that devel/mdds will be installed again.

Probably a candidate for /usr/ports/UPDATING?
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2016-11-13 08:43:44 UTC
@Walter Can you include a full build log as an attachment please, ideally with verbose compile lines
Comment 3 Walter Schwarzenfeld freebsd_triage 2016-11-13 09:01:37 UTC
It makes not much sense to attach a build.log from the port. It shows not more, than I wrote.
(And I does not build libreoffice with poudriere, it will take hours I think).

As Rainer Hurling wrote: I removed mdds and mdds0. In the moment it compiles. It passed the point
where it was failed.
Comment 4 Baptiste Daroussin freebsd_committer 2016-11-13 09:46:31 UTC
It happens only when mdds0 is installed, I haven't find a mechanism to prevent libreoffice from not getting mdds0 headers before the mdds headers

pkg delete mdds0 and rebuild libreoffice should work
Comment 5 Baptiste Daroussin freebsd_committer 2016-11-13 09:51:26 UTC
I have added an UPDATING entry