Differences between mock and koji?

Simone Caronni negativo17 at gmail.com
Tue Jun 4 14:52:14 UTC 2013


Hello,

I have a package that builds fine in a fresh rawhide mock chroot and not in
a koji build. Is there any difference between the two?

Here is the error in Koji:

+ make -j5 LIBPATH=/usr/lib64 -f makefile docs
rm -f doc/crypt.pdf *.dvi *.log *.aux *.toc *.idx *.ilg *.ind *.out
echo "hello" > crypt.ind
latex crypt > /dev/null
kpathsea: Running mktexfmt latex.fmt
make: *** [docs] Error 1
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.5TWg4P (%build)
    Bad exit status from /var/tmp/rpm-tmp.5TWg4P (%build)

And here is the same step in mock:

DEBUG: + make -j4 LIBPATH=/usr/lib64 -f makefile docs
DEBUG: rm -f doc/crypt.pdf *.dvi *.log *.aux *.toc *.idx *.ilg *.ind *.out
DEBUG: echo "hello" > crypt.ind
DEBUG: latex crypt > /dev/null
DEBUG: latex crypt > /dev/null
DEBUG: makeindex crypt.idx > /dev/null
DEBUG: This is makeindex, version 2.15 [TeX Live 2013] (kpathsea + Thai
support).
DEBUG: Scanning input file crypt.idx....done (345 entries accepted, 0
rejected).
DEBUG: Sorting entries......done (3023 comparisons).
DEBUG: Generating output file crypt.ind....done (396 lines written, 0
warnings).
DEBUG: Output written in crypt.ind.
[...]

Log of the failed koji build:

http://kojipkgs.fedoraproject.org//work/tasks/4779/5464779/build.log

Command used for mock:

mock -v --rebuild -r fedora-rawhide-x86_64 libtomcrypt-1.17-16.fc19.src.rpm

Thanks & regards,
--Simone





-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

http://xkcd.com/229/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130604/50109db8/attachment-0001.html>


More information about the devel mailing list