Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2008 17:15:10 +0100
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        python@FreeBSD.org
Subject:   [ports-i386@FreeBSD.org: py25-freebsd-0.9.3_2 failed on i386 8]
Message-ID:  <20081223161510.GV23166@droso.net>

next in thread | raw e-mail | index | archive | help
--8QM4kKE+nfbBA4vJ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@FreeBSD.org> -----

Date: Mon, 22 Dec 2008 10:01:18 GMT
=46rom: User Ports-i386 <ports-i386@FreeBSD.org>
To: erwin@FreeBSD.org, linimon@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@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=3D
PATCH_DEPENDS=3D
EXTRACT_DEPENDS=3D
BUILD_DEPENDS=3Dpython25-2.5.2_3.tbz
RUN_DEPENDS=3Dpython25-2.5.2_3.tbz
prefixes: LOCALBASE=3Dusr/local X11BASE=3Dusr/local
add_pkg
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 1: make =
checksum>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D> py-freebsd-0.9.3.tar.gz doesn't seem to exist in /tmp/distfiles/.
=3D> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/port=
s/distfiles/.
py-freebsd-0.9.3.tar.gz                                 26 kB 3473 kBps
=3D> MD5 Checksum OK for py-freebsd-0.9.3.tar.gz.
=3D> SHA256 Checksum OK for py-freebsd-0.9.3.tar.gz.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 2: make =
extract>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
add_pkg
=3D=3D=3D>  Extracting for py25-freebsd-0.9.3_2
=3D> MD5 Checksum OK for py-freebsd-0.9.3.tar.gz.
=3D> SHA256 Checksum OK for py-freebsd-0.9.3.tar.gz.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 3: make =
patch>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
add_pkg
=3D=3D=3D>  Patching for py25-freebsd-0.9.3_2
=3D=3D=3D>  Applying extra patch /a/ports/devel/py-freebsd/files/freebsd7_p=
atch-src-netstat.c
=3D=3D=3D>  Applying FreeBSD patches for py25-freebsd-0.9.3_2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase 4: make =
build>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
add_pkg python25-2.5.2_3.tbz
adding dependencies
pkg_add python25-2.5.2_3.tbz

=3D=3D=3D=3D
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.
=3D=3D=3D=3D

=3D=3D=3D>   py25-freebsd-0.9.3_2 depends on file: /usr/local/bin/python2.5=
 - found
=3D=3D=3D>  Configuring for py25-freebsd-0.9.3_2
=3D=3D> 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
=3D=3D=3D>  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=3Dwchar_t -DTHREAD_STACK_SIZE=3D0x20000 -=
fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/inclu=
de/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.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
build of /usr/ports/devel/py-freebsd ended at Mon Dec 22 10:01:18 UTC 2008

----- End forwarded message -----
--=20
Erwin Lansing                                   http://droso.org
                                               erwin@FreeBSD.org
You are now free to move around the cabin         erwin@aauug.dk

--8QM4kKE+nfbBA4vJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iD8DBQFJUQ6Oqy9aWxUlaZARAkxAAKD+m7N7t5N8zrNMVaS9n5KvqwSl8gCg2cyI
p3AsYIw67dfKvgLmqvv7C+I=
=ckwH
-----END PGP SIGNATURE-----

--8QM4kKE+nfbBA4vJ--



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