• =?US-ASCII?Q?Re=3A_LibreOffice_bridges/smoket?= =?US-ASCII?Q?est_on_mip

    From =?ISO-8859-1?Q?Ren=E9_Engelhard?=@21:1/5 to All on Tue Jul 4 14:40:01 2023
    XPost: linux.debian.ports.powerpc

    ------0DVECTI2EYPVEW48T8NGTLIL6I4QM6
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Hi,

    Am 4. Juli 2023 13:29:48 MESZ schrieb Adrian Bunk <bunk@debian.org>:
    On Mon, Jul 03, 2023 at 09:31:29PM +0200, Rene Engelhard wrote:
    Hi,

    Am 25.06.23 um 13:37 schrieb Rene Engelhard:
    what about the
    following:
    - make all test failures fatal on a*64 (since upstream tests these), and >> > > - make smoketest failures fatal on all architectures (including ports) >>
    That was implemented (+ two more important tests) in experimental. See
    https://buildd.debian.org/status/package.php?p=libreoffice

    It does
    - bridgetest
    - smoketest
    - pyuno

    What fails for release archs astonishingly is only mips(64)el.

    It also failed on riscv64

    riscv64 as of now tests everything, see the comment in rules. It doesn't get the "already exists as release arch and keep it" bonus (yet).

    testtools and pyuno work but indeed, smoketest fails as it does for mips64el.

    (and powerpc), so that seems to be
    a criteria that catches the known-broken builds.

    Yup

    ...
    This test extension to be installed is a Java extension.
    So I am running a nojava build on eller now... I don't really like disabling >> Java since this opens Pandoras box but for mips64el we probably could do
    that.

    It would also hint at a MIPS problem in LibreOffice,

    Yeah, we at least know the 32bit (mipsel) is (and probably was for ages) completely broken.

    which might or might not be specific to Java.

    Yeah, just that it exhibits with a java extension. Probably should try with a dummy or a python one.

    AFAIK OpenJDK on MIPS does not have any known major issues.

    Mmh

    The Zero build of OpenJDK on MIPS is of course slow,
    but that's also true on armel where the build succeeded.

    Indeed.

    BTW: The MIPS-specific discussion should continue on debian-mips instead
    of debian-ports.

    What I also said already :)

    Regards

    René
    ------0DVECTI2EYPVEW48T8NGTLIL6I4QM6
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE html><html><body><div dir="auto">Hi,<br><br>Am 4. Juli 2023 13:29:48 MESZ schrieb Adrian Bunk &lt;bunk@debian.org&gt;:<br>&gt;On Mon, Jul 03, 2023 at 09:31:29PM +0200, Rene Engelhard wrote:<br>&gt;&gt; Hi,<br>&gt;&gt; <br>&gt;&gt; Am 25.06.23
    um 13:37 schrieb Rene Engelhard:<br>&gt;&gt; &gt; &gt; what about the<br>&gt;&gt; &gt; &gt; following:<br>&gt;&gt; &gt; &gt; - make all test failures fatal on a*64 (since upstream tests these), and<br>&gt;&gt; &gt; &gt; - make smoketest failures fatal on
    all architectures (including ports)<br>&gt;&gt; <br>&gt;&gt; That was implemented (+ two more important tests) in experimental. See<br>&gt;&gt; <a href="https://buildd.debian.org/status/package.php?p=libreoffice">https://buildd.debian.org/status/package.
    php?p=libreoffice</a><br>&gt;&gt; <br>&gt;&gt; It does<br>&gt;&gt; - bridgetest<br>&gt;&gt; - smoketest<br>&gt;&gt; - pyuno<br>&gt;&gt; <br>&gt;&gt; What fails for release archs astonishingly is only mips(64)el.<br>&gt;<br>&gt;It also failed on riscv64<
    <br>riscv64 as of now tests everything, see the comment in rules. It doesn't get the "already exists as release arch and keep it" bonus (yet).<br><br>testtools and pyuno work but indeed, smoketest fails as it does for mips64el.<br><br>&gt; (and
    powerpc), so that seems to be<br>&gt;a criteria that catches the known-broken builds.<br><br>Yup<br><br>&gt;&gt;...<br>&gt;&gt; This test extension to be installed is a Java extension.<br>&gt;&gt; So I am running a nojava build on eller now... I don't
    really like disabling<br>&gt;&gt; Java since this opens Pandoras box but for mips64el we probably could do<br>&gt;&gt; that.<br>&gt;<br>&gt;It would also hint at a MIPS problem in LibreOffice,<br><br>Yeah, we at least know the 32bit (mipsel) is (and
    probably was for ages) completely broken.<br><br>&gt;which might or might not be specific to Java.<br><br>Yeah, just that it exhibits with a java extension. Probably should try with a dummy or a python one.<br><br>&gt;AFAIK OpenJDK on MIPS does not have
    any known major issues.<br><br>Mmh <br><br>&gt;The Zero build of OpenJDK on MIPS is of course slow,<br>&gt;but that's also true on armel where the build succeeded.<br><br>Indeed.<br><br>&gt;BTW: The MIPS-specific discussion should continue on debian-mips
    instead<br>&gt;     of debian-ports. <br><br>What I also said already :)<br><br>Regards<br><br>René</div></body></html>
    ------0DVECTI2EYPVEW48T8NGTLIL6I4QM6--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Engelhard@21:1/5 to All on Wed Jul 5 00:20:01 2023
    Hi,

    Am 04.07.23 um 14:23 schrieb René Engelhard:
    ...
    This test extension to be installed is a Java extension.
    So I am running a nojava build on eller now... I don't really like disabling
    Java since this opens Pandoras box but for mips64el we probably could do
    that.

    It would also hint at a MIPS problem in LibreOffice,

    Yeah, we at least know the 32bit (mipsel) is (and probably was for ages) completely broken.

    which might or might not be specific to Java.

    Yeah, just that it exhibits with a java extension. Probably should try
    with a dummy or a python one.

    So

    - Java extension (said TestExtension.oxt used in the smoketest): fails
    - pure dictionary extension: works
    - python extension (hungarian grammarcheck - Python): fails
    - no C++ extension available to test on riscv64 ;-)

    Tested on riscv64 on the porterbox (and later also on eller with acual
    sids libreoffice). That means it's not just Java:

    rene@eller ~ % unopkg add -v dict-en-20230701_lo.oxt
    Copying: dict-en-20230701_lo.oxt

    unopkg done.


    rene@eller ~ % unopkg smoketest on mips(64)eladd -v lightproof-hu-1-6-4.oxt
    Copying: lightproof-hu-1-6-4.oxt

    ERROR: Exception occurred: An error occurred while enabling:
    Lightproof.py:
    com.sun.star.registry.CannotRegisterImplementationException "ImplementationRegistration::registerImplementation()
    InvalidRegistryException during registration (destination registry is read-only! cannot merge! at ./stoc/source/implementationregistration/mergekeys.cxx:160) at ./stoc/source/implementationregistration/implreg.cxx:1307" at ./desktop/source/deployment/registry/dp_backend.cxx:670

    Cause:
    (com.sun.star.registry.CannotRegisterImplementationException) { {
    Message = "ImplementationRegistration::registerImplementation() InvalidRegistryException during registration (destination registry is read-only! cannot merge! at ./stoc/source/implementationregistration/mergekeys.cxx:160) at ./stoc/source/implementationregistration/implreg.cxx:1307", Context = (com.sun.star.uno.XInterface) @0 } }

    ERROR: unopkg failed.

    rene@eller ~ % unopkg add -v TestExtension.oxt
    Copying: TestExtension.oxt

    ERROR: Exception occurred: An error occurred while enabling:
    TestExtension.jar:
    com.sun.star.registry.CannotRegisterImplementationException "ImplementationRegistration::registerImplementation()
    InvalidRegistryException during registration (destination registry is read-only! cannot merge! at ./stoc/source/implementationregistration/mergekeys.cxx:160) at ./stoc/source/implementationregistration/implreg.cxx:1307" at ./desktop/source/deployment/registry/dp_backend.cxx:670

    Cause:
    (com.sun.star.registry.CannotRegisterImplementationException) { {
    Message = "ImplementationRegistration::registerImplementation() InvalidRegistryException during registration (destination registry is read-only! cannot merge! at ./stoc/source/implementationregistration/mergekeys.cxx:160) at ./stoc/source/implementationregistration/implreg.cxx:1307", Context = (com.sun.star.uno.XInterface) @0 } }

    ERROR: unopkg failed.

    rene@eller ~ % unopkg list
    All deployed user extensions:

    Identifier: org.openoffice.comp.pyuno.lightproof.oxt.lightproof_hu
    Version: 1.6.4
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt
    is registered: unknown
    Media-Type: application/vnd.sun.star.package-bundle
    Description:
    bundled Packages: {
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/dialog/OptionsDialog.xcs
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-schema
    Description:

    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/dialog/OptionsDialog.xcu
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-data
    Description:

    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/Lightproof.py
    is registered: no
    ^^^^^^^^^^^^^^^^^
    Media-Type: application/vnd.sun.star.uno-component;type=Python
    Description:

    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/Linguistic.xcu
    is registered: no
    Media-Type: application/vnd.sun.star.configuration-data
    Description:

    }

    Identifier: org.openoffice.en.hunspell.dictionaries
    Version: 2023.07.01
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18886himjds.tmp_/dict-en-20230701_lo.oxt
    is registered: yes
    Media-Type: application/vnd.sun.star.package-bundle
    Description: English dictionaries for LibreOffice 4.0+.

    It includes:
    - en_AU (Australian) (updated: 2020-12-07)
    - en_CA (Canadian) (updated: 2020-12-07)
    - en_GB (British) (updated: 2023-07-01)
    - en_US (American) (updated: 2020-12-07)
    - en_ZA (South African) (updated: 2023-02-01)

    bundled Packages: {
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18886himjds.tmp_/dict-en-20230701_lo.oxt/dictionaries.xcu
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-data
    Description:

    }

    Identifier: org.libreoffice.smoketest.TestExtension
    Version: 1
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu20167hipz3e.tmp_/TestExtension.oxt
    is registered: no
    ^^^^^^^^^^^^^^^^^
    Media-Type: application/vnd.sun.star.package-bundle
    Description:
    bundled Packages: {
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu20167hipz3e.tmp_/TestExtension.oxt/TestExtension.jar
    is registered: no
    Media-Type: application/vnd.sun.star.uno-component;type=Java
    Description:

    }All deployed user extensions:

    Identifier: org.openoffice.comp.pyuno.lightproof.oxt.lightproof_hu
    Version: 1.6.4
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt
    is registered: unknown
    Media-Type: application/vnd.sun.star.package-bundle
    Description:
    bundled Packages: {
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/dialog/OptionsDialog.xcs
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-schema
    Description:

    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/dialog/OptionsDialog.xcu
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-data
    Description:

    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/Lightproof.py
    is registered: no
    Media-Type: application/vnd.sun.star.uno-component;type=Python
    Description:

    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18948himqz7.tmp_/lightproof-hu-1-6-4.oxt/Linguistic.xcu
    is registered: no
    Media-Type: application/vnd.sun.star.configuration-data
    Description:

    }

    Identifier: org.openoffice.en.hunspell.dictionaries
    Version: 2023.07.01
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18886himjds.tmp_/dict-en-20230701_lo.oxt
    is registered: yes
    Media-Type: application/vnd.sun.star.package-bundle
    Description: English dictionaries for LibreOffice 4.0+.

    It includes:
    - en_AU (Australian) (updated: 2020-12-07)
    - en_CA (Canadian) (updated: 2020-12-07)
    - en_GB (British) (updated: 2023-07-01)
    - en_US (American) (updated: 2020-12-07)
    - en_ZA (South African) (updated: 2023-02-01)

    bundled Packages: {
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu18886himjds.tmp_/dict-en-20230701_lo.oxt/dictionaries.xcu
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-data
    Description:

    }

    Identifier: org.libreoffice.smoketest.TestExtension
    Version: 1
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu20167hipz3e.tmp_/TestExtension.oxt
    is registered: no
    Media-Type: application/vnd.sun.star.package-bundle
    Description:
    bundled Packages: {
    URL: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu20167hipz3e.tmp_/TestExtension.oxt/TestExtension.jar
    is registered: no
    Media-Type: application/vnd.sun.star.uno-component;type=Java
    Description:

    }


    (I think this "destination registry is read-only" is just bogus.)

    So ignoring this test failure is a no-go either since
    libreoffice-lightproof-hu et al. (which is that lightproof-hu-1-6-4.oxt)
    is a thing in Debian, too.

    Regards

    René

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Engelhard@21:1/5 to All on Mon Jul 10 18:10:01 2023
    Hi,

    Am 04.07.23 um 23:56 schrieb Rene Engelhard:
    So

    - Java extension (said TestExtension.oxt used in the smoketest): fails
    - pure dictionary extension: works
    - python extension (hungarian grammarcheck - Python): fails
    - no C++ extension available to test on riscv64 ;-)

    Tested on riscv64 on the porterbox (and later also on eller with acual
    sids libreoffice). That means it's not just Java:

    [...]

    Did some more tests (including builds, but they don't get anywhere to
    report yet...)

    rene@eller ~ % dd-schroot-cmd -c sid_mips64el-dchroot-abefe46d-3e8a-402b-bd94-6fe01d92cdda apt-get
    install libreoffice-nlpsolver libreoffice-lightproof-hu
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    fonts-opensymbol libreoffice-base-core libreoffice-calc libreoffice-core
    python3-uno
    Suggested packages:
    libreoffice-base ocl-icd-libopencl1 | mesa-opencl-icd |
    beignet-opencl-icd
    Recommended packages:
    libpaper-utils gstreamer1.0-plugins-base gstreamer1.0-plugins-good
    gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav
    The following NEW packages will be installed:
    fonts-opensymbol libreoffice-base-core libreoffice-calc libreoffice-core
    libreoffice-lightproof-hu libreoffice-nlpsolver python3-uno
    0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
    Inst fonts-opensymbol (4:102.12+LibO7.4.5-3 Debian:unstable [all])
    Inst libreoffice-core (4:7.4.5-3 Debian:unstable [mips64el])
    Inst libreoffice-base-core (4:7.4.5-3 Debian:unstable [mips64el])
    Inst libreoffice-calc (4:7.4.5-3 Debian:unstable [mips64el])
    Inst python3-uno (4:7.4.5-3 Debian:unstable [mips64el])
    Inst libreoffice-lightproof-hu (1.6.2+1.6-3 Debian:unstable [all])
    Inst libreoffice-nlpsolver (4:0.9+LibO7.4.5-3 Debian:unstable [all])
    Conf fonts-opensymbol (4:102.12+LibO7.4.5-3 Debian:unstable [all])
    Conf libreoffice-core (4:7.4.5-3 Debian:unstable [mips64el])
    Conf libreoffice-base-core (4:7.4.5-3 Debian:unstable [mips64el])
    Conf libreoffice-calc (4:7.4.5-3 Debian:unstable [mips64el])
    Conf python3-uno (4:7.4.5-3 Debian:unstable [mips64el])
    Conf libreoffice-lightproof-hu (1.6.2+1.6-3 Debian:unstable [all])
    Conf libreoffice-nlpsolver (4:0.9+LibO7.4.5-3 Debian:unstable [all])
    Do it for real [Y/n]: y
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    fonts-opensymbol libreoffice-base-core libreoffice-calc libreoffice-core
    python3-uno
    Suggested packages:
    libreoffice-base ocl-icd-libopencl1 | mesa-opencl-icd |
    beignet-opencl-icd
    Recommended packages:
    libpaper-utils gstreamer1.0-plugins-base gstreamer1.0-plugins-good
    gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav
    The following NEW packages will be installed:
    fonts-opensymbol libreoffice-base-core libreoffice-calc libreoffice-core
    libreoffice-lightproof-hu libreoffice-nlpsolver python3-uno
    0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
    Need to get 36.2 MB of archives.
    After this operation, 214 MB of additional disk space will be used.
    Get:1 https://deb.debian.org/debian sid/main mips64el fonts-opensymbol
    all 4:102.12+LibO7.4.5-3 [113 kB]
    Get:2 https://deb.debian.org/debian sid/main mips64el libreoffice-core
    mips64el 4:7.4.5-3 [28.0 MB]
    Get:3 https://deb.debian.org/debian sid/main mips64el
    libreoffice-base-core mips64el 4:7.4.5-3 [673 kB]
    Get:4 https://deb.debian.org/debian sid/main mips64el libreoffice-calc
    mips64el 4:7.4.5-3 [6458 kB]
    Get:5 https://deb.debian.org/debian sid/main mips64el python3-uno
    mips64el 4:7.4.5-3 [139 kB]
    Get:6 https://deb.debian.org/debian sid/main mips64el
    libreoffice-lightproof-hu all 1.6.2+1.6-3 [31.0 kB]
    Get:7 https://deb.debian.org/debian sid/main mips64el
    libreoffice-nlpsolver all 4:0.9+LibO7.4.5-3 [712 kB]
    Fetched 36.2 MB in 5s (7975 kB/s)
    Download complete and in download only mode
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    fonts-opensymbol libreoffice-base-core libreoffice-calc libreoffice-core
    python3-uno
    Suggested packages:
    libreoffice-base ocl-icd-libopencl1 | mesa-opencl-icd |
    beignet-opencl-icd
    Recommended packages:
    libpaper-utils gstreamer1.0-plugins-base gstreamer1.0-plugins-good
    gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav
    The following NEW packages will be installed:
    fonts-opensymbol libreoffice-base-core libreoffice-calc libreoffice-core
    libreoffice-lightproof-hu libreoffice-nlpsolver python3-uno
    debconf: delaying package configuration, since apt-utils is not installed
    0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/36.2 MB of archives.
    After this operation, 214 MB of additional disk space will be used.
    Selecting previously unselected package fonts-opensymbol.
    (Reading database ... 90795 files and directories currently installed.) Preparing to unpack
    .../0-fonts-opensymbol_4%3a102.12+LibO7.4.5-3_all.deb ...
    Unpacking fonts-opensymbol (4:102.12+LibO7.4.5-3) ...
    Selecting previously unselected package libreoffice-core.
    Preparing to unpack .../1-libreoffice-core_4%3a7.4.5-3_mips64el.deb ... Unpacking libreoffice-core (4:7.4.5-3) ...
    Selecting previously unselected package libreoffice-base-core.
    Preparing to unpack .../2-libreoffice-base-core_4%3a7.4.5-3_mips64el.deb ... Unpacking libreoffice-base-core (4:7.4.5-3) ...
    Selecting previously unselected package libreoffice-calc.
    Preparing to unpack .../3-libreoffice-calc_4%3a7.4.5-3_mips64el.deb ... Unpacking libreoffice-calc (4:7.4.5-3) ...
    Selecting previously unselected package python3-uno.
    Preparing to unpack .../4-python3-uno_4%3a7.4.5-3_mips64el.deb ...
    Unpacking python3-uno (4:7.4.5-3) ...
    Selecting previously unselected package libreoffice-lightproof-hu.
    Preparing to unpack .../5-libreoffice-lightproof-hu_1.6.2+1.6-3_all.deb ... Unpacking libreoffice-lightproof-hu (1.6.2+1.6-3) ...
    Selecting previously unselected package libreoffice-nlpsolver.
    Preparing to unpack
    .../6-libreoffice-nlpsolver_4%3a0.9+LibO7.4.5-3_all.deb ...
    Unpacking libreoffice-nlpsolver (4:0.9+LibO7.4.5-3) ...
    Setting up fonts-opensymbol (4:102.12+LibO7.4.5-3) ...
    Setting up libreoffice-core (4:7.4.5-3) ...
    Setting up libreoffice-base-core (4:7.4.5-3) ...
    Setting up python3-uno (4:7.4.5-3) ...
    Setting up libreoffice-calc (4:7.4.5-3) ...
    Setting up libreoffice-nlpsolver (4:0.9+LibO7.4.5-3) ...
    Setting up libreoffice-lightproof-hu (1.6.2+1.6-3) ...
    Processing triggers for man-db (2.11.2-2) ...
    Processing triggers for libreoffice-common (4:7.4.5-3) ...
    Processing triggers for fontconfig (2.14.1-4) ...

    rene@eller ~/libreoffice-7.5.5~rc1 % unopkg list --bundled
    All deployed bundled extensions:

    Identifier: org.openoffice.comp.pyuno.lightproof.oxt.lightproof_hu
    Version: 1.6.2
    URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/lightproof_hu
    is registered: yes
    Media-Type: application/vnd.sun.star.package-bundle
    Description:
    bundled Packages: {
    URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/lightproof_hu/dialog/OptionsDialog.xcs
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-schema
    Description:

    URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/lightproof_hu/dialog/OptionsDialog.xcu
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-data
    Description:
    and mips64el
    URL:
    vnd.sun.star.expand:$BUNDLED_EXTENSIONS/lightproof_hu/Lightproof.py
    is registered: yes
    Media-Type: application/vnd.sun.star.uno-component;type=Python
    Description:

    URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/lightproof_hu/Linguistic.xcu
    is registered: yes
    Media-Type: application/vnd.sun.star.configuration-data
    Description:

    }

    Identifier: com.sun.star.comp.Calc.NLPSolver
    Version: 0.9
    URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver
    is registered: yes
    Media-Type: application/vnd.sun.star.package-bundle
    Description: This extension integrates into Calc and offers new
    Solver engines to use for optimizing nonlinear programming models.

    bundled Packages: {
    URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver/help
    is registered: yes
    Media-Type: application/vnd.sun.star.help
    Description:

    URL: vnd.sun.star.expand:$BUNDLED_EXTENSIONS/nlpsolver/components.rdb
    is registered: yes
    Media-Type: application/vnd.sun.star.uno-components
    Description:

    }


    % rm -rf ~/.config/libreoffice

    % debian/tests/test-extension

    ====== Add the extension ======
    Synchronizing repository for shared extensions
    Synchronizing repository for shared extensions








    Synchronizing repository for bundled extensions
    Synchronizing repository for bundled extensions








    Enabling: Lightproof grammar checker (magyar)
    Enabling: Lightproof grammar checker (magyar)

    Enabling: OptionsDialog.xcs
    Enabling: OptionsDialog.xcs

    Enabling: OptionsDialog.xcu
    Enabling: OptionsDialog.xcu

    Enabling: Lightproof.py
    Enabling: Lightproof.py

    Enabling: Linguistic.xcu
    Enabling: Linguistic.xcu

    Enabling: Solver for Nonlinear Programming
    Enabling: Solver for Nonlinear Programming

    Enabling: help
    Enabling: help

    Enabling: components.rdb
    Enabling: components.rdb

    Copying: TestExtension.oxt

    ERROR: Exception occurred: An error occurred while enabling:
    TestExtension.jar:
    com.sun.star.registry.CannotRegisterImplementationException "ImplementationRegistration::registerImplementation()
    InvalidRegistryException during registration (destination registry is read-only! cannot merge! at ./stoc/source/implementationregistration/mergekeys.cxx:160) at ./stoc/source/implementationregistration/implreg.cxx:1307" at ./desktop/source/deployment/registry/dp_backend.cxx:670

    Cause:
    (com.sun.star.registry.CannotRegisterImplementationException) { {
    Message = "ImplementationRegistration::registerImplementation() InvalidRegistryException during registration (destination registry is read-only! cannot merge! at ./stoc/source/implementationregistration/mergekeys.cxx:160) at ./stoc/source/implementationregistration/implreg.cxx:1307", Context = (com.sun.star.uno.XInterface) @0 } }

    ERROR: unopkg failed.


    For both the mips64el and mipsel(!) chroots.

    This means "bundled" extensions *SEEMS TO* work, those to be installed
    from .oxt apparently not... The question really is whether they actually
    do work or whether it's just a wrong positive display.

    So ignoring this test failure is a no-go either since libreoffice-
    lightproof-hu et al. (which is that lightproof-hu-1-6-4.oxt) is a thing
    in Debian, too.

    There is some mechanism in place in debian/rules to ignore this error
    but I don't really like it.

    Can someone with root on a mips(64)el/riscv64 (and LO installed) try whether

    1.

    $ apt install libreoffice-core
    $ apt install libreoffice-java-common ure-java (just in case)
    $ apt install libreoffice-smoketest-data
    (or wget it and extract the .oxt from the .deb)
    $ cd /usr/lib/libreoffice/share/extensions
    $ mkdir -p TestExtension && cd TestExtension
    $ unzip /usr/share/libreoffice/TestExtension.oxt
    (or the extracted .oxt)
    $ unopkg list --bundled

    for the text extension

    2.

    $ apt install libreoffice-core libreoffice-writer libreoffice-calc
    $ apt install libreoffice-java-common ure-java (just in case)
    $ apt install libreoffice-nlpsolver libreoffice-lightproof-en
    $ unopkg list --bundled
    (start LO and see
    - whether Tools->Extension Manager shows something sensbile (both
    "English grammar checker" and "Solver for nonlinear programming" or
    somsuch OKish - not greyed out for example)
    - start a lowriter document, make sure document language is english
    (you can do LANG=C....): Type "This is an test". "an test" should be
    underlined (grammar checked)
    - start a localc document. Tools->Solver->Options. Should have 5
    options instead of 3.

    for some real extensions in the archive.

    riscv64 packages skipping the extensions part are at http://people.debian.org/~rene/libreoffice/test/extensions
    (apt-gettable). mips(64)el should be able to be tested in unstable with 7.4.x...

    @zeha: See above.

    Regards

    René

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Engelhard@21:1/5 to All on Wed Jul 19 20:10:01 2023
    Am 10.07.23 um 18:01 schrieb Rene Engelhard:
    For both the mips64el and mipsel(!) chroots.

    This means "bundled" extensions *SEEMS TO* work, those to be installed
    from .oxt apparently not... The question really is whether they actually
    do work or whether it's just a wrong positive display.

    So ignoring this test failure is a no-go either since libreoffice-
    lightproof-hu et al. (which is that lightproof-hu-1-6-4.oxt) is a thing
    in Debian, too.

    There is some mechanism in place in debian/rules to ignore this error
    but I don't really like it.


    Using that one to disable Java and python and using --disable-extensions
    (and via debian/rules logic patching out the extension test[1] in
    smoketest) "the rest" passes

    [1]
    diff --git a/rules b/rules
    index 1835aafb..fa5e945a 100755
    --- a/rules
    +++ b/rules
    @@ -116,6 +116,9 @@ ENABLE_GUI=y

    ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
    ENABLE_PYTHON=y
    +ifeq "$(DEB_HOST_ARCH)" "mips64el"
    + ENABLE_PYTHON=n
    +endif
    ifeq "$(ENABLE_PYTHON)" "y"
    CONFIGURE_FLAGS += --enable-python=system
    ENABLE_SCRIPT_PROVIDER_PYTHON=y
    @@ -142,6 +145,9 @@ endif
    BUILD_ONLY_EN_US=n
    ifeq ($(filter nojava,$(DEB_BUILD_PROFILES)),)
    ENABLE_JAVA=y
    + ifeq "$(DEB_HOST_ARCH)" "mips64el"
    + ENABLE_JAVA=n
    + endif
    ifeq "$(ENABLE_JAVA)" "y"
    JDK=default
    include /usr/share/java/java_defaults.mk
    @@ -611,7 +617,7 @@ OOO_JAVA_ARCHS = $(OOO_ARCHS)
    endif
    $(eval $(call gen_no_archs,OOO_JAVA_ARCHS))

    -OOO_ARCH_DEP_EXTENSIONS_ARCHS := $(OOO_ARCHS)
    +OOO_ARCH_DEP_EXTENSIONS_ARCHS := $(filter-out mips64el,$(OOO_ARCHS))
    OOO_EXTENSIONS_ARCHS := $(OOO_ARCH_DEP_EXTENSIONS_ARCHS)

    OOO_BASE_ARCHS := $(OOO_JAVA_ARCHS)

    together with

    https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/bl