* [gentoo-user] emerge @preserved-rebuild failure
@ 2018-01-06 20:21 Hartmut Figge
2018-01-06 20:40 ` Neil Bothwick
0 siblings, 1 reply; 11+ messages in thread
From: Hartmut Figge @ 2018-01-06 20:21 UTC (permalink / raw
To: gentoo-user
Greetings,
Mostly stable Gentoo. After having fun with linguas *g*
!!! existing preserved libs found
i5-64 /home/hafi # emerge -q @preserved-rebuild
emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.1".
(dependency required by "@preserved-rebuild" [argument])
[?] dev-lang/ruby
Available versions:
(2.2) 2.2.8 2.2.9
(2.3) ~2.3.5 ~2.3.6
(2.4) ~2.4.2 ~2.4.3
(2.5) ~2.5.0 ~2.5.0-r1
hafi@i5-64 ~ $ eselect profile show
Current /etc/make.profile symlink:
default/linux/amd64/17.0
hafi@i5-64 ~ $ eselect ruby show
Current Ruby version:
ruby22
Current Rubygems version:
gem22
Bug?
Hartmut
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] emerge @preserved-rebuild failure
2018-01-06 20:21 [gentoo-user] emerge @preserved-rebuild failure Hartmut Figge
@ 2018-01-06 20:40 ` Neil Bothwick
2018-01-06 21:04 ` [gentoo-user] " Hartmut Figge
0 siblings, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2018-01-06 20:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
On Sat, 6 Jan 2018 21:21:16 +0100, Hartmut Figge wrote:
> Mostly stable Gentoo. After having fun with linguas *g*
>
> !!! existing preserved libs found
What's the rest of this output, it should list the packages and files
involved.
> i5-64 /home/hafi # emerge -q @preserved-rebuild
>
> emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.1".
> (dependency required by "@preserved-rebuild" [argument])
Something appears to be asking for an old Ruby, hopefully the output will
show why.
Also, what does emerge --info show for RUBY_TARGETS and do you have a
setting for it in make.conf?
--
Neil Bothwick
It may be that your sole purpose in life is simply to serve as a warning
to others.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-06 20:40 ` Neil Bothwick
@ 2018-01-06 21:04 ` Hartmut Figge
2018-01-06 21:16 ` zless
0 siblings, 1 reply; 11+ messages in thread
From: Hartmut Figge @ 2018-01-06 21:04 UTC (permalink / raw
To: gentoo-user
Neil Bothwick:
>On Sat, 6 Jan 2018 21:21:16 +0100, Hartmut Figge wrote:
>> Mostly stable Gentoo. After having fun with linguas *g*
>>
>> !!! existing preserved libs found
>
>What's the rest of this output, it should list the packages and files
>involved.
There is no rest. I can give the whole output for the last emerge
command which ended with the above line. Doubt that will be helpful.
i5-64 /home/hafi # USE="linguas_de linguas_en linguas_en_US" emerge -pq
-uDN @world
[ebuild R ] sys-apps/pv-1.6.0-r1
[ebuild R ] net-analyzer/nmap-7.40
[ebuild R ] sys-apps/shadow-4.5
[ebuild R ] media-video/vlc-2.2.8
[ebuild R ] app-emulation/wine-vanilla-2.22
[ebuild R ] app-emulation/wine-d3d9-2.21
[ebuild R ] app-emulation/wine-any-2.21
[ebuild R ] app-text/qpdfview-0.4.16
[ebuild R ] sys-apps/lshw-02.18b
[ebuild rR ] app-crypt/gnupg-2.2.0
[ebuild U ] sys-block/gparted-0.29.0 [0.27.0]
[ebuild R ] media-gfx/gimp-2.8.22
[ebuild U ] app-crypt/gpgme-1.10.0 [1.8.0-r3]
[ebuild rR ] net-print/gutenprint-5.2.12
i5-64 /home/hafi # USE="linguas_de linguas_en linguas_en_US" emerge -q
-uDN --keep-going @world
[ebuild R ] sys-apps/pv-1.6.0-r1
[ebuild R ] net-analyzer/nmap-7.40
[ebuild R ] sys-apps/shadow-4.5
[ebuild R ] media-video/vlc-2.2.8
[ebuild R ] app-emulation/wine-vanilla-2.22
[ebuild R ] app-emulation/wine-d3d9-2.21
[ebuild R ] app-emulation/wine-any-2.21
[ebuild R ] app-text/qpdfview-0.4.16
[ebuild R ] sys-apps/lshw-02.18b
[ebuild rR ] app-crypt/gnupg-2.2.0
[ebuild U ] sys-block/gparted-0.29.0 [0.27.0]
[ebuild R ] media-gfx/gimp-2.8.22
[ebuild U ] app-crypt/gpgme-1.10.0 [1.8.0-r3]
[ebuild rR ] net-print/gutenprint-5.2.12
>>> Verifying ebuild manifests
>>> Running pre-merge checks for app-emulation/wine-vanilla-2.22
>>> Running pre-merge checks for app-emulation/wine-d3d9-2.21
>>> Running pre-merge checks for app-emulation/wine-any-2.21
>>> Emerging (1 of 14) sys-apps/pv-1.6.0-r1::gentoo
>>> Installing (1 of 14) sys-apps/pv-1.6.0-r1::gentoo
>>> Emerging (2 of 14) net-analyzer/nmap-7.40::gentoo
>>> Installing (2 of 14) net-analyzer/nmap-7.40::gentoo
>>> Emerging (3 of 14) sys-apps/shadow-4.5::gentoo
>>> Installing (3 of 14) sys-apps/shadow-4.5::gentoo
>>> Emerging (4 of 14) media-video/vlc-2.2.8::gentoo
>>> Installing (4 of 14) media-video/vlc-2.2.8::gentoo
>>> Emerging (5 of 14) app-emulation/wine-vanilla-2.22::x-portage
>>> Installing (5 of 14) app-emulation/wine-vanilla-2.22::x-portage
>>> Emerging (6 of 14) app-emulation/wine-d3d9-2.21::x-portage
>>> Installing (6 of 14) app-emulation/wine-d3d9-2.21::x-portage
>>> Emerging (7 of 14) app-emulation/wine-any-2.21::x-portage
>>> Installing (7 of 14) app-emulation/wine-any-2.21::x-portage
>>> Emerging (8 of 14) app-text/qpdfview-0.4.16::gentoo
>>> Installing (8 of 14) app-text/qpdfview-0.4.16::gentoo
>>> Emerging (9 of 14) sys-apps/lshw-02.18b::gentoo
>>> Installing (9 of 14) sys-apps/lshw-02.18b::gentoo
>>> Emerging (10 of 14) app-crypt/gnupg-2.2.0::gentoo
>>> Installing (10 of 14) app-crypt/gnupg-2.2.0::gentoo
>>> Emerging (11 of 14) sys-block/gparted-0.29.0::gentoo
>>> Installing (11 of 14) sys-block/gparted-0.29.0::gentoo
>>> Emerging (12 of 14) media-gfx/gimp-2.8.22::gentoo
>>> Installing (12 of 14) media-gfx/gimp-2.8.22::gentoo
>>> Emerging (13 of 14) app-crypt/gpgme-1.10.0::gentoo
>>> Installing (13 of 14) app-crypt/gpgme-1.10.0::gentoo
>>> Emerging (14 of 14) net-print/gutenprint-5.2.12::gentoo
>>> Installing (14 of 14) net-print/gutenprint-5.2.12::gentoo
* Messages for package net-print/gutenprint-5.2.12:
* Updating installed printer ppd files
* Did not update any PPD files
!!! existing preserved libs found
>> i5-64 /home/hafi # emerge -q @preserved-rebuild
>>
>> emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.1".
>> (dependency required by "@preserved-rebuild" [argument])
>
>Something appears to be asking for an old Ruby, hopefully the output will
>show why.
Sadly there is no more output. Even 'emerge -v @preserved-rebuild' does
not give more.
>Also, what does emerge --info show for RUBY_TARGETS
RUBY_TARGETS="ruby22"
>and do you have asetting fo r it in make.conf?
No.
Another info:
hafi@i5-64 ~ $ emerge --version
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0,
gcc-6.4.0, glibc-2.25-r9, 4.9.72-gentoo x86_64)
Hartmut
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-06 21:04 ` [gentoo-user] " Hartmut Figge
@ 2018-01-06 21:16 ` zless
2018-01-06 21:25 ` Hartmut Figge
0 siblings, 1 reply; 11+ messages in thread
From: zless @ 2018-01-06 21:16 UTC (permalink / raw
To: gentoo-user
În ziua de sâmbătă, 6 ianuarie 2018, la 23:04:21 EET, Hartmut Figge a scris:
> There is no rest. I can give the whole output for the last emerge
> command which ended with the above line. Doubt that will be helpful.
Could you also take a look at the file
/var/lib/portage/preserved_libs_registry ?
It's like this when there are no preserved libs:
# cat preserved_libs_registry
{}
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-06 21:16 ` zless
@ 2018-01-06 21:25 ` Hartmut Figge
2018-01-06 21:42 ` zless
0 siblings, 1 reply; 11+ messages in thread
From: Hartmut Figge @ 2018-01-06 21:25 UTC (permalink / raw
To: gentoo-user
zless:
>Could you also take a look at the file
>/var/lib/portage/preserved_libs_registry ?
hafi@i5-64 ~ $ cat /var/lib/portage/preserved_libs_registry
{
"sys-libs/readline:0": [
"sys-libs/readline-7.0_p3",
"10658",
[
"/lib64/libreadline.so.6.3",
"/lib64/libreadline.so.6"
]
]
>It's like this when there are no preserved libs:
>
># cat preserved_libs_registry
I'm currently running 'find . -name '*preserved*' on / in the hope of
finding the set with the preserverd libs *g* Well, I will let it continue.
Hartmut
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-06 21:25 ` Hartmut Figge
@ 2018-01-06 21:42 ` zless
2018-01-06 21:51 ` Hartmut Figge
2018-01-07 1:09 ` Mart Raudsepp
0 siblings, 2 replies; 11+ messages in thread
From: zless @ 2018-01-06 21:42 UTC (permalink / raw
To: gentoo-user
În ziua de sâmbătă, 6 ianuarie 2018, la 23:25:32 EET, Hartmut Figge a scris:
> zless:
> >Could you also take a look at the file
> >/var/lib/portage/preserved_libs_registry ?
>
> hafi@i5-64 ~ $ cat /var/lib/portage/preserved_libs_registry
> {
> "sys-libs/readline:0": [
> "sys-libs/readline-7.0_p3",
> "10658",
> [
> "/lib64/libreadline.so.6.3",
> "/lib64/libreadline.so.6"
> ]
> ]
>
To me this reads as readline-7.0_p3 depends on libs from readline-6.3.
Smells a bit as some sort of bug. Try rebuilding readline?
This didn't happen here when readline was bumped.
> >It's like this when there are no preserved libs:
> >
> ># cat preserved_libs_registry
>
> I'm currently running 'find . -name '*preserved*' on / in the hope of
> finding the set with the preserverd libs *g* Well, I will let it continue.
>
> Hartmut
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-06 21:42 ` zless
@ 2018-01-06 21:51 ` Hartmut Figge
2018-01-06 21:57 ` zless
2018-01-07 1:09 ` Mart Raudsepp
1 sibling, 1 reply; 11+ messages in thread
From: Hartmut Figge @ 2018-01-06 21:51 UTC (permalink / raw
To: gentoo-user
zless:
>Smells a bit as some sort of bug. Try rebuilding readline?
That's what I hesitated to do in fear of blurring clues. Done.
i5-64 /home/hafi # emerge -q readline
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-libs/readline-7.0_p3::gentoo
>>> Installing (1 of 1) sys-libs/readline-7.0_p3::gentoo
>>> Recording sys-libs/readline in "world" favorites file...
!!! existing preserved libs found
Hrm. Replacing the obviously corrupt preserved_libs_registry with the
clean one from my backup? That would be the end of the investigation.
Hartmut
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-06 21:51 ` Hartmut Figge
@ 2018-01-06 21:57 ` zless
0 siblings, 0 replies; 11+ messages in thread
From: zless @ 2018-01-06 21:57 UTC (permalink / raw
To: gentoo-user
În ziua de sâmbătă, 6 ianuarie 2018, la 23:51:59 EET, Hartmut Figge a scris:
> Hrm. Replacing the obviously corrupt preserved_libs_registry with the
> clean one from my backup? That would be the end of the investigation.
You could also check if those readline-6 preserved libs really exist:
/lib64/libreadline.so.6.3
/lib64/libreadline.so.6
Try renaming them or backing them up somewhere else and see if realine
applications (bash) still work fine after that.
Other than that... I'd fill a bug about this ;)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-06 21:42 ` zless
2018-01-06 21:51 ` Hartmut Figge
@ 2018-01-07 1:09 ` Mart Raudsepp
2018-01-07 8:14 ` Hartmut Figge
2018-01-07 13:36 ` zless
1 sibling, 2 replies; 11+ messages in thread
From: Mart Raudsepp @ 2018-01-07 1:09 UTC (permalink / raw
To: gentoo-user
On Sat, 2018-01-06 at 23:42 +0200, zless wrote:
> În ziua de sâmbătă, 6 ianuarie 2018, la 23:25:32 EET, Hartmut Figge a
> scris:
> > zless:
> > > Could you also take a look at the file
> > > /var/lib/portage/preserved_libs_registry ?
> >
> > hafi@i5-64 ~ $ cat /var/lib/portage/preserved_libs_registry
> > {
> > "sys-libs/readline:0": [
> > "sys-libs/readline-7.0_p3",
> > "10658",
> > [
> > "/lib64/libreadline.so.6.3",
> > "/lib64/libreadline.so.6"
> > ]
> > ]
> >
>
> To me this reads as readline-7.0_p3 depends on libs from readline-
> 6.3.
>
> Smells a bit as some sort of bug. Try rebuilding readline?
>
> This didn't happen here when readline was bumped.
This is no bug here. It's just storing the fact that it preserved these
/lib64/libreadline.so.6{,.3} under the replacing newer version package.
That is, readline-7.0_p3 now owns these files, but based on this
registry, they will be deleted and removed from its CONTENTS, once
there are no more consumers of it based on essentially NEEDED.ELF.2
contents in the VDB (/var/db/pkg/*/*/NEEDED.ELF.2).
That is, what is keeping them from being removed is not stored in this
registry.
> > > It's like this when there are no preserved libs:
> > >
> > > # cat preserved_libs_registry
> >
> > I'm currently running 'find . -name '*preserved*' on / in the hope
> > of
> > finding the set with the preserverd libs *g* Well, I will let it
> > continue.
Maybe there is just an old ruby:2.1 SLOT installed, that hasn't been
properly depcleaned?
Mart
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-07 1:09 ` Mart Raudsepp
@ 2018-01-07 8:14 ` Hartmut Figge
2018-01-07 13:36 ` zless
1 sibling, 0 replies; 11+ messages in thread
From: Hartmut Figge @ 2018-01-07 8:14 UTC (permalink / raw
To: gentoo-user
Mart Raudsepp:
>Maybe there is just an old ruby:2.1 SLOT installed, that hasn't been
>properly depcleaned?
Indeed.
i5-64 /home/hafi # emerge -p -c
[...]
dev-lang/ruby
selected: 2.1.9
protected: none
omitted: 2.2.9
[...]
After depclean, which required another @preserved-rebuild, a successful
one, I replaced the the now preserved_libs_registry with the problematic
old one. This time there was no problem.
i5-64 /home/hafi # emerge -q @preserved-rebuild
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-ftp/gftp-2.0.19-r3::gentoo
>>> Installing (1 of 1) net-ftp/gftp-2.0.19-r3::gentoo
:)
Hartmut
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: emerge @preserved-rebuild failure
2018-01-07 1:09 ` Mart Raudsepp
2018-01-07 8:14 ` Hartmut Figge
@ 2018-01-07 13:36 ` zless
1 sibling, 0 replies; 11+ messages in thread
From: zless @ 2018-01-07 13:36 UTC (permalink / raw
To: gentoo-user
În ziua de duminică, 7 ianuarie 2018, la 03:09:32 EET, Mart Raudsepp a scris:
> > To me this reads as readline-7.0_p3 depends on libs from readline-
> > 6.3.
> >
> > Smells a bit as some sort of bug. Try rebuilding readline?
> >
> > This didn't happen here when readline was bumped.
>
> This is no bug here. It's just storing the fact that it preserved these
> /lib64/libreadline.so.6{,.3} under the replacing newer version package.
> That is, readline-7.0_p3 now owns these files, but based on this
> registry, they will be deleted and removed from its CONTENTS, once
> there are no more consumers of it based on essentially NEEDED.ELF.2
> contents in the VDB (/var/db/pkg/*/*/NEEDED.ELF.2).
> That is, what is keeping them from being removed is not stored in this
> registry.
Thanks for the in-depth explanation. Do you think that revdep-rebuild would've
helped here?
And a bit off-topic for this thread (but it's a subject that interests me):
does the preserved rebuild feature track user installed programs (outside of
portage control)?
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-01-07 13:37 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-06 20:21 [gentoo-user] emerge @preserved-rebuild failure Hartmut Figge
2018-01-06 20:40 ` Neil Bothwick
2018-01-06 21:04 ` [gentoo-user] " Hartmut Figge
2018-01-06 21:16 ` zless
2018-01-06 21:25 ` Hartmut Figge
2018-01-06 21:42 ` zless
2018-01-06 21:51 ` Hartmut Figge
2018-01-06 21:57 ` zless
2018-01-07 1:09 ` Mart Raudsepp
2018-01-07 8:14 ` Hartmut Figge
2018-01-07 13:36 ` zless
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox