Bug 600425

Summary: git-1.7.1-1 fails to build in mock
Product: [Fedora] Fedora Reporter: Garrett Holmstrom <gholms>
Component: gitAssignee: Todd Zullinger <tmz>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: atkac, bkearney, chrisw, jwboyer, npajkovs, tmz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-04 20:05:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
build.log for git-1.7.1-1 none

Description Garrett Holmstrom 2010-06-04 16:49:31 UTC
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):
git-1.7.1-1


How reproducible:
mock git-1.7.1-1.fc14.src.rpm

  
Actual results:
Build fails (see attached build.log)

Comment 1 Todd Zullinger 2010-06-04 19:54:46 UTC
This WORKSFORME for both Fedora and EPEL builds.  It also works in koji:

    http://koji.fedoraproject.org/koji/taskinfo?taskID=2230511

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.

Comment 2 Garrett Holmstrom 2010-06-04 20:05:41 UTC
I'll take your word for it; I'm probably doing something strange, then.

Comment 3 Todd Zullinger 2010-06-04 20:10:35 UTC
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