pointyhat is building for 5.5 but claiming 8.0

Kris Kennaway kris at FreeBSD.org
Tue Jan 8 12:49:12 PST 2008


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 at 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


More information about the freebsd-ports mailing list