[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LibreOffice (code) extensions broken on mips64el/riscv64 (was: Re: unbreaking LibreOffices tests on at least release architectures)



Hi,

Am 10.07.23 um 18:01 schrieb Rene Engelhard:
@zeha: See above.

So I got the following feedback via IRC (quoted here with permission):

00:23 < zeha> _rene_: i'm probably doing something wrong, but for your mail test #1, unopkg list --bundled always gives me '<none>'
00:23 < zeha> which seems very wrong
[...]
06:08 < _rene_> zeha: after installing -nlpsolver and -lightproof-en? yes, that would be very wrong, since those two *are* bundled extensions? 06:08 < _rene_> zeha: or do you mean the TestExtension? by unpacking the oxt into that dir it becomes a bundled extension, so yes, it should appear there... 06:10 < _rene_> zeha: (bundled extension is defined as a extension unpacked directly in /usr/lib/libreoffice/share/extensions) 06:11 < _rene_> zeha: try whether a unopkg validate --bundled changes it? But I am surprised since that should at least work, as that's what the packages in 2. do and at least in my porterbox tests they at least appeared there
[...]
08:56 < zeha> _rene_: https://gist.github.com/zeha/882be9dfe8ce67bb5c9ab7b1f64f2c79 seems like unopkg looks at the exts, but ignores them ...
[...]

09:18 < _rene_> zeha: interesting...
09:22 < _rene_> zeha: ah, I think I see why. the port didn't make it known to unopkg at all
09:22 -!- billchenchina is now known as Guest5638
09:22 -!- billchenchina [~billchenc@61.183.83.60] has joined #debian-devel
09:24 -!- Guest5638 [~billchenc@61.183.83.60] has quit [Remote host closed the connection] 09:24 < _rene_> zeha: https://cgit.freedesktop.org/libreoffice/core/tree/desktop/source/deployment/misc/dp_platform.cxx :(
09:25 < _rene_> zeha: will build new packages with adding stuff there
09:26 -!- texou [~jp@000178ec.user.oftc.net] has joined #debian-devel
09:26 < _rene_> zeha: that should only be for platform-specific extrnsions (e.g. C++) but who knows...
09:27 -!- atzlinux [~atzlinux@39.144.7.1] has joined #debian-devel
09:31 -!- tosky [~luigi@dynamic-adsl-84-220-221-158.clienti.tiscali.it] has joined #debian-devel
09:32 -!- pere [~pere@84.212.193.114] has quit [Ping timeout: 480 seconds]
09:39 < _rene_> zeha: can I quote this on a mailing list reply?
09:39 < zeha> _rene_: go ahead
09:40 -!- pere [~pere@pxe-test0-pre.uio.no] has joined #debian-devel
09:40 -!- billchenchina is now known as Guest5641
09:41 -!- billchenchina [~billchenc@61.183.83.60] has joined #debian-devel
09:41 -!- pochu [~pochu@00013ecb.user.oftc.net] has joined #debian-devel
09:41 < _rene_> zeha: k, will do tonight together with a patch to update dp_platform.cxx
09:41 < _rene_> zeha: and give you new packages :)
09:42 < zeha> sure
09:42 < _rene_> zeha: thanks so far

At least the port commit upstream missed dp_platform.cxx for making libdeploymentmisclo.so know riscv64, I submitted it upstream (https://gerrit.libreoffice.org/c/core/+/154333) and backported it. (New packages there)

It seems it actually doesn't fix the actual problem, though (still good to have for completeness), also local extension don't work:

rene@debian-riscv64-porterbox-01 ~/libreoffice-7.5.5~rc1/instdir
 % ./program/unopkg add -v ~/lightproof-hu-1-6-4.oxt
Synchronizing repository for shared extensions
Synchronizing repository for shared extensions








 Synchronizing repository for bundled extensions
Synchronizing repository for bundled extensions








Copying: lightproof-hu-1-6-4.oxt

unopkg done.

rene@debian-riscv64-porterbox-01 ~/libreoffice-7.5.5~rc1/instdir
 % ./program/unopkg list
All deployed user extensions:

<none>
rene@debian-riscv64-porterbox-01 ~/libreoffice-7.5.5~rc1/instdir
 %

From strace it looks like it does the actual copy to the .tmp dir but then it doesn't get moved to the actual place. The question is why.

Probably omething for upstream, but it works on all other archs - even the mipses, so I wonder what is special on riscv64 here.

Didn't yet find anything.

Regards,

Rene


Reply to: