[krbdev.mit.edu #7967] Error when building with "make -j8"

Michael Kaufmann via RT rt-comment at krbdev.mit.edu
Tue Jul 15 11:22:41 EDT 2014


<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>When building Kerberos krb5-1.11.3 using multiple jobs in parallel (command: &quot;make -j8&quot;), sometimes the build fails. This happens infrequently (about 1 build in 20 builds).</div>

<div>&nbsp;</div>

<div>[...]</div>

<div>gmake[4]: Entering directory &#96;/var/tmp/kerberos_vhYo/krb5-1.11.3/src/util/profile/testmod&#39;<br/>
cp prof_err.et et-c-prof_err.et<br/>
sed&nbsp; &gt;&gt; binutils.versions &lt; ./libprofile.exports &quot;s/&#36;/;/&quot;<br/>
../../util/et/compile_et -d ../../util/et --textdomain mit-krb5 et-h-prof_err.et<br/>
gmake[4]: Leaving directory &#96;/var/tmp/kerberos_vhYo/krb5-1.11.3/src/util/profile/testmod&#39;<br/>
../../util/et/compile_et -d ../../util/et --textdomain mit-krb5 et-c-prof_err.et<br/>
echo &gt;&gt; binutils.versions &quot;};&quot;<br/>
echo &gt;&gt; binutils.versions &quot;HIDDEN { local: __*; _rest*; _save*; *; };&quot;<br/>
+ gawk -f ../../util/et/et_h.awk outfile=et-h-prof_err.h et-h-prof_err.et<br/>
+ gawk -f ../../util/et/et_h.awk outfile=et-c-prof_err.h et-c-prof_err.et<br/>
+ gawk -f ../../util/et/et_c.awk outfile=et-c-prof_err.c textdomain=mit-krb5 localedir= et-c-prof_err.et<br/>
+ gawk -f ../../util/et/et_c.awk outfile=et-h-prof_err.c textdomain=mit-krb5 localedir= et-h-prof_err.et<br/>
mv -f et-c-prof_err.c prof_err.c<br/>
rm -f et-c-prof_err.et et-c-prof_err.h<br/>
gcc -fPIC -DSHARED&nbsp; -DHAS_STDARG -DLIBDIR=&#92;&quot;/files/sources/kerberos/kerberos-inst/x86_64-unknown-linux-gnu/lib&#92;&quot; -I../../include -I../../include -I.&nbsp; -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE&nbsp; -g -O2 -Wall -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Werror=uninitialized -Werror=declaration-after-statement -Werror=variadic-macros -Werror-implicit-function-declaration -pthread -c prof_err.c -o prof_err.so.o &amp;&amp; mv -f prof_err.so.o prof_err.so<br/>
mv -f et-h-prof_err.h prof_err.h<br/>
rm -f et-h-prof_err.et et-h-prof_err.c<br/>
cat ./profile.hin prof_err.h &gt; profile.h<br/>
if cmp profile.h &#92;<br/>
../../include/profile.h &gt;/dev/null 2&gt;&amp;1; then :; &#92;<br/>
else &#92;<br/>
&nbsp;&nbsp; &nbsp;(set -x; rm -f ../../include/profile.h; &#92;<br/>
&nbsp;&nbsp; &nbsp; cp profile.h ../../include/profile.h) ; &#92;<br/>
fi<br/>
cp profile.h &quot;../../include/profile.h&quot;<br/>
+ rm -f ../../include/profile.h<br/>
+ cp profile.h ../../include/profile.h<br/>
cp: cannot create regular file &#96;../../include/profile.h&#39;: File exists<br/>
gmake[3]: *** [../../include/profile.h] Error 1<br/>
gmake[3]: *** Waiting for unfinished jobs....<br/>
gmake[3]: Leaving directory &#96;/var/tmp/kerberos_vhYo/krb5-1.11.3/src/util/profile&#39;<br/>
gmake[2]: *** [all-recurse] Error 1<br/>
gmake[2]: Leaving directory &#96;/var/tmp/kerberos_vhYo/krb5-1.11.3/src/util&#39;<br/>
gmake[1]: *** [all-recurse] Error 1<br/>
gmake[1]: Leaving directory &#96;/var/tmp/kerberos_vhYo/krb5-1.11.3/src&#39;</div>

<div>&nbsp;
<div>&nbsp;</div>

<div>I hope that this is enough information to find the bug.</div>
</div></div></body></html>



More information about the krb5-bugs mailing list