Re: [gentoo-user] Can't get rid of preserved libs

2021-11-21 Thread Adam Carter
>
> 
> Use emerge @preserved-rebuild to rebuild packages using these libraries
>
> I would appreciate any help to get rid of this message.
>
>
>
 https://wiki.gentoo.org/wiki/User:Sam/Portage_help/Circular_dependencies


Re: [gentoo-user] Can't get rid of preserved libs

2021-11-21 Thread Wol
I bet you've got a circular dependency on freetype and harfbuzz. Look 
for a thread I started with the subject "The old wine/harfbuzz/freetype 
circle" - you need to track down the package which is holding those two.


What I would try is to forcibly remove (emerge -C) both those two 
packages, and then hope it sorts itself out. The danger is you then get 
another nasty conundrum as they try and re-install themselves .


The other thing is, try and find out whether libglib and libpng16 are 
critical. libpng certainly not, libglib I don't know. You might have to 
forcibly remove them as well.


I had the problem the other way round, I was trying to add abi_x86_32 
for wine, and basically it's that harfbuzz won't install because it 
needs freetype to be installed first, and freetype won't install because 
it needs harfbuzz to be installed first. Whoops!


You need to force harfbuzz to install with "USE=-freetype", then you can 
install freetype, then you can install harfbuzz (or the other way round, 
doesn't matter). What does matter is you need to track down the 
problematic package that needs both harfbuzz and freetype and is locking 
them in.


I *think* what I did was try to force install one of them without 
depending on the other, then looking at the trace which told me which 
package was over-riding my use settings, temporarily deleting that 
package (emerge -C pango in my case), emerging freetype and harfbuzz 
--oneshot without dependencies on each other, and then just an "update 
world" to clean up the mess.


Cheers,
Wol

On 21/11/2021 20:39, Julien Roy wrote:

Hello,

Some time ago I installed Steam on my system, which required me to add 
the abi_x86_32 USE flag to a bunch of packages. Eventually I removed 
Steam from my system and thus removed the abi_x86_32 USE flag from those 
packages and rebuilt them, but now ever since doing that, I am stuck 
with a message telling me about preserve libs and to run emerge 
@preserved-rebuild to get rid of them, which I tried of course, but it 
doesn't actually rebuild anything and the message stays.


I also tried manually rebuilding those packages, rebuilding packages 
which depended on them, I even tried to rebuild @world in an effort to 
get rid of this message, but nothing seems to be working.


The list of affected libs are as follows:
!!! existing preserved libs:

package: app-arch/bzip2-1.0.8-r1

*  - /usr/lib/libbz2.so.1
*  - /usr/lib/libbz2.so.1.0.8
*  used by /usr/lib/libfreetype.so.6 (preserved)
*  used by /usr/lib/libfreetype.so.6.18.0 (preserved)

package: dev-libs/glib-2.68.4

*  - /usr/lib/libglib-2.0.so.0
*  - /usr/lib/libglib-2.0.so.0.6800.4
*  used by /usr/lib/libharfbuzz.so.0 (preserved)
*  used by /usr/lib/libharfbuzz.so.0.20901.0 (preserved)

package: dev-libs/libpcre-8.45

*  - /usr/lib/libpcre.so.1
*  - /usr/lib/libpcre.so.1.2.13
*  used by /usr/lib/libglib-2.0.so.0 (preserved)
*  used by /usr/lib/libglib-2.0.so.0.6800.4 (preserved)

package: media-gfx/graphite2-1.3.14

*  - /usr/lib/libgraphite2.so.3
*  - /usr/lib/libgraphite2.so.3.2.1
*  used by /usr/lib/libharfbuzz.so.0 (preserved)
*  used by /usr/lib/libharfbuzz.so.0.20901.0 (preserved)

package: media-libs/freetype-2.11.0-r1

*  - /usr/lib/libfreetype.so.6
*  - /usr/lib/libfreetype.so.6.18.0
*  used by /usr/lib/libharfbuzz.so.0 (preserved)
*  used by /usr/lib/libharfbuzz.so.0.20901.0 (preserved)

package: media-libs/harfbuzz-2.9.1

*  - /usr/lib/libharfbuzz.so.0
*  - /usr/lib/libharfbuzz.so.0.20901.0
*  used by /usr/lib/libfreetype.so.6 (preserved)
*  used by /usr/lib/libfreetype.so.6.18.0 (preserved)

package: media-libs/libpng-1.6.37-r2

*  - /usr/lib/libpng16.so.16
*  - /usr/lib/libpng16.so.16.37.0
*  used by /usr/lib/libfreetype.so.6 (preserved)
*  used by /usr/lib/libfreetype.so.6.18.0 (preserved)

package: sys-libs/zlib-1.2.11-r4

*  - /usr/lib/libz.so.1
*  - /usr/lib/libz.so.1.2.11
*  used by /usr/lib/libfreetype.so.6 (preserved)
*  used by /usr/lib/libfreetype.so.6.18.0 (preserved)
*  used by /usr/lib/libpng16.so.16 (preserved)
*  used by /usr/lib/libpng16.so.16.37.0 (preserved)
Use emerge @preserved-rebuild to rebuild packages using these libraries

I would appreciate any help to get rid of this message.

Thanks,
Julien

--
Sent with Tutanota, the secure & ad-free mailbox.




Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed

2021-11-21 Thread Mark Knecht
Congrats!

On Sun, Nov 21, 2021 at 2:17 AM gevisz  wrote:
>
> Just for the history: all my attempts to compile any version of
> tensorflow-2.5 failed.
> However, yesterday I successfully compiled tensorflow-2.7.0.
>
> So, now I am afraid to update it any more in the future. :(
>



Re: [gentoo-user] Wayland assorted problems IDENTIFIED

2021-11-21 Thread Wol

On 20/11/2021 19:59, Wol wrote:

Okay, I rebooted the system, and tried to start Wayland. The first log 
is the output of my first attempt. This hung and I had to kill it. 
Actually, it was worse than that,  caused the video 
driver or somesuch to crash - I ended up with a scrambled display, and 
had to ssh in and reboot ...


I then googled, and because it said DISPLAY is not set, I tried setting 
it to both DISPLAY=localhost:0 and DISPLAY=0:0. This gave two identical 
logs, the second one, which didn't hang - it just failed to start and 
terminated.


I'm trying to install and run the latest kernel - the current kernel has 
compiled the driver and firmware into the kernel, I've told the new 
kernel to build it as a module and not load the firmware into the 
kernel, but you've seen my post about genkernel ... where simply trying 
to tell genkernel to put the final initramfs somewhere other than the 
default causes fatal errors in the build ...


Cheers,
Wol


From the KDE Wayland web page ...

> Now switching back to the tty KWin is running on should show the 
started window and allow to interact with it. Support for running KWin 
on a tty is still in it's early stages. Bugs are to be expected and 
there are known missing features. Please consider it only as a mode to 
experiment with.


Hmmm  so I need to be running from sddm or similar if I want it to 
work ... which will open a complete 'nother can of worms ...


Cheers,
Wol



[gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed

2021-11-21 Thread gevisz
Just for the history: all my attempts to compile any version of
tensorflow-2.5 failed.
However, yesterday I successfully compiled tensorflow-2.7.0.

So, now I am afraid to update it any more in the future. :(