Re: Differences between mock and koji?
On Tue, Jun 04, 2013 at 04:52:14PM +0200, Simone Caronni wrote: 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? The other thing they don't tell you ... and it's an endless source of fun ... is that Koji runs the whole Fedora userspace on top of a RHEL 6 kernel. This causes some extremely obscure bugs. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Differences between mock and koji?
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.idxdone (345 entries accepted, 0 rejected). DEBUG: Sorting entries..done (3023 comparisons). DEBUG: Generating output file crypt.inddone (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/ -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: Differences between mock and koji?
On Tue, 4 Jun 2013 16:52:14 +0200 Simone Caronni negativ...@gmail.com wrote: 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.idxdone (345 entries accepted, 0 rejected). DEBUG: Sorting entries..done (3023 comparisons). DEBUG: Generating output file crypt.inddone (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 Koji uses mock to build pkgs. Mock in Koji is run on systems which are isolated from the network. If there is no network connection then there shouldn't be any difference -sv -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: Differences between mock and koji?
On Tue, 2013-06-04 at 11:05 -0400, seth vidal wrote: On Tue, 4 Jun 2013 16:52:14 +0200 Simone Caronni negativ...@gmail.com wrote: 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.idxdone (345 entries accepted, 0 rejected). DEBUG: Sorting entries..done (3023 comparisons). DEBUG: Generating output file crypt.inddone (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 Koji uses mock to build pkgs. Mock in Koji is run on systems which are isolated from the network. If there is no network connection then there shouldn't be any difference I note 'make -j5' vs 'make -j4': Simone has more parallelization capability than mock, it seems. Simone, you could fiddle with your spec file so it doesn't do a parallel build at all, and see if the build starts working then. If so, report to upstream that their build process is not entirely safe for parallelization. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora http://www.happyassassin.net -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel