Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jan 2008 21:49:10 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: pointyhat is building for 5.5 but claiming 8.0
Message-ID:  <4783E1C6.50001@FreeBSD.org>
In-Reply-To: <61565506@bb.ipt.ru>
References:  <61565506@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Boris Samorodov wrote:
> Hello List,
> 
> 
> Here is an attempt to build a package for FreeBSD-5.5. But (pay
> attention to [*]):
> -----
> building py25-lxml-1.2.1_1 on gohan49.freebsd.org
> in directory /x/tmp/5/chroot/3
> building for: 5.5-STABLE i386       [*]
> maintained by: gogo@cs.uni-sb.de
> port directory: /usr/ports/devel/py-lxml
> build started at Tue Jan  8 18:17:28 UTC 2008
> ...
> ===>  Configuring for py25-lxml-1.2.1_1
> Building lxml version 1.2.1
> running config
> ===>  Building for py25-lxml-1.2.1_1
> Building lxml version 1.2.1
> running build
> running build_py
> creating build
> creating build/lib.freebsd-8.0-CURRENT-i386-2.5      [*]
> creating build/lib.freebsd-8.0-CURRENT-i386-2.5/lxml
> ...
> -----
> 
> I can't reproduce this result at my tinderbox (host OS FreeBSD-7).
> I'd say that this is a pointyhat issue (environment variables or so).
> 
> Here is the full log:
> http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.5.2008010816/py25-lxml-1.2.1_1.log
> 
> I'm not sure if that's a port problem. What do you think?
> Thanks!
> 
> 
> WBR

No, the port is using sysctl(2) to query the OS version which cannot be 
wrapped.  This is common in the python world.  It needs to use uname(1) 
or uname(3) or OSVERSION.

Kris



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