Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

leeflemingster

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by leeflemingster

  1. I've just updated to release 1.4 and the only package that will not build when doing an "emerge -auND world" is dnsmasq.

     

    x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer -march=bonnell -pipe -DNO_AUTH  -DNO_CONNTRACK  -DNO_DBUS  -DNO_IDN  -DNO_LIBIDN2     -DNO_ID  -DNO_LUASCRIPT  -DNO_SCRIPT  -DNO_TFTP  -DHAVE_DNSSEC  -DNO_DNSSEC_STATIC  -DLOCALEDIR='"/usr/share/locale"' -DVERSION='"2.80"'           -c ubus.c
    crypto.c: In function ‘dnsmasq_ecdsa_verify’:
    crypto.c:297:36: error: ‘nettle_secp_256r1’ undeclared (first use in this function); did you mean ‘nettle_get_secp_256r1’?
      297 |    nettle_ecc_point_init(key_256, &nettle_secp_256r1);
          |                                    ^~~~~~~~~~~~~~~~~
          |                                    nettle_get_secp_256r1
    crypto.c:297:36: note: each undeclared identifier is reported only once for each function it appears in
    crypto.c:310:36: error: ‘nettle_secp_384r1’ undeclared (first use in this function); did you mean ‘nettle_get_secp_384r1’?
      310 |    nettle_ecc_point_init(key_384, &nettle_secp_384r1);
          |                                    ^~~~~~~~~~~~~~~~~
          |                                    nettle_get_secp_384r1
    make[1]: *** [/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/Makefile:161: crypto.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80/src'
    make: *** [Makefile:110: all-i18n] Error 2
     * ERROR: net-dns/dnsmasq-2.80::net-kit failed (compile phase):
     *   emake failed
     *
     * If you need support, post the output of `emerge --info '=net-dns/dnsmasq-2.80::net-kit'`,
     * the complete build log and the output of `emerge -pqv '=net-dns/dnsmasq-2.80::net-kit'`.
     * The complete build log is located at '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/environment'.
     * Working directory: '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80'
     * S: '/var/tmp/portage/net-dns/dnsmasq-2.80/work/dnsmasq-2.80'
    
    >>> Failed to emerge net-dns/dnsmasq-2.80, Log file:
    
    >>>  '/var/tmp/portage/net-dns/dnsmasq-2.80/temp/build.log'

     

    # emerge --info '=net-dns/dnsmasq-2.80::net-kit
    
    Portage 2.3.78 (python 3.7.6-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-9.2.0, glibc-2.29-r3, 4.19.27-gentoo-r1 x86_64)
    =================================================================
                             System Settings
    =================================================================
    System uname: Linux-4.19.27-gentoo-r1-x86_64-Intel-R-_Atom-TM-_CPU_D510_@_1.66GHz-with-gentoo-1.4
    KiB Mem:      999604 total,    278356 free
    KiB Swap:    5242876 total,   5226484 free
    sh bash 5.0_p7
    ld GNU ld (Gentoo 2.32 p2) 2.32.0
    app-shells/bash:          5.0_p7::core-kit
    dev-lang/perl:            5.28.2-r1::perl-kit
    dev-lang/python:          2.7.17::python-kit, 3.7.6::python-kit
    dev-util/cmake:           3.14.5::core-kit
    sys-apps/baselayout:      2.6.1-r1::core-kit
    sys-apps/openrc:          0.41.2-r2::core-kit
    sys-apps/sandbox:         2.17::core-kit
    sys-devel/autoconf:       2.69-r4::core-kit
    sys-devel/automake:       1.11.6-r3::core-kit, 1.15.1-r2::core-kit, 1.16.1-r1::core-kit
    sys-devel/binutils:       2.31.1-r1::core-kit, 2.32-r1::core-kit
    sys-devel/gcc:            7.4.1-r8::core-kit, 9.2.0::core-kit
    sys-devel/gcc-config:     2.0::core-kit
    sys-devel/libtool:        2.4.6-r5::core-kit
    sys-devel/make:           4.2.1-r4::core-kit
    sys-kernel/linux-headers: 4.14::core-kit (virtual/os-headers)
    sys-libs/glibc:           2.29-r3::core-kit
    Repositories:
    
    nokit
        location: /var/git/meta-repo/kits/nokit
        masters: core-kit
        priority: -500
    
    browser-kit
        location: /var/git/meta-repo/kits/browser-kit
        masters: core-kit
        priority: 1
    
    core-gl-kit
        location: /var/git/meta-repo/kits/core-gl-kit
        masters: core-kit
        priority: 1
    
    core-hw-kit
        location: /var/git/meta-repo/kits/core-hw-kit
        masters: core-kit
        priority: 1
    
    core-kit
        location: /var/git/meta-repo/kits/core-kit
    
        priority: 1
        aliases: gentoo
    
    core-server-kit
        location: /var/git/meta-repo/kits/core-server-kit
        masters: core-kit
        priority: 1
    
    desktop-kit
        location: /var/git/meta-repo/kits/desktop-kit
        masters: core-kit
        priority: 1
    
    dev-kit
        location: /var/git/meta-repo/kits/dev-kit
        masters: core-kit
        priority: 1
    
    editors-kit
        location: /var/git/meta-repo/kits/editors-kit
        masters: core-kit
        priority: 1
    
    games-kit
        location: /var/git/meta-repo/kits/games-kit
        masters: core-kit
        priority: 1
    
    gnome-kit
        location: /var/git/meta-repo/kits/gnome-kit
        masters: core-kit
        priority: 1
    
    haskell-kit
        location: /var/git/meta-repo/kits/haskell-kit
        masters: core-kit
        priority: 1
    
    java-kit
        location: /var/git/meta-repo/kits/java-kit
        masters: core-kit
        priority: 1
    
    kde-kit
        location: /var/git/meta-repo/kits/kde-kit
        masters: core-kit
        priority: 1
    
    lang-kit
    
        location: /var/git/meta-repo/kits/lang-kit
        masters: core-kit
        priority: 1
    
    lisp-scheme-kit
        location: /var/git/meta-repo/kits/lisp-scheme-kit
        masters: core-kit
        priority: 1
    
    llvm-kit
        location: /var/git/meta-repo/kits/llvm-kit
        masters: core-kit
        priority: 1
    
    media-kit
        location: /var/git/meta-repo/kits/media-kit
        masters: core-kit
        priority: 1
    
    ml-lang-kit
        location: /var/git/meta-repo/kits/ml-lang-kit
        masters: core-kit
        priority: 1
    
    net-kit
        location: /var/git/meta-repo/kits/net-kit
        masters: core-kit
        priority: 1
    
    perl-kit
        location: /var/git/meta-repo/kits/perl-kit
        masters: core-kit
        priority: 1
    
    python-kit
        location: /var/git/meta-repo/kits/python-kit
        masters: core-kit
        priority: 1
    
    python-modules-kit
        location: /var/git/meta-repo/kits/python-modules-kit
        masters: core-kit
        priority: 1
    
    qt-kit
        location: /var/git/meta-repo/kits/qt-kit
        masters: core-kit
        priority: 1
    
    ruby-kit
        location: /var/git/meta-repo/kits/ruby-kit
        masters: core-kit
        priority: 1
    
    rust-kit
        location: /var/git/meta-repo/kits/rust-kit
        masters: core-kit
        priority: 1
    
    science-kit
        location: /var/git/meta-repo/kits/science-kit
        masters: core-kit
        priority: 1
    
    security-kit
        location: /var/git/meta-repo/kits/security-kit
        masters: core-kit
        priority: 1
    
    text-kit
        location: /var/git/meta-repo/kits/text-kit
        masters: core-kit
        priority: 1
    
    xfce-kit
        location: /var/git/meta-repo/kits/xfce-kit
        masters: core-kit
        priority: 1
    
    xorg-kit
        location: /var/git/meta-repo/kits/xorg-kit
        masters: core-kit
        priority: 1
    
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe"
    DISTDIR="/var/cache/portage/distfiles"
    FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe"
    GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
    LANG="POSIX"
    
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    LINGUAS="en-GB"
    MAKEOPTS="-j5"
    PKGDIR="/var/cache/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    USE="acl amd64 berkdb bzip2 cracklib crypt curl cxx gdbm glvnd iconv icu ipv6 logrotate mmx modules mudflap ncurses nls nptl openmp pam pcre python readline resolvconf sse sse2 ssl tcpd unicode upnp vaapi vdpau xa xattr xml xvmc zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel vulkan-intel dri3 i965 i915 osmesa swrast" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
    
    =================================================================
                            Package Settings
    =================================================================
    
    net-dns/dnsmasq-2.80::net-kit was built with the following:
    USE="dhcp dnssec dumpfile inotify ipv6 nls -auth-dns -conntrack -dbus -dhcp-tools -id -idn -libidn2 -lua -script (-selinux) -static -tftp"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    emerge -pqv '=net-dns/dnsmasq-2.80::net-kit'
    [ebuild   R   ] net-dns/dnsmasq-2.80  USE="dhcp dnssec dumpfile inotify ipv6 nls -auth-dns -conntrack -dbus -dhcp-tools -id -idn -libidn2 -lua -script (-selinux) -static -tftp"

     

    Does anyone know how to fix this?


     

  2. I'm following the upgrade instructions here https://www.funtoo.org/Upgrade_Instructions/1.4-release

    I'm getting the following error when trying to update the world.

    # emerge -auDN @world --jobs=3 --exclude dev-lang/perl
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies |
    
    !!! Problem resolving dependencies for app-editors/vim from @selected                                                                                                                                     ... done!
    
    !!! The ebuild selected to satisfy "app-editors/vim" has unmet requirements.
    - app-editors/vim-8.2.0493::editors-kit USE="acl nls python -X -cscope -debug -gpm -lua -luajit -minimal -perl -racket -ruby (-selinux) -tcl -vim-pager" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_5"
    
      The following REQUIRED_USE flag constraints are unsatisfied:
        python? ( at-most-one-of ( python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 ) )
    
      The above constraints are a subset of the following complete expression:
        luajit? ( lua ) python? ( any-of ( python_targets_python2_7 python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 ) at-most-one-of ( python_targets_python2_7 ) at-most-one-of ( python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 ) )
    
    (dependency required by "@selected" [set])
    (dependency required by "@world" [argument])

     

    Python targets are set in /etc/make.conf, but as per the update instructions I set this manually.

     

    # cat /etc/make.conf
    MAKEOPTS="-j5"
    L10N="en-GB"
    LINGUAS="en-GB"
    GRUB_PLATFORMS="pc"
    USE="upnp ipv6 logrotate"
    PYTHON_TARGETS="python2_7 python3_6 python3_7"
    PYTHON_SINGLE_TARGET="python3_7"
    
    # echo $PYTHON_TARGETS
    python3_7 python3_6 python2_7

     

    What am I missing?
     

     

  3. From the bug report you linked to there was some talk of building the initramfs. I remembered that genkernel produced the following warning.

     

    ------------------------ WARNING --------------------------
     No cachefile set on ZFS pool 'main'!
     Startup times will be VERY SLOW as a result.
     To set a cachefile, run a command like this:
        zpool set cachefile=/etc/zfs/zpool-main.chache main
     ... then re-run genkernel.
    -----------------------------------------------------------

     

    I tried to rebuild the initramfs but that didn't help (although I might have been too quick to press the reset button after seeing the ZFS error.)

    I then just deleted /etc/zfs/zpool-main.cache and /etc/zfs/zpool.cache. (The funtoo install guide uses zpool.cache and genkernel uses zpool-main.cache. I suspect you only need 1 of these).

    When booting it complained about not being able to find this file but it autodetected and still booted.

     

    Now to find the correct way to attach a new drive to the pool.

  4. I have a raid0 striped ZFS pool which I have been booting from with no problems, which looks like this:

    # zpool status
      pool: main
     state: ONLINE
    config:
    
            NAME        STATE     READ WRITE CKSUM
            main        ONLINE       0     0     0
              sda       ONLINE       0     0     0
              sdb       ONLINE       0     0     0
    
    errors: No known data errors

    I want to make this into a 4 drive raid10. I purchased the 3rd drive and intend to add the 4th later. I did the following:

    # zpool attach main /dev/sda /dev/sdc
    Make sure to wait until resilver is done before rebooting.

    It looked like everything went well.

    # zpool status
      pool: main
     state: ONLINE
      scan: resilvered 62.1G in 0h50m with 0 errors on Fri Sep 13 10:26:04 2019
    config:
    
            NAME        STATE     READ WRITE CKSUM
            main        ONLINE       0     0     0
              mirror-0  ONLINE       0     0     0
                sda     ONLINE       0     0     0
                sdc     ONLINE       0     0     0
              sdb       ONLINE       0     0     0
    
    errors: No known data errors

    But on the next boot I got the following:

    >> Importing ZFS pool 'main' using cachefile '/etc/zfs/zpool-main.cache'
    cannot import 'main': one or more devices is currently unavailable
    !! Importing main failed
    >> Determining root device...
    cannot open 'main/funtoo/root': dataset does not exist
    !! main/funtoo/root is not a filesystem
    !! Could not find the root block device in ZFS=main/funtoo/root.

    So I fired up an ubuntu live cd and did the following

    # zpool import main -R /mnt/funtoo

    Which mounted without a problem.

    I tried to regenerate the cachefile using:

    # zpool set cachefile=/mnt/funtoo/etc/zfs/zpool-main.cash

    Which didn't help. I tried:

    # zpool set cachefile=none

    But that didn't do anything either. I tried to remove the drive I'd just added:

    # zpool detach main /dev/sdc

    The zpool looked ok;

    # zpool status
      pool: main
     state: ONLINE
      scan: resilvered 62.1G in 0h50m with 0 errors on Fri Sep 13 10:26:04 2019
    config:
    
            NAME        STATE     READ WRITE CKSUM
            main        ONLINE       0     0     0
              sda       ONLINE       0     0     0
              sdb       ONLINE       0     0     0
    
    errors: No known data errors

    But it still will not boot. What can I do next?

  5. I've added the following to /etc/portage/package.use but the block is still there.

    www-client/firefox-bin -pulseaudio
    # emerge -auND world          
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  N     ] sys-fs/exfat-utils-1.3.0 
    [ebuild   R    ] x11-libs/libdrm-2.4.94  VIDEO_CARDS="-nouveau*" 
    [ebuild  N     ] sys-fs/fuse-common-3.2.6 
    [ebuild  N     ] sys-fs/fuse-2.9.8  USE="-examples -static-libs" 
    [ebuild  N     ] sys-fs/fuse-exfat-1.3.0 
    [ebuild   R    ] media-libs/mesa-18.2.8  USE="-opencl* -vdpau*" 
    [ebuild   R    ] x11-base/xorg-drivers-1.20  VIDEO_CARDS="-nouveau*" 
    [ebuild     U  ] app-editors/vim-core-8.1.1248 [8.1.1170]
    [ebuild   R    ] gnome-base/gsettings-desktop-schemas-3.28.1  USE="introspection*" 
    [ebuild   R    ] media-libs/graphene-1.8.2  USE="introspection*" 
    [ebuild   R    ] net-libs/libsoup-2.64.2  USE="introspection*" 
    [ebuild     U  ] app-editors/vim-8.1.1248 [8.1.1170]
    [ebuild   R    ] media-libs/libsdl2-2.0.9  USE="-pulseaudio*" 
    [ebuild   R    ] dev-libs/libgudev-232  USE="introspection*" 
    [ebuild   R    ] virtual/libgudev-232  USE="introspection*" 
    [ebuild   R    ] net-dns/avahi-0.7-r4  USE="introspection*" 
    [ebuild   R    ] media-libs/gstreamer-1.14.4  USE="introspection*" 
    [ebuild   R    ] media-libs/gst-plugins-base-1.14.4-r1  USE="introspection*" 
    [ebuild   R    ] media-video/ffmpeg-3.4.5  USE="-pulseaudio*" 
    [ebuild   R    ] www-client/chromium-71.0.3578.30  USE="-pulseaudio*" 
    [ebuild   R    ] x11-libs/gtk+-2.24.32-r1  USE="introspection*" 
    [ebuild   R    ] www-client/firefox-bin-64.0  USE="-pulseaudio*" 
    [ebuild     U  ] sys-libs/pam-1.3.1.20190226 [1.3.0-r3] USE="nullok%* sha512%* -minimal% -mktemp% -pam_krb5% -pam_ssh% -passwdqc% -securetty% -static-libs%" 
    [ebuild     U  ] sys-auth/pambase-20190426 [20150213-r3] USE="-nullok* -sha512*" 
    [blocks b      ] <sys-auth/pambase-20190426 ("<sys-auth/pambase-20190426" is blocking sys-libs/pam-1.3.1.20190226)
    [ebuild   R    ] sys-auth/polkit-0.115-r1  USE="introspection*" 
    [ebuild   R    ] sys-fs/udisks-2.7.6  USE="introspection*" 
    [ebuild   R    ] sys-power/upower-0.99.9.20181025  USE="introspection*" 
    [ebuild   R    ] lxqt-base/lxqt-panel-0.13.0  USE="-pulseaudio*" 
    
    Would you like to merge these packages? [Yes/No] 

     

  6. Thanks. Removing the gfxcard-nvidia mix-in has fixed the nvidia problem. As for the blocking package, I don't appear to have apulse installed and pulseaudio is already installed.

    # emerge -C media-sound/apulse
     * This action can remove important packages! In order to be safer, use
     * `emerge -pv --depclean <atom>` to check for reverse dependencies before
     * removing packages.
    
    --- Couldn't find 'media-sound/apulse' to unmerge.
    
    >>> No packages selected for removal by unmerge

     

    # emerge -a pulseaudio
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild   R    ] media-sound/pulseaudio-12.2 
    [ebuild  N     ] media-plugins/alsa-plugins-1.1.7-r1  USE="ffmpeg mix pulseaudio usb_stream -arcam_av -debug -jack (-libav) -libsamplerate -oss -speex" 
    
    The following USE changes are necessary to proceed:
     (see "package.use" in the portage(5) man page for more details)
    # required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
    # required by pulseaudio (argument)
    >=media-plugins/alsa-plugins-1.1.7-r1 pulseaudio
    
    Would you like to add these changes to your config files? [Yes/No] 


     

     

    I have removed the pulseaudio use flag and uninstalled alsa-plugins, but it is trying to reinstall alsa-plugins.

     

    # emerge -auND world    
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  N     ] sys-fs/exfat-utils-1.3.0 
    [ebuild   R    ] x11-libs/libdrm-2.4.94  VIDEO_CARDS="-nouveau*" 
    [ebuild  N     ] sys-fs/fuse-common-3.2.6 
    [ebuild  N     ] sys-fs/fuse-2.9.8  USE="-examples -static-libs" 
    [ebuild  N     ] sys-fs/fuse-exfat-1.3.0 
    [ebuild   R    ] media-libs/mesa-18.2.8  USE="-opencl* -vdpau*" 
    [ebuild   R    ] x11-base/xorg-drivers-1.20  VIDEO_CARDS="-nouveau*" 
    [ebuild     U  ] app-editors/vim-core-8.1.1248 [8.1.1170]
    [ebuild   R    ] gnome-base/gsettings-desktop-schemas-3.28.1  USE="introspection*" 
    [ebuild   R    ] media-libs/graphene-1.8.2  USE="introspection*" 
    [ebuild   R    ] net-libs/libsoup-2.64.2  USE="introspection*" 
    [ebuild     U  ] app-editors/vim-8.1.1248 [8.1.1170]
    [ebuild   R    ] media-libs/libsdl2-2.0.9  USE="-pulseaudio*" 
    [ebuild   R    ] dev-libs/libgudev-232  USE="introspection*" 
    [ebuild   R    ] virtual/libgudev-232  USE="introspection*" 
    [ebuild  NS    ] sys-kernel/debian-sources-lts-4.9.168_p1 [4.9.161_p1] USE="binary -ec2 -sign-modules" 
    [ebuild   R    ] net-dns/avahi-0.7-r4  USE="introspection*" 
    [ebuild   R    ] media-libs/gstreamer-1.14.4  USE="introspection*" 
    [ebuild   R    ] media-libs/gst-plugins-base-1.14.4-r1  USE="introspection*" 
    [ebuild   R    ] media-video/ffmpeg-3.4.5  USE="-pulseaudio*" 
    [ebuild   R    ] www-client/chromium-71.0.3578.30  USE="-pulseaudio*" 
    [ebuild   R    ] x11-libs/gtk+-2.24.32-r1  USE="introspection*" 
    [ebuild  N     ] media-plugins/alsa-plugins-1.1.7-r1  USE="ffmpeg mix pulseaudio usb_stream -arcam_av -debug -jack (-libav) -libsamplerate -oss -speex" 
    [ebuild     U  ] sys-libs/pam-1.3.1.20190226 [1.3.0-r3] USE="nullok%* sha512%* -minimal% -mktemp% -pam_krb5% -pam_ssh% -passwdqc% -securetty% -static-libs%" 
    [ebuild     U  ] sys-auth/pambase-20190426 [20150213-r3] USE="-nullok* -sha512*" 
    [blocks b      ] <sys-auth/pambase-20190426 ("<sys-auth/pambase-20190426" is blocking sys-libs/pam-1.3.1.20190226)
    [ebuild   R    ] sys-auth/polkit-0.115-r1  USE="introspection*" 
    [ebuild   R    ] sys-fs/udisks-2.7.6  USE="introspection*" 
    [ebuild   R    ] sys-power/upower-0.99.9.20181025  USE="introspection*" 
    [ebuild   R    ] lxqt-base/lxqt-panel-0.13.0  USE="-pulseaudio*" 
    
    The following USE changes are necessary to proceed:
     (see "package.use" in the portage(5) man page for more details)
    # required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
    # required by www-client/firefox-bin-64.0::net-kit[pulseaudio]
    # required by @selected
    # required by @world (argument)
    >=media-plugins/alsa-plugins-1.1.7-r1 pulseaudio
    
    Would you like to add these changes to your config files? [Yes/No] 

     

  7. None of these solutions appear to work. 

    My /etc/portage/package.mask is now just.

    >x11-drivers/nvidia-drivers-340.107

    The --noreplace option gives.

    # emerge -av --noreplace "=x11-drivers/nvidia-drivers-340.107"
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    
    Total: 0 packages, Size of downloads: 0 KiB


    The exclude option gives.

    # emerge -avuDN world --exclude=x11-drivers/nvidia-drivers
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    
    !!! All ebuilds that could satisfy ">=x11-drivers/nvidia-drivers-347.09" have been masked.
    !!! One of the following masked packages is required to complete your request:
    - x11-drivers/nvidia-drivers-410.93::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-410.73::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-410.66::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-410.57-r1::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-396.54::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-396.45-r1::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-396.45::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-396.24-r1::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-390.87::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-390.77-r1::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-390.77::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-390.67::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-387.34::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-381.22-r1::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-378.13-r1::core-hw-kit (masked by: package.mask)
    - x11-drivers/nvidia-drivers-375.82::core-hw-kit (masked by: package.mask)
    
    (dependency required by "media-video/nvidia_video_sdk-6.0.1::media-kit" [ebuild])
    (dependency required by "media-video/ffmpeg-3.4.5::media-kit[encode,nvenc]" [ebuild])
    (dependency required by "media-plugins/alsa-plugins-1.1.7-r1::media-kit" [installed])
    (dependency required by "media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]" [installed])
    (dependency required by "lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]" [installed])
    (dependency required by "lxqt-base/lxqt-meta-0.13.0::desktop-kit" [installed])
    (dependency required by "@selected" [set])
    (dependency required by "@world" [argument])
    For more information, see the MASKED PACKAGES section in the emerge
    man page or refer to the Gentoo Handbook.


    But there are clearly packages that should be emerged that don't depend on the later drivers.

    # emerge -uDaN world
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  N     ] sys-fs/exfat-utils-1.3.0 
    [ebuild   R    ] x11-libs/libdrm-2.4.94  VIDEO_CARDS="-nouveau*" 
    [ebuild  N     ] sys-fs/fuse-common-3.2.6 
    [ebuild  N     ] sys-fs/fuse-2.9.8  USE="-examples -static-libs" 
    [ebuild  N     ] sys-fs/fuse-exfat-1.3.0 
    [ebuild  N     ] virtual/opencl-0-r5  VIDEO_CARDS="nvidia -amdgpu -i965" 
    [ebuild   R    ] media-libs/x264-0.0.20170701  USE="opencl*" 
    [ebuild   R    ] x11-base/xorg-drivers-1.20  VIDEO_CARDS="-nouveau*" 
    [ebuild     U  ] app-editors/vim-core-8.1.1248 [8.1.1170]
    [ebuild   R    ] gnome-base/gsettings-desktop-schemas-3.28.1  USE="introspection*" 
    [ebuild   R    ] media-libs/graphene-1.8.2  USE="introspection*" 
    [ebuild   R    ] net-libs/libsoup-2.64.2  USE="introspection*" 
    [ebuild     U  ] app-editors/vim-8.1.1248 [8.1.1170]
    [ebuild   R    ] dev-libs/libgudev-232  USE="introspection*" 
    [ebuild   R    ] virtual/libgudev-232  USE="introspection*" 
    [ebuild  NS    ] sys-kernel/debian-sources-lts-4.9.168_p1 [4.9.161_p1] USE="binary -ec2 -sign-modules" 
    [ebuild   R    ] net-dns/avahi-0.7-r4  USE="introspection*" 
    [ebuild   R    ] media-libs/gstreamer-1.14.4  USE="introspection*" 
    [ebuild   R    ] media-libs/gst-plugins-base-1.14.4-r1  USE="introspection*" 
    [ebuild   R    ] x11-libs/gtk+-2.24.32-r1  USE="introspection*" 
    [ebuild     U #] x11-drivers/nvidia-drivers-410.93 [340.107] USE="driver%* gtk3%* kms%* uvm%* -compat% -wayland%" 
    [ebuild  N     ] dev-util/nvidia-cuda-toolkit-9.2.88  USE="-debugger -doc -eclipse -profiler" 
    [ebuild  N     ] media-video/nvidia_video_sdk-6.0.1  USE="-tools" 
    [ebuild   R    ] dev-cpp/eigen-3.3.5-r1  USE="cuda*" 
    [ebuild   R    ] media-libs/opencv-3.4.1-r4  USE="cuda* opencl*" 
    [ebuild   R    ] media-video/ffmpeg-3.4.5  USE="nvenc* opencl* vdpau*" 
    [ebuild     U  ] sys-libs/pam-1.3.1.20190226 [1.3.0-r3] USE="nullok%* sha512%* -minimal% -mktemp% -pam_krb5% -pam_ssh% -passwdqc% -securetty% -static-libs%" 
    [ebuild     U  ] sys-auth/pambase-20190426 [20150213-r3] USE="-nullok* -sha512*" 
    [blocks b      ] <sys-auth/pambase-20190426 ("<sys-auth/pambase-20190426" is blocking sys-libs/pam-1.3.1.20190226)
    [ebuild   R    ] sys-auth/polkit-0.115-r1  USE="introspection*" 
    [ebuild   R    ] sys-fs/udisks-2.7.6  USE="introspection*" 
    [ebuild   R    ] sys-power/upower-0.99.9.20181025  USE="introspection*" 
    
    The following mask changes are necessary to proceed:
     (see "package.unmask" in the portage(5) man page for more details)
    # required by dev-util/nvidia-cuda-toolkit-9.2.88::dev-kit
    # required by dev-cpp/eigen-3.3.5-r1::dev-kit[cuda]
    # required by media-libs/opencv-3.4.1-r4::media-kit[eigen]
    # required by media-plugins/frei0r-plugins-1.6.1.20190222::media-kit[facedetect]
    # required by media-video/ffmpeg-3.4.5::media-kit[frei0r]
    # required by media-plugins/alsa-plugins-1.1.7-r1::media-kit
    # required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
    # required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]
    # required by lxqt-base/lxqt-meta-0.13.0::desktop-kit
    # required by @selected
    # required by @world (argument)
    # /etc/portage/package.mask:
    =x11-drivers/nvidia-drivers-410.93
    
    NOTE: The --autounmask-keep-masks option will prevent emerge
          from creating package.unmask or ** keyword changes.
    
    Would you like to add these changes to your config files? [Yes/No] 

     

  8. I have nvidia-drivers-340.107 installed and working. An emerge -uDaN world produces the following

    The following mask changes are necessary to proceed:
     (see "package.unmask" in the portage(5) man page for more details)
    # required by dev-util/nvidia-cuda-toolkit-9.2.88::dev-kit
    # required by dev-cpp/eigen-3.3.5-r1::dev-kit[cuda]
    # required by media-libs/opencv-3.4.1-r4::media-kit[eigen]
    # required by media-plugins/frei0r-plugins-1.6.1.20190222::media-kit[facedetect]
    # required by media-video/ffmpeg-3.4.5::media-kit[frei0r]
    # required by media-plugins/alsa-plugins-1.1.7-r1::media-kit
    # required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
    # required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]
    # required by lxqt-base/lxqt-meta-0.13.0::desktop-kit
    # required by @selected
    # required by @world (argument)
    # /etc/portage/package.mask:
    =x11-drivers/nvidia-drivers-410.93

    I have an nvidia quadro fx 580. According to nvidia's website the drivers for this card are 340.xx. https://www.nvidia.com/object/IO_32667.html

     

    I have the following in my /etc/portage/package.mask

    >=x11-drivers/nvidia-drivers-341.0.0

    As these packages are trying to pull in an incompatible version of the drivers I tried just masking them. So my /etc/portage/package.mask now looks like this.

    >=x11-drivers/nvidia-drivers-341.0.0
    >=dev-util/nvidia-cuda-toolkit-9.2.88
    >=dev-cpp/eigen-3.3.5-r1
    >=media-libs/opencv-3.4.1-r4
    >=media-plugins/frei0r-plugins-1.6.1.20190222
    >=media-video/ffmpeg-3.4.5
    >=media-plugins/alsa-plugins-1.1.7-r1
    >=media-sound/pulseaudio-12.2
    >=lxqt-base/lxqt-panel-0.13.0
    >=lxqt-base/lxqt-meta-0.13.0

    Emerge is still failing. After a few rounds of repeating the above my /etc/portage/package.mask is now

    >=x11-drivers/nvidia-drivers-341.0.0
    # The following are required to prevent the wrong nvidia-drivers being pulled in.
    >=dev-util/nvidia-cuda-toolkit-9.2.88
    >=dev-cpp/eigen-3.3.5-r1
    >=media-libs/opencv-3.4.1-r4
    >=media-plugins/frei0r-plugins-1.6.1.20190222
    >=media-video/ffmpeg-3.2.6
    >=media-plugins/alsa-plugins-1.1.7
    >=media-sound/pulseaudio-12.2
    >=lxqt-base/lxqt-panel-0.13.0
    >=lxqt-base/lxqt-meta-0.13.0
    >=media-video/nvidia_video_sdk-6.0.1


    But now I'm getting the following.

    Calculating dependencies... done!
    [ebuild  N     ] sys-fs/exfat-utils-1.3.0 
    [ebuild   R    ] x11-libs/libdrm-2.4.94  VIDEO_CARDS="-nouveau*" 
    [ebuild  N     ] sys-fs/fuse-common-3.2.6 
    [ebuild  N     ] sys-fs/fuse-2.9.8  USE="-examples -static-libs" 
    [ebuild  N     ] sys-fs/fuse-exfat-1.3.0 
    [ebuild  N     ] virtual/opencl-0-r5  VIDEO_CARDS="nvidia -amdgpu -i965" 
    [ebuild   R    ] media-libs/x264-0.0.20170701  USE="opencl*" 
    [ebuild   R    ] x11-base/xorg-drivers-1.20  VIDEO_CARDS="-nouveau*" 
    [ebuild     U  ] app-editors/vim-core-8.1.1240 [8.1.1170]
    [ebuild   R    ] gnome-base/gsettings-desktop-schemas-3.28.1  USE="introspection*" 
    [ebuild   R    ] media-libs/graphene-1.8.2  USE="introspection*" 
    [ebuild   R    ] net-libs/libsoup-2.64.2  USE="introspection*" 
    [ebuild     U  ] app-editors/vim-8.1.1240 [8.1.1170]
    [ebuild   R    ] dev-libs/libgudev-232  USE="introspection*" 
    [ebuild   R    ] virtual/libgudev-232  USE="introspection*" 
    [ebuild  NS    ] sys-kernel/debian-sources-lts-4.9.168_p1 [4.9.161_p1] USE="binary -ec2 -sign-modules" 
    [ebuild  N     ] media-sound/apulse-0.1.12-r4  USE="-debug -sdk -test" 
    [ebuild   R    ] net-dns/avahi-0.7-r4  USE="introspection*" 
    [ebuild   R    ] media-libs/gstreamer-1.14.4  USE="introspection*" 
    [ebuild   R    ] media-libs/gst-plugins-base-1.14.4-r1  USE="introspection*" 
    [ebuild   R    ] x11-libs/gtk+-2.24.32-r1  USE="introspection*" 
    [ebuild     U #] x11-drivers/nvidia-drivers-410.93 [340.107] USE="driver%* gtk3%* kms%* uvm%* -compat% -wayland%" 
    [ebuild  N    #] dev-util/nvidia-cuda-toolkit-9.2.88  USE="-debugger -doc -eclipse -profiler" 
    [ebuild     UD ] media-libs/opencv-3.4.1-r2 [3.4.1-r4] USE="cuda* opencl*" 
    [ebuild     UD ] media-plugins/frei0r-plugins-1.6.1 [1.6.1.20190222]
    [ebuild     U  ] sys-libs/pam-1.3.1.20190226 [1.3.0-r3] USE="nullok%* sha512%* -minimal% -mktemp% -pam_krb5% -pam_ssh% -passwdqc% -securetty% -static-libs%" 
    [ebuild     U  ] sys-auth/pambase-20190426 [20150213-r3] USE="-nullok* -sha512*" 
    [blocks b      ] <sys-auth/pambase-20190426 ("<sys-auth/pambase-20190426" is blocking sys-libs/pam-1.3.1.20190226)
    [ebuild   R    ] sys-auth/polkit-0.115-r1  USE="introspection*" 
    [ebuild   R    ] sys-fs/udisks-2.7.6  USE="introspection*" 
    [ebuild   R    ] sys-power/upower-0.99.9.20181025  USE="introspection*" 
    [blocks B      ] media-plugins/alsa-plugins[pulseaudio] ("media-plugins/alsa-plugins[pulseaudio]" is hard blocking media-sound/apulse-0.1.12-r4)
    
     * Error: The above package list contains packages which cannot be
     * installed at the same time on the same system.
    
      (media-sound/apulse-0.1.12-r4:0/0::media-kit, ebuild scheduled for merge) pulled in by
        media-sound/apulse required by (www-client/firefox-bin-64.0:0/0::net-kit, installed)
    
      (media-plugins/alsa-plugins-1.1.7-r1:0/0::media-kit, installed) pulled in by
        >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio,-mgorny(-)] required by (media-sound/pulseaudio-12.2:0/0::gnome-kit, installed)
    
    
    For more information about Blocked Packages, please refer to the following
    section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
    
    https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
    
    
    The following mask changes are necessary to proceed:
     (see "package.unmask" in the portage(5) man page for more details)
    # required by media-libs/opencv-3.4.1-r2::media-kit[cuda]
    # required by media-plugins/frei0r-plugins-1.6.1::media-kit[facedetect]
    # required by media-video/ffmpeg-3.4.5::media-kit[frei0r]
    # required by media-plugins/alsa-plugins-1.1.7-r1::media-kit
    # required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
    # required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]
    # required by lxqt-base/lxqt-meta-0.13.0::desktop-kit
    # required by @selected
    # required by @world (argument)
    # /etc/portage/package.mask:
    # The following are required to prevent the wrong nvidia-drivers being pulled in.
    =dev-util/nvidia-cuda-toolkit-9.2.88
    # required by dev-util/nvidia-cuda-toolkit-9.2.88::dev-kit
    # required by media-libs/opencv-3.4.1-r2::media-kit[cuda]
    # required by media-plugins/frei0r-plugins-1.6.1::media-kit[facedetect]
    # required by media-video/ffmpeg-3.4.5::media-kit[frei0r]
    # required by media-plugins/alsa-plugins-1.1.7-r1::media-kit
    # required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
    # required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]
    # required by lxqt-base/lxqt-meta-0.13.0::desktop-kit
    # required by @selected
    # required by @world (argument)
    # /etc/portage/package.mask:
    =x11-drivers/nvidia-drivers-410.93


    What do I need to do to stop the wrong nvidia-drivers being pulled in?

×
×
  • Create New...