Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

john123

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by john123

  1. Hi,

    Thanks for the answer,  I'm still learning this networking stuff.

    I have wifi router and usb wifi card which doesn't have AP support, wifi card is connected to internet, and router is for local, as AP.
    Now I'm sending traffic from wlan0 interface to wifi router which is connected on eth0.

     

    I 'll try to create a bridge setup.
    Just in this case eth0 should be the slave or wlan0?

     

  2. Hi,

    My processor is AMD type. And it does need early microcode update driver at boot time. Currently it is not enabled in kernel-source configuration,

    I would like to rebuild kernel source, which is latest debian-sources-4.14.2 using ebuild for that, since it has many patches an other build options.

    So I guess i need to patch config file. I have none experiences in creating patches for ebuilds, so I would ask for help in creating that simple patch.

    It only need to add next lines in config file:

    Device Drivers --->
       Generic Driver Options --->
          (amd-ucode/microcode_amd.bin amd-ucode/microcode_amd_fam15h.bin) External firmware blobs to build into the kernel binary

    Currently that line is empty.

     

    Thanks

     

  3. I got this error:

    ERROR: net-misc/dropbox-39.4.49::net-kit failed (prepare phase):
     *   eapply_user (or default) must be called in src_prepare()!
     * 
     * Call stack:
     *            ebuild.sh, line  776:  Called __ebuild_main 'prepare'
     *   phase-functions.sh, line 1053:  Called __dyn_prepare
     *   phase-functions.sh, line  383:  Called die
     * The specific snippet of code:
     *              die "eapply_user (or default) must be called in src_prepare()!"

    It is xfce4 desktop.

  4. Hi,

    After recent Firefox update, there is no sound on YT.  I have sound on other players in Firefox,  just not on YT. 

    And there is  notification that needs to be installed pulseaudio.

    Is it just me? I don't have pulseaudio installed.

    It is firefox-bin latest version 52.0. And adobe-flash plugin.

  5. Thanks for answering,

     

    I'll try to keep "PYTHON_SINGLE_TARGET="python3_4"  in make.conf.

     

    Commands you suggested didn't  get anything to rebuild or reinstall, system is up-to date.

    So, I'll wait for further updates.

    Currently,  xfce4-notifyd-0.3.0 fails to compile, that was part of recent regular updates,

    and in log file I  found this:

    "No rule to make target 'themes/gtk-3.0/Default/gtk.css', needed by 'all-am'.  Stop."

     

    But before that , for some time , "Python Single_target 3_4" option in make.conf

    was commented out, so almost whole system was built that way.

     If anything else, I'll reinstall system, :)

  6. Hi,

     

    One question about Python 3.4.

    Do we need to have  this entry : "PYTHON_SINGLE_TARGET="python3_4"  in make.conf

    I remember that was recommended earlier, after some upgrades.

    Whit that in make.conf some packages , just a few, won't compile.

    But if compillig-person does comment out this, then everything compile nicely,

    but again, after  few updates,  a few packages appears which won't compile,

    if that is actually a reason, I'm not sure.

     

    So is that safely to remove "Python single target"  entry from make.conf ?

     

    sorry for my english

     

    Thanks

  7. Thanks Cardinal , that worked like charm .

     

    Renaming  those files has solved file-collisions problem.

    That should be somewhere in the wiki page.

     

    Whole package:

    # equery f eselect-python
     * Searching for eselect-python ...
     * Contents of app-eselect/eselect-python-20151117-r2:
    /etc
    /etc/env.d
    /etc/env.d/python
    /etc/env.d/python/.keep_app-eselect_eselect-python-0
    /usr
    /usr/bin
    /usr/bin/2to3 -> ../lib/python-exec/python-exec2
    /usr/bin/idle -> ../lib/python-exec/python-exec2
    /usr/bin/pydoc -> ../lib/python-exec/python-exec2
    /usr/bin/python
    /usr/bin/python-config -> ../lib/python-exec/python-exec2
    /usr/bin/python2
    /usr/bin/python2-config -> ../lib/python-exec/python-exec2
    /usr/bin/python3
    /usr/bin/python3-config -> ../lib/python-exec/python-exec2
    /usr/bin/pyvenv -> ../lib/python-exec/python-exec2
    /usr/share
    /usr/share/eselect
    /usr/share/eselect/modules
    /usr/share/eselect/modules/python.eselect

     

    thanks to all again

  8.  

    # equery f eselect-python
     * Searching for eselect-python ...
     * Contents of app-eselect/eselect-python-20140125:
    /etc
    /etc/env.d
    /etc/env.d/python
    /etc/env.d/python/.keep_app-eselect_eselect-python-0
    /usr
    /usr/bin
    /usr/bin/python-wrapper
    /usr/share
    /usr/share/eselect
    /usr/share/eselect/modules
    /usr/share/eselect/modules/python.eselect
  9. Thanks Sandro,

     

    It again stop on eselect-python-20151117-r2

     

     

     

     

    emerge -DNu world --with-bdeps=y --keep-going
     
    >>> Installing (6 of 36) app-eselect/eselect-python-20151117-r2::gentoo
     * This package will overwrite one or more files that may belong to other
     * packages (see list below). You can use a command such as `portageq
     * owners / <filename>` to identify the installed package that owns a
     * file. If portageq reports that only one package owns a file then do
     * NOT file a bug report. A bug report is only useful if it identifies at
     * least two or more packages that are known to install the same file(s).
     * If a collision occurs and you can not explain where the file came from
     * then you should simply ignore the collision since there is not enough
     * information to determine if a real problem exists. Please do NOT file
     * a bug report at http://bugs.gentoo.orgunless you report exactly which
     * two packages install the same file(s). See
     * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockersfor tips on how to
     * solve the problem. And once again, please do NOT file a bug report
     * unless you have completely understood the above message.
     *
     * package app-eselect/eselect-python-20151117-r2 NOT merged
     *
     * Detected file collision(s):
     *
     *     /usr/bin/python3
     *     /usr/bin/python2
     *     /usr/bin/python
     *     /usr/bin/pydoc
     *     /usr/bin/2to3
     *     /usr/bin/python-config
     *
     * Searching all installed packages for file collisions...
     *
     * Press Ctrl-C to Stop
     *
     * None of the installed packages claim the file(s).
     *
     * Package 'app-eselect/eselect-python-20151117-r2' NOT merged due to
     * file collisions. If necessary, refer to your elog messages for the
     * whole content of the above message.
    
    >>> Failed to install app-eselect/eselect-python-20151117-r2, Log file:
    
    >>>  '/var/tmp/portage/portage/app-eselect/eselect-python-20151117-r2/temp/build.log'
    *** Resuming merge...
    Calculating dependencies... done!
    
     * Messages for package app-eselect/eselect-python-20151117-r2:
    
     * This package will overwrite one or more files that may belong to other
     * packages (see list below). You can use a command such as `portageq
     * owners / <filename>` to identify the installed package that owns a
     * file. If portageq reports that only one package owns a file then do
     * NOT file a bug report. A bug report is only useful if it identifies at
     * least two or more packages that are known to install the same file(s).
     * If a collision occurs and you can not explain where the file came from
     * then you should simply ignore the collision since there is not enough
     * information to determine if a real problem exists. Please do NOT file
     * a bug report at http://bugs.gentoo.orgunless you report exactly which
     * two packages install the same file(s). See
     * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockersfor tips on how to
     * solve the problem. And once again, please do NOT file a bug report
     * unless you have completely understood the above message.
     *
     * package app-eselect/eselect-python-20151117-r2 NOT merged
     *
     * Detected file collision(s):
     *
     *     /usr/bin/python3
     *     /usr/bin/python2
     *     /usr/bin/python
     *     /usr/bin/pydoc
     *     /usr/bin/2to3
     *     /usr/bin/python-config
     *
     * Searching all installed packages for file collisions...
     *
     * Press Ctrl-C to Stop
     *
     * None of the installed packages claim the file(s).
     *
     * Package 'app-eselect/eselect-python-20151117-r2' NOT merged due to
     * file collisions. If necessary, refer to your elog messages for the
     * whole content of the above message.
     * One or more packages are either masked or have missing dependencies:
     *
     *   >=app-eselect/eselect-python-20151117-r1 pulled in by:
     *     (dev-lang/python-2.7.11-r2:2.7/2.7::gentoo, installed)
     *
     *   >=app-eselect/eselect-python-20151117-r1 pulled in by:
     *     (dev-lang/python-3.4.3-r7:3.4/3.4m::gentoo, installed)
     *
     * The resume list contains packages that are either masked or have
     * unsatisfied dependencies. Please restart/continue the operation
     * manually, or use --skipfirst to skip the first package in the list and
     * any other packages that may be masked or have missing dependencies.

     

    And output of the other command:

     

     

     # emerge -DNupv world
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild     U  ] app-eselect/eselect-python-20151117-r2::gentoo [20140125::gentoo] 0 KiB
    [ebuild     U  ] app-misc/ca-certificates-20151214.3.21::gentoo [20150426.3.20-r1::gentoo] USE="cacert" 0 KiB
    [ebuild     U  ] dev-python/packaging-16.2::gentoo [16.0::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB
    [ebuild     U  ] dev-python/setuptools-20.1.1::gentoo [19.4::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB
    [ebuild     U  ] dev-python/pyparsing-2.1.0::gentoo [2.0.7::gentoo] USE="-doc -examples" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB
    [ebuild  N     ] dev-python/pygtksourceview-2.10.1-r1:2::gentoo  USE="-doc" PYTHON_TARGETS="python2_7" 0 KiB
    [ebuild   R    ] net-misc/openssh-7.1_p2-r1::gentoo  USE="X* hpn pam pie ssl -X509 -bindist -debug -kerberos -ldap -ldns -libedit -libressl -sctp (-selinux) -skey -ssh1 -static" 0 KiB
    [ebuild   R    ] sys-apps/groff-1.22.3::gentoo  USE="X* -examples" 0 KiB
    [ebuild  N     ] sys-libs/gpm-1.20.7-r2::gentoo  USE="(-selinux) -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
    [ebuild   R    ] sys-libs/ncurses-6.0-r1:0/6::gentoo  USE="cxx gpm* unicode -ada -debug -doc -minimal -profile -static-libs {-test} -threads -tinfo -trace" ABI_X86="32 (64) (-x32)" 0 KiB
    [ebuild   R    ] sys-apps/util-linux-2.27.1::gentoo  USE="cramfs ncurses nls pam python readline static-libs suid udev* unicode -caps -fdformat -kill (-selinux) -slang (-systemd) {-test} -tty-helpers" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_3" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB
    [ebuild   R    ] media-libs/mesa-11.1.1::gentoo  USE="classic dri3 egl gallium gbm llvm nptl udev xa* -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -vdpau -wayland -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 KiB
    [ebuild   R    ] sys-process/psmisc-22.21-r2::gentoo  USE="X* ipv6 nls (-selinux)" 0 KiB
    [ebuild   R    ] dev-libs/newt-0.52.18::gentoo  USE="gpm* nls -tcl" PYTHON_TARGETS="python2_7" 0 KiB
    [ebuild   R    ] sys-auth/polkit-0.113-r1::gentoo  USE="gtk* introspection* jit nls pam -examples -kde (-selinux) (-systemd) {-test}" 0 KiB
    [ebuild  N     ] gnome-extra/polkit-gnome-0.105-r1::gentoo  0 KiB
    [ebuild   R    ] net-misc/modemmanager-1.4.8:0/1::gentoo  USE="policykit* qmi -introspection -mbim -qmi-newest -vala" 0 KiB
    [ebuild   R    ] sys-power/pm-utils-1.4.1-r7::gentoo  USE="alsa* -debug -ntp" VIDEO_CARDS="-intel -radeon" 0 KiB
    [ebuild   R    ] sys-boot/grub-2.02_beta2-r3::gentoo  USE="binfont nls truetype* -debug -device-mapper -doc -efiemu -libzfs -mount -multislot -sdl -static {-test}" GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -xen" 0 KiB
    [ebuild   R    ] sys-power/upower-0.99.3-r1:0/3::gentoo  USE="deprecated ios* -introspection" 0 KiB
    [ebuild   R    ] net-misc/networkmanager-1.0.10-r1::gentoo  USE="consolekit* dhclient modemmanager ncurses nss ppp resolvconf wext wifi -bluetooth -connection-sharing -dhcpcd -gnutls -introspection (-selinux) (-systemd) -teamd {-test} -vala -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB
    [ebuild     U  ] app-crypt/gnupg-2.0.29-r1::gentoo [2.0.28::gentoo] USE="bzip2 mta nls readline -doc -ldap (-selinux) -smartcard -static -tools -usb" 0 KiB
    [ebuild   R    ] dev-vcs/git-2.7.0-r2::gentoo  USE="blksha1 curl gpg gtk* iconv nls pcre perl python threads webdav -cgi -cvs -doc -emacs -gnome-keyring -highlight -libressl -mediawiki -mediawiki-experimental (-ppcsha1) -subversion {-test} -tk -xinetd" PYTHON_TARGETS="python2_7" 0 KiB
    
    Total: 23 packages (6 upgrades, 3 new, 14 reinstalls), Size of downloads: 0 KiB
  10. Hello,

     

    I'm completely new to Funtoo. A couple of days  I'm  facing with the update problem.
    I think it is wiser to ask for help.
    This is  the output of the update command.
    And down is attached the log file.

    Please give me some hint what I should do.
     
    # emerge -auDN world
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    
    [ebuild     U  ] app-eselect/eselect-python-20151117-r2 [20140125]
    
    [ebuild     U  ] app-misc/ca-certificates-20151214.3.21 [20150426.3.20-r1]
    
    [ebuild     U  ] dev-python/packaging-16.2 [16.0]
    
    [ebuild     U  ] dev-python/setuptools-20.1.1 [19.4]
    
    [ebuild     U  ] dev-python/pyparsing-2.1.0 [2.0.7]
    
    [ebuild   R    ] net-misc/openssh-7.1_p2-r1  USE="X*"
    
    [ebuild   R    ] dev-libs/libusb-1.0.19  USE="udev*"
    
    [ebuild   R    ] virtual/libusb-1-r2  USE="udev*"
    
    [ebuild   R    ] sys-apps/groff-1.22.3  USE="X*"
    
    [ebuild  N     ] sys-libs/gpm-1.20.7-r2  USE="(-selinux) -static-libs" ABI_X86="32 (64) (-x32)"
    
    [ebuild   R    ] sys-libs/ncurses-6.0-r1  USE="gpm*"
    
    [ebuild   R    ] sys-apps/util-linux-2.27.1  USE="udev*"
    
    [ebuild   R    ] media-libs/mesa-11.1.1  USE="xa*"
    
    [ebuild   R    ] sys-process/psmisc-22.21-r2  USE="X*"
    
    [ebuild   R    ] dev-libs/newt-0.52.18  USE="gpm*"
    
    [ebuild  N     ] x11-libs/gtksourceview-2.10.5-r3  USE="{-test}"
    
    [ebuild  N     ] dev-python/pygtksourceview-2.10.1-r1  USE="-doc" PYTHON_TARGETS="python2_7"
    
    [ebuild   R    ] sys-auth/polkit-0.113-r1  USE="gtk* introspection*"
    
    [ebuild  N     ] gnome-extra/polkit-gnome-0.105-r1
    
    [ebuild   R    ] net-misc/modemmanager-1.4.8  USE="policykit*"
    
    [ebuild   R    ] sys-power/pm-utils-1.4.1-r7  USE="alsa*"
    
    [ebuild   R    ] sys-boot/grub-2.02_beta2-r3  USE="truetype*"
    
    [ebuild   R    ] sys-power/upower-0.99.3-r1  USE="ios*"
    
    [ebuild   R    ] net-misc/networkmanager-1.0.10-r1  USE="consolekit*"
    
    [ebuild     U  ] app-crypt/gnupg-2.0.29-r1 [2.0.28]
    
    [ebuild   R    ] dev-vcs/git-2.7.0-r2  USE="gtk*"
    
    
    
    Would you like to merge these packages? [Yes/No]

    build.log.txt

  11. Hello

     

    Build process has stuck on dev-java/ant-contrib-1.0_beta3-r1 package.

    >>> Emerging (24 of 25) dev-java/ant-contrib-1.0_beta3-r1::gentoo
    
     * ant-contrib-1.0b3-src.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                          [ ok ]
    
    !!! ERROR: The javac executable was not found in the Java path
    
     * Using: oracle-jre-bin-1.8
    
    >>> Unpacking source...
    
    >>> Unpacking ant-contrib-1.0b3-src.tar.bz2 to /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work
    
    >>> Source unpacked in /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work
    
    >>> Preparing source in /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib ...
    
     * Applying tests-visibility.patch ...                                                         [ ok ]
    
    ./lib/ant/jars/ant-1.6.5.jar
    
    ./lib/bcel/jars/bcel-5.1.jar
    
    ./lib/commons-cli/jars/commons-cli-1.0.jar
    
    ./lib/commons-codec/jars/commons-codec-1.3.jar
    
    ./lib/commons-httpclient/jars/commons-httpclient-3.0.1.jar
    
    ./lib/commons-logging/jars/commons-logging-1.0.4.jar
    
    ./lib/ivy/jars/ivy-1.3.1.jar
    
    ./lib/junit/jars/junit-3.8.1.jar
    
    ./lib/oro/jars/oro-2.0.8.jar
    
    ./lib/xercesImpl/jars/xercesImpl-2.6.2.jar
    
    >>> Source prepared.
    
    >>> Configuring source in /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib ...
    
    Rewriting attributes
    
    Rewriting ./build.xml
    
    >>> Source configured.
    
    >>> Compiling source in /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib ...
    
     * Using following ANT_TASKS: ant-ivy
    
     * java-pkg_ensure-dep: The ebuild is attempting to use ant-core, which is not declared with a SLOT in [RP]DEPEND and --build-only wasn't given.
    
    Warning: Unable to determine tools.jar location.
    
      If build fails because sun.* classes could not be found,
    
      Make sure you are using a JDK, not JRE as your user/system VM.
    
      and that you have java-config version 2.0.30 or above installed.
    
    Unable to locate tools.jar. Expected to find it in /opt/oracle-jre-bin-1.8.0.66/lib/tools.jar
    
    Buildfile: /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/build.xml
    
    
    
    init:
    
    
    
    configure:
    
    [ns0:configure] Loading jar:file:/usr/share/ant-ivy/lib/ivy.jar!/fr/jayasoft/ivy/ivy.properties
    
    [ns0:configure] :: Ivy local-20160116234353 - 20160116234353 :: http://ivy.jayasoft.org/ ::
    
    [ns0:configure] :: configuring :: file = /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/ivy-conf.xml
    
    
    
    resolve:
    
    
    
    classpath:
    
    
    
    compile:
    
        [mkdir] Created dir: /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/target/classes
    
    
    
    BUILD FAILED
    
    /tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/build.xml:52: Unable to find a javac compiler;
    
    com.sun.tools.javac.Main is not on the classpath.
    
    Perhaps JAVA_HOME does not point to the JDK.
    
    It is currently set to "/opt/oracle-jre-bin-1.8.0.66"
    
    
    
    Total time: 0 seconds
    
     * ERROR: dev-java/ant-contrib-1.0_beta3-r1::gentoo failed (compile phase):
    
     *   eant failed
    
     *
    
     * Call stack:
    
     *     ebuild.sh, line   93:  Called src_compile
    
     *   environment, line 3941:  Called java-pkg-2_src_compile
    
     *   environment, line 1815:  Called eant 'jar' '-f' 'build.xml' '-Dversion=1.0_beta3' '-Ddep.available=true'
    
     *   environment, line  590:  Called die
    
     * The specific snippet of code:
    
     *       ant ${antflags} "${@}" || die "eant failed"
    
     *
    
     * If you need support, post the output of `emerge --info '=dev-java/ant-contrib-1.0_beta3-r1::gentoo'`,
    
     * the complete build log and the output of `emerge -pqv '=dev-java/ant-contrib-1.0_beta3-r1::gentoo'`.
    
    !!! When you file a bug report, please include the following information:
    
    GENTOO_VM=oracle-jre-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jre-bin-1.8.0.66"
    
    JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
    
    and of course, the output of emerge --info =ant-contrib-1.0_beta3
    
     * The complete build log is located at '/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/temp/build.log'.
    
     * The ebuild environment file is located at '/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/temp/environment'.
    
     * Working directory: '/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib'
    
     * S: '/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib'
    
    
    
    >>> Failed to emerge dev-java/ant-contrib-1.0_beta3-r1, Log file:
    
    
    
    >>>  '/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/temp/build.log'
    
    
    
     * Messages for package dev-java/ant-nodeps-1.9.2:
    
    
    
     * Upstream has removed ant-nodeps.jar as of 1.8.2 and moved the classes to ant.jar
    
     * This package thus installs an empty jar for compatibility
    
     * and will be removed once reverse dependencies are transitioned.
    
    
    
     * Messages for package dev-java/ant-contrib-1.0_beta3-r1:
    
    
    
     * ERROR: dev-java/ant-contrib-1.0_beta3-r1::gentoo failed (compile phase):
    
     *   eant failed
    
     *
    
     * Call stack:
    
     *     ebuild.sh, line   93:  Called src_compile
    
     *   environment, line 3941:  Called java-pkg-2_src_compile
    
     *   environment, line 1815:  Called eant 'jar' '-f' 'build.xml' '-Dversion=1.0_beta3' '-Ddep.available=true'
    
     *   environment, line  590:  Called die
    
     * The specific snippet of code:
    
     *       ant ${antflags} "${@}" || die "eant failed"

    Thanks

×
×
  • Create New...