Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] mesa-18.2.2-r1 depends @preserved-library loop
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
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Wed Oct 10, 2018 9:04 am    Post subject: [SOLVED] mesa-18.2.2-r1 depends @preserved-library loop Reply with quote

Despite many time re-emerged media-libs/mesa app-emulation/wine-any and media-video/ffmpeg, still getting this annoying warning:
Code:

!!! existing preserved libs:
>>> package: media-libs/mesa-18.2.2-r1
 *  - /usr/lib32/OpenCL/vendors/mesa/libOpenCL.so.1
 *  - /usr/lib32/OpenCL/vendors/mesa/libOpenCL.so.1.0.0
 *      used by /usr/lib32/libavfilter.so.6.107.100 (media-video/ffmpeg-3.4.4)                                 
 *      used by /usr/lib32/libavutil.so.55.78.100 (media-video/ffmpeg-3.4.4)                                   
 *      used by /usr/lib32/wine-any-3.17/wine/opencl.dll.so (app-emulation/wine-any-3.17)                     
 *  - /usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1
 *  - /usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1.0.0
 *      used by /usr/bin/ffmpeg (media-video/ffmpeg-3.4.4)                                                     
 *      used by /usr/bin/ffplay (media-video/ffmpeg-3.4.4)                                                     
 *      used by /usr/bin/ffprobe (media-video/ffmpeg-3.4.4)                                                   
 *      used by 4 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries                     

What is the root cause for this? Should I just ignore it?


Last edited by Cuong Nguyen on Thu Oct 11, 2018 9:20 am; edited 1 time in total
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Wed Oct 10, 2018 12:18 pm    Post subject: Re: @preserved-library loop Reply with quote

Cuong Nguyen wrote:
Despite many time re-emerged media-libs/mesa app-emulation/wine-any and media-video/ffmpeg, still getting this annoying warning:
Code:

!!! existing preserved libs:
>>> package: media-libs/mesa-18.2.2-r1
 *  - /usr/lib32/OpenCL/vendors/mesa/libOpenCL.so.1
 *  - /usr/lib32/OpenCL/vendors/mesa/libOpenCL.so.1.0.0
 *      used by /usr/lib32/libavfilter.so.6.107.100 (media-video/ffmpeg-3.4.4)                                 
 *      used by /usr/lib32/libavutil.so.55.78.100 (media-video/ffmpeg-3.4.4)                                   
 *      used by /usr/lib32/wine-any-3.17/wine/opencl.dll.so (app-emulation/wine-any-3.17)                     
 *  - /usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1
 *  - /usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1.0.0
 *      used by /usr/bin/ffmpeg (media-video/ffmpeg-3.4.4)                                                     
 *      used by /usr/bin/ffplay (media-video/ffmpeg-3.4.4)                                                     
 *      used by /usr/bin/ffprobe (media-video/ffmpeg-3.4.4)                                                   
 *      used by 4 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries                     

What is the root cause for this? Should I just ignore it?

if going through
Code:
emerge @preserved-rebuild

didn't end the above message, you could try
Code:
emerge -C media-video/ffmpeg app-emulation/wine-any

Code:
emerge -1 media-video/ffmpeg app-emulation/wine-any

to get the two packages used to your new mesa!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Wed Oct 10, 2018 12:28 pm    Post subject: Re: @preserved-library loop Reply with quote

ulenrich wrote:
you could try
Code:
emerge -C media-video/ffmpeg app-emulation/wine-any

Code:
emerge -1 media-video/ffmpeg app-emulation/wine-any
to get the two packages used to your new mesa!
Sure?
The reporter wrote :
Quote:
Despite many time re-emerged media-libs/mesa app-emulation/wine-any and media-video/ffmpeg
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Wed Oct 10, 2018 3:49 pm    Post subject: Reply with quote

Obviously there is an error in the build system in that there was not fully purged something. ... not so sure what
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Oct 10, 2018 5:58 pm    Post subject: Reply with quote

There seems to be a bug in ffmpeg 3.4's build system, I've seen this happen to other people. Best to just ignore it.

If you really want, you can try moving those opencl libraries out of the way then reinstalling those packages, they shouldn't link to them then.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Thu Oct 11, 2018 1:23 am    Post subject: Re: @preserved-library loop Reply with quote

toralf wrote:
Sure?
The reporter wrote :
Quote:
Despite many time re-emerged media-libs/mesa app-emulation/wine-any and media-video/ffmpeg
The common interpretation of that phrasing is that he has been repeatedly running emerge on those packages to rebuild and reinstall over the old version. In the case of some broken build systems, the old broken version confuses the new build into becoming broken, which is likely why ulenrich suggested explicitly removing the old versions first, to prevent the build from finding them and attempting to use them.
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 495

PostPosted: Thu Oct 11, 2018 1:29 am    Post subject: Reply with quote

It's the media-libs/mesa-18.2.2-r1.ebuild, it doesn't do any of the OpenCL stuff media-libs/mesa-18.2.2.ebuild does and defaults to a dependence on dev-libs/ocl-icd (which doesn't use abi_x86_32, so is no good for wine).

I just masked media-libs/mesa-18.2.2-r1 and went back to media-libs/mesa-18.2.2 for now, and see which direction the -r2 goes.
Back to top
View user's profile Send private message
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Thu Oct 11, 2018 9:19 am    Post subject: Reply with quote

I masked mesa-18.2.2-r1, uninstall it and emerge mesa-18.2.2 and the @preserved-rebuild has gone, no need to reinstall wine-any and ffmpeg.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Thu Oct 11, 2018 11:12 am    Post subject: Reply with quote

Arrggh yes, if it is a new bug there is this way to get info quickly:
Search for "media-libs/mesa" at https://bugs.gentoo.org and you'll find the highest bug number
https://bugs.gentoo.org/668140
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