python upgrade issues

Michael Butler imb at protected-networks.net
Thu Oct 12 09:47:15 PDT 2006


Since python went from 2.4.x to 2.5, I seem to have this ..

[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 494
packages found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for hplip-1.6.7
===>   hplip-1.6.7 depends on file: /usr/local/bin/python2.5 - found
===>   hplip-1.6.7 depends on executable: pylupdate - not found
===>    Verifying reinstall for pylupdate in /usr/ports/x11-toolkits/py-qt
===>  Found saved configuration for py25-qt-3.16
===>  Extracting for py25-qt-3.16
=> MD5 Checksum OK for PyQt-x11-gpl-3.16.tar.gz.
=> SHA256 Checksum OK for PyQt-x11-gpl-3.16.tar.gz.
===>  Patching for py25-qt-3.16
===>   py25-qt-3.16 depends on file: /usr/local/bin/sip - not found
===>    Verifying reinstall for /usr/local/bin/sip in
/usr/ports/devel/py-sip
===>  Found saved configuration for py25-sip-4.4.5
===>  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/python2.5 - found
===>  Configuring for py25-sip-4.4.5
( cd /usr/ports/devel/py-sip/work/sip-4.4.5 &&
/usr/local/bin/python2.5 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 /usr/ports/devel/py-sip/work/sip-4.4.5/siplib.
*** Error code 1

Stop in /usr/ports/devel/py-sip/work/sip-4.4.5.
*** Error code 1

Stop in /usr/ports/devel/py-sip.
*** Error code 1

Stop in /usr/ports/devel/py-sip.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.
*** Error code 1

Stop in /usr/ports/print/hplip.
*** Error code 1

Stop in /usr/ports/print/hplip.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.6066.0 env PORT_UPGRADE=yes make -DFORCE_PKG_REGISTER
reinstall
--->  Restoring the old version
Added user "hplip".
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 495
packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
        ! print/hplip (hplip-1.6.7)     (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
** Could not clean up temporary directory: Directory not empty -
/var/tmp/portupgradelMpKWXEo
imb at toshi:/home/imb>                                                                    
 



More information about the freebsd-ports mailing list