Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

cardinal

Members
  • Posts

    490
  • Joined

  • Last visited

  • Days Won

    59

Posts posted by cardinal

  1. I'm not sure where default PORTDIR_OVERLAY is set.

    If you have it set in /etc/portage/make.conf comment it out.

    I have no PORTDIR_OVERLAY setting in my /etc/portage/make.conf

    I have rj local overlay (manual configuration) and deadbeef-overlay (layman)

    funtoo rj # cat /etc/portage/repos.conf/*
    [DEFAULT]
    main-repo = gentoo

    [gentoo]
    location = /usr/portage
    sync-type = git
    sync-uri = git://github.com/funtoo/ports-2012.git
    auto-sync = yes
    [deadbeef-overlay]
    priority = 50
    location = /var/lib/layman/deadbeef-overlay
    layman-type = git
    auto-sync = No

    [rj]
    location = /usr/local/portage
    masters = gentoo
    auto-sync = no

     

    funtoo rj # eix-update --print PORTDIR_OVERLAY
    /var/lib/layman/deadbeef-overlay
    /usr/local/portage

     

    funtoo rj # eix-update --print PORTDIR
    /usr/portage/




     

  2. so, jasper-1.900.18 is the version that breaking netpbm. try downgrading to 1.900.6 to verify.

    Netpdm build succeeded on my system because I had old jasper-1.900.1-r9 installed:

    rj@funtoo ~ $ eix -I jasper
    [U] media-libs/jasper
         Available versions:  1.900.6(0/1) (~)1.900.18(0/1) **9999(0/1) {jpeg opengl static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
         Installed versions:  1.900.1-r9(11:24:04 PM 05/29/2015)(jpeg opengl -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
         Homepage:            http://www.ece.uvic.ca/~mdadams/jasper/
         Description:         Implementation of the codec specified in the JPEG-2000 Part-1 standard
    
    

    Update to jasper-1.900.18,  netpbm build breaks. :(

     

    rj@funtoo ~ $ sudo emerge -1av =media-libs/jasper-1.900.18 netpbm
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild     U  ] media-libs/jasper-1.900.18:0/1::gentoo [1.900.6:0/1::gentoo] USE="jpeg opengl -static-libs" 0 KiB
    [ebuild   R    ] media-libs/netpbm-10.70.00::gentoo  USE="X jpeg jpeg2k png tiff xml zlib -doc -jbig -rle -static-libs (-svga)" CPU_FLAGS_X86="sse2" 0 KiB
    
    

    Downgrade to jasper-1.900.6  netpbm builds. :)

    rj@funtoo ~ $ sudo emerge -1av =media-libs/jasper-1.900.6 netpbm
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild     UD ] media-libs/jasper-1.900.6:0/1::gentoo [1.900.18:0/1::gentoo] USE="jpeg opengl -static-libs" 0 KiB
    [ebuild   R    ] media-libs/netpbm-10.70.00::gentoo  USE="X jpeg jpeg2k png tiff xml zlib -doc -jbig -rle -static-libs (-svga)" CPU_FLAGS_X86="sse2" 0 KiB
    
    Total: 2 packages (1 downgrade, 1 reinstall), Size of downloads: 0 KiB
    
    
    
  3. Applicable errors from failed build.log:

    make -C /var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/lib/ -f /var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/lib/Makefile \
        SRCDIR=/var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00 BUILDDIR=/var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00 libnetpbm.so 
    /var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/common.mk:273: recipe for target 'pamtojpeg2k.o' failed
    make[3]: *** [pamtojpeg2k.o] Error 1
    ---------------------------------------------------------Snip---------------------------------------------------------------------------------------------------------------
    Leaving directory '/var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/converter/other/jpeg2000'
    /var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/common.mk:600: recipe for target 'jpeg2000/all' failed
    make[2]: *** [jpeg2000/all] Error 2
    ---------------------------------------------------------Snip----------------------------------------------------------------------------------------------------------------
    portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/common.mk:600: recipe for target 'other/all' failed
    make[1]: *** [other/all] Error 2
    ---------------------------------------------------------Snip---------------------------------------------------------------------------------------------------------------
    make[1]: Leaving directory '/var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/converter'
    /var/tmp/portage/media-libs/netpbm-10.70.00/work/netpbm-10.70.00/common.mk:600: recipe for target 'converter/all' failed
    make: *** [converter/all] Error 2
    
    

     
    Verify all the packages in the depgraphs below are installed with the correct versions.

    Run revdep-rebuild
     
     Successful build of pam2jpeg2k linked libraries and depgraph for netpbm virtual/jpeg  jasper:

    funtoo rj # ldd `which pamtojpeg2k`
    	linux-vdso.so.1 (0x00007ffea61da000)
    	libjasper.so.1 => /usr/lib64/libjasper.so.1 (0x00007f903cc9a000)
    	libnetpbm.so.11 => /usr/lib64/libnetpbm.so.11 (0x00007f903ca60000)
    	libc.so.6 => /lib64/libc.so.6 (0x00007f903c6c4000)
    	libm.so.6 => /lib64/libm.so.6 (0x00007f903c3c6000)
    	libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f903c15d000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007f903cef4000)
    
    funtoo rj # ldd  /usr/lib64/libjasper.so.1
    	linux-vdso.so.1 (0x00007ffde9fe9000)
    	libm.so.6 => /lib64/libm.so.6 (0x00007f3256f86000)
    	libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f3256d1d000)
    	libc.so.6 => /lib64/libc.so.6 (0x00007f3256980000)
    	/lib64/ld-linux-x86-64.so.2 (0x0000562625c53000)
    
    funtoo rj # equery b  /usr/lib64/libjasper.so.1
     * Searching for /usr/lib64/libjasper.so.1 ... 
    media-libs/jasper-1.900.1-r9 (/usr/lib64/libjasper.so.1.0.0)
    media-libs/jasper-1.900.1-r9 (/usr/lib64/libjasper.so.1 -> libjasper.so.1.0.0)
    
    funtoo rj # equery b  /usr/lib64/libjpeg.so
     * Searching for /usr/lib64/libjpeg.so ... 
    media-libs/libjpeg-turbo-1.5.1 (/usr/lib64/libjpeg.so.62.2.0)
    media-libs/libjpeg-turbo-1.5.1 (/usr/lib64/libjpeg.so -> libjpeg.so.62.2.0)
    
    funtoo rj # equery g netpbm
     * Searching for netpbm ...
    * dependency graph for media-libs/netpbm-10.70.00
     `--  media-libs/netpbm-10.70.00  ~amd64 
       `--  media-libs/jbigkit-2.1  (media-libs/jbigkit) amd64 
       `--  virtual/jpeg-0-r2  (virtual/jpeg) amd64 
       `--  media-libs/jasper-1.900.18  (media-libs/jasper) ~amd64 
       `--  media-libs/libpng-1.6.26  (>=media-libs/libpng-1.4) ~amd64 
       `--  media-libs/urt-3.1b-r1  (media-libs/urt) amd64 
       `--  media-libs/svgalib-1.9.25-r5  (media-libs/svgalib) [missing keyword] 
       `--  media-libs/tiff-4.0.6-r1  (>=media-libs/tiff-3.5.5) ~amd64 
       `--  dev-libs/libxml2-2.9.4  (dev-libs/libxml2) amd64 
       `--  sys-libs/zlib-1.2.8-r1  (sys-libs/zlib) unknown 
       `--  x11-libs/libX11-1.6.4  (x11-libs/libX11) ~amd64 
       `--  app-arch/xz-utils-5.2.2  (app-arch/xz-utils) ~amd64 
       `--  sys-devel/flex-2.6.1  (sys-devel/flex) ~amd64 
    [ media-libs/netpbm-10.70.00 stats: packages (13), max depth (1) ]
    
    funtoo rj # equery g jpeg-0-r2
     * dependency graph for virtual/jpeg-0-r2
     `--  virtual/jpeg-0-r2  amd64 
       `--  media-libs/libjpeg-turbo-1.5.1  (>=media-libs/libjpeg-turbo-1.3.0-r3) ~amd64  [static-libs? abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? abi_mips_n64(-)? abi_mips_o32(-)? abi_ppc_32(-)? abi_ppc_64(-)? abi_s390_32(-)? abi_s390_64(-)?]
       `--  media-libs/jpeg-9b  (>=media-libs/jpeg-8d-r1) ~amd64  [static-libs? abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? abi_mips_n64(-)? abi_mips_o32(-)? abi_ppc_32(-)? abi_ppc_64(-)? abi_s390_32(-)? abi_s390_64(-)?]
    [ virtual/jpeg-0-r2 stats: packages (3), max depth (1) ]
    
    funtoo rj # equery g jasper
     * dependency graph for media-libs/jasper-1.900.18
     `--  media-libs/jasper-1.900.18  ~amd64
       `--  virtual/jpeg-0-r2  (>=virtual/jpeg-0-r2) amd64  [abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? abi_mips_n64(-)? abi_mips_o32(-)? abi_ppc_32(-)? abi_ppc_64(-)? abi_s390_32(-)? abi_s390_64(-)?]
       `--  virtual/opengl-7.0-r1  (>=virtual/opengl-7.0-r1) amd64  [abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? abi_mips_n64(-)? abi_mips_o32(-)? abi_ppc_32(-)? abi_ppc_64(-)? abi_s390_32(-)? abi_s390_64(-)?]
       `--  media-libs/freeglut-3.0.0  (>=media-libs/freeglut-2.8.1) ~amd64  [abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? abi_mips_n64(-)? abi_mips_o32(-)? abi_ppc_32(-)? abi_ppc_64(-)? abi_s390_32(-)? abi_s390_64(-)?]
       `--  virtual/glu-9.0-r1  (virtual/glu) amd64
       `--  app-arch/unzip-6.0_p20  (app-arch/unzip) ~amd64
       `--  sys-devel/automake-1.15-r2  (>=sys-devel/automake-1.15) ~amd64
       `--  sys-devel/autoconf-2.69-r2  (>=sys-devel/autoconf-2.69) ~amd64
       `--  sys-devel/libtool-2.4.6-r2  (>=sys-devel/libtool-2.4) ~amd64
    [ media-libs/jasper-1.900.18 stats: packages (9), max depth (1) ]
    
    
    
  4. Always provide the build log!
    Use wgetpaste and post the link or attach as txt file.

    Build succeeds on my system.
    media-libs:netpbm-10.70.00:20161106-120847.log

     

    funtoo rj # emerge --info '=media-libs/netpbm-10.70.00::gentoo'
    Portage 2.2.26 (python 3.4.5-final-0, funtoo/1.0/linux-gnu/arch/pure64, gcc-4.9.3, glibc-2.22-r2, 4.4.30 x86_64)
    =================================================================
                             System Settings
    =================================================================
    System uname: Linux-4.4.30-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.2.1
    KiB Mem:     4045624 total,   2910196 free
    KiB Swap:    2097148 total,   2097148 free
    sh bash 4.3_p42
    ld GNU ld (Funtoo 2.25) 2.25.0
    app-shells/bash:          4.3_p42::gentoo
    dev-lang/perl:            5.24.0-r2::gentoo
    dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
    dev-util/cmake:           3.6.3::gentoo
    sys-apps/baselayout:      2.2.1::gentoo
    sys-apps/openrc:          0.18.3-r2::gentoo
    sys-apps/sandbox:         2.10-r2::gentoo
    sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
    sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
    sys-devel/binutils:       2.25-r2::gentoo
    sys-devel/gcc:            4.9.3-r3::gentoo
    sys-devel/gcc-config:     1.8-r1::gentoo
    sys-devel/libtool:        2.4.6-r2::gentoo
    sys-devel/make:           4.1-r1::gentoo
    sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
    sys-libs/glibc:           2.22-r2::rj
    Repositories:
    
    gentoo
        location: /usr/portage
        sync-type: git
        sync-uri: git://github.com/funtoo/ports-2012.git
        priority: -1000
    
    rj
        location: /usr/local/portage
        masters: gentoo
    
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=native -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-march=native -O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    EMERGE_DEFAULT_OPTS="--with-bdeps=y"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS="-march=native -O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LANG="en_US.utf8"
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    LINGUAS="en"
    MAKEOPTS="-j3"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus dri dts dvd dvdnav dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm gtk ico iconv icu ieee1394 ios ipod ipv6 jpeg jpeg2k lame libass libguess libmpeg2 mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png policykit postproc pppd python quicktime readline resolvconf session sndfile sse sse2 ssl startup-notification svg taglib tcpd theora tiff truetype twolame udev udisks unicode upower v4l vaapi vdpau vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xdg xml xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" SANE_BACKENDS="avision" USERLAND="GNU" VIDEO_CARDS="nouveau radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
    
    =================================================================
                            Package Settings
    =================================================================
    
    media-libs/netpbm-10.70.00::gentoo was built with the following:
    USE="X jpeg jpeg2k png tiff xml zlib -doc -jbig -rle -static-libs (-svga)" CPU_FLAGS_X86="sse2"
    
    
    
  5. The path in your /etc/portage/make.profile/parent to subarch/core2_64 is wrong:

     

    gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
    gentoo:funtoo/1.0/linux-gnu/build/current
    gentoo
    :funtoo/1.0/linux-gnu/subarch/core2_64
    gentoo
    :funtoo/1.0/linux-gnu/flavor/desktop
    gentoo
    :funtoo/1.0/linux-gnu/mix-ins/kde
    gentoo
    :funtoo/1.0/linux-gnu/mix-ins/kde-plasma-5

     

    Path to subarch should be:

    gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/core2_64

     

    Use a text editor to correct it.

  6. If  "<dev-util/gdbus-codegen-2.48.2" is blocking dev-libs/glib-2.48.2,

    then try to emerge gdbus-codegen-2.48.2 and glib-2.48.2 in one command:

    funtoo rj # emerge -1av =dev-util/gdbus-codegen-2.48.2 =dev-libs/glib-2.48.2 
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild   R    ] dev-libs/glib-2.48.2:2::gentoo  USE="dbus mime xattr -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 0 KiB
    [ebuild   R    ] dev-util/gdbus-codegen-2.48.2::gentoo  PYTHON_TARGETS="python2_7 python3_4 -python3_5" 0 KiB
    
    Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
    
    Would you like to merge these packages? [Yes/No] 
    
    
  7. /etc/portage/make.profile/parent is a simple text file that stores your profile settings

    rj@funtoo ~ $ cat /etc/portage/make.profile/parent
    gentoo:funtoo/1.0/linux-gnu/arch/pure64
    gentoo:funtoo/1.0/linux-gnu/build/current
    gentoo:funtoo/1.0/linux-gnu/arch/pure64/subarch/native_64-pure64
    gentoo:funtoo/1.0/linux-gnu/flavor/desktop
    gentoo:funtoo/1.0/linux-gnu/mix-ins/lxde

    rj@funtoo ~ $ sudo epro show
    
    === Enabled Profiles: ===
    
            arch: pure64
           build: current
         subarch: native_64-pure64
          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)
    
    

    Rename the old /etc/portage/make.profile/parent if it exists.

    Create a new blank parent file with touch.

    Use epro to write the blank parent file in the correct format.

    http://www.funtoo.org/Funtoo_Profiles

     

  8. More hardware ram needs to installed to pass check-reqs

    chromium-54.0.2840.59.ebuild:
    # Check build requirements, bug #541816 and bug #471810 .
    CHECKREQS_MEMORY="3G"
    CHECKREQS_DISK_BUILD="5G"

     

    * Checking for at least 3 GiB RAM ...                                           [ !! ]
     * There is NOT at least 3 GiB RAM

     

    Only 2 gigs of installed memory:

    Installed memory:

    KiB Mem:     2041876 total,    694644 free

     

    check-reqs.eclass comments :

    #This eclass provides a uniform way of handling ebuilds which have very high
    #build requirements in terms of memory or disk space. It provides a function
    #which should usually be called during pkg_setup().
     

    # need this much memory (does *not* check swap)
    # CHECKREQS_MEMORY="256M"
     

    Alternatives:

    google-chrome, firefox-bin,seamonkey-bin,opera,vivaldi have no check-reqs because pre-compiled packages are fetched,extracted,and installed.

  9. Find the <path to> bootmgfw.efi located on the EFI partition.

    mkdir myefi
    mount /dev/sda1 myefi
    find myefi -iname bootmgfw.efi
    
    

    Supply the <path to> for this command, replace $fs_uuid  in boot entry with the output:

    # grub2-probe --target=fs_uuid myefi/<path to>/bootmgfw.efi
    

    Supply the <path to> for this command, replace $hints_string in boot entry with the output:

    # grub2-probe --target=hints_string myefi/<path to>/bootmgfw.efi
    

    Place the boot entry in the /etc/grub.d/40_custom:

    menuentry "Microsoft Windows 10 UEFI-GPT" {
    		insmod part_gpt
    		insmod fat
    		insmod search_fs_uuid
    		insmod chain
    		search --fs-uuid --set=root $hints_string $fs_uuid
    		chainloader /<path to>/bootmgfw.efi
    	}
    
    # boot-update
    
  10. The error message in your first post:

    egencache: error: --repo option is required
    

    Your existing crontab has no --repo option:

    00      21      *       *       *       /usr/bin/egencache --update-use-local-desc
    

    you don't need to run update of use-local-desc. it's in included in portage tree. But real problem in your case was missing --repo=gentoo

    Replace --update-use-local-desc with --repo=gentoo

    00      21      *       *       *       /usr/bin/egencache --repo=gentoo
    
  11. Go to https://553978.bugs.gentoo.org/attachment.cgi?id=414754 in firefox.

    File/Save Page As/printf_write_error_workaround_through_delay.patch

    I use default save location ~/Downloads

    Open terminal :

    sudo mkdir -p /etc/portage/patches/sys-apps/openrc-0.18.3-r2
    
    sudo cp ~/Downloads/printf_write_error_workaround_through_delay.patch /etc/portage/patches/sys-apps/openrc-0.18.3-r2
    
    sudo emerge -1av openrc
    
    Confirmation patching was successful:

    >>> Preparing source in /var/tmp/portage/sys-apps/openrc-0.18.3-r2/work/openrc-0.18.3 ...
     * Applying user patches from /etc/portage/patches//sys-apps/openrc-0.18.3-r2 ...
     *   printf_write_error_workaround_through_delay.patch ...                                                                                            [ ok ]
     * Done with patching
    
    
  12.  

    Bug report about this: open-rc random issue - rc-group.sh cant find file or directory

    When booting: /lib64/rc/sh/rc_cgroup.sh line 91 : /sys/fs/cgroup/openrc/swapfiles /tasks: file or directory doesn t exist

     

     

    rj@funtoo ~ $ cat /etc/hosts
    
    127.0.0.1	funtoo localhost localhost.localdomain
    ::1		funtoo localhost localhost.localdomain
    
    

    I edit /etc/conf.d/hostname and change hostname="damian" and save.

    Open terminal as root user:

    rj@funtoo ~ $ sudo rc-config restart hostname
    Restarting init script
     * WARNING: you are stopping a boot service
     * Caching service dependencies ...                                       [ ok ]
     * Stopping fcron ...                                                     [ ok ]
     * Configuring /etc/hosts ...                                             [ ok ]
     * Setting hostname to damian ...                                         [ ok ]
    
    
    
    rj@funtoo ~ $ cat /etc/hosts
    
    127.0.0.1	damian localhost localhost.localdomain
    ::1		damian localhost localhost.localdomain
    
    
  13. Polkit-0.113-r1 builds on my system.

    funtoo rj # epro show
    
    === Enabled Profiles: ===
    
            arch: pure64
           build: current
         subarch: native_64-pure64
          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)
    
    
    funtoo rj # emerge --info
    Portage 2.2.26 (python 3.4.5-final-0, funtoo/1.0/linux-gnu/arch/pure64, gcc-4.9.3, glibc-2.22-r2, 4.5.2-1 x86_64)
    =================================================================
    System uname: Linux-4.5.2-1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.2.1
    KiB Mem:     4045632 total,   1699248 free
    KiB Swap:    2097148 total,   2097148 free
    sh bash 4.3_p42
    ld GNU ld (Funtoo 2.25) 2.25.0
    app-shells/bash:          4.3_p42::gentoo
    dev-lang/perl:            5.22.2::gentoo
    dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
    dev-util/cmake:           3.6.2::gentoo
    sys-apps/baselayout:      2.2.1::gentoo
    sys-apps/openrc:          0.18.3-r2::gentoo
    sys-apps/sandbox:         2.10-r2::gentoo
    sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
    sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
    sys-devel/binutils:       2.25-r2::gentoo
    sys-devel/gcc:            4.9.3-r3::gentoo
    sys-devel/gcc-config:     1.8-r1::gentoo
    sys-devel/libtool:        2.4.6-r2::gentoo
    sys-devel/make:           4.1-r1::gentoo
    sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
    sys-libs/glibc:           2.22-r2::rj
    Repositories:
    
    gentoo
        location: /usr/portage
        sync-type: git
        sync-uri: git://github.com/funtoo/ports-2012.git
        priority: -1000
    
    rj
        location: /usr/local/portage
        masters: gentoo
    
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=native -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-march=native -O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    EMERGE_DEFAULT_OPTS="--with-bdeps=y"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS="-march=native -O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LANG="en_US.utf8"
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    LINGUAS="en"
    MAKEOPTS="-j3"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus dri dts dvd dvdnav dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm gtk ico iconv icu ieee1394 ios ipod ipv6 jpeg jpeg2k lame libass libguess libmpeg2 mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png policykit postproc pppd python quicktime readline resolvconf session sndfile sse sse2 ssl startup-notification svg taglib tcpd theora tiff truetype twolame udev udisks unicode upower v4l vaapi vdpau vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xdg xml xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" SANE_BACKENDS="avision" USERLAND="GNU" VIDEO_CARDS="nouveau radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
    
    
    funtoo rj # emerge -1pv polkit
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild   R    ] sys-auth/polkit-0.113-r1::gentoo  USE="gtk introspection nls pam -examples -jit -kde (-selinux) -systemd {-test}" 0 KiB
    
    Total: 1 package (1 reinstall), Size of downloads: 0 KiB
    
    
    funtoo rj # wgetpaste /var/log/portage/sys-auth\:polkit-0.113-r1\:20160923-164044.log 
    Your paste can be seen here: https://paste.pound-python.org/show/bBeLhgSWjw7YaMytJV1T/
    
    
×
×
  • Create New...