Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713560 - app-office/libreoffice-bin endless loop with emerge @preserved-rebuild
Summary: app-office/libreoffice-bin endless loop with emerge @preserved-rebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-20 05:47 UTC by email200202
Modified: 2020-03-28 14:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_713560.txt,6.16 KB, text/plain)
2020-03-20 05:48 UTC, email200202
Details
emerge -pqv =app-office/libreoffice-bin-6.3.4.2 (file_713560.txt,161 bytes, text/plain)
2020-03-20 05:52 UTC, email200202
Details
emerge --info =app-office/libreoffice-bin-6.3.4.2 (file_713560.txt,6.62 KB, text/plain)
2020-03-20 05:53 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2020-03-20 05:47:05 UTC
At the end of world update, there was a message:

!!! existing preserved libs:
>>> package: dev-libs/liborcus-0.15.3
 *  - /usr/lib64/liborcus-0.14.so.0
 *  - /usr/lib64/liborcus-0.14.so.0.0.0
 *      used by /usr/lib64/libreoffice/program/libmergedlo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by /usr/lib64/libreoffice/program/libscfiltlo.so (app-office/libreoffice-bin-6.3.4.2)
 *  - /usr/lib64/liborcus-parser-0.14.so.0
 *  - /usr/lib64/liborcus-parser-0.14.so.0.0.0
 *      used by /usr/lib64/libreoffice/program/libmergedlo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by /usr/lib64/libreoffice/program/libscfiltlo.so (app-office/libreoffice-bin-6.3.4.2)
 *      used by /usr/lib64/libreoffice/program/libsclo.so (app-office/libreoffice-bin-6.3.4.2)
Use emerge @preserved-rebuild to rebuild packages using these libraries


Then if you do "emerge @preserved-rebuild", you get only one package to be rebuild:
# emerge @preserved-rebuild 
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] app-office/libreoffice-bin-6.3.4.2::gentoo  USE="java -gnome -kde" PYTHON_SINGLE_TARGET="python3_6" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB

At the end of the rebuild, you get the same message as above. Running "emerge @preserved-rebuild" will rebuild app-office/libreoffice-bin again and so on ...


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world

Actual Results:  
"emerge @preserved-rebuild" cannot solve existing preserved libs problem. 

Expected Results:  
It should.
Comment 1 email200202 2020-03-20 05:48:36 UTC
Created attachment 622928 [details]
emerge --info
Comment 2 email200202 2020-03-20 05:52:11 UTC
Created attachment 622930 [details]
emerge -pqv =app-office/libreoffice-bin-6.3.4.2
Comment 3 email200202 2020-03-20 05:53:50 UTC
Created attachment 622932 [details]
emerge --info =app-office/libreoffice-bin-6.3.4.2
Comment 4 email200202 2020-03-20 14:00:16 UTC
Fixed by downgrading dev-libs/liborcus, dev-util/mdds, and dev-libs/libixion

# cat /etc/portage/package.mask/libreoffice-bin.mask 
>dev-libs/liborcus-0.14.9999
>dev-util/mdds-1.4.9999
>dev-libs/libixion-0.14.9999

# emerge -avuDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  r  UD ] dev-util/mdds-1.4.3:1/1.4::gentoo [1.5.0:1/1.5::gentoo] USE="-doc -valgrind (-test%)" 327 KiB
[ebuild     UD ] dev-libs/libixion-0.14.1:0/0.14::gentoo [0.15.0:0/0.15::gentoo] USE="threads -debug -python -static-libs" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8" 353 KiB
[ebuild  rR    ] app-text/libetonyek-0.1.9-r1::gentoo  USE="-doc -static-libs -test" 0 KiB
[ebuild     UD ] dev-libs/liborcus-0.14.1-r1:0/0.14::gentoo [0.15.3:0/0.15::gentoo] USE="spreadsheet-model -python -static-libs -tools" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8" 0 KiB

Total: 4 packages (3 downgrades, 1 reinstall), Size of downloads: 679 KiB

libreoffice-bin ebuild should depend only on liborcus-0.14.* and exclude liborcus-0.15.*
Comment 5 Nikolaos Chatzidakis 2020-03-20 16:18:24 UTC
Same problem here, same packages.
Comment 6 Larry the Git Cow gentoo-dev 2020-03-28 14:12:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53cd5b5bbfcab92c9817c7ebf1df2a80425e10b9

commit 53cd5b5bbfcab92c9817c7ebf1df2a80425e10b9
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2020-03-28 13:48:34 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2020-03-28 14:11:43 +0000

    app-office/libreoffice-bin: Fix x86 and liborcus problems
    
    Closes: https://bugs.gentoo.org/713560
    Closes: https://bugs.gentoo.org/709934
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 app-office/libreoffice-bin/Manifest                |  12 +
 .../libreoffice-bin-6.3.4.2-r1.ebuild              | 258 +++++++++++++++++++++
 .../libreoffice-bin/libreoffice-bin-6.3.4.2.ebuild |   1 +
 3 files changed, 271 insertions(+)