Red Hat Bugzilla – Bug 600425
git-1.7.1-1 fails to build in mock
Last modified: 2013-01-10 05:41:54 EST
Created attachment 421293 [details]
build.log for git-1.7.1-1
Description of problem:
make doc invokes xmlto, which attempts to grab the Docbook DTD from the Internet as it processes Git's documentation. Since builds can't/shouldn't access the Internet it fails to retrieve this DTD, causing xmlto to die since it can't validate the XML.
Version-Release number of selected component (if applicable):
Build fails (see attached build.log)
This WORKSFORME for both Fedora and EPEL builds. It also works in koji:
That's an EL-5 build. The problem you're seeing looks like what happens when there is a missing dependency. You might want to compare your root.log to the one in the koji build to see if you're missing something or pulling difference versions from some 3rd party repository.
I /think/ I saw a patch on the git list from another distro maintainer to force the doc building to pass the -nonet option, so it won't ever try to fall back to using the network. I'm not sure if that was included or not. But if you have the right tools installed, it should never need to try the network versions.
I'll take your word for it; I'm probably doing something strange, then.
In the interim, if you want some packages built from a known srpm, you could do a koji scratch build of the rawhide package:
koji build --scratch dist-5E-epel git-1.7.1-1.fc14.src.rpm