View previous topic :: View next topic |
Author |
Message |
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2961 Location: Edge of marsh USA
|
Posted: Fri Dec 01, 2017 3:44 pm Post subject: [SOLVED] @preserved-rebuild loop after unmerge python-3.4.5 |
|
|
emerge @preserved-rebuild wants to rebuild libreoffice-bin-5.4.2.2, but after running emerge @preserved-rebuild it just wants to do it again. This came up after a depclean removed python-3.4.5
emerge -pv libreoffice-bin reveals:
Code: | ebuild R ] app-office/libreoffice-bin-5.4.2.2::gentoo USE="java -gnome -kde" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB |
It looks to me like it should work, but it just coughs back:
Code: | !!! existing preserved libs:
>>> package: dev-lang/python-3.4.5
* - /usr/lib/libpython3.4m.so.1.0
* used by /usr/lib/libreoffice/program/libpythonloaderlo.so (app-office/libreoffice-bin-5.4.2.2)
* used by /usr/lib/libreoffice/program/libpyuno.so (app-office/libreoffice-bin-5.4.2.2)
|
Adding: revdep-rebuild -i reports system is in stable state.
Also adding: This just bit me on a second system, a new, 100% stable x86_64. After I changed profile to 17.0 Desktop, emerge -uDN world followed by emerge -c which removed python 3.4.5, the system begins a loop repeatedly requesting emerge @preserved-rebuild because of the dev-lang/python-3.4.5 library file, this time /usr/lib64/libpython3.4m.so.1.0
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Last edited by figueroa on Fri Dec 01, 2017 4:59 pm; edited 1 time in total |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2961 Location: Edge of marsh USA
|
Posted: Fri Dec 01, 2017 4:56 pm Post subject: |
|
|
Simple solution: reinstall python 3.4.5 even though portage saw no formal dependencies.
Code: | emerge =python-3.4.5 |
It solves the problem. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
tld Veteran
Joined: 09 Dec 2003 Posts: 1816
|
Posted: Fri Dec 08, 2017 4:12 am Post subject: |
|
|
Strange one. I'm running into this as well, however dev-lang/python-3.4.5 was replaced by dev-lang/python-3.5.4-r1. I'm not sure what to do here. Clearly I can't have both installed(?).
Tom
EDIT: Looks like this is a known issue. The package will need to be rebuilt with the new PYTHON_TARGETS:
https://forums.gentoo.org/viewtopic-t-1072784-highlight-libreofficebin.html |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2961 Location: Edge of marsh USA
|
Posted: Fri Dec 08, 2017 4:30 am Post subject: |
|
|
Yes, tld, you can have many pythons because the program is slotted. I currently have installed:
2.7.14-r1
3.4.5-r1
3.5.4-r1
3.6.3-r1
They are each needed for dependencies of my stable x86 desktop/server, which was built originally in 2004. (My new x86-64 desktop/server has the same mix.)
=python-3.4.5-r1 is the only one that I had to specifically install to correct a shortcoming. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|