Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656366 - app-office/libreoffice-6.0.4.2 compile error in 10ntools/source/propmerge.cxx (workdir/CxxObject/i18npool/source/collator/gencoll_rule.o] Error 1)
Summary: app-office/libreoffice-6.0.4.2 compile error in 10ntools/source/propmerge.cxx...
Status: RESOLVED DUPLICATE of bug 651702
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-23 20:39 UTC by xdev52
Modified: 2018-05-26 05:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xdev52 2018-05-23 20:39:47 UTC
[CXX] l10ntools/source/propmerge.cxx
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx: In function ‘int sal_main_with_args(int, char**)’:
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:116:35: error: ‘RuleBasedCollator’ was not declared in this scope
     auto coll = o3tl::make_unique<RuleBasedCollator>(reinterpret_cast<const UChar *>(Obuf.getStr()), status);
                                   ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:116:35: note: suggested alternative:
In file included from /var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:32:0:
/usr/include/unicode/tblcoll.h:113:18: note:   ‘icu::RuleBasedCollator’
 class U_I18N_API RuleBasedCollator : public Collator {
                  ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:116:108: error: no matching function for call to ‘make_unique<<expression error> >(const sal_Unicode*, UErrorCode&)’
     auto coll = o3tl::make_unique<RuleBasedCollator>(reinterpret_cast<const UChar *>(Obuf.getStr()), status);
                                                                                                            ^
In file included from /var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:30:0:
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/include/o3tl/make_unique.hxx:27:1: note: candidate: template<class T, class ... Args> typename std::enable_if<(! std::is_array< <template-parameter-1-1> >::value), std::unique_ptr<_Tp> >::type o3tl::make_unique(Args&& ...)
 make_unique(Args&& ... args)
 ^~~~~~~~~~~
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/include/o3tl/make_unique.hxx:27:1: note:   template argument deduction/substitution failed:
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:116:108: error: template argument 1 is invalid
     auto coll = o3tl::make_unique<RuleBasedCollator>(reinterpret_cast<const UChar *>(Obuf.getStr()), status);
                                                                                                            ^
In file included from /var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:30:0:
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/include/o3tl/make_unique.hxx:41:1: note: candidate: template<class T> typename std::enable_if<std::is_array< <template-parameter-1-1> >::value, std::unique_ptr<_Tp> >::type o3tl::make_unique(std::size_t)
 make_unique(std::size_t n)
 ^~~~~~~~~~~
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/include/o3tl/make_unique.hxx:41:1: note:   template argument deduction/substitution failed:
/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/i18npool/source/collator/gencoll_rule.cxx:116:108: error: template argument 1 is invalid
     auto coll = o3tl::make_unique<RuleBasedCollator>(reinterpret_cast<const UChar *>(Obuf.getStr()), status);
                                                                                                            ^
make[1]: *** [/var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/solenv/gbuild/LinkTarget.mk:293: /var/tmp/portage/app-office/libreoffice-6.0.4.2/work/libreoffice-6.0.4.2/workdir/CxxObject/i18npool/source/collator/gencoll_rule.o] Error 1


Portage 2.3.38 (python 3.6.5-final-0, default/linux/amd64/17.0/no-multilib, gcc-7.3.0, glibc-2.26-r7, 4.14.39-gentoo x86_64)
=================================================================
System uname: Linux-4.14.39-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.4.1

Head commit of repository gentoo: 16e4471e4327d02cd19dd5001f5a76e71fec3686

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p2) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-05-23 20:45:04 UTC
Which version of dev-libs/icu?
It might be duplicate of bug #651702.
Comment 2 xdev52 2018-05-25 15:03:23 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #1)
> Which version of dev-libs/icu?
> It might be duplicate of bug #651702.

v61.1
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-05-26 05:18:19 UTC

*** This bug has been marked as a duplicate of bug 651702 ***