Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886129 - app-office/libreoffice-7.3.7.2: /usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:90:56: error: static assertion failed: result type must be constructible from input type
Summary: app-office/libreoffice-7.3.7.2: /usr/lib/gcc/loongarch64-unknown-linux-gnu/13...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Loong Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2022-12-15 11:40 UTC by HougeLangley
Modified: 2022-12-17 17:35 UTC (History)
1 user (show)

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


Attachments
build log (libreoffice-full-build-log.txt.xz,199.96 KB, application/x-xz)
2022-12-15 11:42 UTC, HougeLangley
Details
emerge --info (loongarch-build-emerge-info.txt,6.58 KB, text/plain)
2022-12-15 11:43 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2022-12-15 11:40:02 UTC
S=/var/tmp/portage/app-office/libreoffice-7.3.7.2/work/libreoffice-7.3.7.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/comphelper/source/misc/ $W/Dep/CxxObject/comphelper/source/misc/ && cd /var/tmp/portage/app-office/libreoffice-7.3.7.2/work/libreoffice-7.3.7.2 &&   	  loongarch64-unknown-linux-gnu-g++ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DLOONGARCH64 -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -D_PTHREADS -D_REENTRANT  -DCOMPHELPER_DLLIMPLEMENTATION  -DSYSTEM_ZLIB -DZLIB_CONST  -DSYSTEM_NSS  -DSYSTEM_NSS   -fvisibility=hidden    -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros  -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -fstack-protector-strong -fdiagnostics-color=always  -Wdeprecated-copy-dtor -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 -Wunused-const-variable=1 -Wno-cast-function-type -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++17 -pthread  -O2 -pipe  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs    -DLIBO_INTERNAL_ONLY  -c $S/comphelper/source/misc/officerestartmanager.cxx -o $W/CxxObject/comphelper/source/misc/officerestartmanager.o  -I$S/include   -I$S/config_host  -I$W/CustomTarget/officecfg/registry    -I/usr/include/gpgme++  -I/usr/include     -isystem /usr/include/nss -isystem /usr/include/nspr      -isystem /usr/include/nss -isystem /usr/include/nspr   -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal   
[0m[37;40m[[0m[32;40mCXX[0m[37;40m][0m comphelper/source/misc/traceevent.cxx
In file included from [01m[K/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/memory:69[m[K,
                 from [01m[K/var/tmp/portage/app-office/libreoffice-7.3.7.2/work/libreoffice-7.3.7.2/include/rtl/stringconcat.hxx:21[m[K,
                 from [01m[K/var/tmp/portage/app-office/libreoffice-7.3.7.2/work/libreoffice-7.3.7.2/include/rtl/string.hxx:49[m[K,
                 from [01m[K/var/tmp/portage/app-office/libreoffice-7.3.7.2/work/libreoffice-7.3.7.2/include/rtl/ustring.hxx:43[m[K,
                 from [01m[K/var/tmp/portage/app-office/libreoffice-7.3.7.2/work/libreoffice-7.3.7.2/comphelper/source/misc/backupfilehelper.cxx:11[m[K:
/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h: In instantiation of ‘[01m[Kconstexpr bool std::[01;32m[K__check_constructible[m[K() [35m[K[with _ValueType = rtl::OUString; _Tp = const char* const&][m[K[m[K’:
[01m[K/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:182:4:[m[K   required from ‘[01m[K_ForwardIterator std::[01;32m[Kuninitialized_copy[m[K(_InputIterator, _InputIterator, _ForwardIterator) [35m[K[with _InputIterator = const char* const*; _ForwardIterator = rtl::OUString*][m[K[m[K’
[01m[K/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:373:37:[m[K   required from ‘[01m[K_ForwardIterator std::[01;32m[K__uninitialized_copy_a[m[K(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [35m[K[with _InputIterator = const char* const*; _ForwardIterator = rtl::OUString*; _Tp = rtl::OUString][m[K[m[K’
[01m[K/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_vector.h:1690:33:[m[K   required from ‘[01m[Kvoid std::vector<_Tp, _Alloc>::[01;32m[K_M_range_initialize[m[K(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [35m[K[with _ForwardIterator = const char* const*; _Tp = rtl::OUString; _Alloc = std::allocator<rtl::OUString>][m[K[m[K’
[01m[K/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_vector.h:706:23:[m[K   required from ‘[01m[Kstd::vector<_Tp, _Alloc>::[01;32m[Kvector[m[K(_InputIterator, _InputIterator, const allocator_type&) [35m[K[with _InputIterator = const char* const*; <template-parameter-2-2> = void; _Tp = rtl::OUString; _Alloc = std::allocator<rtl::OUString>; allocator_type = std::allocator<rtl::OUString>][m[K[m[K’
[01m[K/var/tmp/portage/app-office/libreoffice-7.3.7.2/work/libreoffice-7.3.7.2/comphelper/source/misc/backupfilehelper.cxx:1855:9:[m[K   required from here
[01m[K/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:90:56:[m[K [01;31m[Kerror: [m[Kstatic assertion failed: result type must be constructible from input type
   90 |       static_assert(is_constructible<_ValueType, _Tp>::[01;31m[Kvalue[m[K,
      |                                                        [01;31m[K^~~~~[m[K
[01m[K/usr/lib/gcc/loongarch64-unknown-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:90:56:[m[K [01;36m[Knote: [m[K‘[01m[Kstd::integral_constant<bool, false>::value[m[K’ evaluates to false

Reproducible: Always
Comment 1 HougeLangley 2022-12-15 11:42:07 UTC
Created attachment 842871 [details]
build log
Comment 2 HougeLangley 2022-12-15 11:43:41 UTC
Created attachment 842873 [details]
emerge --info
Comment 3 HougeLangley 2022-12-17 17:35:42 UTC
I upgrade my gcc-13.9999 to 20221215 rebuild libreoffice-7.3.7.2, no error reported and build success.