Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

donjames

Members
  • Posts

    66
  • Joined

  • Last visited

Posts posted by donjames

  1. I am installing a new funtoo system.

    I type the command:

    mount -t proc none proc

    and I get the error message:

    proc does not exist

     

    What do I do now?

    Thanks,

    donjames

    Solution: Make sure that the entire stage 3 tarball gets downloaded.  In my case, it didn't.  When I downloaded it again, the proc directory got created.

    I just thought I would post the answer here since I suspect that someone else might have the same problem.

  2. Here's what I did:

    1) /etc/init.d/mysql start

    It didn't start because there was no mysql database installed.

    2) emerge --config dev-db/mariadb

    Asked for password and created the mysql database.  It then exited with error: "Installation of system tables failed!

    3)/etc/init.d/mysql start

    mysql starts, but I can't access the database.

    mysql -u root -p gives an error.  It won't accept the password that I entered earlier.

     

     

  3. Help!

    I am trying to get mariadb up and running.  It installs and I can run mysql, but the 

    emerge ---config dev-db/mariadb exits with the following error:

    "Failed to initialize mysqld"

    Even though I can start the database with "/etc/init.d/mysql start",  I can't access it because the config failed and it doesn't have my password.

    Can someone give me a hint about what is going wrong here?

     

    Thanks,

     

    Don James

  4. When I run:

    emerge -uDNv nmap

     

    I get:

    make: 'makefile.dep' is up to date.
    make: Leaving directory '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01/libnetutil'
    make -j2 -C ncat makefile.dep 
    make: Entering directory '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01/ncat'
    make: *** No rule to make target 'makefile.dep'.  Stop.
    make: Leaving directory '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01/ncat'
     * ERROR: net-analyzer/nmap-7.01::gentoo failed (compile phase):
     *   emake failed
     * 
     * If you need support, post the output of `emerge --info '=net-analyzer/nmap-7.01::gentoo'`,
     * the complete build log and the output of `emerge -pqv '=net-analyzer/nmap-7.01::gentoo'`.
     * The complete build log is located at '/var/log/portage/net-analyzer:nmap-7.01:20151226-223937.log'.
     * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/environment'.
     * Working directory: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'
     * S: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'
    
    >>> Failed to emerge net-analyzer/nmap-7.01, Log file:
    
    >>>  '/var/log/portage/net-analyzer:nmap-7.01:20151226-223937.log'
    
     * Messages for package net-analyzer/nmap-7.01:
    
     * ERROR: net-analyzer/nmap-7.01::gentoo failed (compile phase):
     *   emake failed
     * 
     * If you need support, post the output of `emerge --info '=net-analyzer/nmap-7.01::gentoo'`,
     * the complete build log and the output of `emerge -pqv '=net-analyzer/nmap-7.01::gentoo'`.
     * The complete build log is located at '/var/log/portage/net-analyzer:nmap-7.01:20151226-223937.log'.
     * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/environment'.
     * Working directory: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'
     * S: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'
    
     * GNU info directory index is up-to-date.
    
    

    Can someone give me a clue about what is going on here?

     

    Thanks,

     

    Don James

  5. checking whether to use MMX intrinsics... no
    configure: error: x86 MMX intrinsics not detected
    
    !!! Please attach the following file when seeking support:
    !!! /var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4-abi_x86_32.x86/config.log
     * ERROR: x11-libs/pixman-0.33.4::gentoo failed (configure phase):
     *   econf failed
     * 
     * Call stack:
     *               ebuild.sh, line   93:  Called src_configure
     *             environment, line 3624:  Called xorg-2_src_configure
     *             environment, line 4430:  Called autotools-multilib_src_configure
     *             environment, line  703:  Called multilib-minimal_src_configure
     *             environment, line 2818:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
     *             environment, line 3025:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
     *             environment, line 2749:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
     *             environment, line 2747:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
     *             environment, line  582:  Called multilib-minimal_abi_src_configure
     *             environment, line 2812:  Called multilib_src_configure
     *             environment, line 3242:  Called autotools-utils_src_configure
     *             environment, line  744:  Called econf '--docdir=/usr/share/doc/pixman-0.33.4' '--enable-shared' '--enable-static' '--enable-mmx' '--enable-sse2' '--disable-ssse3' '--disable-vmx' '--disable-arm-neon' '--disable-arm-iwmmxt' '--disable-loongson-mmi' '--disable-gtk' '--disable-libpng'
     *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
     *   isolated-functions.sh, line  117:  Called die
     * The specific snippet of code:
     *   		die "$@"
     * 
    If you need support, post the output of `emerge --info '=x11-libs/pixman-0.33.4::gentoo'`,
     * the complete build log and the output of `emerge -pqv '=x11-libs/pixman-0.33.4::gentoo'`.
     * The complete build log is located at '/var/log/portage/x11-libs:pixman-0.33.4:20151201-154307.log'.
     * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/pixman-0.33.4/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pixman-0.33.4/temp/environment'.
     * Working directory: '/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4-abi_x86_32.x86'
     * S: '/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4'
    
    >>> Failed to emerge x11-libs/pixman-0.33.4, Log file:
    
    >>>  '/var/log/portage/x11-libs:pixman-0.33.4:20151201-154307.log'
    
     * Messages for package x11-libs/pixman-0.33.4:
    
     * ERROR: x11-libs/pixman-0.33.4::gentoo failed (configure phase):
     *   econf failed
    Call stack:
     *               ebuild.sh, line   93:  Called src_configure
     *             environment, line 3624:  Called xorg-2_src_configure
     *             environment, line 4430:  Called autotools-multilib_src_configure
     *             environment, line  703:  Called multilib-minimal_src_configure
     *             environment, line 2818:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
     *             environment, line 3025:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
     *             environment, line 2749:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
     *             environment, line 2747:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
     *             environment, line  582:  Called multilib-minimal_abi_src_configure
     *             environment, line 2812:  Called multilib_src_configure
     *             environment, line 3242:  Called autotools-utils_src_configure
     *             environment, line  744:  Called econf '--docdir=/usr/share/doc/pixman-0.33.4' '--enable-shared' '--enable-static' '--enable-mmx' '--enable-sse2' '--disable-ssse3' '--disable-vmx' '--disable-arm-neon' '--disable-arm-iwmmxt' '--disable-loongson-mmi' '--disable-gtk' '--disable-libpng'
     *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
     *   isolated-functions.sh, line  117:  Called die
     * The specific snippet of code:
     *   		die "$@"
     * 
     * If you need support, post the output of `emerge --info '=x11-libs/pixman-0.33.4::gentoo'`,
     * the complete build log and the output of `emerge -pqv '=x11-libs/pixman-0.33.4::gentoo'`.
     * The complete build log is located at '/var/log/portage/x11-libs:pixman-0.33.4:20151201-154307.log'.
     * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/pixman-0.33.4/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pixman-0.33.4/temp/environment'.
     * Working directory: '/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4-abi_x86_32.x86'
     * S: '/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4'
    

    Output for emerge --info:

    Portage 2.2.20.1 (python 3.3.5-final-0, funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-4.9.3, glibc-2.20-r2, 3.19.3-1~exp1 i686)
    =================================================================
    System uname: Linux-3.19.3-1~exp1-i686-AMD_Athlon-tm-_64_Processor_3800+-with-gentoo-2.2.0
    KiB Mem:     1288516 total,    321400 free
    KiB Swap:    2097148 total,   2096344 free
    sh bash 4.3_p39-r1
    ld GNU ld (Funtoo 2.25) 2.25.0
    app-shells/bash:          4.3_p39-r1::gentoo
    dev-java/java-config:     2.2.0::gentoo
    dev-lang/perl:            5.22.0::gentoo
    dev-lang/python:          2.7.10-r2::gentoo, 3.3.5-r2::gentoo
    dev-util/cmake:           3.3.2-r1::gentoo
    sys-apps/baselayout:      2.2.0-r6::gentoo
    sys-apps/openrc:          0.18.3-r1::gentoo
    sys-apps/sandbox:         2.9::gentoo
    sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
    sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
    sys-devel/binutils:       2.25-r2::gentoo
    sys-devel/gcc:            4.9.3::gentoo
    sys-devel/gcc-config:     1.8::gentoo
    sys-devel/libtool:        2.4.6-r1::gentoo
    sys-devel/make:           4.1-r1::gentoo
    sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
    sys-libs/glibc:           2.20-r2::gentoo
    Repositories:
    
    gentoo
        location: /usr/portage
        sync-type: git
        sync-uri: git://github.com/funtoo/ports-2012.git
        priority: -1000
    
    ACCEPT_KEYWORDS="x86 ~x86"
    ACCEPT_LICENSE="*"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-O2 -march=i686 -mtune=generic -pipe"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/config /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="-O2 -march=i686 -mtune=generic -pipe"
    DISTDIR="/usr/portage/distfiles"
    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 userp
    riv usersandbox usersync xattr"
    FFLAGS="-O2 -march=i686 -mtune=generic -pipe"
    GENTOO_MIRRORS="  http://mirrors.cs.wmich.edu/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://distro.ibiblio.org/pub/l
    inux/distributions/gentoo/ rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gento
    o http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.lug.udel
    .edu/pub/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
    LANG="en_US.UTF-8"
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    MAKEOPTS="-j2"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    
    USE="X acl alsa apache apache2 apng berkdb bzip2 cdr consolekit cracklib crypt ctype cups cxx dbus device-mapper dvd extras
     filter frascend gd gdbm gnutls gtk gtk2 gtk3 hal hpcups iconv icu imap ipv6 kde lxde minizip mng modules mp3 mudflap mysql
     mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre php png policykit polkit python qt3 qt3support
     qt4 readline resolvconf samba sdl session snmp sql sqlite ssl static-libs svg tcltk tcpd tftp tkinter unicode vorbis x86 x
    attr xml zlib" ABI_X86="32" 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_shm
    cb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECT
    D_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC=
    "glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oce
    anserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 pc"
     INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
    ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGET
    S="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS
    ="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="noveau fbdev vesa" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, P
    ORTAGE_COMPRESS_FLAGS
    
    
    

    Does anyone have a clue about what is going on here?

     

    Thanks,

     

    donjames

     

  6. Supposedly the GPL restrictions on the nvidia drivers problem is solved, but I find it not to be so on the 340.xx series, has been an issue since 4.2.0.  So I have to patch the kernel with this:

    # cat /usr/src/fix_gpl
    #!/bin/bash
    
    sed -i 's/EXPORT_SYMBOL_GPL(flush_workqueue/EXPORT_SYMBOL(flush_workqueue/' linux/kernel/workqueue.c
    

    So that solves the GPL problem.  I just leave that snippet in my /usr/src directory and run it before compiling each kernel.

    Additionally another patch is needed for the driver itself.  I can't give a reference for this patch, I found a fellow talking about it on a forum, it wasn't really given in usable patch form, but it was clear enough for me to make this patch:

    # cat /etc/portage/patches/x11-drivers/nvidia-drivers-340.93-r1/kernel-4.3.0.patch
    
    --- a/kernel/nv-procfs.c	2015-08-19 16:00:07.000000000 -0700
    +++ b/kernel/nv-procfs2.c	2015-11-05 17:07:24.395722706 -0800
    @@ -356,7 +356,8 @@
         registry_keys = ((nvl != NULL) ?
                 nvl->registry_keys : nv_registry_keys);
     
    -    return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
    +    seq_printf(s, "Binary: \"%s\"\n", registry_keys);
    +    return 0;
     }
     
     static ssize_t
    @@ -552,7 +553,8 @@
         void *v
     )
     {
    -    return seq_puts(s, s->private);
    +    seq_puts(s, s->private);
    +    return 0;
     }
     
     NV_DEFINE_PROCFS_SINGLE_FILE(text_file);
    
    

    He was really talking about the 352.xx drivers, but it turned out to be so for the 340.xx series also.

    If you use those patches and recompile your kernel it will install.  Several days now, no problems here.  Good luck.

     

    Hi Sputnik,

     

    Thanks for the reply.

     

    I found a generic  driver that works.  I will wait for the kernel fix.

     

    Regards,

     

    Don James

  7. Hi everyone,

     

    I am trying to do an emerge world with a new install of Funtoo.

     

    I get the following errors:

    emerge -uDNvp world
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    
    !!! The ebuild selected to satisfy "media-video/ffmpeg:0=" has unmet requirements.
    - media-video/ffmpeg-2.8.1::gentoo USE="X alsa bzip2 encode gnutls gpl hardcoded-tables iconv mp3 network opengl postproc samba sdl static-libs threads vorbis zlib -aac -aacplus (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bluray -bs2b -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -fribidi -gme -gsm -iec61883 -ieee1394 -jack -jpeg2k -ladspa -libass -libcaca -libressl -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug (-neon) -openal -openssl -opus -oss -pic -pulseaudio -quvi -schroedinger -snappy -speex -ssh -test -theora -truetype -twolame -v4l -vaapi -vdpau -vpx -wavpack -webp -x264 -x265 -xcb -xvid -zvbi" CPU_FLAGS_X86="sse2 -3dnow -3dnowext -avx -avx2 -fma3 -fma4 -mmx -mmxext -sse -sse3 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"
    
      The following REQUIRED_USE flag constraints are unsatisfied:
        cpu_flags_x86_sse2? ( cpu_flags_x86_sse )
    
      The above constraints are a subset of the following complete expression:
        libv4l? ( v4l ) fftools_cws2fws? ( zlib ) test? ( encode ) postproc? ( gpl ) frei0r? ( gpl ) cdio? ( gpl ) samba? ( gpl ) zvbi? ( gpl ) encode? ( x264? ( gpl ) x265? ( gpl ) xvid? ( gpl ) X? ( !xcb? ( gpl ) ) ) cpu_flags_x86_avx2? ( cpu_flags_x86_avx ) cpu_flags_x86_fma4? ( cpu_flags_x86_avx ) cpu_flags_x86_fma3? ( cpu_flags_x86_avx ) cpu_flags_x86_xop? ( cpu_flags_x86_avx ) cpu_flags_x86_avx? ( cpu_flags_x86_sse4_2 ) cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 ) cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 ) cpu_flags_x86_ssse3? ( cpu_flags_x86_sse3 ) cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 ) cpu_flags_x86_sse2? ( cpu_flags_x86_sse ) cpu_flags_x86_sse? ( cpu_flags_x86_mmxext ) cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx ) cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow ) cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx )
    
    (dependency required by "media-video/vlc-2.2.1-r1::gentoo[avcodec,avformat,swscale]" [ebuild])
    (dependency required by "media-libs/phonon-vlc-0.8.2::gentoo" [installed])
    (dependency required by "media-libs/phonon-4.8.3-r1::gentoo[vlc]" [installed])
    (dependency required by "kde-base/kdelibs-4.14.13-r1::gentoo" [ebuild])
    (dependency required by "net-libs/libproxy-0.4.11-r2::gentoo[kde]" [installed])
    (dependency required by "net-libs/glib-networking-2.44.0::gentoo" [installed])
    (dependency required by "net-libs/libsoup-2.50.0::gentoo" [installed])
    (dependency required by "gnome-base/gvfs-1.24.2::gentoo[http]" [installed])
    (dependency required by "x11-libs/libfm-1.2.3-r2::gentoo[automount,-udisks]" [installed])
    (dependency required by "lxde-base/menu-cache-1.0.0-r1::gentoo" [installed])
    (dependency required by "lxde-base/lxde-meta-0.5.5-r4::gentoo" [installed])
    (dependency required by "@selected" [set])
    (dependency required by "@world" [argument])
    
    
    

    Can anyone give me a clue about what is going on here?

     

    Thanks,

     

    donjames

  8. I read the funtoo install instructions again.  I followed exactly the instructions for installing funtoo using debian-sources. 

     

    It worked!

     

    I now have my Toshiba laptop up and running.  I have been trying, unsuccessfully, to do a manual kernel configuration for the past 5 days and could not get the Toshiba to boot.

     

    Thanks,

     

    Don James

×
×
  • Create New...