Date: Wed, 11 Oct 2006 15:40:24 GMT From: Max Brazhnikov<makc@issp.ac.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/104298: devel/py-sip: fix build Message-ID: <200610111540.k9BFeO9P048028@www.freebsd.org> Resent-Message-ID: <200610111550.k9BFoEtg075848@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104298 >Category: ports >Synopsis: devel/py-sip: fix build >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 11 15:50:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Max Brazhnikov >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: FreeBSD lqc.issp.ac.ru 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Oct 3 17:09:58 MSD 2006 root@lqc.issp.ac.ru:/usr/obj/usr/src/sys/LQC i386 >Description: py-sip fails to build with new python >How-To-Repeat: /usr/ports/devel/py-sip# make ===> Vulnerability check disabled, database not found ===> Extracting for py25-sip-4.4.5 => MD5 Checksum OK for sip-4.4.5.tar.gz. => SHA256 Checksum OK for sip-4.4.5.tar.gz. ===> Patching for py25-sip-4.4.5 ===> py25-sip-4.4.5 depends on file: /usr/local/bin/python - found ===> Configuring for py25-sip-4.4.5 ( cd /Data/ports/devel/py-sip/work/sip-4.4.5 && /usr/local/bin/python configure.py -b /usr/local/bin -d /usr/local/lib/python2.5/site-packages -e /usr/local/include/python2.5 -v /usr/local/share/py-sip ) This is SIP 4.4.5 for Python 2.5 on freebsd6. The SIP code generator will be installed in /usr/local/bin. The SIP module will be installed in /usr/local/lib/python2.5/site-packages. The SIP header file will be installed in /usr/local/include/python2.5. The default directory to install .sip files in is /usr/local/share/py-sip. The platform/compiler configuration is freebsd-g++. Creating sipconfig.py... Creating top level Makefile... Creating sip code generator Makefile... Creating sip module Makefile... ===> Building for py25-sip-4.4.5 gcc -c -pipe -O2 -w -I. -I/usr/local/include -o main.o main.c gcc -c -pipe -O2 -w -I. -I/usr/local/include -o transform.o transform.c gcc -c -pipe -O2 -w -I. -I/usr/local/include -o gencode.o gencode.c gcc -c -pipe -O2 -w -I. -I/usr/local/include -o heap.o heap.c gcc -c -pipe -O2 -w -I. -I/usr/local/include -o parser.o parser.c gcc -c -pipe -O2 -w -I. -I/usr/local/include -o lexer.o lexer.c g++ -o sip main.o transform.o gencode.o heap.o parser.o lexer.o -L/usr/local/lib gcc -c -pipe -fPIC -O2 -w -I. -I/usr/local/include -I/usr/local/include/python2.5 -o siplib.o siplib.c siplib.c: In function `initsip': siplib.c:399: error: structure has no member named `type' siplib.c: In function `sip_api_export_module': siplib.c:833: error: structure has no member named `type' siplib.c: In function `createType': siplib.c:3184: error: structure has no member named `type' siplib.c: In function `createEnum': siplib.c:3234: error: structure has no member named `type' siplib.c: In function `getSelfFromArgs': siplib.c:3420: error: structure has no member named `type' siplib.c:3420: error: structure has no member named `type' siplib.c: In function `sip_api_add_enum_instance': siplib.c:4291: error: structure has no member named `type' siplib.c: In function `sip_api_add_class_instance': siplib.c:4341: error: structure has no member named `type' siplib.c: In function `sip_api_add_mapped_type_instance': siplib.c:4358: error: structure has no member named `type' siplib.c: In function `sip_api_can_convert_to_instance': siplib.c:4537: error: structure has no member named `type' siplib.c:4537: error: structure has no member named `type' siplib.c: In function `convertSubClass': siplib.c:4957: error: structure has no member named `type' siplib.c:4957: error: structure has no member named `type' siplib.c: In function `isExactWrappedType': siplib.c:5511: error: structure has no member named `name' siplib.c: In function `sipWrapperType_init': siplib.c:5567: error: structure has no member named `type' siplib.c:5576: error: structure has no member named `type' siplib.c: In function `sipWrapperType_getattro': siplib.c:5611: error: structure has no member named `type' siplib.c: In function `sipWrapper_new': siplib.c:5829: error: structure has no member named `type' siplib.c:5838: error: structure has no member named `type' siplib.c: In function `addSlots': siplib.c:6405: error: structure has no member named `type' *** Error code 1 Stop in /Data/ports/devel/py-sip/work/sip-4.4.5/siplib. *** Error code 1 Stop in /Data/ports/devel/py-sip/work/sip-4.4.5. *** Error code 1 Stop in /Data/ports/devel/py-sip. >Fix: diff -ruN --exclude=CVS /usr/ports/devel/py-sip/Makefile /home/makc/porting/ports/devel/py-sip/Makefile --- /usr/ports/devel/py-sip/Makefile Sat Sep 9 15:27:43 2006 +++ /home/makc/porting/ports/devel/py-sip/Makefile Wed Oct 11 16:30:21 2006 @@ -14,7 +14,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Python to C and C++ bindings generator -USE_PYTHON= yes +USE_PYTHON= 2.4 OPTIONS= DEBUG "Build with debugging symbols" off \ DOCS "Install documentation" on >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610111540.k9BFeO9P048028>