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

Jesse Keating jkeating at redhat.com
Wed Dec 26 04:07:46 UTC 2007


On Tue, 25 Dec 2007 21:40:22 -0500
Bernardo Innocenti <bernie at 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20071225/cdff864a/attachment.sig>


More information about the fedora-devel-list mailing list