NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.3k stars 14.27k forks source link

Build failure: libreoffice-fresh 24.8.2.1 #357387

Open rlad78 opened 4 days ago

rlad78 commented 4 days ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build libreoffice-fresh from nixpkgs-unstable

Build log

Build Log ``` ... [CUT] sw_layoutwriter [CUT] sw_layoutwriter2 [CUT] sw_layoutwriter3 [CUT] sw_mailmerge /nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin/bash: line 1: 274004 Aborted (core dumped) ( MAX_CONCURRENCY=4 MOZILLA_CERTIFICATE_FOLDER=dbm: SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1 SAL_USE_VCLPLUGIN=svp LIBO_LANG=C SAL_NON_APPLICATION_FONT_USE=abort LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs $W/LinkTarget/Executable/cppunittester $W/LinkTarget/CppunitTest/libtest_sw_layoutwriter3.so --headless "-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" "-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" "-env:UserInstallation=file://$W/CppunitTest/sw_layoutwriter3.test.user" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry xcsxcu:file://$W/unittest/registry-common xcsxcu:file://$W/unittest/registry-user-ui" "-env:UNO_TYPES=file://$I/program/types.rdb file://$I/program/types/offapi.rdb file://$I/program/types/oovbaapi.rdb" "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/Rdb/services.rdb" -env:URE_BIN_DIR=file://$I/program -env:URE_INTERNAL_LIB_DIR=file://$I/program -env:LO_LIB_DIR=file://$I/program -env:LO_JAVA_DIR=file://$I/program/classes --protector $W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector --protector $W/LinkTarget/Library/unobootstrapprotector.so unobootstrapprotector --protector $W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector "-env:CPPUNITTESTTARGET=$W/CppunitTest/sw_layoutwriter3.test" ) > $W/CppunitTest/sw_layoutwriter3.test.log 2>&1 [_RUN_____] (anonymous namespace)::testTdf152298::TestBody file:///build/libreoffice-24.8.2.1//sw/qa/extras/layout/data//tdf152298.docx: (anonymous namespace)::testTdf152298::TestBody finished in: 799ms [_RUN_____] (anonymous namespace)::TestTdf152142DoNotMirrorRtlDrawObjs::TestBody file:///build/libreoffice-24.8.2.1//sw/qa/extras/layout/data//tdf152142-donotmirror.fodt: (anonymous namespace)::TestTdf152142DoNotMirrorRtlDrawObjs::TestBody finished in: 91ms [_RUN_____] (anonymous namespace)::TestTdf152142::TestBody file:///build/libreoffice-24.8.2.1//sw/qa/extras/layout/data//tdf152142.fodt: (anonymous namespace)::TestTdf152142::TestBody finished in: 54ms [_RUN_____] (anonymous namespace)::TestTdf162314::TestBody file:///build/libreoffice-24.8.2.1//sw/qa/extras/layout/data//tdf162314.fodt: (anonymous namespace)::TestTdf162314::TestBody finished in: 86ms [_RUN_____] (anonymous namespace)::TestTdf157829RTL::TestBody (anonymous namespace)::TestTdf157829RTL::TestBody finished in: 0ms [_RUN_____] (anonymous namespace)::TestTdf157829LTR::TestBody (anonymous namespace)::TestTdf157829LTR::TestBody finished in: 0ms [_RUN_____] (anonymous namespace)::TestTdf146081::TestBody file:///build/libreoffice-24.8.2.1//sw/qa/extras/layout/data//tdf146081-prop-spacing.fodt: (anonymous namespace)::TestTdf146081::TestBody finished in: 77ms [_RUN_____] (anonymous namespace)::TestTdf56408AfterFieldCrash::TestBody (anonymous namespace)::TestTdf56408AfterFieldCrash::TestBody finished in: 0ms [_RUN_____] (anonymous namespace)::TestTdf56408NoUnderflow::TestBody file:///build/libreoffice-24.8.2.1//sw/qa/extras/layout/data//tdf56408-no-underflow.fodt: terminating test due to missing font: Noto Sans Hebrew Fatal exception: Signal 6 Stack: #0 /build/libreoffice-24.8.2.1/instdir/program/libuno_sal.so.3(_ZN3sal13backtrace_getEj+0x2c) [0x7ffff7f3ab7c] #1 /build/libreoffice-24.8.2.1/instdir/program/libuno_sal.so.3(+0x42a65) [0x7ffff7f45a65] #2 /build/libreoffice-24.8.2.1/instdir/program/libuno_sal.so.3(+0x42cc2) [0x7ffff7f45cc2] #3 /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libc.so.6(+0x40620) [0x7ffff7960620] #4 /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libc.so.6(+0x92a9c) [0x7ffff79b2a9c] #5 /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libc.so.6(gsignal+0x16) [0x7ffff7960576] #6 /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libc.so.6(abort+0xd7) [0x7ffff7948935] #7 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(+0x4c2a81) [0x7ffff42c2a81] #8 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(+0xab1814) [0x7ffff48b1814] #9 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(+0x9aea25) [0x7ffff47aea25] #10 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(+0x9b3e7c) [0x7ffff47b3e7c] #11 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(+0x9b43d2) [0x7ffff47b43d2] #12 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(_ZNK12OutputDevice11ImplNewFontEv+0x106) [0x7ffff44ae096] #13 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(_ZNK12OutputDevice13GetFontMetricEv+0x34) [0x7ffff44b0844] #14 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x9977f5) [0x7fffed3977f5] #15 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x9baf45) [0x7fffed3baf45] #16 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x9bb1b3) [0x7fffed3bb1b3] #17 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN10SwAttrIter18SeekAndChgAttrIterEN4o3tl10strong_intIi18Tag_TextFrameIndexEEP12OutputDevice+0xba) [0x7fffed301f0a] #18 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x938af2) [0x7fffed338af2] #19 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x912818) [0x7fffed312818] #20 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x913568) [0x7fffed313568] #21 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN11SwTextFrame10FormatLineER15SwTextFormatterb+0xa9) [0x7fffed2e5d89] #22 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN11SwTextFrame7Format_ER15SwTextFormatterR16SwTextFormatInfob+0x4fc) [0x7fffed2ea57c] #23 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN11SwTextFrame10FormatImplEP12OutputDeviceP13SwParaPortionRSt6vectorIP16SwAnchoredObjectSaIS6_EE+0x2b5) [0x7fffed2eb185] #24 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN11SwTextFrame6FormatEP12OutputDevicePK13SwBorderAttrs+0xb42) [0x7fffed2ec112] #25 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN14SwContentFrame7MakeAllEP12OutputDevice+0x631) [0x7fffed1d5361] #26 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN7SwFrame14OptPrepareMakeEv+0xfb) [0x7fffed1d365b] #27 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x815fa0) [0x7fffed215fa0] #28 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x81953c) [0x7fffed21953c] #29 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(+0x819be1) [0x7fffed219be1] #30 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN11SwViewShell13ImplEndActionEb+0x41b) [0x7fffed6101cb] #31 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN13SwCursorShell9EndActionEb+0xfe) [0x7fffecf278de] #32 /build/libreoffice-24.8.2.1/instdir/program/libswlo.so(_ZN6SwView16OuterResizePixelERK5PointRK4Size+0x3c2) [0x7fffed975e52] #33 /build/libreoffice-24.8.2.1/instdir/program/libsfxlo.so(+0x50a546) [0x7fffef90a546] #34 /build/libreoffice-24.8.2.1/instdir/program/libsfxlo.so(_ZN12SfxViewFrame6ResizeEb+0x107) [0x7fffef90b007] #35 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(+0x5414dc) [0x7ffff43414dc] #36 /build/libreoffice-24.8.2.1/instdir/program/libvcllo.so(_ZN3vcl6Window4ShowEb9ShowFlags+0xa4) [0x7ffff43c4784] #37 /build/libreoffice-24.8.2.1/instdir/program/libsfxlo.so(+0x4fe5cf) [0x7fffef8fe5cf] #38 /build/libreoffice-24.8.2.1/instdir/program/libsfxlo.so(_ZN17SfxBaseController11attachFrameERKN3com3sun4star3uno9ReferenceINS2_5frame6XFrameEEE+0x17b) [0x7fffef8ff69b] #39 /build/libreoffice-24.8.2.1/instdir/program/libsfxlo.so(+0x4e2f4b) [0x7fffef8e2f4b] #40 /build/libreoffice-24.8.2.1/instdir/program/libfwklo.so(+0x233805) [0x7fffeac33805] #41 /build/libreoffice-24.8.2.1/instdir/program/libfwklo.so(+0x23623a) [0x7fffeac3623a] #42 /build/libreoffice-24.8.2.1/instdir/program/libfwklo.so(+0x2368de) [0x7fffeac368de] #43 /build/libreoffice-24.8.2.1/instdir/program/libfwklo.so(+0x23706d) [0x7fffeac3706d] #44 /build/libreoffice-24.8.2.1/instdir/program/libfwklo.so(_ZN9framework7Desktop20loadComponentFromURLERKN3rtl8OUStringES4_iRKN3com3sun4star3uno8SequenceINS7_5beans13PropertyValueEEE+0x1a5) [0x7fffeac4a365] #45 /build/libreoffice-24.8.2.1/workdir/LinkTarget/CppunitTest/../Library/libunotest.so(_ZN7unotest10MacrosTest15loadFromDesktopERKN3rtl8OUStringES4_RKN3com3sun4star3uno8SequenceINS7_5beans13PropertyValueEEE+0x57e) [0x7fffeff9e0be] #46 /build/libreoffice-24.8.2.1/workdir/LinkTarget/CppunitTest/../Library/libsubsequenttest.so(_ZN10UnoApiTest14loadWithParamsERKN3rtl8OUStringERKN3com3sun4star3uno8SequenceINS6_5beans13PropertyValueEEE+0x76) [0x7fffef060176] #47 /build/libreoffice-24.8.2.1/workdir/LinkTarget/CppunitTest/../Library/libsubsequenttest.so(_ZN10UnoApiTest4loadERKN3rtl8OUStringEPKc+0x1b4) [0x7fffef061664] #48 /build/libreoffice-24.8.2.1/workdir/LinkTarget/CppunitTest/../Library/libswqahelper.so(_ZN15SwModelTestBase7loadURLERKN3rtl8OUStringEPKc+0x4d) [0x7fffefff396d] #49 /build/libreoffice-24.8.2.1/workdir/LinkTarget/CppunitTest/../Library/libswqahelper.so(_ZN15SwModelTestBase11createSwDocEPKcS1_+0x71) [0x7fffefff3fc1] #50 /build/libreoffice-24.8.2.1/workdir/LinkTarget/CppunitTest/libtest_sw_layoutwriter3.so(+0x51669) [0x7ffff0328669] #51 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZNK7CppUnit21TestCaseMethodFunctorclEv+0x22) [0x7ffff7f9be72] #52 /build/libreoffice-24.8.2.1/workdir/LinkTarget/Library/unoexceptionprotector.so(+0x26b1) [0x7ffff7ea26b1] #53 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit16DefaultProtector7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x31) [0x7ffff7f91891] #54 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit14ProtectorChain7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x3a3) [0x7ffff7f99123] #55 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit10TestResult7protectERKNS_7FunctorEPNS_4TestERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x78) [0x7ffff7fa30a8] #56 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit8TestCase3runEPNS_10TestResultE+0x122) [0x7ffff7f9bc12] #57 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0x43) [0x7ffff7f9c1c3] #58 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x37) [0x7ffff7f9c307] #59 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0x43) [0x7ffff7f9c1c3] #60 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x37) [0x7ffff7f9c307] #61 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit10TestResult7runTestEPNS_4TestE+0x22) [0x7ffff7fa2602] #62 /nix/store/lhhg625s4c4d1p3f4dsvq88ipfmv0jfm-cppunit-1.15.1/lib/libcppunit-1.15.so.1(_ZN7CppUnit10TestRunner3runERNS_10TestResultERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x3d) [0x7ffff7fa52cd] #63 /build/libreoffice-24.8.2.1/workdir/LinkTarget/Executable/cppunittester() [0x406824] #64 /build/libreoffice-24.8.2.1/workdir/LinkTarget/Executable/cppunittester() [0x407808] #65 /build/libreoffice-24.8.2.1/workdir/LinkTarget/Executable/cppunittester() [0x403e8b] #66 /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libc.so.6(+0x2a27e) [0x7ffff794a27e] #67 /nix/store/pacbfvpzqz2mksby36awvbcn051zcji3-glibc-2.40-36/lib/libc.so.6(__libc_start_main+0x89) [0x7ffff794a339] #68 /build/libreoffice-24.8.2.1/workdir/LinkTarget/Executable/cppunittester() [0x403ed5] No core file identified in directory /build/libreoffice-24.8.2.1/workdir/CppunitTest/sw_layoutwriter3.test.core To show backtraces for crashes during test execution, enable core files with: ulimit -c unlimited Error: a unit test failed, please do one of: make CppunitTest_sw_layoutwriter3 CPPUNITTRACE="gdb --args" # for interactive debugging on Linux make CppunitTest_sw_layoutwriter3 VALGRIND=memcheck # for memory checking make CppunitTest_sw_layoutwriter3 DEBUGCPPUNIT=TRUE # for exception catching You can limit the execution to just one particular test by: make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params... make[1]: *** [/build/libreoffice-24.8.2.1/solenv/gbuild/CppunitTest.mk:130: /build/libreoffice-24.8.2.1/workdir/CppunitTest/sw_layoutwriter3.test] Error 1 [CUT] sw_mailmerge2 [CUT] sw_globalfilter [CUT] sw_unowriter [CUT] sw_core_text [CUT] sw_core_doc [CUT] sw_core_docnode [CUT] sw_uibase_shells [CUT] sw_uibase_dochdl [CUT] sw_uibase_docvw [CUT] sw_uibase_frmdlg [CUT] sw_uibase_uno [CUT] sw_uibase_dialog [CUT] sw_uibase_wrtsh [CUT] sw_core_accessibilitycheck [CUT] sw_core_layout [CUT] sw_core_fields [CUT] sw_core_tox [CUT] sw_core_frmedt [CUT] sw_core_txtnode [CUT] sw_core_objectpositioning [CUT] sw_core_unocore [CUT] sw_core_crsr [CUT] sw_core_undo [CUT] sw_uibase_uiview [CUT] sw_core_draw [CUT] sw_core_edit [CUT] sw_uibase_fldui [CUT] sw_core_view [CUT] sw_core_attr [CUT] sw_core_header_footer [CUT] sw_filter_ww8 [CUT] sw_filter_html [CUT] sw_filter_xml [CUT] sw_filter_ascii [CUT] sw_core_theme [CUT] sw_pdf_test [CUT] sw_tiledrendering [CUT] sw_tiledrendering2 [SLC] unoxml [SLC] vcl [CUT] writerperfect_calc [CUT] writerperfect_draw [CUT] writerperfect_import [CUT] writerperfect_impress [CUT] writerperfect_writer [SLC] xmlsecurity [CHK] chart2 [CHK] canvas [CHK] configmgr [CHK] cppu [CUT] services [CUT] sc_ucalc_copypaste [CHK] sccomp [CHK] stoc [CHK] svgio [CHK] writerperfect [SLC] sc [CHK] postprocess [CHK] sc [CHK] libreoffice [SLC] writerperfect make[1]: Target 'slowcheck' not remade because of errors. make: *** [Makefile:294: build] Error 2 make: Target 'unitcheck' not remade because of errors. make: Target 'slowcheck' not remade because of errors. ```

Additional context

The important bit from the log would seem to be this:

file:///build/libreoffice-24.8.2.1//sw/qa/extras/layout/data//tdf56408-no-underflow.fodt:
terminating test due to missing font: Noto Sans Hebrew

Metadata

Notify maintainers

@raskin @K900


Note for maintainers: Please tag this issue in your PR.


Add a :+1: reaction to issues you find important.

K900 commented 4 days ago

https://github.com/NixOS/nixpkgs/pull/355735

K900 commented 4 days ago

https://github.com/NixOS/nixpkgs/pull/357555