mshundal
2012-08-22 19:15:16 UTC
mshundal [http://community.zenoss.org/people/mshundal] created the discussion
"source build/install fails on pyopenssl build (zenoss 4.20)"
To view the discussion, visit: http://community.zenoss.org/message/68084#68084
--------------------------------------------------------------
Has anyone else seen this?
 unpacking: /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyOpenSSL-0.13
cd /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyOpenSSL-0.13 ; for i in /dev/null /home/zenoss/garbage/zenoss-4.2.0/inst/externallibs/pyOpenSSL-0.13.all.patch01 /dev/null; do case $i in *) pnum=0 ; ;; esac ; /usr/bin/patch -p $pnum < $i ; case $i in *Zope2-2.13.13*patch01) if grep "<<ZENHOME_PRODUCTS>>" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py 1>/dev/null 2>&1 ;then if sed -e "s;<<ZENHOME_PRODUCTS>>;/usr/local/zenoss/Products;g" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py > /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed ;then mv /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.orig ; cp /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py ; else echo "Dang. sed failure while updating /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py"; echo "sed -e \"s;<<ZENHOME_PRODUCTS>>;/usr/local/zenoss/Products;g\" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py \> /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed" ; fi; else echo "No need to update of ZENHOME_PRODUCTS in /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py" ; fi ; ;; esac ; done ;
patching file OpenSSL/ssl/connection.c
patching file OpenSSL/ssl/context.c
  building: /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyopenssl-build
installing: pyopenssl
make: *** [pyopenssl-install] Error 1
unable to build zenoss and prerequisites, see zenbuild.log
in zenbuild.log I notice the following:
OpenSSL/crypto/crypto.c:522: error: âX509_FILETYPE_ASN1â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:523: warning: implicit declaration of function âd2i_PKCS7_bioâ
OpenSSL/crypto/crypto.c:542: warning: implicit declaration of function âcrypto_PKCS7_Newâ
OpenSSL/crypto/crypto.c: In function âcrypto_load_pkcs12â:
OpenSSL/crypto/crypto.c:558: error: âBIOâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:558: error: âbioâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:559: error: âPKCS12â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:559: error: âp12â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:565: warning: implicit declaration of function âd2i_PKCS12_bioâ
OpenSSL/crypto/crypto.c:573: warning: implicit declaration of function âcrypto_PKCS12_Newâ
OpenSSL/crypto/crypto.c: In function âcrypto_X509_verify_cert_error_stringâ:
OpenSSL/crypto/crypto.c:593: warning: implicit declaration of function âX509_verify_cert_error_stringâ
OpenSSL/crypto/crypto.c:593: warning: assignment makes pointer from integer without a cast
OpenSSL/crypto/crypto.c: In function âcrypto_signâ:
OpenSSL/crypto/crypto.c:625: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
OpenSSL/crypto/crypto.c:625: error: âdigestâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:626: error: âEVP_MD_CTXâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:626: error: expected â;â before âmd_ctxâ
OpenSSL/crypto/crypto.c:635: warning: implicit declaration of function âEVP_get_digestbynameâ
OpenSSL/crypto/crypto.c:640: warning: implicit declaration of function âEVP_SignInitâ
OpenSSL/crypto/crypto.c:640: error: âmd_ctxâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:641: warning: implicit declaration of function âEVP_SignUpdateâ
OpenSSL/crypto/crypto.c:643: warning: implicit declaration of function âEVP_SignFinalâ
OpenSSL/crypto/crypto.c:643: error: âcrypto_PKeyObjâ has no member named âpkeyâ
OpenSSL/crypto/crypto.c: In function âcrypto_verifyâ:
OpenSSL/crypto/crypto.c:672: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
OpenSSL/crypto/crypto.c:672: error: âdigestâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:673: error: âEVP_MD_CTXâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:673: error: expected â;â before âmd_ctxâ
OpenSSL/crypto/crypto.c:674: error: âEVP_PKEYâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:674: error: âpkeyâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:689: warning: implicit declaration of function âX509_get_pubkeyâ
OpenSSL/crypto/crypto.c:689: error: âcrypto_X509Objâ has no member named âx509â
OpenSSL/crypto/crypto.c:695: warning: implicit declaration of function âEVP_VerifyInitâ
OpenSSL/crypto/crypto.c:695: error: âmd_ctxâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:696: warning: implicit declaration of function âEVP_VerifyUpdateâ
OpenSSL/crypto/crypto.c:697: warning: implicit declaration of function âEVP_VerifyFinalâ
OpenSSL/crypto/crypto.c:698: warning: implicit declaration of function âEVP_PKEY_freeâ
OpenSSL/crypto/crypto.c: In function âlocking_functionâ:
OpenSSL/crypto/crypto.c:744: error: âCRYPTO_LOCKâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c: In function âinit_openssl_threadsâ:
OpenSSL/crypto/crypto.c:761: warning: implicit declaration of function âCRYPTO_num_locksâ
OpenSSL/crypto/crypto.c:768: warning: implicit declaration of function âCRYPTO_set_id_callbackâ
OpenSSL/crypto/crypto.c:769: warning: implicit declaration of function âCRYPTO_set_locking_callbackâ
OpenSSL/crypto/crypto.c: In function âinitcryptoâ:
OpenSSL/crypto/crypto.c:817: warning: implicit declaration of function âERR_load_crypto_stringsâ
OpenSSL/crypto/crypto.c:818: warning: implicit declaration of function âOpenSSL_add_all_algorithmsâ
OpenSSL/crypto/crypto.c:832: error: âcrypto_X509_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:833: error: âcrypto_X509Name_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:834: error: âcrypto_X509Req_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:835: error: âcrypto_X509Store_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:836: error: âcrypto_PKey_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:838: error: âcrypto_PKCS7_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:839: error: âcrypto_NetscapeSPKI_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:859: error: âX509_FILETYPE_PEMâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:860: error: âX509_FILETYPE_ASN1â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:863: error: âEVP_PKEY_RSAâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:864: error: âEVP_PKEY_DSAâ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
any hints/tips much appericiated
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68084#68084]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"source build/install fails on pyopenssl build (zenoss 4.20)"
To view the discussion, visit: http://community.zenoss.org/message/68084#68084
--------------------------------------------------------------
Has anyone else seen this?
 unpacking: /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyOpenSSL-0.13
cd /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyOpenSSL-0.13 ; for i in /dev/null /home/zenoss/garbage/zenoss-4.2.0/inst/externallibs/pyOpenSSL-0.13.all.patch01 /dev/null; do case $i in *) pnum=0 ; ;; esac ; /usr/bin/patch -p $pnum < $i ; case $i in *Zope2-2.13.13*patch01) if grep "<<ZENHOME_PRODUCTS>>" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py 1>/dev/null 2>&1 ;then if sed -e "s;<<ZENHOME_PRODUCTS>>;/usr/local/zenoss/Products;g" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py > /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed ;then mv /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.orig ; cp /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py ; else echo "Dang. sed failure while updating /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py"; echo "sed -e \"s;<<ZENHOME_PRODUCTS>>;/usr/local/zenoss/Products;g\" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py \> /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed" ; fi; else echo "No need to update of ZENHOME_PRODUCTS in /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py" ; fi ; ;; esac ; done ;
patching file OpenSSL/ssl/connection.c
patching file OpenSSL/ssl/context.c
  building: /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyopenssl-build
installing: pyopenssl
make: *** [pyopenssl-install] Error 1
unable to build zenoss and prerequisites, see zenbuild.log
in zenbuild.log I notice the following:
OpenSSL/crypto/crypto.c:522: error: âX509_FILETYPE_ASN1â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:523: warning: implicit declaration of function âd2i_PKCS7_bioâ
OpenSSL/crypto/crypto.c:542: warning: implicit declaration of function âcrypto_PKCS7_Newâ
OpenSSL/crypto/crypto.c: In function âcrypto_load_pkcs12â:
OpenSSL/crypto/crypto.c:558: error: âBIOâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:558: error: âbioâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:559: error: âPKCS12â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:559: error: âp12â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:565: warning: implicit declaration of function âd2i_PKCS12_bioâ
OpenSSL/crypto/crypto.c:573: warning: implicit declaration of function âcrypto_PKCS12_Newâ
OpenSSL/crypto/crypto.c: In function âcrypto_X509_verify_cert_error_stringâ:
OpenSSL/crypto/crypto.c:593: warning: implicit declaration of function âX509_verify_cert_error_stringâ
OpenSSL/crypto/crypto.c:593: warning: assignment makes pointer from integer without a cast
OpenSSL/crypto/crypto.c: In function âcrypto_signâ:
OpenSSL/crypto/crypto.c:625: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
OpenSSL/crypto/crypto.c:625: error: âdigestâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:626: error: âEVP_MD_CTXâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:626: error: expected â;â before âmd_ctxâ
OpenSSL/crypto/crypto.c:635: warning: implicit declaration of function âEVP_get_digestbynameâ
OpenSSL/crypto/crypto.c:640: warning: implicit declaration of function âEVP_SignInitâ
OpenSSL/crypto/crypto.c:640: error: âmd_ctxâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:641: warning: implicit declaration of function âEVP_SignUpdateâ
OpenSSL/crypto/crypto.c:643: warning: implicit declaration of function âEVP_SignFinalâ
OpenSSL/crypto/crypto.c:643: error: âcrypto_PKeyObjâ has no member named âpkeyâ
OpenSSL/crypto/crypto.c: In function âcrypto_verifyâ:
OpenSSL/crypto/crypto.c:672: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
OpenSSL/crypto/crypto.c:672: error: âdigestâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:673: error: âEVP_MD_CTXâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:673: error: expected â;â before âmd_ctxâ
OpenSSL/crypto/crypto.c:674: error: âEVP_PKEYâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:674: error: âpkeyâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:689: warning: implicit declaration of function âX509_get_pubkeyâ
OpenSSL/crypto/crypto.c:689: error: âcrypto_X509Objâ has no member named âx509â
OpenSSL/crypto/crypto.c:695: warning: implicit declaration of function âEVP_VerifyInitâ
OpenSSL/crypto/crypto.c:695: error: âmd_ctxâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:696: warning: implicit declaration of function âEVP_VerifyUpdateâ
OpenSSL/crypto/crypto.c:697: warning: implicit declaration of function âEVP_VerifyFinalâ
OpenSSL/crypto/crypto.c:698: warning: implicit declaration of function âEVP_PKEY_freeâ
OpenSSL/crypto/crypto.c: In function âlocking_functionâ:
OpenSSL/crypto/crypto.c:744: error: âCRYPTO_LOCKâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c: In function âinit_openssl_threadsâ:
OpenSSL/crypto/crypto.c:761: warning: implicit declaration of function âCRYPTO_num_locksâ
OpenSSL/crypto/crypto.c:768: warning: implicit declaration of function âCRYPTO_set_id_callbackâ
OpenSSL/crypto/crypto.c:769: warning: implicit declaration of function âCRYPTO_set_locking_callbackâ
OpenSSL/crypto/crypto.c: In function âinitcryptoâ:
OpenSSL/crypto/crypto.c:817: warning: implicit declaration of function âERR_load_crypto_stringsâ
OpenSSL/crypto/crypto.c:818: warning: implicit declaration of function âOpenSSL_add_all_algorithmsâ
OpenSSL/crypto/crypto.c:832: error: âcrypto_X509_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:833: error: âcrypto_X509Name_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:834: error: âcrypto_X509Req_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:835: error: âcrypto_X509Store_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:836: error: âcrypto_PKey_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:838: error: âcrypto_PKCS7_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:839: error: âcrypto_NetscapeSPKI_Newâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:859: error: âX509_FILETYPE_PEMâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:860: error: âX509_FILETYPE_ASN1â undeclared (first use in this function)
OpenSSL/crypto/crypto.c:863: error: âEVP_PKEY_RSAâ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:864: error: âEVP_PKEY_DSAâ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
any hints/tips much appericiated
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68084#68084]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]