Date: Sat, 23 Feb 2013 19:42:40 +0530 From: ashish@FreeBSD.org (Ashish SHUKLA) To: gecko@FreeBSD.org Subject: www/firefox failing to compile on 9.0-RELEASE (amd64) with system clang Message-ID: <86r4k7p19j.fsf@chateau.d.if>
next in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I'm getting following compiler error when trying to compile www/firefox port (under poudriere) on 9.0-RELEASE amd64 host: #v+ clang++ -o JARSignatureVerification.o -c -I../../../../dist/stl_wrappers -I= ../../../../dist/system_wrappers -include ../../../../../config/gcc_hidden.= h -DNSS_ENABLE_ECC -DDLL_PREFIX=3D\"l ib\" -DDLL_SUFFIX=3D\".so\" -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_E= NTRY_POINT=3D1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXP= ORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_ WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_AP= I -DNO_NSPR_10_SUPPORT -I../../../../../security/manager/ssl/src -I. -I../= ../../../dist/include -I/usr/local /include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/= local/include -I/usr/local/include -fPIC -Qunused-arguments -isystem/usr= /local/include -I/usr/local/include -Qunused-arguments -Wall -Wpointer-ari= th -Woverloaded-virtual -Werror=3Dreturn-type -Wtype-limits -Wempty-body -W= no-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-var= iadic-macros -Wno-c++0x-extensions -Wno-unknown-warning-option -Wno-return-= type-c-linkage -Wno-mismatched-tags -g -fno-exceptions -fno-strict-aliasing= -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=3Dgnu++= 0x -pipe -DDEBUG -D_DEBUG -DTRACING -g -O -fno-omit-frame-pointer -Qunus= ed-arguments -isystem/usr/local/include -I/usr/local/include -DMOZILLA_CLI= ENT -include ../../../../mozilla-config.h -MD -MF .deps/JARSignatureVerific= ation.o.pp /wrkdirs/usr/ports/www/firefox/work/mozilla-release/security/ma= nager/ssl/src/JARSignatureVerification.cpp /wrkdirs/usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/sr= c/JARSignatureVerification.cpp:573:12: error: use of undeclared identifier = 'gPIPNSSLog' PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("Failed to decode PKCS#7 item: %s", ^ /usr/local/include/nspr/prlog.h:177:23: note: expanded from: if (PR_LOG_TEST(_module,_level)) { \ ^ /usr/local/include/nspr/prlog.h:166:7: note: expanded from: ((_module)->level >=3D (_level)) ^ /wrkdirs/usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/sr= c/JARSignatureVerification.cpp:594:12: error: use of undeclared identifier = 'gPIPNSSLog' PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("Failed to verify detached signature:= %s", ^ /usr/local/include/nspr/prlog.h:177:23: note: expanded from: if (PR_LOG_TEST(_module,_level)) { \ ^ /usr/local/include/nspr/prlog.h:166:7: note: expanded from: ((_module)->level >=3D (_level)) ^ /wrkdirs/usr/ports/www/firefox/work/mozilla-release/security/manager/ssl/sr= c/JARSignatureVerification.cpp:656:12: error: use of undeclared identifier = 'gPIPNSSLog' PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("Verifying digests for %s", ^ /usr/local/include/nspr/prlog.h:177:23: note: expanded from: if (PR_LOG_TEST(_module,_level)) { \ ^ /usr/local/include/nspr/prlog.h:166:7: note: expanded from: ((_module)->level >=3D (_level)) ^ 3 errors generated. gmake[5]: *** [JARSignatureVerification.o] Error 1 gmake[5]: Leaving directory `/wrkdirs/usr/ports/www/firefox/work/mozilla-re= lease/obj-x86_64-portbld-freebsd9.0/security/manager/ssl/src' #v- I've uploaded complete log at http://people.freebsd.org/~ashish/logs/firefo= x-19.0%2c1.log.xz Any ideas what's wrong with it ? Thanks =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Sent from my Emacs --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBCgAGBQJRKM5dAAoJEMdGz6nnT6SwBHAQALbrzEuw7NhAVuNcRawCRqAn ntChXuUi2gvAuaDCbxLBxFFsouQe9bVTLfap5a+Drl245C4QRHyo7AFgFUnkqw/h 5g2uZy6hlZay1rFtjqXpKEKizb3SwVTn1TN1ZHC7W/sMXbywcoTRnGpEXGLZJ3Tn GP+KeKiaRBMeyhqZ+fRe365VQjYmsF8mNHoThZlSp82waQDSycaP4bCLA42hKzxf 2hD9x1UMYHShj0Uwi4nNQGrVNQzGPd5noGGUnS56dsR+Vy03vF2V6j9LINqrjPKb ITv5FtoxS+pNqcyRc8iY76fTQ5NKpbnuXJkfgNVeapPtplJrGZ7mwP9gMPZ8j0Mk USWkT+9npkRzkrJHdR3m8eHw9WF9Q12g950YZlddcVA/SNi5TCMHoV5eTtDuw2i2 aSvjLxMl1tTuYAGEHeyOS7QesVDrm9B9ShudysILACrsniQ5VZ+2l1ObNxl3XjZX /zjTQZ/HZ9d/jdLEKuvO8DATdqljobgFiThHUsdRSNa7d2HDd+38FyzZZDz3UdTs UB57s/2UEm/lGAMLU2WuzvVgLudX8HFjnJK7ObjvCCiPnmRWvmhzx5itWV74euNW O8TS2Wbi/0ZJ5AflMxYioJd9sso6P3VHngesnniSwYUIA0KiN/masaMmYzU2UIAF K7zmuhA78LLWsjuIlqn4 =O1Qd -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r4k7p19j.fsf>