[ports-i386@FreeBSD.org: py25-freebsd-0.9.3_2 failed on i386 8]

Erwin Lansing erwin at FreeBSD.org
Tue Dec 23 08:15:13 PST 2008


Hi,

The recent jail changes in HEAD broke this port.  Bjoern was so kind to
provide a proof-of-concept patch for the port to fix it.  Could you have
a look at this patch and review it?  It might require some python foo
and maybe other cleanups though.

http://people.freebsd.org/~bz/20081223-01-ports-devel-py-freebsd.diff

Thanks,
-erwin

----- Forwarded message from User Ports-i386 <ports-i386 at FreeBSD.org> -----

Date: Mon, 22 Dec 2008 10:01:18 GMT
From: User Ports-i386 <ports-i386 at FreeBSD.org>
To: erwin at FreeBSD.org, linimon at FreeBSD.org
Subject: py25-freebsd-0.9.3_2 failed on i386 8

You can also find this build log at

  http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20081218140000/py25-freebsd-0.9.3_2.log

building py25-freebsd-0.9.3_2 on gohan23.freebsd.org
in directory /x/tmp/8/20081218140000/chroot/55
building for: 8.0-CURRENT i386
maintained by: python at FreeBSD.org
port directory: /usr/ports/devel/py-freebsd
Makefile ident: $FreeBSD: ports/devel/py-freebsd/Makefile,v 1.15 2007/08/27 11:09:27 miwi Exp $
build started at Mon Dec 22 10:00:25 UTC 2008
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=python25-2.5.2_3.tbz
RUN_DEPENDS=python25-2.5.2_3.tbz
prefixes: LOCALBASE=usr/local X11BASE=usr/local
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> py-freebsd-0.9.3.tar.gz doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/.
py-freebsd-0.9.3.tar.gz                                 26 kB 3473 kBps
=> MD5 Checksum OK for py-freebsd-0.9.3.tar.gz.
=> SHA256 Checksum OK for py-freebsd-0.9.3.tar.gz.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Extracting for py25-freebsd-0.9.3_2
=> MD5 Checksum OK for py-freebsd-0.9.3.tar.gz.
=> SHA256 Checksum OK for py-freebsd-0.9.3.tar.gz.
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for py25-freebsd-0.9.3_2
===>  Applying extra patch /a/ports/devel/py-freebsd/files/freebsd7_patch-src-netstat.c
===>  Applying FreeBSD patches for py25-freebsd-0.9.3_2
================================================================
====================<phase 4: make build>====================
add_pkg python25-2.5.2_3.tbz
adding dependencies
pkg_add python25-2.5.2_3.tbz

====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3		databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====

===>   py25-freebsd-0.9.3_2 depends on file: /usr/local/bin/python2.5 - found
===>  Configuring for py25-freebsd-0.9.3_2
==> Generating definition files..
scanning src/chflags.c
scanning src/fstab.c
scanning src/geom.c
scanning src/hostname.c
scanning src/jail.c
scanning src/kqueue.c
scanning src/ktrace.c
scanning src/login.c
scanning src/netstat.c
scanning src/process.c
scanning src/pwdb.c
scanning src/quota.c
scanning src/reboot.c
scanning src/resource.c
scanning src/sendfile.c
scanning src/statfs.c
scanning src/sysctl.c
running config
===>  Building for py25-freebsd-0.9.3_2
running build
running build_py
creating build
creating build/lib.freebsd-8.0-CURRENT-i386-2.5
copying freebsd_compat02.py -> build/lib.freebsd-8.0-CURRENT-i386-2.5
running build_ext
building 'freebsd' extension
creating build/temp.freebsd-8.0-CURRENT-i386-2.5
creating build/temp.freebsd-8.0-CURRENT-i386-2.5/src
cc -DNDEBUG -O2 -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/include/python2.5 -c src/freebsdmodule.c -o build/temp.freebsd-8.0-CURRENT-i386-2.5/src/freebsdmodule.o
src/freebsdmodule.c:68:1: warning: "Py_VISIT" redefined
In file included from /usr/local/include/python2.5/Python.h:79,
                 from src/freebsdmodule.c:38:
/usr/local/include/python2.5/objimpl.h:306:1: warning: this is the location of the previous definition
In file included from src/.sources.def:6,
                 from src/freebsdmodule.c:167:
src/jail.c: In function 'PyFB_jail':
src/jail.c:50: error: 'struct jail' has no member named 'ip_number'
src/jail.c:52: error: 'struct jail' has no member named 'ip_number'
error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /a/ports/devel/py-freebsd.
================================================================
build of /usr/ports/devel/py-freebsd ended at Mon Dec 22 10:01:18 UTC 2008

----- End forwarded message -----
-- 
Erwin Lansing                                   http://droso.org
                                               erwin at FreeBSD.org
You are now free to move around the cabin         erwin at aauug.dk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-python/attachments/20081223/7a0c6df9/attachment.pgp


More information about the freebsd-python mailing list