Subject: py-amkCrypto error on build
To: None <tech-pkg@NetBSD.org>
From: Xavier <xavier@sentinix.org>
List: tech-pkg
Date: 06/25/2004 11:58:57
This is a multi-part message in MIME format.
--------------050006090402030700060900
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
greetings,
I have ran into a problem while building "py-amkCrypto", I've attached
the full session, but the error itself goes as follows:
gcc -fno-strict-aliasing -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include
-O2 -I/usr/pkg/include -I/usr/pkg/include -fPIC -Isrc/
-I/usr/pkg/include/python2.3 -c src/MD2.c -o
build/temp.netbsd-1.6.2-i386-2.3/src/MD2.o
src/MD2.c:15: Python.h: No such file or directory
error: command 'gcc' failed with exit status 1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-amkCrypto
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-amkCrypto
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-amkCrypto
Thanks.
--------------050006090402030700060900
Content-Type: text/plain;
name="py-amkcrypto"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="py-amkcrypto"
(root@netriot)-(Fri Jun 25/2004)-(11:23 AM:EDT)
(/usr/pkgsrc/security/py-amkCrypto)$ make clean
=3D=3D=3D> Cleaning for py23-amkCrypto-1.9a6nb1
(root@netriot)-(Fri Jun 25/2004)-(11:37 AM:EDT)
(/usr/pkgsrc/security/py-amkCrypto)$ make install
=3D=3D=3D> Checking for vulnerabilities in py23-amkCrypto-1.9a6nb1
=3D> Checksum OK for pycrypto-1.9a6.tar.gz.
=3D=3D=3D> Extracting for py23-amkCrypto-1.9a6nb1
=3D=3D=3D> Required installed package python23>=3D2.3: python23-2.3.4nb2 =
found
=3D=3D=3D> Required installed package openssl>=3D0.9.6l: openssl-0.9.6l f=
ound
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The following variables will affect the build process of this package,
py23-amkCrypto-1.9a6nb1. Their current value is shown below:
* SSLBASE =3D /usr/pkg
* SSLCERTS =3D /etc/openssl/certs
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D> Patching for py23-amkCrypto-1.9a6nb1
=3D=3D=3D> Overriding tools for py23-amkCrypto-1.9a6nb1
=3D=3D=3D> Buildlinking for py23-amkCrypto-1.9a6nb1
=3D=3D=3D> Configuring for py23-amkCrypto-1.9a6nb1
=3D=3D=3D> Building for py23-amkCrypto-1.9a6nb1
(cd /usr/pkgsrc/security/py-amkCrypto/work/pycrypto-1.9a6/ && /usr/bin/en=
v USETOOLS=3Dno MAKECONF=3D/dev/null USETOOLS=3D"no" OBJECT_FMT=3D"ELF" L=
DFLAGS=3D" -L/usr/pkg/lib -Wl,-R/usr/pkg/lib" RPATH_FLAG=3D"-R" WHOLE_ARC=
HIVE_FLAG=3D"-Wl,--whole-archive" NO_WHOLE_ARCHIVE_FLAG=3D"-Wl,--no-whole=
-archive" LINK_ALL_LIBGCC_HACK=3D"" PATH=3D/usr/pkgsrc/security/py-amkCry=
pto/work/.buildlink/bin:/usr/pkgsrc/security/py-amkCrypto/work/.tools/bin=
:/usr/pkgsrc/security/py-amkCrypto/work/.gcc/bin:/usr/pkg/bin:/usr/local/=
bin:/usr/bin:/bin:/usr/root/.bin:/usr/pkg/sbin:/usr/local/sbin:/usr/sbin:=
/sbin:/usr/root/.sbin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=3D/usr/pkg LOCAL=
BASE=3D/usr/pkg X11BASE=3D/usr/X11R6 CFLAGS=3D"-O2 -I/usr/pkg/include" CP=
PFLAGS=3D" -I/usr/pkg/include" FFLAGS=3D"-O" X11PREFIX=3D/usr/pkg CC=3D"=
gcc" CXX=3D"g++" CPP=3D"cpp" PTHREAD_CFLAGS=3D"" PTHREAD_LDFLAGS=3D"" BSD=
_INSTALL_PROGRAM=3D"install -c -s -o root -g wheel -m 555" =
BSD_INSTALL_SCRIPT=3D"install -c -o root -g wheel -m 555" =
BSD_INSTALL_LIB=3D"install -c -o root -g wheel -m 555" =
BSD_INSTALL_DATA=3D"install -c -o root -g wheel -m 444" =
BSD_INSTALL_MAN=3D"install -c -o root -g wheel -m 444" =
BSD_INSTALL=3D"install" BSD_INSTA=
LL_PROGRAM_DIR=3D"install -d -o root -g wheel -m 755" BSD_INSTALL_SCRI=
PT_DIR=3D"install -d -o root -g wheel -m 755" BSD_INSTALL_LIB=
_DIR=3D"install -d -o root -g wheel -m 755" BSD_INSTALL_DA=
TA_DIR=3D"install -d -o root -g wheel -m 755" BSD_INSTALL_M=
AN_DIR=3D"install -d -o root -g wheel -m 755" BSD_INSTALL_=
GAME=3D"install -c -s -o root -g wheel -m 555" PKG_SYSCONFDIR=3D"/usr/pkg=
/etc" INSTALL_INFO=3D"/usr/pkgsrc/security/py-amkCrypto/work/.tools/bin/i=
nstall-info" MAKEINFO=3D"/usr/pkgsrc/security/py-amkCrypto/work/.tools/bi=
n/makeinfo" BUILDLINK_DIR=3D"/usr/pkgsrc/security/py-amkCrypto/work/.buil=
dlink" BUILDLINK_X11_DIR=3D"/usr/pkgsrc/security/py-amkCrypto/work/.build=
link-x11" BUILDLINK_CACHE_ALL=3Dyes BUILDLINK_CPPFLAGS=3D"-I/usr/pkg/incl=
ude" BUILDLINK_LDFLAGS=3D"-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" VIEWBASE=3D=
/usr/pkg /usr/pkg/bin/python2.3 setup.py build )
running build
running build_py
creating build
creating build/lib.netbsd-1.6.2-i386-2.3
creating build/lib.netbsd-1.6.2-i386-2.3/Crypto
copying ./__init__.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto
copying ./test.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto
creating build/lib.netbsd-1.6.2-i386-2.3/Crypto/Hash
copying ./Hash/HMAC.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Hash
copying ./Hash/MD5.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Hash
copying ./Hash/SHA.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Hash
copying ./Hash/__init__.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Hash=
creating build/lib.netbsd-1.6.2-i386-2.3/Crypto/Cipher
copying ./Cipher/__init__.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Ci=
pher
creating build/lib.netbsd-1.6.2-i386-2.3/Crypto/Util
copying ./Util/RFC1751.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Util
copying ./Util/__init__.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Util=
copying ./Util/number.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Util
copying ./Util/randpool.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Util=
copying ./Util/test.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Util
creating build/lib.netbsd-1.6.2-i386-2.3/Crypto/Protocol
copying ./Protocol/AllOrNothing.py -> build/lib.netbsd-1.6.2-i386-2.3/Cry=
pto/Protocol
copying ./Protocol/Chaffing.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/=
Protocol
copying ./Protocol/__init__.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/=
Protocol
creating build/lib.netbsd-1.6.2-i386-2.3/Crypto/PublicKey
copying ./PublicKey/DSA.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Publ=
icKey
copying ./PublicKey/ElGamal.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/=
PublicKey
copying ./PublicKey/RSA.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Publ=
icKey
copying ./PublicKey/__init__.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto=
/PublicKey
copying ./PublicKey/pubkey.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/P=
ublicKey
copying ./PublicKey/qNEW.py -> build/lib.netbsd-1.6.2-i386-2.3/Crypto/Pub=
licKey
running build_ext
building 'Crypto.Hash.MD2' extension
creating build/temp.netbsd-1.6.2-i386-2.3
creating build/temp.netbsd-1.6.2-i386-2.3/src
gcc -fno-strict-aliasing -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -=
O2 -I/usr/pkg/include -I/usr/pkg/include -fPIC -Isrc/ -I/usr/pkg/include/=
python2.3 -c src/MD2.c -o build/temp.netbsd-1.6.2-i386-2.3/src/MD2.o
src/MD2.c:15: Python.h: No such file or directory
error: command 'gcc' failed with exit status 1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-amkCrypto
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-amkCrypto
--------------050006090402030700060900--