Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] @preserved-rebuild loop after unmerge python-3.4.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Fri Dec 01, 2017 3:44 pm    Post subject: [SOLVED] @preserved-rebuild loop after unmerge python-3.4.5 Reply with quote

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
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Fri Dec 01, 2017 4:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Fri Dec 08, 2017 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Fri Dec 08, 2017 4:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum