Any idea why this build would fail?
http://koji.fedoraproject.org/koji/taskinfo?taskID=309982
All I did was: koji build --scratch --arch-override=ppc dist-f9 'cvs://cvs.fedoraproject.org/cvs/pkgs?epiphany/devel#epiphany-2_21_4-1_fc9'
---cut--- ENTER do("bash -l -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/epiphany.spec'", '/var/lib/mock/dist-f9-build-98149-12971/root/', 0, True, 0, <mock.uid.uidManager object at 0xf75dfb10>, 425, 425, 'ppc', logger=<mock.trace_decorator.getLog object at 0xf7588030>) run cmd timeout(0): bash -l -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/epiphany.spec' /etc/profile: line 38: /bin/hostname: No such file or directory warning: Could not canonicalize hostname: ppc4.fedora.phx.redhat.com Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/epiphany-2.21.4-1.fc9.src.rpm LEAVE do --> ---cut---
Bernardo Innocenti wrote, at 12/26/2007 10:28 AM +9:00:
Any idea why this build would fail?
Please check root.log. Ref: http://www.redhat.com/archives/rhl-devel-list/2007-December/msg01273.html
Regards, Mamoru
Bernardo Innocenti wrote:
Any idea why this build would fail?
This one is even more puzzling: http://koji.fedoraproject.org/koji/taskinfo?taskID=310030
Fails in dist-olpc2, but without printing errors in the build log.
On Tuesday 25 December 2007, Bernardo Innocenti wrote:
Bernardo Innocenti wrote:
Any idea why this build would fail?
This one is even more puzzling: http://koji.fedoraproject.org/koji/taskinfo?taskID=310030
Fails in dist-olpc2, but without printing errors in the build log.
Actually its less puzzling http://koji.fedoraproject.org/koji/getfile?taskID=310030&name=root.log DEBUG util.py:260: No Package Found for popt-devel
popt-devel does not exist in F-7 it was introduced in F-8
you need to BR popt not popt-devel
Dennis
Dennis Gilmore wrote:
Actually its less puzzling http://koji.fedoraproject.org/koji/getfile?taskID=310030&name=root.log DEBUG util.py:260: No Package Found for popt-devel
popt-devel does not exist in F-7 it was introduced in F-8
you need to BR popt not popt-devel
Ah, I see. Thank you!
In both these case, I was confused by the fact that a build.log was present even though there were errors in root.log.
Has this always been the normal behavior? I was under the impression it worked differently just a couple of weeks ago.
On Tue, 25 Dec 2007 21:40:22 -0500 Bernardo Innocenti bernie@codewiz.org wrote:
Has this always been the normal behavior?
Not exactly.
I was under the impression it worked differently just a couple of weeks ago.
It was.
A couple of weeks ago a much older mock / koji set was used on the builders. We would actually lose logging output as mock would overwrite certain log files during the build process. Now however that isn't happening. One of the changes is that everything is logged. The order is like so:
buildroot init -> root.log
srpm reconstruction to pick up arch specific BuildReqs -> build.log (since rpmbuild is used)
BuildDeps install -> root.log
finished rpm builds -> build.log
It can be somewhat confusing, but using the mock exit codes can help. I'll be shortly working on some changes to koji so that the mock exit codes are translated into meaningful messages such as "error installing builddeps" or "error initing buildroot" or "error building package". These will be much better clues as to what log file holds the failure.
Jesse Keating wrote:
It was. [...]
Thank you a lot for the very detailed explanation :)
On Tuesday 25 December 2007, Bernardo Innocenti wrote:
Any idea why this build would fail?
http://koji.fedoraproject.org/koji/taskinfo?taskID=309982
All I did was: koji build --scratch --arch-override=ppc dist-f9 'cvs://cvs.fedoraproject.org/cvs/pkgs?epiphany/devel#epiphany-2_21_4-1_fc9'
---cut--- ENTER do("bash -l -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/epiphany.spec'", '/var/lib/mock/dist-f9-build-98149-12971/root/', 0, True, 0, <mock.uid.uidManager object at 0xf75dfb10>, 425, 425, 'ppc', logger=<mock.trace_decorator.getLog object at 0xf7588030>) run cmd timeout(0): bash -l -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/epiphany.spec' /etc/profile: line 38: /bin/hostname: No such file or directory warning: Could not canonicalize hostname: ppc4.fedora.phx.redhat.com Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/epiphany-2.21.4-1.fc9.src.rpm LEAVE do --> ---cut---
have a look in the root.log http://koji.fedoraproject.org/koji/getfile?taskID=309982&name=root.log
DEBUG util.py:260: No Package Found for gecko-devel = 1.8.1.10
Dennis