Has anyone managed to build libreoffice-6.3.0.4 ?

I'm getting what looks, to me, like a C++ error.  This is with
glibc-2.29.

ĸen

[build CXX] i18npool/source/calendar/calendarImpl.cxx
S=/scratch/working/libreoffice-6.3.0.4 && I=$S/instdir && W=$S/workdir &&  
mkdir -p $W/CxxObject/i18npool/source/calendar/ 
$W/Dep/CxxObject/i18npool/source/calendar/ && cd 
/scratch/working/libreoffice-6.3.0.4 &&    g++ -DBOOST_ERROR_CODE_HEADER_ONLY 
-DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG 
-DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT 
-DU_USING_ICU_NAMESPACE=1   -fvisibility=hidden    -Wall -Wno-missing-braces 
-Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code 
-Wunused-macros -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe  
-Wno-maybe-uninitialized -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 
-Wunused-const-variable=1 -Wno-cast-function-type -fvisibility-inlines-hidden 
-fstack-protector-strong -fPIC -Wshadow -Woverloaded-virtual -std=gnu++2a 
-pthread   -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -O3 -march=native 
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -D_GLIBCXX_ASSERTIONS    
-DLIBO_INTERNAL_ONLY  -c $S/i18npool/source/calendar/calendarImpl.cxx -o 
$W/CxxObject/i18npool/source/calendar/calendarImpl.o -MMD -MT 
$W/CxxObject/i18npool/source/calendar/calendarImpl.o -MP -MF 
$W/Dep/CxxObject/i18npool/source/calendar/calendarImpl.d_ -I$S/include   
-I$S/config_host  -I$S/i18npool/inc  -I$W/UnoApiHeadersTarget/udkapi/normal 
-I$W/UnoApiHeadersTarget/offapi/normal -I/usr/include   && mv 
$W/Dep/CxxObject/i18npool/source/calendar/calendarImpl.d_ 
$W/Dep/CxxObject/i18npool/source/calendar/calendarImpl.d 
/scratch/working/libreoffice-6.3.0.4/i18npool/source/calendar/calendarImpl.cxx:131:1:
 error: reference to 'Calendar' is ambiguous
  131 | Calendar SAL_CALL
      | ^~~~~~~~
In file included from 
/scratch/working/libreoffice-6.3.0.4/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/i18n/XCalendar.hdl:6,
                 from 
/scratch/working/libreoffice-6.3.0.4/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/i18n/XExtendedCalendar.hdl:6,
                 from 
/scratch/working/libreoffice-6.3.0.4/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/i18n/XCalendar3.hdl:8,
                 from 
/scratch/working/libreoffice-6.3.0.4/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/i18n/XCalendar4.hdl:6,
                 from 
/scratch/working/libreoffice-6.3.0.4/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/i18n/XCalendar4.hpp:6,
                 from 
/scratch/working/libreoffice-6.3.0.4/i18npool/inc/calendarImpl.hxx:22,
                 from 
/scratch/working/libreoffice-6.3.0.4/i18npool/source/calendar/calendarImpl.cxx:20:
/scratch/working/libreoffice-6.3.0.4/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/i18n/Calendar.hdl:20:43:
 note: candidates are: 'struct com::sun::star::i18n::Calendar'
   20 | struct SAL_DLLPUBLIC_RTTI SAL_WARN_UNUSED Calendar {
      |                                           ^~~~~~~~
In file included from 
/scratch/working/libreoffice-6.3.0.4/i18npool/inc/calendar_gregorian.hxx:26,
                 from 
/scratch/working/libreoffice-6.3.0.4/i18npool/source/calendar/calendarImpl.cxx:21:
/usr/include/unicode/calendar.h:185:18: note:                 'class 
icu_64::Calendar'
  185 | class U_I18N_API Calendar : public UObject {
      |                  ^~~~~~~~
make[1]: *** 
[/scratch/working/libreoffice-6.3.0.4/solenv/gbuild/LinkTarget.mk:293: 
/scratch/working/libreoffice-6.3.0.4/workdir/CxxObject/i18npool/source/calendar/calendarImpl.o]
 Error 1
make[1]: Leaving directory '/scratch/working/libreoffice-6.3.0.4'
make[1]: *** Waiting for unfinished jobs....
-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to