Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

ainsley31415926

Members
  • Posts

    35
  • Joined

  • Last visited

Posts posted by ainsley31415926

  1. Asked this before but dont see any fix

    equery u cronie
    Traceback (most recent call last):
     File "/usr/lib/python-exec/python3.9/equery", line 38, in <module>
       equery.main(sys.argv)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/__init__.py", line 356, in main
       loaded_module.main(module_args)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 306, in main
       output = get_output_descriptions(pkg, global_usedesc)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 186, in get_output_descriptions
       local_usedesc = pkg.metadata.use()
     File "/usr/lib/python3.9/site-packages/gentoolkit/metadata.py", line 286, in use
       for node in self._xml_tree.getiterator('flag'):
    AttributeError: 'ElementTree' object has no attribute 'getiterator'


     

    The problem is that gentoolkit does not work with python 3.9

    I cant downgrade to 3.7 as everything goes wrong

    Surely someone else has this problem?

     

  2. The problem still occurs if I switch to 3.7, but strangely even though

    eselect python list  
    Available Python interpreters, in order of preference:
     [1]   python3.7
     [2]   python3.9


    I get code from 3.9

    equery u nfs-utils   
    Traceback (most recent call last):
     File "/usr/lib/python-exec/python3.9/equery", line 38, in <module>
       equery.main(sys.argv)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/__init__.py", line 356, in main
       loaded_module.main(module_args)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 306, in main
       output = get_output_descriptions(pkg, global_usedesc)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 186, in get_output_descriptions
       local_usedesc = pkg.metadata.use()
     File "/usr/lib/python3.9/site-packages/gentoolkit/metadata.py", line 286, in use
       for node in self._xml_tree.getiterator('flag'):
    AttributeError: 'ElementTree' object has no attribute 'getiterator'


     

    Whats more

    ego query v python

    gives

    ego query v python
    ERROR: Ego encountered an unexpected error: ModuleNotFoundError
    ERROR: Full traceback written to /tmp/ego-traceback-2168.txt.


    No module named 'appi'Traceback (most recent call last):
     File "/usr/bin/ego", line 120, in <module>
       EgoModule.run_ego_module(action, econfig, args, VERSION)
     File "/usr/share/ego/python/ego/module.py", line 107, in run_ego_module
       mod = loader.load_module()
     File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper
     File "<frozen importlib._bootstrap_external>", line 907, in load_module
     File "<frozen importlib._bootstrap_external>", line 732, in load_module
     File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
     File "<frozen importlib._bootstrap>", line 696, in _load
     File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 728, in exec_module
     File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
     File "/usr/share/ego/modules/query.ego", line 8, in <module>
       import appi
    ModuleNotFoundError: No module named 'appi'


     

     

  3. Hi,

    Just installed next for the first time, a couple of minutes ago.

    What is this error all about?

     

     

    equery u net-fs/nfs-utils
    Traceback (most recent call last):
     File "/usr/lib/python-exec/python3.9/equery", line 38, in <module>
       equery.main(sys.argv)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/__init__.py", line 356, in main
       loaded_module.main(module_args)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 306, in main
       output = get_output_descriptions(pkg, global_usedesc)
     File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 186, in get_output_descriptions
       local_usedesc = pkg.metadata.use()
     File "/usr/lib/python3.9/site-packages/gentoolkit/metadata.py", line 286, in use
       for node in self._xml_tree.getiterator('flag'):
    AttributeError: 'ElementTree' object has no attribute 'getiterator'


     

     

     

     

  4. I have this again.

    eselect python set python3.7

     eselect python cleanup

    eselect python list

      [1]   python3.7
      [2]   python3.6
      [3]   python2.7 (fallback)

     emerge -C =dev-lang/python-3.6*

     * This action can remove important packages! In order to be safer, use
     * `emerge -pv --depclean <atom>` to check for reverse dependencies before
     * removing packages.
     * Not unmerging package dev-lang/python-3.6.8 since there is no valid reason
     * for Portage to unmerge currently used Python interpreter.

    I believe I am following the instructions...

     

  5. Upgraded from 1.3 to 1.4, followed each step.

    Now python is weird:

     

    eselect python update
    Switching to python3.7

     eselect python list
    Available Python interpreters, in order of preference:
      [1]   python3.7
      [2]   python3.6
      [3]   python2.7

     emerge -C =dev-lang/python-3.6*
     * This action can remove important packages! In order to be safer, use
     * `emerge -pv --depclean <atom>` to check for reverse dependencies before
     * removing packages.
     * Not unmerging package dev-lang/python-3.6.8 since there is no valid reason
     * for Portage to unmerge currently used Python interpreter.

     

    emerge -pv --depclean =dev-lang/python-3.6*

    Calculating dependencies... done!
      dev-lang/python-3.6.8 pulled in by:
        @system requires dev-lang/python


    ...

  6. The first few steps worked, I presume because everything so far updated:

    emerge -p gcc  glibc libnsl libtirpc rpcsvc-proto

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild   R    ] net-libs/libtirpc-1.0.3
    [ebuild   R    ] net-libs/libnsl-1.2.0
    [ebuild   R    ] net-libs/rpcsvc-proto-1.3
    [ebuild   R    ] sys-libs/glibc-2.26-r6
    [ebuild   R    ] sys-devel/gcc-7.3.1

  7. I followed the steps up to emerging system, but emerge fails at this point

     

    Nothing will merge and I get errors like this:

    chgrp: lib/xfts.c:41: xfts_open: Assertion `errno != EINVAL' failed.

    Even if I try to remove a file I get

    rm  temp1
    rm: lib/xfts.c:41: xfts_open: Assertion `errno != EINVAL' failed.

     

     
  8. hmmmmm

    The command my_print_defaults is installed by

     dev-db/mysql-connector-c

    But if I try to install  dev-db/mysql-connector-c

    I get

     -p dev-db/mysql-connector-c

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild  N     ] dev-db/mysql-connector-c-6.1.11  USE="ssl -static-libs"
    [blocks B      ] dev-db/mysql-connector-c ("dev-db/mysql-connector-c" is blocking dev-db/mariadb-10.2.14)
    [blocks B      ] dev-db/mariadb[client-libs(+)] ("dev-db/mariadb[client-libs(+)]" is blocking dev-db/mysql-connector-c-6.1.11)

     * Error: The above package list contains packages which cannot be
     * installed at the same time on the same system.

      dev-db/mariadb-10.2.14:0/18::dev-kit, installed pulled in by
        dev-db/mariadb required by @selected

      dev-db/mysql-connector-c-6.1.11:0/18::dev-kit, ebuild scheduled for merge pulled in by
        dev-db/mysql-connector-c

     

     

     

  9. I get

     

    emerge: there are no ebuilds to satisfy "=virtual/mysql-5.6-r10".
    eix virtual/mysql
    [I] virtual/mysql [1]
         Available versions:  (~)5.5-r1 5.6-r6(0/18) (~)5.6-r7(0/18) (~)5.6-r8(0/18) 5.6-r9(0/18) {embedded minimal +server static static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
         Installed versions:  5.6-r9(0/18)(05:59:25 PM 05/13/2018)(server -embedded -static)
         Description:         Virtual for MySQL database server
  10.  ego kit
    /var/git/meta-repo (updated 3 hours 36 minutes ago):

      kit                  active branch        default              stability
      core-kit             1.0-prime            (same)               prime
      core-hw-kit          master               (same)               prime
      security-kit         1.0-prime            (same)               prime
      xorg-kit             1.19-prime           (same)               prime
      gnome-kit            3.20-prime           (same)               prime
      kde-kit              5.12-prime           (same)               prime
      media-kit            1.1-prime            (same)               prime
      perl-kit             5.24-prime           (same)               prime
      python-kit           3.4-prime            (same)               prime
      php-kit              master               (same)               prime
      java-kit             1.1-prime            (same)               prime
      ruby-kit             1.1-prime            (same)               prime
      haskell-kit          1.1-prime            (same)               prime
      ml-lang-kit          1.2-prime            (same)               prime
      lisp-scheme-kit      1.1-prime            (same)               prime
      lang-kit             1.1-prime            (same)               prime
      llvm-kit             1.2-prime            (same)               prime
      dev-kit              1.1-prime            (same)               prime
      xfce-kit             4.12-prime           (same)               prime
      desktop-kit          1.1-prime            (same)               prime
      editors-kit          master               (same)               prime
      net-kit              master               (same)               prime
      text-kit             master               (same)               prime
      science-kit          master               (same)               prime
      games-kit            master               (same)               prime
      nokit                master               (same)               prime

      NOTE: This information comes from /etc/ego.conf and meta-repo metadata. After making changes to ego.conf, be sure to run ego
      sync in so that the individual kit repositories on disk are synchronized with the kit branches shown above.
     

     equery d dev-db/mysql
     * These packages depend on dev-db/mysql:
    virtual/libmysqlclient-18 (dev-db/mysql:0/18[client-libs(+),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/mysql-5.6-r9 (=dev-db/mysql-5.6*[embedded?,server?,static?])

    I did try reinstalling virtual/libmysqlclient

  11. I tried the client libraries  flag both ways and a number of other options, to no affect.

    I also uninstalled, reinstalled  virtual/mysql which did not help

    I eventually updated  mariadb with -O  and installed everything else individually

     

    The problem still remains:

     

    e -puND --tree world

    These are the packages that would be merged, in reverse order:

    Calculating dependencies... done!
    [nomerge       ] virtual/mysql-5.6-r9
    [ebuild  N     ]  dev-db/mysql-5.6.39  USE="openssl perl server -debug -embedded -extraengine -jemalloc -latin1 -libressl -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test} -yassl"
    [blocks B      ] dev-db/mariadb ("dev-db/mariadb" is blocking dev-db/mysql-5.6.39)
    [blocks B      ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mariadb-10.2.14)

     

    I just installed Funtoo from scratch on this machine a couple of weeks ago.

    Other Funtoo installs seem to have the same problem

     

  12. mariadb is installed but if I try to update it , emerge tries to install mysql

     e -pu --tree mariadb

    These are the packages that would be merged, in reverse order:

    Calculating dependencies... done!
    [nomerge       ] dev-db/mariadb-10.2.14 [10.2.9] USE="client-libs%*"
    [ebuild  N     ]  virtual/mysql-5.6-r9  USE="server -embedded -static"
    [ebuild  N     ]   dev-db/mysql-5.6.39  USE="openssl perl server -debug -embedded -extraengine -jemalloc -latin1 -libressl -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test} -yassl"
    [ebuild     U  ] dev-db/mariadb-10.2.14 [10.2.9] USE="client-libs%*"
    [blocks B      ] dev-db/mariadb ("dev-db/mariadb" is blocking dev-db/mysql-5.6.39)
    [blocks B      ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mariadb-10.2.14, dev-db/mariadb-10.2.9)

     

  13. Have I missed something?

     

    Suddenly I am getting a whole raft of errors on several machines.

    eg

    e -puND world

     

    Calculating dependencies - * ERROR: www-client/firefox-58.0.1::net-kit failed (depend phase):
     *   mozcoreconf-v5.eclass could not be found by inherit()
     *
     * Call stack:
     *                ebuild.sh, line 617:  Called source '/var/git/meta-repo/kits/net-kit/www-client/firefox/firefox-58.0.1.ebuild'
     *    firefox-58.0.1.ebuild, line  32:  Called inherit 'check-reqs' 'flag-o-matic' 'toolchain-funcs' 'eutils' 'gnome2-utils' 'mozconfig-v6.58' 'pax-utils' 'xdg-utils' 'autotools' 'mozlinguas-v2'
     *                ebuild.sh, line 313:  Called __qa_source '/var/git/meta-repo/kits/net-kit/eclass/mozconfig-v6.58.eclass'
     *                ebuild.sh, line 108:  Called source '/var/git/meta-repo/kits/net-kit/eclass/mozconfig-v6.58.eclass'
     *   mozconfig-v6.58.eclass, line  29:  Called inherit 'flag-o-matic' 'toolchain-funcs' 'mozcoreconf-v5'
     *                ebuild.sh, line 290:  Called die
     * The specific snippet of code:
     *              [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"

     

     

  14. Recently I have had to add echo='echo' in order to emerge some packages.

     

     

    for example with

    emerge  dev-libs/libxml2

     

    I get lots of errors such as

    ./libtool: line 941: X--tag=CC: command not found
    ./libtool: line 941: X--mode=compile: command not found
    ./libtool: line 1252: X-DHAVE_CONFIG_H: command not found
    ./libtool: line 1252: Xx86_64-pc-linux-gnu-gcc: command not found
     

     

    etc

     

    But if I do this:

    echo='echo' emerge  dev-libs/libxml2

     

    It emerges without problems.

     

  15. I have updated.

    Trying to update world there were many blocks, I fixed these in the normal ways. The tricky one was that the keyboard and mouse would not work under X after rebooting.

     

    My question is. How was I to know there had been such a dramatic change to the way you update packages?

    I don't normally have time to read the forums. Shouldn't there have been some sort of news update to warn about this change?

    I mean under eselect news read new?

×
×
  • Create New...