Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687848

Summary: dev-vcs/git-2.22.0: compile phase: make: xmlto: Command not found
Product: Gentoo Linux Reporter: Alexander Hof <gentoobugs>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: casta, jaak, kuba.iluvatar, KyleJ61782, m.manico, matoro_gentoo, phils, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=517794
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
emerge -pqv

Description Alexander Hof 2019-06-11 07:57:46 UTC
Created attachment 579518 [details]
build.log

dev-vcs/git-2.22.0 seems to need xmlto to be build, but ebuild does not have it as an dependency.
Comment 1 Alexander Hof 2019-06-11 07:58:14 UTC
Created attachment 579520 [details]
emerge --info
Comment 2 Alexander Hof 2019-06-11 07:58:37 UTC
Created attachment 579522 [details]
emerge -pqv
Comment 3 Ingo Brunberg 2019-06-11 08:57:27 UTC
It seems some documentation gets build besides USE=-doc.

I removed asciidoc from my system and thus get the same error with asciidoc instead of xmlto. Surely that is the same bug, so I will not open another ticket.
Comment 4 Ingo Brunberg 2019-06-11 09:24:03 UTC
I just found bug #517794.
https://bugs.gentoo.org/show_bug.cgi?id=517794

The changes introduced because of that are likely not correct.
Comment 5 matoro archtester 2019-06-11 13:09:02 UTC
I also see this missing the asciidoc command even with USE="-doc"; please add app-text/asciidoc as build dep.
Comment 6 Phil Stracchino (Unix Ronin) 2019-06-11 13:53:27 UTC
The command 'asciidoc' is also not found.

make[1]: Entering directory '/var/tmp/portage/dev-vcs/git-2.22.0/work/git-2.22.0'
make[1]: 'GIT-VERSION-FILE' is up to date.
make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-2.22.0/work/git-2.22.0'
sed -e '1s|#!.*/sh|#!/bin/sh|' git-subtree.sh >git-subtree
asciidoc -b docbook -d manpage -f ../../Documentation/asciidoc.conf \
        -agit_version=2.22.0  git-subtree.txt
make: asciidoc: Command not found
make: *** [Makefile:84: git-subtree.xml] Error 127
make: *** Waiting for unfinished jobs....
chmod +x git-subtree
Comment 7 Larry the Git Cow gentoo-dev 2019-06-11 15:35:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59768d41256b5eda384f6b9f50b8ecc3b91bf214

commit 59768d41256b5eda384f6b9f50b8ecc3b91bf214
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2019-06-11 15:25:59 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2019-06-11 15:35:10 +0000

    dev-vcs/git: fix git-subtree.1 build failure
    
    Partial revert of commit 56312573763e794982d7a7284e7e7d1a8a9f8eaa
    Some of the manpages require the full documentation stack.
    
    Documentation build is gated behind USE=doc due to the dependencies, so
    move the manpage behind the conditional as well. As a future action, ask
    upstream to include git-subtree.1 with the rest of the prebuilt
    Documentation.
    
    Fixes: https://bugs.gentoo.org/687848
    See-Also: https://bugs.gentoo.org/517794
    Package-Manager: Portage-2.3.67, Repoman-2.3.12
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 dev-vcs/git/git-2.22.0.ebuild  | 10 ++++++----
 dev-vcs/git/git-9999-r1.ebuild | 10 ++++++----
 dev-vcs/git/git-9999-r2.ebuild | 10 ++++++----
 dev-vcs/git/git-9999-r3.ebuild | 10 ++++++----
 dev-vcs/git/git-9999.ebuild    | 10 ++++++----
 5 files changed, 30 insertions(+), 20 deletions(-)
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-06-12 09:47:36 UTC
*** Bug 687912 has been marked as a duplicate of this bug. ***
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-06-12 21:29:51 UTC
*** Bug 687966 has been marked as a duplicate of this bug. ***