This is weird, locally I can't reproduce, and in Copr it sometimes succeeded, sometimes not. Some failures: https://download.copr-dev.fedorainfracloud.org/results/praiskup/ping/fedora-rawhide-x86_64/00855993-postgresql/builder-live.log.gz https://download.copr-dev.fedorainfracloud.org/results/praiskup/ping/fedora-rawhide-x86_64/00855994-postgresql/builder-live.log.gz make[3]: Leaving directory '/builddir/build/BUILD/postgresql-12.3/doc/src/sgml' error : Resource temporarily unavailable warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl" compilation error: file stylesheet.xsl line 7 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl error : Resource temporarily unavailable stylesheet-html-common.xsl:4: warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/common/entities.ent" %common.entities; ^ stylesheet-html-common.xsl:107: parser error : Entity 'primary' not defined translate(substring(&primary;, 1, 1), ^ stylesheet-html-common.xsl:108: parser error : Entity 'lowercase' not defined &lowercase;, ^ stylesheet-html-common.xsl:109: parser error : Entity 'uppercase' not defined &uppercase;)) ^ stylesheet-html-common.xsl:110: parser error : Entity 'scope' not defined [&scope;][1]) = 1 ^ stylesheet-html-common.xsl:114: parser error : Entity 'lowercase' not defined select="$terms[contains(concat(&lowercase;, &uppercase;), ^ stylesheet-html-common.xsl:114: parser error : Entity 'uppercase' not defined select="$terms[contains(concat(&lowercase;, &uppercase;), ^ stylesheet-html-common.xsl:115: parser error : Entity 'primary' not defined substring(&primary;, 1, 1))]"/> ^ stylesheet-html-common.xsl:117: parser error : Entity 'lowercase' not defined <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;, ^ stylesheet-html-common.xsl:118: parser error : Entity 'uppercase' not defined &uppercase;), ^ stylesheet-html-common.xsl:119: parser error : Entity 'primary' not defined substring(&primary;, 1, 1)))]"/> ^ stylesheet-html-common.xsl:130: parser error : Entity 'primary' not defined translate(substring(&primary;, 1, 1), ^ stylesheet-html-common.xsl:131: parser error : Entity 'lowercase' not defined &lowercase;,&uppercase;))[&scope;][1]) = 1]" ^ stylesheet-html-common.xsl:131: parser error : Entity 'uppercase' not defined &lowercase;,&uppercase;))[&scope;][1]) = 1]" ^ stylesheet-html-common.xsl:131: parser error : Entity 'scope' not defined &lowercase;,&uppercase;))[&scope;][1]) = 1]" ^ stylesheet-html-common.xsl:137: parser error : Entity 'primary' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:137: parser error : Entity 'lowercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:137: parser error : Entity 'uppercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:145: parser error : Entity 'primary' not defined $others[@type = $type][count(.|key('primary', &primary;) ^ stylesheet-html-common.xsl:145: parser error : Entity 'scope' not defined $others[@type = $type][count(.|key('primary', &primary;)[&scope; ^ stylesheet-html-common.xsl:154: parser error : Entity 'primary' not defined <xsl:apply-templates select="$others[count(.|key('primary', &primary; ^ stylesheet-html-common.xsl:154: parser error : Entity 'scope' not defined <xsl:apply-templates select="$others[count(.|key('primary', &primary;)[&scope; ^ stylesheet-html-common.xsl:160: parser error : Entity 'primary' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;) ^ stylesheet-html-common.xsl:160: parser error : Entity 'lowercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;) ^ stylesheet-html-common.xsl:160: parser error : Entity 'uppercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;) ^ stylesheet-html-common.xsl:178: parser error : Entity 'primary' not defined &primary;)[&scope;][1]) = 1]" ^ stylesheet-html-common.xsl:178: parser error : Entity 'scope' not defined &primary;)[&scope;][1]) = 1]" ^ stylesheet-html-common.xsl:184: parser error : Entity 'primary' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;) ^ stylesheet-html-common.xsl:184: parser error : Entity 'lowercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;) ^ stylesheet-html-common.xsl:184: parser error : Entity 'uppercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;) ^ stylesheet-html-common.xsl:193: parser error : Entity 'primary' not defined translate(substring(&primary;, 1, 1), ^ stylesheet-html-common.xsl:194: parser error : Entity 'lowercase' not defined &lowercase;,&uppercase;))[&scope;][1] ^ stylesheet-html-common.xsl:194: parser error : Entity 'uppercase' not defined &lowercase;,&uppercase;))[&scope;][1] ^ stylesheet-html-common.xsl:194: parser error : Entity 'scope' not defined &lowercase;,&uppercase;))[&scope;][1] ^ stylesheet-html-common.xsl:200: parser error : Entity 'primary' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:200: parser error : Entity 'lowercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:200: parser error : Entity 'uppercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:211: parser error : Entity 'primary' not defined select="translate(substring(&primary;, 1, 1), ^ stylesheet-html-common.xsl:212: parser error : Entity 'lowercase' not defined &lowercase;,&uppercase;)"/> ^ stylesheet-html-common.xsl:212: parser error : Entity 'uppercase' not defined &lowercase;,&uppercase;)"/> ^ stylesheet-html-common.xsl:214: parser error : Entity 'scope' not defined <xsl:if test="key('letter', $key)[&scope;] ^ stylesheet-html-common.xsl:215: parser error : Entity 'primary' not defined [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> ^ stylesheet-html-common.xsl:215: parser error : Entity 'scope' not defined [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> ^ stylesheet-html-common.xsl:222: parser error : Entity 'lowercase' not defined <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)"> ^ stylesheet-html-common.xsl:222: parser error : Entity 'uppercase' not defined <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)"> ^ stylesheet-html-common.xsl:224: parser error : Entity 'lowercase' not defined <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:224: parser error : Entity 'uppercase' not defined <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:228: parser error : Entity 'scope' not defined <xsl:apply-templates select="key('letter', $key)[&scope;] ^ stylesheet-html-common.xsl:229: parser error : Entity 'primary' not defined [count(.|key('primary', &primary;) ^ stylesheet-html-common.xsl:230: parser error : Entity 'scope' not defined [&scope;][1])=1]" ^ stylesheet-html-common.xsl:236: parser error : Entity 'primary' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:236: parser error : Entity 'lowercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:236: parser error : Entity 'uppercase' not defined <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:250: parser error : Entity 'primary' not defined select="translate(substring(&primary;, 1, 1), ^ stylesheet-html-common.xsl:251: parser error : Entity 'lowercase' not defined &lowercase;,&uppercase;)"/> ^ stylesheet-html-common.xsl:251: parser error : Entity 'uppercase' not defined &lowercase;,&uppercase;)"/> ^ stylesheet-html-common.xsl:253: parser error : Entity 'scope' not defined <xsl:if test="key('letter', $key)[&scope;] ^ stylesheet-html-common.xsl:254: parser error : Entity 'primary' not defined [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> ^ stylesheet-html-common.xsl:254: parser error : Entity 'scope' not defined [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> ^ stylesheet-html-common.xsl:255: parser error : Entity 'lowercase' not defined <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)"> ^ stylesheet-html-common.xsl:255: parser error : Entity 'uppercase' not defined <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)"> ^ stylesheet-html-common.xsl:261: parser error : Entity 'lowercase' not defined <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:261: parser error : Entity 'uppercase' not defined <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:274: parser error : Entity 'lowercase' not defined <xsl:value-of select="translate($object/@id, &lowercase;, &uppercase;)"/> ^ stylesheet-html-common.xsl:274: parser error : Entity 'uppercase' not defined <xsl:value-of select="translate($object/@id, &lowercase;, &uppercase;)"/> ^ compilation error: file stylesheet.xsl line 9 element include xsl:include : unable to load stylesheet-html-common.xsl make[3]: *** [Makefile:136: html-stamp] Error 5 make[2]: *** [Makefile:8: all] Error 2 make[1]: *** [Makefile:16: all] Error 2 make: *** [GNUmakefile:19: world-doc-recurse] Error 2 make: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/postgresql-12.3/src/common'
I think this indicates a missing BuildRequires, specifically docbook-style-xsl. The xml processor will try to fetch those stylesheets off the net if they aren't installed locally; which quite aside from network reliability issues is something you don't want the build to be doing, for reproducibility reasons. One thing I'm a bit mystified about is how come we didn't notice this oversight ages ago. I thought the build farm was set up to disallow network access altogether.
> specifically docbook-style-xsl Thank you for the tip! Btw, weird, this one succeeded: https://copr-be-dev.cloud.fedoraproject.org/results/praiskup/ping/fedora-rawhide-x86_64/00855987-postgresql/builder-live.log.gz There shouldn't be any difference in the build environments between the failed/succeeded builds, but I might have done some mistake when it succeded as now the builds seem to fail reliably. > I thought the build farm was set up to disallow network access altogether. Not in Koji, that is online without DNS. In Copr though (the links I posted) mock is run with `--isolation=nspawn` where isn't connectivity.
Indeed, it helped. Thanks again. https://src.fedoraproject.org/rpms/postgresql/c/db7b88d197155bc54b83fc85833d6ba7c85b1968?branch=master