Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

cardinal

Members
  • Posts

    490
  • Joined

  • Last visited

  • Days Won

    59

Posts posted by cardinal

  1. The tools are in the extracted stage3 install partition.

    You're having problems because your not chrooted into the mounted install partition containing the extracted stage3.

    Establish internet connection.

    Mount the install partition.

    Download,verify,then copy the stage3 to the install partition.

    Extract the stage3.

    Chroot into the install partition.

    Run "emerge --sync" with an internet connection from within the chroot which contains the necessary programs.

    Profile must be set after successful emerge --sync which downloads portage contents including profiles into /usr/portage

  2. The pieces of /var/log/Xorg.0.log you posted indicate xf86-video-intel the only driver on your system is not recognizing the VGA hardware.

    Maybe you didn't post that part of the log or the VGA is not intel.

    I always merge the generic vesa driver as a backup.

    If there are video issues with graphics specific driver xorg has an alternative driver.

    emerge -av xf86-video-vesa
    

    Follow directions to install and verify X works on system before installing desktop environment.

    http://www.funtoo.org/X_Window_System

     

    More problems:

    Click "More Reply Options" ,"Attach Files", Browse... to the complete /var/log/Xorg.0.log renamed as Xorg.0.log.txt

    Click "Attach This File", "Add to Post"

    Post the output from these commands:
     

    lspci -vvnn
    
    epro list
    
  3. The pieces of /var/log/Xorg.0.log you posted indicate xf86-video-intel the only driver on your system is not recognizing the VGA hardware.

    Maybe you didn't post that part of the log or the VGA is not intel.

    I always merge the generic vesa driver as a backup.

    If there are video issues with graphics specific driver xorg has an alternative driver.

    emerge -av xf86-video-vesa
    

    Follow directions to install and verify X works on system before installing desktop environment.

    http://www.funtoo.org/X_Window_System

     

    More problems:

    Click "More Reply Options" attach the complete /var/log/Xorg.0.log

    Output from these commands.
     

    lspci -vvnn
    
    epro list
    

     

  4. I run into same issue on updated current system if I install mpv.
    Portage wants to downgrade libass-0.13.0 to libass-0.12.3

    funtoo rj # sudo emerge -av mpv
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  N     ] dev-libs/libmowgli-1.0.0::gentoo  0 KiB
    [ebuild  N     ] app-i18n/libguess-1.2::gentoo  USE="-examples" 0 KiB
    [ebuild  N     ] dev-python/pygments-2.0.2-r1::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_3 -pypy -pypy3 -python3_4 -python3_5" 0 KiB
    [ebuild  N     ] dev-python/docutils-0.12::gentoo  PYTHON_TARGETS="python2_7 python3_3 -pypy -pypy3 -python3_4 -python3_5" 0 KiB
    [ebuild     UD ] media-libs/libass-0.12.3:0/5::gentoo [0.13.0:0/5::gentoo] USE="enca%* fontconfig harfbuzz -static-libs" 0 KiB
    [ebuild  N     ] media-video/mpv-0.11.0::gentoo  USE="X alsa bluray cdio cli dvd enca encode iconv jpeg libass libguess opengl v4l vaapi vdpau xscreensaver -doc-pdf -drm -dvb -egl -jack -lcms (-libav) -libcaca -libmpv -lua -luajit -openal -oss -pulseaudio -pvr -raspberry-pi -rubberband -samba -sdl (-selinux) -vf-dlopen -wayland -xinerama -xv" 0 KiB
    
    Total: 6 packages (1 downgrade, 5 new), Size of downloads: 0 KiB
    
    
    

    Next "emerge -avuDN world" after install of mpv  portage wants to upgrade to libass-0.13.0 which causes mpv  conflict error.
    If package.mask versions of libass greater than 0.12.3, then portage has no higher version of libass to upgrade to.

    funtoo rj # mkdir /etc/portage/package.mask/media-libs
    funtoo rj # echo ">media-libs/libass-0.12.3" > /etc/portage/package.mask/media-libs/libass
    

    Reference:
    Gentoo's Bugzilla ? Bug 562394 - =media-libs/libass-0.13.0: update blockers as enca USE was dropped
     

  5. A USE flag is a compilation option.

    Default merge settings have consolekit compiled with policykit disabled.(USE policykit disabled)

    Networkmanager requires consolekit be compiled with policykit enabled.(USE policykit enabled)

    The configuration below compiles policykit with consolekit.(USE policykit enabled)

    # mkdir -p /etc/portage/package.use
    # echo ">=sys-auth/consolekit-0.4.6 policykit" >> /etc/portage/package.use/consolekit
    # emerge -av networkmanager
    
    Reference: http://www.funtoo.org/Emerge

    https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE

  6. Hi donjames,
    Gentoo bug report: Bug 564024 - x11-libs/pixman-0.33.4 - configure: error: x86 MMX intrinsics not detected

    The developer found the mistake that was made in the pixman source code and reversed it.

    http://cgit.freedesktop.org/pixman/commit/?id=312e381523662aacc2f0ea90eb9ae0634ac5b327

    Must wait for the next revision of the release to get it,unless you user_patch.

    I would package.mask > the pixman version that is currently installed or else you'll be bothered to upgrade it.

  7. I have the same problem on a x86 stable install with revdep-rebuild claiming broken libtool archive files of sudo.

    [ 83% ]  *   broken /usr/lib/sudo/group_file.la (requires -ldl)
     *   broken /usr/lib/sudo/sudoers.la (requires -lpam)
     *   broken /usr/lib/sudo/sudoers.la (requires -ldl)
     *   broken /usr/lib/sudo/sudoers.la (requires -lz)
     *   broken /usr/lib/sudo/system_group.la (requires -ldl)
    [ 95% ]  *   broken /usr/libexec/sudo/libsudo_util.la (requires -ldl)
    [ 100% ]                 
     * Generated new 3_broken.rr
     * Assigning files to packages
     *   /usr/lib/sudo/group_file.la -> app-admin/sudo
     *   /usr/lib/sudo/sudoers.la -> app-admin/sudo
     *   /usr/lib/sudo/system_group.la -> app-admin/sudo
     *   /usr/libexec/sudo/libsudo_util.la -> app-admin/sudo
    
    
    No problem on my x86_64 current install which uses the same version of gentoolkit and sudo.

    The Mike Allen a.k.a. sputnik fix in his closed unfixed bug report: https://bugs.funtoo.org/browse/FL-1171

    LDPATH="/usr/lib" to /etc/env.d/99gentoolkit-env

    Stopped the errors on my system.

  8. The CPU_FLAGS_X86 setting on the system does not satisfy ffmpeg requirements.

     

    CPU_FLAGS_X86="sse2 -3dnow -3dnowext -avx -avx2 -fma3 -fma4 -mmx -mmxext -sse -sse3 -sse4_1 -sse4_2 -ssse3 -xop"

    sse is disabled-> ( cpu_flags_x86_sse )
    CPU_FLAGS_X86 variable setting is done automatically in make.defaults if epro is used to set a correct subarch profile for the system CPU.
    See currently set CPU_FLAGS_X86:

    emerge --info

    Install cpuinfo2cpuflags to query the system for the correct CPU flags.
     
    Reference:
    ffmpeg has unmet requirements
    News:CPU_FLAGS_X86

  9. Daniel Robbins guide to Creating Profiles

     

    Creating Profiles

    Want to create your own custom profiles? Thought up a mix-in that's not currently in the Funtoo profiles? Have an overlay with profiles and want to make it easy for people to use them? Well you've come to the right place. This article will show you how to easily add you own profiles. No more ugly hacking of parent files and other nonsense. Once you follow this guide, not only will portage easily recognize your profiles, they will also show up in eselect right along with the ones from the main tree.

     

  10. Current pure64 system.

    rj@funtoo ~# emerge -1av gtkmm 
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  N     ] dev-libs/libsigc++-2.6.2:2::gentoo  USE="-doc -static-libs {-test}" 0 KiB
    [ebuild  N     ] dev-cpp/glibmm-2.44.0:2::gentoo  USE="-debug -doc -examples {-test}" 0 KiB
    [ebuild  N     ] dev-cpp/cairomm-1.12.0::gentoo  USE="svg -doc" 0 KiB
    [ebuild  N     ] dev-cpp/atkmm-2.22.7-r1::gentoo  USE="-doc" 0 KiB
    [ebuild  N     ] dev-cpp/pangomm-2.36.0:1.4::gentoo  USE="-doc" 0 KiB
    [ebuild  N     ] dev-cpp/gtkmm-3.16.0:3.0::gentoo  USE="X (-aqua) -doc -examples {-test} -wayland" 0 KiB
    
    Total: 6 packages (6 new), Size of downloads: 0 KiB
    
    
    First build failure is dev-cpp/glibmm-2.44.0.

    First error in /var/log/portage/dev-cpp:glibmm-2.44.0:20151122-063358.log

    /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4.9/bits/c++0x_warning.h:32:2: error: #error
    This file requires compiler and library support for the ISO C++ 2011 standard.
    This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
    #error This file requires compiler and library support for the \
    
    Three more packages(atkmm,pangomm,gtkmm)in group failed with same error.

    I add "-std=c++11" to compile flags for failed packages using package environment configuration.

    Create /etc/portage/package.env file if it doesn't exist.

    Add this text to /etc/portage/package.env

    dev-cpp/glibmm -std=c++11.conf
    dev-cpp/atkmm -std=c++11.conf
    dev-cpp/pangomm -std=c++11.conf
    dev-cpp/gtkmm -std=c++11.conf              
    
    Create folder path if it doesn't exist.

    mkdir -p /etc/portage/env
    nano /etc/portage/env/-std=c++11.conf
    
    Add this text to -std=c++11.conf

    CFLAGS="${CFLAGS} -std=c++11"
    CXXFLAGS="${CXXFLAGS} -std=c++11"
    
    Eventually all six packages merged.

     

    Reference:

    Gentoo's Bugzilla ? Bug 565342 dev-cpp/gtkmm-2.24.4-r2 - -std=c++11 required?

    How do I configure environment variable settings that apply only to specific packages?

  11. On my system, gparted was installed with the btrfs useflag. Reinstalling without btrfs useflag killed all the asciidoc and texlive dependencies. I guess the docs for btrfs needs asciidoc and texlive?

    grep btrfs /usr/portage/sys-block/gparted/gparted-0.24.0.ebuild 
    IUSE="btrfs dmraid f2fs fat hfs jfs kde mdadm ntfs policykit reiserfs reiser4 xfs"
    	btrfs? ( sys-fs/btrfs-progs )
    
    

    sys-fs/btrfs-progs-4.2.2.ebuild :

    DEPEND="${RDEPEND}
            convert? ( sys-apps/acl )
            app-text/asciidoc
            app-text/docbook-xml-dtd:4.5
            app-text/xmlto
    "
    
  12. oxygen-icons issue is included in this bug report:  KDE: a several cases to resolve.

    Quote from end of bug reports first paragraph is your issue:

    A side effect of this is that kde-frameworks move occured but ebuilds prefer kde-apps/oxygen-icons dependency at same time and giving file collision between kde-apps/oxygen-icons and kde-frameworks/oxygen-icons. build.log attached.

     

    Login and vote/watch the report to keep updated by email.

  13. You have to provide the required information about your system and the failed build.log to assist users volunteering their time to help you.
    If you don't chances are slim to none anyone will be able to assist you unless the same build failure occurs on their computer.
     
    libsecret-0.18.3 builds on my current system:

    wgetpaste /var/log/portage/app-crypt\:libsecret-0.18.3\:20151115-173937.log
    

    Your paste can be seen here: https://bpaste.net/show/be6ccf8cc325
     
    My environment:

    emerge -v --info | wgetpaste

    Your paste can be seen here: https://bpaste.net/show/19fff1596586
    My profile:

    funtoo rj # epro
    
    === Enabled Profiles: ===
    
            arch: pure64
           build: current
         subarch: core2_64
          flavor: desktop
         mix-ins: lxde
    
    
    === All inherited flavors from desktop flavor: ===
    
                         workstation (from desktop flavor)
                                core (from workstation flavor)
                             minimal (from core flavor)
    
    === All inherited mix-ins from desktop flavor: ===
    
                                   X (from workstation flavor)
                               audio (from workstation flavor)
                                 dvd (from workstation flavor)
                               media (from workstation flavor)
          mediadevice-audio-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-audio-consumer mix-in)
          mediadevice-video-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-video-consumer mix-in)
            mediaformat-audio-common (from media mix-in)
              mediaformat-gfx-common (from media mix-in)
            mediaformat-video-common (from media mix-in)
                      console-extras (from workstation flavor)
                               print (from desktop flavor)
    
    

    My stage3:

     >>> Release:                       stage3-generic_64-funtoo-current-2015-05-27
     >>> Version:                       2015-05-27
     >>> Created by:                    Daniel Robbins <drobbins@funtoo.org>
    
     >>> Send suggestions, improvements, bug reports relating to...
    
     >>> This release:                  Daniel Robbins <drobbins@funtoo.org>
     >>> Funtoo Linux (general):        Funtoo Linux (http://www.funtoo.org)
     >>> Gentoo Linux (general):        Gentoo Linux (http://www.gentoo.org)
    
    
    
  14. I opened in my leafpad text editor as root:

    leafpad /usr/portage/app-admin/conky/files/conky-1.10.0.cmake.patch
    

    I add this new patch below the existing patch:

    --- cmake/ConkyPlatformChecks.cmake	2015-06-21 20:49:06.000000000 -0400
    +++ cmake/ConkyPlatformChecks.cmake.new	2015-11-15 01:53:47.645643108 -0500
    @@ -22,7 +22,7 @@
     
     include(FindPkgConfig)
     include(CheckFunctionExists)
    -include(CheckIncludeFile)
    +include(CheckIncludeFiles)
     include(CheckSymbolExists)
    

    I saved conky-1.10.0.cmake.patch after it looked like this:

    --- cmake/Docbook.cmake	2014-06-21 09:51:44.857916287 +0200
    +++ cmake/Docbook.cmake.new	2014-06-21 09:53:37.251924303 +0200
    @@ -72,7 +72,7 @@
     			COMMAND ${APP_XSLTPROC} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.xml > ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.html
     
     			COMMAND ${APP_DB2X_XSLTPROC} -s man ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.xml -o ${FIL}.mxml
    -			COMMAND ${APP_DB2X_MANXML} ${FIL}.mxml --output-dir ${CMAKE_CURRENT_SOURCE_DIR}
    +			COMMAND ${APP_DB2X_MANXML} ${FIL}.mxml --encoding=UTF8 --output-dir ${CMAKE_CURRENT_SOURCE_DIR}
     			COMMAND ${APP_XSLTPROC} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.xml > ${CMAKE_CURRENT_SOURCE_DIR}/${FIL}.html
     			COMMAND ${APP_MAN} -P '${APP_LESS} -is' ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.1 > ${CMAKE_SOURCE_DIR}/README
     			COMMAND ${APP_SED} -i "s/[[:cntrl:]]\\[[0-9]*m//g" ${CMAKE_SOURCE_DIR}/README
    
    --- cmake/ConkyPlatformChecks.cmake	2015-06-21 20:49:06.000000000 -0400
    +++ cmake/ConkyPlatformChecks.cmake.new	2015-11-15 01:53:47.645643108 -0500
    @@ -22,7 +22,7 @@
     
     include(FindPkgConfig)
     include(CheckFunctionExists)
    -include(CheckIncludeFile)
    +include(CheckIncludeFiles)
     include(CheckSymbolExists)
    

    I used this command prepending variable to temporarily disable features in emerge.
    This is necessary to prevent a permissions error which prevents merge.
     

     FEATURES="-userpriv -usersandbox" emerge -av conky
    
    

    After verifying conky would merge I configured portage to disable the features for conky using the following method:
     

    mkdir /etc/portage/env
    echo "FEATURES="-userpriv -usersandbox" >> /etc/portage/env/nouserpriv.conf
    echo "app-admin/conky nouserpriv.conf" >> /etc/portage/package.env
    

    I merge conky now with simple command:

    emerge -av conky
    
  15. The output from alsainfo looks good. HDMI audio is set to default card 0.
    If you don't have speakers that connect to HDMI you need to switch card 1 to card 0 with an .asoundrc file.

    APLAY
    
    **** List of PLAYBACK Hardware Devices ****
    card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    
    

    I use this script to output asoundrc

    #!/bin/bash
    # asoundrc v0.1.0 20090101 markc@renta.net GPLv3
    # asoundrc v0.2.0 20090320 quatro_por_quatro@yahoo.es GPLv3
    #
    # A simple script to create a particular default audio device regardless
    # of what cards are loaded or in what order. It could be used anytime or
    # placed in a ~/.bashrc script for a persistent setup every login.
    #
    # Usage: asoundrc [DEFAULT_CARD] > ~/.asoundrc
    
    # use the first parameter as the card name, or else
    # look for the sound card, discarding those that are only microphones
    # when there are multiple cards, use the first one
    if default_card="${1:-$(cat "$(for f in $(ls -1 /proc/asound/card[0-9]*/{midi,codec}* 2>/dev/null); do echo "${f%/*}"; done \
    | sed -e '\|^[\[:blank:]\]$|d' -e 'q')/id" 2>/dev/null)}"; then
       echo "Using sound card: ${default_card}" >&2 
       cat /proc/asound/card[0-9]*/id | \
       gawk --assign default_card="${default_card}" \
    '{print "pcm."$1" { type hw; card "$1"; }\nctl."$1" { type hw; card "$1"; }" }
    END {print "pcm.!default pcm."default_card"\nctl.!default ctl."default_card}'
    else
       echo "Warning: No sound cards found." >&2
    fi
    

    I set epro right after booting into base the first time so proper use flags are set prior to merging audio/video programs,desktop environment.
    Otherwise you have problems with some video/audio file formats not playing,flash drives not automounting,etc.. 
     

    rj@funtoo ~ $ sudo epro show
    
    === Enabled Profiles: ===
    
            arch: x86-32bit
           build: stable
         subarch: generic_32
          flavor: desktop
         mix-ins: lxde
    
    
    === All inherited flavors from desktop flavor: ===
    
                         workstation (from desktop flavor)
                                core (from workstation flavor)
                             minimal (from core flavor)
    
    === All inherited mix-ins from desktop flavor: ===
    
                                   X (from workstation flavor)
                               audio (from workstation flavor)
                                 dvd (from workstation flavor)
                               media (from workstation flavor)
          mediadevice-audio-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-audio-consumer mix-in)
          mediadevice-video-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-video-consumer mix-in)
            mediaformat-audio-common (from media mix-in)
              mediaformat-gfx-common (from media mix-in)
            mediaformat-video-common (from media mix-in)
                      console-extras (from workstation flavor)
                               print (from desktop flavor)
    
    
  16. This isn't true on my system if @world is "/var/lib/portage/world".

    1. You are pinning the version portage will install for aalib to a specific one into your @world and you'll want upgrades for that.

    After removing sudo I install with this command:

    funtoo rj # emerge -av =app-admin/sudo-1.8.15-r1
    
    
    funtoo rj # grep sudo  /var/lib/portage/world 
    app-admin/sudo
    
    
    No version is pinned (appended) to sudo which would prevent an update.
  17. Glad to help.

    This command will remove package from /var/lib/portage/world or you can edit the world file.

    I chose the first package on my world list app-admin/sudo in my example.

    You would use media-libs/aalib instead.

    There is nothing more to do as far as dependencies go.

    rj@funtoo ~ $ sudo emerge -av --deselect app-admin/sudo
    >>> Removing app-admin/sudo from "world" favorites file...
    Would you like to remove these packages from your world favorites? [Yes/No] 
    
    
×
×
  • Create New...