• [gentoo-user] nvidia-drivers wants static-libs, I do not.

    From Dale@21:1/5 to All on Sun Feb 13 09:50:01 2022
    Howdy,

    I recently did my weekly updates.  It wanted nvidia-drivers to have the static-libs USE flag enabled so I did it.  Then the video card wouldn't
    work when I logged out and back in because of a mismatch somewhere so I disabled static-libs and emerged it again.  That fixed the problem of no GUI.  Now I'm trying to finish the upgrade and get a clean output. 
    However, it seems a package, vtk and/or opencascade, demands the
    static-libs USE flag for nvidia-drivers which would again break the
    display the next time I logout and back in.  So, no matter what it
    wants, it can not have it.  The drivers do me no good if the result
    leaves me without a GUI.  This is the best output with details I can
    get.  I've tried removing packages, doing it in smaller parts but either
    way, it ends up with this:



    root@fireball / # emerge -auDNt world

    These are the packages that would be merged:

    Calculating dependencies... done!
    [nomerge       ] app-crypt/veracrypt-1.24_p8::gentoo  USE="X asm -doc" CPU_FLAGS_X86="sse2 sse4_1 ssse3"
    [nomerge       ]  x11-libs/wxGTK-3.0.4-r302:3.0-gtk3::gentoo  USE="X gstreamer libnotify opengl sdl tiff -debug -doc -webkit" ABI_X86="(64)
    -32 (-x32)"
    [nomerge       ]   x11-libs/libnotify-0.7.9-r1::gentoo  USE="introspection -gtk-doc -test" ABI_X86="(64) -32 (-x32)" [nomerge       ]    virtual/notification-daemon-0::gentoo  USE="kde -gnome"
    [nomerge       ]     kde-plasma/plasma-workspace-5.24.0-r1:5::gentoo 
    USE="calendar fontconfig handbook (policykit) -appstream -debug
    -geolocation -gps -screencast -semantic-desktop -telemetry -test" [nomerge       ]      media-libs/phonon-4.11.1-r1::gentoo  USE="vlc -debug -designer -gstreamer -pulseaudio"
    [nomerge       ]       media-libs/phonon-vlc-0.11.3-r1::gentoo  USE="-debug"
    [nomerge       ]        media-video/vlc-3.0.16-r7:0/5-9::gentoo  USE="X
    a52 alsa bidi bluray cddb dbus dvbpsi dvd encode ffmpeg flac fontconfig
    gcrypt jpeg libnotify libsamplerate mad mp3 mpeg ncurses ogg png qt5 ssl
    svg truetype udev x264 x265 xml zeroconf -aom -archive -aribsub
    -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -dts -faad
    -fdk -fluidsynth -gme -gnome-keyring -gstreamer -ieee1394 -jack -kate
    -libass -libcaca -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -matroska -modplug -mtp -musepack -nfs -omxil -optimisememory -opus -projectm -pulseaudio -rdp -run-as-root -samba
    -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test
    -theora -tremor -twolame -upnp -v4l -vaapi -vdpau -vnc -vpx -wayland
    -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1"
    [nomerge       ]         media-video/ffmpeg-4.4.1-r1:0/56.58.58::poly-c 
    USE="X alsa bluray bzip2 dav1d encode fdk fontconfig frei0r gnutls gpl
    iconv jpeg2k lzma mp3 network opengl openh264 postproc sdl svg theora
    threads truetype vorbis vpx x264 x265 xvid zlib -amr -amrenc (-appkit)
    -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug
    -doc -flite -fribidi -gcrypt -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca
    -libdrm -libilbc -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -openal -opencl
    -openssl -opus -oss -pic -pulseaudio -rav1e -rubberband -samba -snappy
    -sndio -speex -srt -ssh -static-libs -svt-av1 -test -twolame -v4l -vaapi
    -vdpau -vidstab -vulkan -webp -zeromq -zimg -zvbi" ABI_X86="(64) -32
    (-x32)" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1
    sse4_2 ssse3 xop -3dnow -3dnowext -avx2" FFTOOLS="aviocat cws2fws
    ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper
    qt-faststart sidxindex trasher" VIDEO_CARDS="nvidia"
    [nomerge       ]          media-libs/nv-codec-headers-11.1.5.0::gentoo 
    ABI_X86="(64) -32 (-x32)"
    [ebuild   R    ]           x11-drivers/nvidia-drivers-470.103.01:0/470::gentoo  USE="X driver static-libs* tools -dist-kernel -persistenced -wayland" ABI_X86="(64)
    -32" 0 KiB
    [nomerge       ]  app-admin/sudo-1.9.8_p2::gentoo  USE="nls offensive pam sasl secure-path sendmail ssl -gcrypt -ldap (-selinux) -skey -sssd" [nomerge       ]   dev-libs/cyrus-sasl-2.1.27-r6:2::gentoo  USE="gdbm java mysql pam sqlite ssl -authdaemond -berkdb -kerberos -ldapdb
    -openldap -postgres -sample (-selinux) -srp -static-libs -urandom" ABI_X86="(64) -32 (-x32)"
    [nomerge       ]    virtual/jdk-1.8.0-r6:1.8::gentoo  USE="-headless-awt"
    [ebuild     U  ]     dev-java/openjdk-bin-8.322_p06:8::gentoo [8.312_p07:8::gentoo] USE="alsa cups -examples -headless-awt (-selinux) -source" 100,649 KiB
    [nomerge       ] media-gfx/digikam-7.5.0:5::gentoo  USE="X gphoto2 heif imagemagick lensfun mysql opengl openmp panorama scanner -addressbook
    -calendar -debug -marble -mediaplayer -semantic-desktop"
    [ebuild  N     ]  media-gfx/hugin-2020.0.0-r1::gentoo  USE="sift -debug -lapack -python -raw" L10N="-ca -ca-valencia -cs -da -de -en-GB -es -eu
    -fi -fr -hu -it -ja -nl -pl -pt-BR -ro -ru -sk -sv -zh-CN -zh-TW" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB
    [nomerge       ]   media-gfx/enblend-4.2.0_p20161007-r1::gentoo  USE="openmp -debug -doc -tcmalloc" CPU_FLAGS_X86="sse2"
    [nomerge       ]    media-libs/vigra-1.11.1-r3::gentoo  USE="hdf5 jpeg
    openexr png python tiff zlib -doc -fftw -mpi -test -valgrind" PYTHON_TARGETS="python3_9 -python3_8"
    [ebuild   R    ]     sci-libs/hdf5-1.10.5-r1:0/1.10.5::gentoo  USE="hl*
    zlib -cxx -debug -examples -fortran -mpi -szip -threads* -unsupported" 0 KiB [ebuild     U ~] sci-electronics/kicad-5.1.12-r2::gentoo
    [5.1.12::gentoo] USE="examples github ngspice occ* openmp python -doc
    (-oce%*)" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB
    [ebuild  N    ~]  sci-libs/opencascade-7.5.2-r5:0/7.5::gentoo  USE="ffmpeg vtk -debug -doc -examples -freeimage -gles2-only -json
    -optimize -tbb" 46,692 KiB
    [ebuild  N    ~]   sci-libs/vtk-9.0.3-r4:0/9.0::gentoo  USE="X ffmpeg java json mysql openmp qt5 rendering -all-modules -boost -cuda -doc
    -examples -gdal -imaging -kits -mpi -odbc -offscreen -pegtl -postgres
    -python -tbb -test -theora -tk -views -web"
    PYTHON_SINGLE_TARGET="python3_9 -python3_8" VIDEO_CARDS="nvidia" 438,026 KiB [ebuild  N    ~]    sci-libs/kissfft-131.1.0::gentoo  USE="openmp -alloca -test -tools" CPU_FLAGS_X86="sse" 52 KiB
    [ebuild  N     ]    sci-libs/netcdf-4.8.1-r1:0/19::gentoo  USE="dap hdf5
    -doc -examples -hdf -mpi -szip -test -tools" 18,513 KiB
    [ebuild  N     ]    dev-db/mariadb-connector-c-3.1.13:0/3::gentoo  USE="curl ssl -gnutls -kerberos -static-libs -test" ABI_X86="(64) -32
    (-x32)" 946 KiB
    [ebuild  N     ]    sci-libs/proj-7.2.1:0/19::gentoo  USE="curl tiff -europe -static-libs -test" 12,031 KiB
    [ebuild  N     ]    x11-libs/gl2ps-1.4.2::gentoo  USE="png zlib -doc" 295 KiB
    [ebuild  N     ]   dev-libs/rapidjson-1.1.0-r3::gentoo  USE="-doc -examples -test" 996 KiB
    [nomerge       ] sci-electronics/kicad-meta-5.1.12::gentoo  USE="nls -doc -minimal"
    [ebuild     U ~]  sci-electronics/kicad-packages3d-5.1.12-r1::gentoo [5.1.12::gentoo] USE="occ* (-oce%*)" 0 KiB

    Total: 14 packages (3 upgrades, 9 new, 2 reinstalls), Size of downloads: 618,196 KiB

    WARNING: One or more updates/rebuilds have been skipped due to a
    dependency conflict:

    dev-libs/boost:0

      (dev-libs/boost-1.78.0-r2:0/1.78.0::gentoo, ebuild scheduled for
    merge) USE="bzip2 context icu lzma nls python zlib -debug -doc -mpi
    -numpy -tools -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 -python3_10 -python3_8" conflicts with
        dev-libs/boost:0/1.77.0= required by (media-gfx/luminance-hdr-2.6.0-r1:0/0::gentoo, installed) USE="openmp
    -fits -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2"                   ^^^^^^^^^^
        >=dev-libs/boost-1.66:0/1.77.0= required by (media-video/mkvtoolnix-64.0.0:0/0::gentoo, installed) USE="dbus dvd gui
    nls -debug (-pch) -test" ABI_X86="(64)"                          ^^^^^^^^^^
        dev-libs/boost:0/1.77.0=[python,python_targets_python3_9(-)]
    required by (media-libs/vigra-1.11.1-r3:0/0::gentoo, installed)
    USE="hdf5 jpeg openexr png python tiff zlib -doc -fftw -mpi -test
    -valgrind" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_8"                   ^^^^^^^^^^                                   


    The following USE changes are necessary to proceed:
     (see "package.use" in the portage(5) man page for more details)
    # required by sci-libs/vtk-9.0.3-r4::gentoo[video_cards_nvidia]
    # required by sci-libs/opencascade-7.5.2-r5::gentoo[vtk]
    # required by sci-electronics/kicad-5.1.12-r2::gentoo[occ]
    # required by sci-electronics/kicad-packages3d-5.1.12-r1::gentoo
    # required by sci-electronics/kicad-meta-5.1.12::gentoo[-minimal]
    # required by @selected
    # required by @world (argument)
    =x11-drivers/nvidia-drivers-470.103.01 static-libs

    Would you like to add these changes to your config files? [Yes/No]


    I'm not sure if the boost output is related or not.  I did read
    somewhere that opencascade is replacing oce.  From the above, I suspect
    vtk and/or opencascade is causing this.  That may be related but dang if
    I can figure out a way around this.  Anyone else run into this and find
    a fix or see something I'm missing? 

    Thanks.

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to Dale on Sun Feb 13 10:00:01 2022
    On Sun, 13 Feb 2022 at 09:43, Dale <rdalek1967@gmail.com> wrote:
    The following USE changes are necessary to proceed:
    (see "package.use" in the portage(5) man page for more details)
    # required by sci-libs/vtk-9.0.3-r4::gentoo[video_cards_nvidia]
    # required by sci-libs/opencascade-7.5.2-r5::gentoo[vtk]
    # required by sci-electronics/kicad-5.1.12-r2::gentoo[occ]
    # required by sci-electronics/kicad-packages3d-5.1.12-r1::gentoo
    # required by sci-electronics/kicad-meta-5.1.12::gentoo[-minimal]
    # required by @selected
    # required by @world (argument)
    =x11-drivers/nvidia-drivers-470.103.01 static-libs

    Would you like to add these changes to your config files? [Yes/No]


    I'm not sure if the boost output is related or not. I did read
    somewhere that opencascade is replacing oce. From the above, I suspect
    vtk and/or opencascade is causing this. That may be related but dang if
    I can figure out a way around this. Anyone else run into this and find
    a fix or see something I'm missing?

    I don't know how this would impact functionality, but it looks like
    you could avoid this by setting USE on sci-libs/vtk to
    "-video_cards_nvidia". The cuda USE flag requires this, but that is
    already disabled for you.

    Regards,
    Arve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to Dale on Sun Feb 13 14:30:02 2022
    On Sun, 13 Feb 2022 at 14:12, Dale <rdalek1967@gmail.com> wrote:
    I suspect Kicad is not used by most but removing digikam seemed to be
    the one that opened the door to a clear path for emerge. That package
    is commonly used. So, that info may help if a person runs into this.
    I'm not sure what if any effect boost had. It may be worth not removing
    it unless others fail to give a clear path.

    Thanks again for the help. I saw it but didn't realize its meaning.
    You did.

    You shouldn't have libs in your world file anyway, it should only be
    the packages that you directly use. If packages need it, and many use
    boost, they will pull it in as needed. :)

    Regards,
    Arve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Arve Barsnes on Sun Feb 13 14:20:01 2022
    Arve Barsnes wrote:
    On Sun, 13 Feb 2022 at 09:43, Dale <rdalek1967@gmail.com> wrote:
    The following USE changes are necessary to proceed:
    (see "package.use" in the portage(5) man page for more details)
    # required by sci-libs/vtk-9.0.3-r4::gentoo[video_cards_nvidia]
    # required by sci-libs/opencascade-7.5.2-r5::gentoo[vtk]
    # required by sci-electronics/kicad-5.1.12-r2::gentoo[occ]
    # required by sci-electronics/kicad-packages3d-5.1.12-r1::gentoo
    # required by sci-electronics/kicad-meta-5.1.12::gentoo[-minimal]
    # required by @selected
    # required by @world (argument)
    =x11-drivers/nvidia-drivers-470.103.01 static-libs
    Would you like to add these changes to your config files? [Yes/No]


    I'm not sure if the boost output is related or not. I did read
    somewhere that opencascade is replacing oce. From the above, I suspect
    vtk and/or opencascade is causing this. That may be related but dang if
    I can figure out a way around this. Anyone else run into this and find
    a fix or see something I'm missing?
    I don't know how this would impact functionality, but it looks like
    you could avoid this by setting USE on sci-libs/vtk to
    "-video_cards_nvidia". The cuda USE flag requires this, but that is
    already disabled for you.

    Regards,
    Arve



    Oh thank you for that hint.  I thought that was coming from make.conf
    that I had a nvidia video card as opposed to a ATI or something.  No
    idea I could disable it since it was just a USE flag.  Changing that got
    me out of the static-libs USE flag demand. 

    Now I'm having issues with hdf5 and flann.  I think this is like the
    harfbuzz circle people run into.  I ended up removing packages that are
    not absolutely needed in order to get it to give me a clean path.  I
    plan to add those packages back to the world file once this emerge is
    done and see if it emerges those back without problems.  In case someone
    else runs into this problem, even tho this thread wasn't exactly about
    this, this is what I had to remove from the world file.


    dev-libs/boost
    sci-electronics/kicad-meta
    media-gfx/digikam


    I suspect Kicad is not used by most but removing digikam seemed to be
    the one that opened the door to a clear path for emerge.  That package
    is commonly used.  So, that info may help if a person runs into this. 
    I'm not sure what if any effect boost had.  It may be worth not removing
    it unless others fail to give a clear path.

    Thanks again for the help.  I saw it but didn't realize its meaning. 
    You did. 

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Arve Barsnes on Sun Feb 13 20:10:01 2022
    Arve Barsnes wrote:
    On Sun, 13 Feb 2022 at 14:12, Dale <rdalek1967@gmail.com> wrote:
    I suspect Kicad is not used by most but removing digikam seemed to be
    the one that opened the door to a clear path for emerge. That package
    is commonly used. So, that info may help if a person runs into this.
    I'm not sure what if any effect boost had. It may be worth not removing
    it unless others fail to give a clear path.

    Thanks again for the help. I saw it but didn't realize its meaning.
    You did.
    You shouldn't have libs in your world file anyway, it should only be
    the packages that you directly use. If packages need it, and many use
    boost, they will pull it in as needed. :)

    Regards,
    Arve




    I noticed that boost was pulled in when doing the other updates since. 
    I have -1 in my emerge defaults so at some point, I had to have a good
    reason for putting it there on purpose.  Thing is, you are correct, it shouldn't be there. 

    As a update to status, it is doing a emerge @preserved-rebuild right now
    but it found a clear path.  Once that is done, I plan to add the others
    in my list except boost.  I'm going to scan my world file too, just in
    case something else is lurking about that shouldn't be there.  We all
    know that having things in there that shouldn't be there causes issues. 
    How boost got there, I'm not sure. 

    Thanks again.  So far, nvidia-settings is not wanting static-libs so it
    seems that is fixed. 

    Dale

    :-)  :-) 

    P. S.  I got a email that another part of KDE just got released.  Oh yeppie.  :-D

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)