[paludis-user] webapp-config, portage and PYTHON_TARGETS

Trebor Rude treborrude at googlemail.com
Sun Aug 24 13:21:31 UTC 2014


Looks like it's the missing PYTHON_SINGLE_TARGET use flag causing all the
issue. Try adding this to /etc/paludis/use.conf:

*/* PYTHON_SINGLE_TARGET: -* python2_7

Trebor
On Aug 24, 2014 6:25 AM, "Andreas Gick" <andreasgick at web.de> wrote:

Hi,

somehow updating app-admin/webapp on my box does not work, because cave
cannot find a suitable portage version, which again seems to be related
to the PYTHON_TARGETS variable. So this is what cave complains about
when trying to update/reinstall webapp-config (I tried uninstalling and
then reinstalling webapp-config, but the output remained the same):
-------------------------------------------------------------------------------------------------------------------------
These are the actions I will take, in order:

n   app-admin/webapp-config:0::gentoo 1.53 to ::installed
    "Gentoo's installer for web-based applications"
    portage PYTHON_TARGETS: -pypy python2_7 python3_2 python3_3
-python3_4 build_options: symbols=split -dwarf_compress -optional_tests
-trace work=tidyup
    Reasons: target
    61.94 kBytes to download

Total: 1 new installs, 61.94 kBytes to download

Build Options:
    dwarf_compress:                Compress DWARF2+ debug information
    optional_tests:                Run tests considered by the package
to be optional
    symbols:                       How to handle debug symbols in
installed files
    trace:                         Trace actions executed by the package
(very noisy, for debugging broken builds only)
    work:                          Whether to preserve or remove working
directories

USE:
    portage:                       Propagete python_targets dependencies
to sys-apps/portage

python_targets:
    pypy:                          Build with PyPy (Python 2 branch)
    python2_7:                     Build with Python 2.7
    python3_2:                     Build with Python 3.2
    python3_3:                     Build with Python 3.3
    python3_4:                     Build with Python 3.4

I encountered the following errors:

!   sys-apps/portage
    Reasons: !!<sys-apps/portage-2.1.6.7_p1 from
app-shells/bash-4.2_p47:0::installed, !!<sys-apps/portage-2.1.9 from
dev-lang/python-2.7.8:2.7::installed, !<sys-apps/portage-2.1.10.41 from
app-misc/ca-certificates-20130906-r1:0::installed, 2 more
    Unsuitable candidates:
      * sys-apps/portage-2.1.6.7_p1:0::gentoo
        Masked by profile
            Andreas K. Huettel <dilfridge at gentoo.org> (14 Jan 2013) Mask
portage versions not supporting EAPI=5
        Did not meet !!<sys-apps/portage-2.1.9, use existing if
possible, installing to / (nothing is fine too) from
!!<sys-apps/portage-2.1.9 from dev-lang/python-2.7.8:2.7::installed
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-2.1.11.62:0::layman (in ::regen2-overlay)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-2.1.12.2:0::gentoo
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-2.2.0_alpha179:0::layman (in ::regen2-overlay)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-2.2.1:0::gentoo
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-2.2.7:0::gentoo
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-2.2.8-r1:0::layman (in ::poly-c)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-2.2.8-r1:0::gentoo
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-2.2.9-r1:0::layman (in ::ROKO__)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-2.2.10:0::layman (in ::pentoo)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-2.2.10:0::gentoo
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-2.2.10-r1:0::layman (in ::multilib)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-2.2.11:0::layman (in ::pentoo)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-2.2.11-r1:0::gentoo
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-2.2.12:0::gentoo
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
      * sys-apps/portage-8888:0::layman (in ::gentoo-guis)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-9999:0::layman (in ::mgorny)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_targets_python2_7' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_2' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing;
Flag 'python_targets_python3_3' enabled if it is enabled for
'app-admin/webapp-config-1.53:0::gentoo', assuming disabled if missing
      * sys-apps/portage-9999:0::gentoo
        Masked by keyword
            Keywords
        Did not meet
sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)],
use existing if possible, installing to / from
app-admin/webapp-config-1.53:0::gentoo
            Flag 'python_single_target_python2_7' disabled, assuming
disabled if missing
------------------------------------------------------------------------------------------------------------------------

My general PYTHON_TARGETS set in /etc/paludis/use.conf looks like this:
*/* PYTHON_TARGETS: -*  python2_7 python3_2  python3_3

I'm not sure if one should set it at all, just had to fiddle about it
when installing something in the past, which I don't remember.

So what could I do to find out the error?

Regards Andreas

_______________________________________________
paludis-user mailing list
paludis-user at lists.exherbo.org
http://lists.exherbo.org/mailman/listinfo/paludis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20140824/6f3e262a/attachment-0001.html>


More information about the paludis-user mailing list