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

Re: /bin/hostname in buildroots.

On Sun, 24 Feb 2008 09:54:26 -0500
Jesse Keating <jkeating redhat com> wrote:

> On Sat, 23 Feb 2008 22:33:40 -0500
> Dave Jones <davej redhat com> wrote:
> > Looking through build logs of various packages, I keep seeing this..
> > 
> > /etc/profile: line 38: /bin/hostname: No such file or directory
> > warning: Could not canonicalize hostname:
> > xenbuilder4.fedora.phx.redhat.com
> > 
> > Should the buildroots provide this by default (imo, yes), or should
> > packages have to explicitly BuildRequires: this ?
> A while ago the requirements changed somewhat in the default buildroot
> set and hostname was no longer pulled in.  However it as of yet has not
> seemed to cause any real problem other than the innocuous error
> message you posted above.  I'm inclined to leave it this way as the
> vast majority of packages (IE everything we've thrown at it so far)
> builds just fine, or errors for other reasons.  If anything actually
> needs that during build it should be explicitly required.

My only gripe is that it makes reading build logs more difficult for no good reason.  If it really is an error that can be ignored, then it'd be nice to not see it in build logs.

David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

Attachment: pgpfRf1ljXaiv.pgp
Description: PGP signature

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