From owner-freebsd-ports@FreeBSD.ORG Tue Jan 8 20:49:12 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75D4116A41B for ; Tue, 8 Jan 2008 20:49:12 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AE77713C458; Tue, 8 Jan 2008 20:49:11 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4783E1C6.50001@FreeBSD.org> Date: Tue, 08 Jan 2008 21:49:10 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Boris Samorodov References: <61565506@bb.ipt.ru> In-Reply-To: <61565506@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@FreeBSD.org Subject: Re: pointyhat is building for 5.5 but claiming 8.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2008 20:49:12 -0000 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