Date: Wed, 10 Mar 2010 22:01:10 +0200 From: chukharev@mail.ru To: "freebsd-qa@freebsd.org" <freebsd-qa@freebsd.org> Subject: databases/py-psycopg2 ; port test Message-ID: <op.u9da78ptmhpy7y@vova-vaio>
next in thread | raw e-mail | index | archive | help
The 'port test' command (ports-mgmt/porttools) tests a port for a number of possible errors by running portlint, building, packaging, installing, and de-installing with a check for left files. This is done with defined PREFIX and PKG_DBDIR variables. 'port test' command is recommended by the Porter's Handbook. Note that the port installs the usual way. $ cd databases/py-psycopg2 ; port test +++++++++++++++ ===> Validating port with portlint looks fine. ===> flags: PREFIX=/home/chu/tmp/py26-psycopg2-2.0.13 NO_DEPENDS=yes PKG_DBDIR=/tmp/pkg_db.bNT8BMRY -- ===> Cleaning workspace before port test ===> Cleaning for py26-psycopg2-2.0.13 ===> Extracting for py26-psycopg2-2.0.13 => MD5 Checksum OK for psycopg2-2.0.13.tar.gz. => SHA256 Checksum OK for psycopg2-2.0.13.tar.gz. ===> Patching for py26-psycopg2-2.0.13 ===> Applying FreeBSD patches for py26-psycopg2-2.0.13 ===> Configuring for py26-psycopg2-2.0.13 running config ===> Building for py26-psycopg2-2.0.13 running build running build_py creating build creating build/lib.freebsd-8.0-STABLE-i386-2.6 creating build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 copying lib/tz.py -> build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 copying lib/extensions.py -> build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 copying lib/pool.py -> build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 copying lib/__init__.py -> build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 copying lib/psycopg1.py -> build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 copying lib/extras.py -> build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 copying lib/errorcodes.py -> build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2 running build_ext building 'psycopg2._psycopg' extension creating build/temp.freebsd-8.0-STABLE-i386-2.6 creating build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/psycopgmodule.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/pqpath.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/pqpath.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/typecast.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/typecast.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/microprotocols.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/microprotocols.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/microprotocols_proto.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/microprotocols_proto.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/connection_type.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/connection_type.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/connection_int.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/connection_int.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/cursor_type.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/cursor_type.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/cursor_int.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/cursor_int.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/lobject_type.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/lobject_type.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/lobject_int.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/lobject_int.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/adapter_qstring.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_qstring.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/adapter_pboolean.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_pboolean.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/adapter_binary.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_binary.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/adapter_asis.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_asis.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/adapter_list.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_list.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/adapter_datetime.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_datetime.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/adapter_pfloat.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_pfloat.o cc -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x080402 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/local/include/python2.6 -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/utils.c -o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/utils.o cc -shared -pthread build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/psycopgmodule.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/pqpath.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/typecast.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/microprotocols.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/microprotocols_proto.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/connection_type.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/connection_int.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/cursor_type.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/cursor_int.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/lobject_type.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/lobject_int.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_qstring.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_pboolean.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_binary.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_asis.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_list.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_datetime.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/adapter_pfloat.o build/temp.freebsd-8.0-STABLE-i386-2.6/psycopg/utils.o -L/usr/local/lib -lpq -o build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2/_psycopg.so ===> Installing for py26-psycopg2-2.0.13 ===> Generating temporary packing list ===> Checking if databases/py-psycopg2 already installed running install running build running build_py running build_ext running install_lib copying build/lib.freebsd-8.0-STABLE-i386-2.6/psycopg2/_psycopg.so -> /usr/local/lib/python2.6/site-packages/psycopg2 running install_egg_info Removing /usr/local/lib/python2.6/site-packages/psycopg2-2.0.13-py2.6.egg-info Writing /usr/local/lib/python2.6/site-packages/psycopg2-2.0.13-py2.6.egg-info ===> Registering installation for py26-psycopg2-2.0.13 ===> Building package for py26-psycopg2-2.0.13 tar: lib/python2.6/site-packages/psycopg2-2.0.13-py2.6.egg-info: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/__init__.py: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/__init__.pyc: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/_psycopg.so: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/extensions.py: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/extensions.pyc: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/errorcodes.py: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/errorcodes.pyc: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/extras.py: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/extras.pyc: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/pool.py: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/pool.pyc: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/psycopg1.py: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/psycopg1.pyc: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/tz.py: Cannot stat: No such file or directory tar: lib/python2.6/site-packages/psycopg2/tz.pyc: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 Creating package /usr/ports/packages/All/py26-psycopg2-2.0.13.tbz Registering depends:. Creating bzip'd tar ball in '/usr/ports/packages/All/py26-psycopg2-2.0.13.tbz' *** Error code 1 Stop in /usr/ports/databases/py-psycopg2. ===> Error running make package ===> Files currently installed in PREFIX share/doc/py-psycopg2/AUTHORS share/doc/py-psycopg2/ChangeLog share/doc/py-psycopg2/INSTALL share/doc/py-psycopg2/README share/doc/py-psycopg2/PKG-INFO share/examples/py-psycopg2/binary.py share/examples/py-psycopg2/cursor.py share/examples/py-psycopg2/dt.py share/examples/py-psycopg2/lastrowid.py share/examples/py-psycopg2/notify.py share/examples/py-psycopg2/threads.py share/examples/py-psycopg2/whereareyou.jpg share/examples/py-psycopg2/copy_from.py share/examples/py-psycopg2/dialtone.py share/examples/py-psycopg2/encoding.py share/examples/py-psycopg2/mogrify.py share/examples/py-psycopg2/simple.py share/examples/py-psycopg2/tz.py share/examples/py-psycopg2/copy_to.py share/examples/py-psycopg2/dict.py share/examples/py-psycopg2/fetch.py share/examples/py-psycopg2/myfirstrecipe.py share/examples/py-psycopg2/somehackers.jpg share/examples/py-psycopg2/usercast.py ===> Cleaning up
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u9da78ptmhpy7y>