Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642092 - sys-kernel/genkernel-next-68: depends on asciidoc and so on Python 2.7
Summary: sys-kernel/genkernel-next-68: depends on asciidoc and so on Python 2.7
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel-next (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 2 votes (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-23 10:12 UTC by Morton Pellung
Modified: 2020-08-20 12:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morton Pellung 2017-12-23 10:12:00 UTC
genkernel-next has:
DEPEND="app-text/asciidoc....

but Asciidoc needs Python 2.7 as PYTHON_SINGLE_TARGET, with no Python 3 support planned - see bug https://bugs.gentoo.org/show_bug.cgi?id=641648

this situation clashes with the recent switch to Gentoo profile 17.0 as this profile specifies as defaults:
emerge --info | grep PYTHON
PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5"

so we have no Python 2.7 anymore for
- app-text/asciidoc-8.6.10::gentoo USE="-examples -graphviz -highlight -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="(-pypy) -python2_7" PYTHON_TARGETS="python2_7 (-pypy)"
  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_pypy python_single_target_python2_7 )

--> using genkernel-next to build an initramfs should not depend on asciidoc with Python 2.7?


Reproducible: Always
Comment 1 Jari_42 2018-10-10 07:09:13 UTC
Could we add a 'doc' USE flag that optionally enables asciidoc? This is the case for every other package that still depends on asciidoc, e.g. see dev-util/ninja: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-util/ninja/ninja-1.8.2.ebuild
Comment 2 Francesco Turco 2020-03-15 12:57:28 UTC
app-text/asciidoc now supports both Python 3.6 and Python 3.7
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-20 12:51:03 UTC
Package removed.