On Sunday, 24 September 2017 21:37:16 BST Christoph Böhmwalder wrote:
> Hey, you fixed it (sort of)!
> 
> I tried your suggestions but diverted a little bit. Basically here's what
> happened:
> 
> * depclean did nothing (except remove a few Thunderbird dependencies I
> actually needed, whoops) * `revdep-rebuild` also found nothing
> * `ldd` gave /lib/libz.so.1.2.11
> * I noticed that /usr/lib/libz.so.1.2.7 existed as well and proceeded to
> delete it * Re-emerged both libz and libpng, Thunderbird build still failed
> * Decided "let's delete /lib/libz.so.1.2.11 as well" (bad idea I know, I
> just barely recovered from that) * After replacing libz from the stage3
> tarball, re-emerged libz
> 
> Aaaand then it just worked, I must admit I'm not entirely sure why ¯\_(ツ)_/¯

Not sure what dependencies were broken or why, but you seem to have installed 
at some point various versions of zlib, which were thereafter uninstalled in a 
somewhat unclean way.

Next time you can use quickpg to create a binary of an installed package 
before you unmerge it.  This could help you recover from unintended breakages.

Portage *should* remove a package completely and cleanly, while by deleting 
files manually you could mess things up and leave portage in a messy state.  
If unmerging a package does not uninstall it cleanly, this means there's a bug 
in the ebuild and it would merit posting a report in BGO.

Otherwise,

 emerge @preserved-rebuild -v -a

and 

 revdep-rebuild -v -- -a

ought to (re)emerge any missing dependencies or dependencies which need to be 
rebuilt.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to