Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2008 02:36:28 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        pav@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: pointyhat is building for 5.5 but claiming 8.0
Message-ID:  <31152339@bb.ipt.ru>
In-Reply-To: <4784072D.9040003@FreeBSD.org> (Kris Kennaway's message of "Wed\, 09 Jan 2008 00\:28\:45 %2B0100")
References:  <61565506@bb.ipt.ru> <4783E1C6.50001@FreeBSD.org> <95483459@bb.ipt.ru> <1199830245.74596.155.camel@ikaros.oook.cz> <63313519@bb.ipt.ru> <1199834453.74596.157.camel@ikaros.oook.cz> <4784072D.9040003@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 09 Jan 2008 00:28:45 +0100 Kris Kennaway wrote:
> Pav Lucistnik wrote:
> > Boris Samorodov p=C3=AD=C5=A1e v st 09. 01. 2008 v 02:16 +0300:
> >> On Tue, 08 Jan 2008 23:10:45 +0100 Pav Lucistnik wrote:
> >>
> >>>>> No, the port is using sysctl(2) to query the OS version which cannot
> >>>>> be wrapped.
> >>>> Hm, ports-mgmt/tinderbox masks it somehow... And doesn't get
> >>>> an error for this port.
> >>> The FreeBSD version inside the tinderbox is same as the host?
> >> OK, I found the difference. The port builds for all FreeBSD version
> >> except 5.x. The same is for ports-mgmt/tinderbox. Thus I think that
> >> there is something that was not MFS'd to 5-STABLE that causes the
> >> difference.
> >>
> >> For now I'm going to mark the port as IGNORE for OSVERSION < 600000.
> >> A question to portmgr@: Do you have any objections?
> >
> > It would be nice to know what exactly is going on in there.

> Yeah, I can't imagine what it would be, unless it is using uname(1) or
> (3) and 5.x doesn't have the environment variable overrides...but in
> that case hundreds of other things would break.

The port is using "uname -r" at the Makefile:
-----
OSRELEASE!=3D        /usr/bin/uname -r
-----


WBR
--=20
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31152339>