Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687848 - dev-vcs/git-2.22.0: compile phase: make: xmlto: Command not found
Summary: dev-vcs/git-2.22.0: compile phase: make: xmlto: Command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 687912 687966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-11 07:57 UTC by Alexander Hof
Modified: 2019-06-12 21:29 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,274.13 KB, text/x-log)
2019-06-11 07:57 UTC, Alexander Hof
Details
emerge --info (emerge-info.txt,4.64 KB, text/plain)
2019-06-11 07:58 UTC, Alexander Hof
Details
emerge -pqv (emerge-pqv.txt,388 bytes, text/plain)
2019-06-11 07:58 UTC, Alexander Hof
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***