View previous topic :: View next topic |
Author |
Message |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Wed Jan 08, 2025 6:34 am Post subject: manual roll back to an old version of libreoffice? |
|
|
I just did a world update, and the new version of libreoffice has some really serious problems with copy/paste (details provided upon request). I'd like to roll back to an earlier version, but it's no longer in portage, and unfortunately I did a thorough cleaning after the update. However, I do have another machine with a very similar install which didn't get the update. Is there any safe way to pull the package info from that system?
A few side notes: This problem hasn't manifested in other applications, and it seems to be a problem with libreoffice, but I technically can't rule out the possibility that some other part of my desktop is broken. I've started a thread on the libreoffice forum about this, but copy/paste is really critical, and if I could I'd roll back now. I've also done some searching to see if anyone else has had this problem, and the answer seems to be yes: The problems discussed on the thread below seem to mostly overlap with mine, although it's not even a linux thread and many of the solutions don't apply here
https://ask.libreoffice.org/t/copy-paste-clipboard-issues-libreoffice-calc/45811/38 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bstaletic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2014 Posts: 469
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2728
|
Posted: Wed Jan 08, 2025 7:12 am Post subject: |
|
|
In the light of recent Gnome updates, I would support this claim in the referenced thread:
Quote: | So to summarize as answer not hidden in the comments, this appears to be a bug in the Mutter compositor’s integrated clipboard manager |
Do you have different Gnome versions on the different machines?
Also people mention Wayland vs Xorg and primary vs secondary clipboards, also extensions, what's your status regarding that?
I don't find any problems here with Gnome 46/Wayland/LO 24.2.7.2 from the binhost, neither with primary, nor with secondary clipboards.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Wed Jan 08, 2025 8:29 am Post subject: |
|
|
logrusx, I'm actually running xfce. I do have some gnome applications installed. As far as I can tell, it's just the secondary clipboard that's the problem, and just with libreoffice.
bstaletic, thanks for the tip, the old version of libreoffice is compiling now. With luck, we'll find out if it is libreoffice or another issue like the compositor that's causing the problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Wed Jan 08, 2025 8:31 pm Post subject: |
|
|
The older version (24.2.6.2) is suffering from the same problem. That seems to support the idea that it's something else, perhaps with the compositor.
However, I don't actually use libreoffice that much on the other machine, so I suppose it's possible that it's actually broken there too. I'll check and report back. The earliest version that I can roll back to is 24.2.4.2-r1, and I'll try that as well. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Thu Jan 09, 2025 3:27 am Post subject: |
|
|
I just rolled back to 24.2.4.2-r1, and the problem persists.
With 24.2.7.2 and 24.2.6.2 I was also seeing another problem, when I copy or cut an object (like a text box), it turns it into an image. That problem seems to have gone away with 24.2.4.2-r1. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Thu Feb 13, 2025 2:24 pm Post subject: |
|
|
Any further thoughts here? Some updates: I found an old hard drive from a few years ago with ebuilds 7.3.2.2-r1 and 7.2.6.2-r1, and tried to emerge those as overlays. I'm getting the error
Code: | emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/python:3.10[threads(+),xml]".
!!! One of the following packages is required to complete your request:
- dev-lang/python-3.10.16_p1::gentoo (Missing IUSE: xml)
(dependency required by "app-office/libreoffice-7.2.6.2-r1::local[python_single_target_python3_10]" [ebuild])
(dependency required by "=libreoffice-7.2.6.2-r1" [argument]) |
I haven't seen this kind of error from emerge before, and python3.10 is installed. Any ideas?
I also tried to compile libreoffice from their source code
https://download.documentfoundation.org/libreoffice/src/
Note that the version numbers jump from 7.6.7 to 24.2.0. I tried a few of the 7.* versions, and I actually couldn't get them to compile. 24.2.0 did compile, although I had to hack the source to add some #include directives in the C/C++. But, 24.2.0 seems to suffer from the same problem I've been having, namely that copy/paste doesn't work correctly.
There was also some action on the libreoffice thread I started, where it looks like other folks are having a similar problem:
https://ask.libreoffice.org/t/copy-paste-clipboard-issues-libreoffice-calc/45811/38
The conclusion that's been floated is that this might be a problem with libreoffice, but I actually don't think so after my experiments. 24.2.0 is from last January, and I use libreoffice all the time. I would have noticed this problem. Could there be some other part of my system that is conflicting with the normal operations of libreoffice? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2728
|
Posted: Thu Feb 13, 2025 2:33 pm Post subject: |
|
|
jyoung wrote: | Any further thoughts here? Some updates: I found an old hard drive from a few years ago with ebuilds 7.3.2.2-r1 and 7.2.6.2-r1, and tried to emerge those as overlays. I'm getting the error
Code: | emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/python:3.10[threads(+),xml]".
!!! One of the following packages is required to complete your request:
- dev-lang/python-3.10.16_p1::gentoo (Missing IUSE: xml)
(dependency required by "app-office/libreoffice-7.2.6.2-r1::local[python_single_target_python3_10]" [ebuild])
(dependency required by "=libreoffice-7.2.6.2-r1" [argument]) |
I haven't seen this kind of error from emerge before, and python3.10 is installed. Any ideas?
|
Python does not have those use flags anymore. 2.7 has xml, but none of the currently available python versions has threads. I'd say remove that dependency from the ebuild and try again.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Thu Feb 13, 2025 6:10 pm Post subject: |
|
|
logrusx, that worked, I was able to get emerge to start at least. Now, I'm hitting this message
Code: | checking for mdds-2.0 >= 2.0.0... no
configure: error: Package requirements (mdds-2.0 >= 2.0.0) were not met:
Package 'mdds-2.0' not found |
That's weird, since mdds is installed:
Code: | equery list -p mdds
* Searching for mdds ...
[IP-] [ ] dev-util/mdds-2.1.1:1/2.1
[-P-] [ -] dev-util/mdds-9999:1/3.0
|
Any thoughts? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2728
|
Posted: Thu Feb 13, 2025 6:17 pm Post subject: |
|
|
It wants 2.0. try changing that to 2.1 in the ebuild, let's hope it'll work. If not, mdds is slotted, you might be able to get an older ebuild, but that's already opening a can of worms of old ebuilds...
You might be better of taking old snapshot of the tree and old basefiles image and performing a new installation with it.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Thu Feb 13, 2025 7:31 pm Post subject: |
|
|
Weird, I modified the ebuild file to read
Code: | DEPEND="${COMMON_DEPEND}
>=dev-libs/libatomic_ops-7.2d
dev-perl/Archive-Zip
>=dev-util/cppunit-1.14.0
>=dev-util/gperf-3.1
>=dev-util/mdds-2.1.1 <*** this is the line I changed***>
media-libs/glm
x11-base/xorg-proto
x11-libs/libXt
x11-libs/libXtst
java? (
dev-java/ant-core
>=virtual/jdk-11
)
test? (
app-crypt/gnupg
dev-util/cppunit
media-fonts/dejavu
media-fonts/liberation-fonts
)
|
But I still get this message from emerge
Code: | checking for mdds-2.0 >= 2.0.0... no
configure: error: Package requirements (mdds-2.0 >= 2.0.0) were not met:
Package 'mdds-2.0' not found |
Is there some other config file to that needs changing? Or, should I "make clean" in one of the build folders and start over? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2728
|
Posted: Thu Feb 13, 2025 7:46 pm Post subject: |
|
|
jyoung wrote: | Weird, I modified the ebuild file to read
Code: | DEPEND="${COMMON_DEPEND}
>=dev-libs/libatomic_ops-7.2d
dev-perl/Archive-Zip
>=dev-util/cppunit-1.14.0
>=dev-util/gperf-3.1
>=dev-util/mdds-2.1.1 <*** this is the line I changed***>
media-libs/glm
x11-base/xorg-proto
x11-libs/libXt
x11-libs/libXtst
java? (
dev-java/ant-core
>=virtual/jdk-11
)
test? (
app-crypt/gnupg
dev-util/cppunit
media-fonts/dejavu
media-fonts/liberation-fonts
)
|
But I still get this message from emerge
Code: | checking for mdds-2.0 >= 2.0.0... no
configure: error: Package requirements (mdds-2.0 >= 2.0.0) were not met:
Package 'mdds-2.0' not found |
Is there some other config file to that needs changing? Or, should I "make clean" in one of the build folders and start over? |
I'm sorry, I was too quick to respond. This is not portage complaining but the build system of the package itself. That means libreoffice explicitly requires 2.0, which means you need to dig it, which means it might require other old stuff, which means it might require other old stuff, which means... the can of worms I meant.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Thu Feb 13, 2025 9:19 pm Post subject: |
|
|
Darn, it looks like an easy fix might not be realistic.
Building from a snapshot of the old tree might be the best plan. The old hard drive actually has the entire OS, so in theory we have the old code.
I still think that this is probably not an issue with libreoffice specifically, but rather some component of my system interacting with it badly. I double that they would have let this kind of bug go unfixed for a year, especially given the number of new releases, so it must be a minority of users that experience it.
I did try one other experiment, installing the binary version of the package, libreoffice-bin. It had the same issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Fri Feb 14, 2025 7:05 pm Post subject: |
|
|
There might be another thing to try: the old hard drive has an ebuild for libreoffice-bin-7.2.5.2. That doesn't seem to depend on mdds, and probably has far fewer dependencies in general. Maybe that's worth a try? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2728
|
Posted: Fri Feb 14, 2025 7:09 pm Post subject: |
|
|
It would be easier to setup a completely new installation aided by the binhost and see if it behaves. If it doesn't, then the problem is in your current system.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Sat Feb 15, 2025 4:45 pm Post subject: |
|
|
Would binhost allow me to pull in old versions of software that aren't still in portage? I have tried the libreoffice-bin that's used through portage, and it suffered the same issue as the regular libreoffice.
Also, I think I was incorrect in saying that the old hard drive had the files for an old version of libreoffice-bin. It does have a directory in /usr/portage/, but not /var/db (or anything in /var).
If it were a probably with the system other than libreoffice, are there any likely suspects? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2728
|
Posted: Sat Feb 15, 2025 4:50 pm Post subject: |
|
|
I suggest setting up a clean, current install and see how it behaves. This would be an easier way of verifying if it's a bug in libreoffice or a problem somewhere in your system.
As to how old the packages are on the binhost, I don't know. I guess it only contains packages currently in tree.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jyoung Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Mar 2007 Posts: 478
|
Posted: Sat Feb 15, 2025 5:03 pm Post subject: |
|
|
You mean an entirely new install of gentoo? I was thinking along similar lines, using a liveusb, that way I wouldn't have to rebuild everything. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54864 Location: 56N 3W
|
Posted: Sat Feb 15, 2025 5:57 pm Post subject: |
|
|
jyoung,
As I write, the /23.0/ profile BINHOST/ contains libreoffice-24.2.7.2 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2728
|
Posted: Sat Feb 15, 2025 6:29 pm Post subject: |
|
|
jyoung wrote: | You mean an entirely new install of gentoo? I was thinking along similar lines, using a liveusb, that way I wouldn't have to rebuild everything. |
Yes.
NeddySeagoon wrote: | jyoung,
As I write, the /23.0/ profile BINHOST/ contains libreoffice-24.2.7.2 |
And libreoffice-bin 25.2.0 is available in the main tree as well. I don't see why jyoung should go backward to validate a bug when it can be done forwards as well.
@jyoung I read a few posts from the thread you linked in OP as well. You also said you were using xfce. Is it on Wayland or on X? Do you happen to use clipman? Can you tell me how to reproduce the bug? I'm now using Hyprland, but can switch back to Gnome to test it.
Also see this post: https://forum.xfce.org/viewtopic.php?pid=50850#p50850
I'm not an xfce user so this may come random to you but I see a connection which might or might not be relevant.
Best Regards,
Georgi
/edited to fix typos/
Last edited by logrusx on Sat Feb 15, 2025 8:01 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54864 Location: 56N 3W
|
Posted: Sat Feb 15, 2025 7:58 pm Post subject: |
|
|
logrusx,
Agreed about going forward rather than backward.
You can't stay in the past very long. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|