Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

Oleg Vinichenko

Members
  • Posts

    619
  • Joined

  • Last visited

  • Days Won

    53

Posts posted by Oleg Vinichenko

  1. yes, there is a package.provided feature. adding category such as:

    x11-drivers/nvidia-drivers-381.22 into /etc/portage/package.provided will make portage think that this exact version installed on users box, when in reality it's not. notice a syntax, if you need specific version (381.22) you don't put atom ("=" in this example) in front of category, unlike it's needed for masks or unmasks or keywords.

  2. 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.

    its not possible to get a clue about this failure and why echo='echo' fixes. paste build.log of libxml2 failure.

  3. this is pretty much happens often with portage unable to solve conflicts. Daniel is working on improving this, notice that during many years portage developers didn't actually tried to fix it. For this particular problem:

    akonadi cannot work with maridab-10.2, and 10.2 is the version you have installed on your box. if you put maridab-10.2 into package.mask, it will solve.

  4. this is quite unclear what happened on your box. updating old box or migrating to meta-repo? setting of python_targets in make.conf is safe but it shouldn't be actually needed. so far it's hard to track the exact steps were on your box, can you elaborate?

  5. so, the reason of failing is that your toolchain (gcc, glibc, binutils)  built without multilib support but your profile is multilib, did you by chance disabled it? maybe you installed from pure64 stage and then changed profile? to fix this you might resurrect your toolchain packages from stage3 (make sure it's multilib, i.e do not use pure64 for that), follow this guide:

    http://www.funtoo.org/System_resurrection

    tbz2 way will work for you, so get the fresh new stage, mount it somewhere, prepare bin packages for glibc, gcc, binutils, linux-headers and then extract into your system as described.

×
×
  • Create New...