Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688952 - net-firewall/nftables-0.9.1 should depend on app-text/asciidoc / missing doc use flag
Summary: net-firewall/nftables-0.9.1 should depend on app-text/asciidoc / missing doc ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal
Assignee: Matthew Thode ( prometheanfire )
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-29 17:50 UTC by salmander
Modified: 2019-06-30 01:57 UTC (History)
4 users (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 salmander 2019-06-29 17:50:30 UTC
Try to emerge

[ebuild  N     ] net-firewall/nftables-0.9.1  USE="gmp modern_kernel readline -debug -json -python -static-libs" PYTHON_TARGETS="python3_6 -python3_5 -python3_7" 

configure: error: a2x not found, please install asciidoc


Installing

[ebuild  N     ] app-text/asciidoc-8.6.10_p20181016  USE="-examples -graphviz -highlight -test" PYTHON_SINGLE_TARGET="python3_6 -pypy3 -python3_5 -python3_7" PYTHON_TARGETS="python3_6 -pypy3 -python3_5 -python3_7" 

helped. 

Apply use flag like "doc" is second solution (--disable-man-doc).
Comment 1 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2019-06-29 23:14:07 UTC
I have prepared a pull request that should fix this issue. Prometheanfire, can you check it and merge it?
Comment 2 Larry the Git Cow gentoo-dev 2019-06-30 01:57:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4624aec145476efcb4ee04eab239d7dc45710a

commit 3c4624aec145476efcb4ee04eab239d7dc45710a
Author:     Francisco Blas (klondike) Izquierdo Riera <klondike@gentoo.org>
AuthorDate: 2019-06-29 23:08:30 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2019-06-30 01:56:59 +0000

    net-firewall/nftables: add doc and xtables USE flags
    
    This commit adds some fixes on the 0.9.1 package:
    * Adds the doc USE flag to control building of the man pages
    * Adds the app-text/asciidoc when building the man pages
    * Adds the xtables USE flag for better compatibility with iptables-compat
    * Adds the net-firewall/iptables dependency when using the xtables flag
    
    I have chosen +doc, xtables for better compatibility with prior versions.
    Also whilst man pages generally make sense, the xtables USE isn't needed
    on pure nftables setups which are the recommended approach.
    
    Closes: https://bugs.gentoo.org/688952
    Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 net-firewall/nftables/metadata.xml          | 2 ++
 net-firewall/nftables/nftables-0.9.1.ebuild | 9 +++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)