[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Koji build fails with weird "/bin/hostname not found" error

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
Fedora -- All my bits are free, are yours?

Attachment: signature.asc
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]