From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 25 14:40:01 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ABA21065673 for ; Thu, 25 Aug 2011 14:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0107E8FC19 for ; Thu, 25 Aug 2011 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7PEe0u8052362 for ; Thu, 25 Aug 2011 14:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7PEe0x8052361; Thu, 25 Aug 2011 14:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 25 Aug 2011 14:40:00 GMT Resent-Message-Id: <201108251440.p7PEe0x8052361@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volodymyr Kostyrko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CDF1106566C for ; Thu, 25 Aug 2011 14:32:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 6AAA38FC16 for ; Thu, 25 Aug 2011 14:32:08 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7PEW8P7003204 for ; Thu, 25 Aug 2011 14:32:08 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7PEW87a003203; Thu, 25 Aug 2011 14:32:08 GMT (envelope-from nobody) Message-Id: <201108251432.p7PEW87a003203@red.freebsd.org> Date: Thu, 25 Aug 2011 14:32:08 GMT From: Volodymyr Kostyrko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160185: security/clamav fails to build with custom options X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 14:40:01 -0000 >Number: 160185 >Category: ports >Synopsis: security/clamav fails to build with custom options >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 25 14:40:00 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Volodymyr Kostyrko >Release: RELENG_8_2 >Organization: None >Environment: FreeBSD taalo.3501.lan 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Apr 21 06:49:57 UTC 2011 arcade@gek.3501.lan:/usr/obj/usr/src/sys/MINIMAL_8 amd64 >Description: When building port with LLVM_PORTS enabled (llvm-2.9): /bin/sh ./libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I/usr/local/include -I./../.. - I./.. -I./../../ -I/usr/local/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fno-exceptions -fno-rtti - fPIC -Woverloaded-virtual -Wcast-qual -fexceptions -DLLVM28 -DLLVM29 -O2 -pipe -march=nocona -fno-strict-aliasing -c -o libclamavcxx_la-byteco de2llvm.lo `test -f 'bytecode2llvm.cpp' || echo './'`bytecode2llvm.cpp PointerTracking.cpp:23:29: error: PointerTracking.h: No such file or directory ClamBCRTChecks.cpp:37:29: error: PointerTracking.h: No such file or directory PointerTracking.cpp: In function 'void* initializePointerTrackingPassOnce(llvm::PassRegistry&)': PointerTracking.cpp:37: error: 'PointerTracking' has not been declared PointerTracking.cpp:37: error: 'PointerTracking' was not declared in this scope PointerTracking.cpp:37: error: insufficient contextual information to determine type PointerTracking.cpp: At global scope: PointerTracking.cpp:39: error: 'PointerTracking' has not been declared PointerTracking.cpp:40: error: 'PointerTracking' has not been declared PointerTracking.cpp:40: error: ISO C++ forbids declaration of 'PointerTracking' with no type PointerTracking.cpp: In function 'int PointerTracking()': PointerTracking.cpp:40: error: only constructors take base initializers PointerTracking.cpp: At global scope: PointerTracking.cpp:44: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp: In function 'bool runOnFunction(llvm::Function&)': PointerTracking.cpp:45: error: 'predCache' was not declared in this scope PointerTracking.cpp:47: error: 'FF' was not declared in this scope PointerTracking.cpp:48: error: 'TD' was not declared in this scope PointerTracking.cpp:48: error: 'getAnalysisIfAvailable' was not declared in this scope PointerTracking.cpp:48: error: expected primary-expression before '>' token PointerTracking.cpp:48: error: expected primary-expression before ')' token PointerTracking.cpp:49: error: 'SE' was not declared in this scope PointerTracking.cpp:49: error: 'getAnalysis' was not declared in this scope PointerTracking.cpp:49: error: expected primary-expression before '>' token PointerTracking.cpp:49: error: expected primary-expression before ')' token PointerTracking.cpp:50: error: 'LI' was not declared in this scope PointerTracking.cpp:50: error: expected primary-expression before '>' token PointerTracking.cpp:50: error: expected primary-expression before ')' token PointerTracking.cpp:51: error: 'DT' was not declared in this scope PointerTracking.cpp:51: error: expected primary-expression before '>' token PointerTracking.cpp:51: error: expected primary-expression before ')' token PointerTracking.cpp: At global scope: PointerTracking.cpp:55: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:55: error: non-member function 'void getAnalysisUsage(llvm::AnalysisUsage&)' cannot have cv-qualifier PointerTracking.cpp:62: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp: In function 'bool doInitialization(llvm::Module&)': PointerTracking.cpp:66: error: 'callocFunc' was not declared in this scope PointerTracking.cpp:84: error: 'reallocFunc' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:105: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:106: error: non-member function 'const llvm::SCEV* computeAllocationCount(llvm::Value*, const llvm::Type*&)' cannot have c v-qualifier PointerTracking.cpp: In function 'const llvm::SCEV* computeAllocationCount(llvm::Value*, const llvm::Type*&)': PointerTracking.cpp:112: error: 'SE' was not declared in this scope PointerTracking.cpp:116: error: 'TD' was not declared in this scope PointerTracking.cpp:118: error: 'SE' was not declared in this scope PointerTracking.cpp:121: error: 'SE' was not declared in this scope PointerTracking.cpp:129: error: 'SE' was not declared in this scope PointerTracking.cpp:134: error: 'SE' was not declared in this scope PointerTracking.cpp:141: error: 'LI' was not declared in this scope PointerTracking.cpp:142: error: 'callocFunc' was not declared in this scope PointerTracking.cpp:145: error: 'SE' was not declared in this scope PointerTracking.cpp:148: error: 'reallocFunc' was not declared in this scope PointerTracking.cpp:151: error: 'SE' was not declared in this scope PointerTracking.cpp:155: error: 'SE' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:158: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:158: error: non-member function 'llvm::Value* computeAllocationCountValue(llvm::Value*, const llvm::Type*&)' cannot have c v-qualifier PointerTracking.cpp: In function 'llvm::Value* computeAllocationCountValue(llvm::Value*, const llvm::Type*&)': PointerTracking.cpp:171: error: 'TD' was not declared in this scope PointerTracking.cpp:197: error: 'reallocFunc' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:208: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:210: error: non-member function 'const llvm::SCEV* computeAllocationCountForType(llvm::Value*, const llvm::Type*)' cannot have cv-qualifier PointerTracking.cpp: In function 'const llvm::SCEV* computeAllocationCountForType(llvm::Value*, const llvm::Type*)': PointerTracking.cpp:218: error: 'TD' was not declared in this scope PointerTracking.cpp:219: error: 'SE' was not declared in this scope PointerTracking.cpp:221: error: 'TD' was not declared in this scope PointerTracking.cpp:226: error: 'SE' was not declared in this scope PointerTracking.cpp:227: error: 'SE' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:231: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:231: error: non-member function 'const llvm::SCEV* getAllocationElementCount(llvm::Value*)' cannot have cv-qualifier PointerTracking.cpp:237: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:237: error: non-member function 'const llvm::SCEV* getAllocationSizeInBytes(llvm::Value*)' cannot have cv-qualifier PointerTracking.cpp:242: error: use of enum 'SolverResult' without previous declaration PointerTracking.cpp:242: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:243: error: 'Predicate' has not been declared PointerTracking.cpp:245: error: non-member function 'int isLoopGuardedBy(const llvm::Loop*, int, const llvm::SCEV*, const llvm::SCEV*)' cannot have cv-qualifier PointerTracking.cpp: In function 'int isLoopGuardedBy(const llvm::Loop*, int, const llvm::SCEV*, const llvm::SCEV*)': PointerTracking.cpp:246: error: 'SE' was not declared in this scope PointerTracking.cpp:247: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:248: error: invalid conversion from 'int' to 'llvm::CmpInst::Predicate' PointerTracking.cpp:248: error: initializing argument 1 of 'static llvm::CmpInst::Predicate llvm::CmpInst::getSwappedPredicate(llvm::CmpInst ::Predicate)' PointerTracking.cpp:249: error: 'SE' was not declared in this scope PointerTracking.cpp:250: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:252: error: invalid conversion from 'int' to 'llvm::CmpInst::Predicate' PointerTracking.cpp:252: error: initializing argument 1 of 'static llvm::CmpInst::Predicate llvm::CmpInst::getInversePredicate(llvm::CmpInst ::Predicate)' PointerTracking.cpp:253: error: 'SE' was not declared in this scope PointerTracking.cpp:254: error: 'AlwaysFalse' was not declared in this scope PointerTracking.cpp:255: error: invalid conversion from 'int' to 'llvm::CmpInst::Predicate' PointerTracking.cpp:255: error: initializing argument 1 of 'static llvm::CmpInst::Predicate llvm::CmpInst::getSwappedPredicate(llvm::CmpInst ::Predicate)' PointerTracking.cpp:256: error: 'SE' was not declared in this scope PointerTracking.cpp:257: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:258: error: 'Unknown' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:261: error: use of enum 'SolverResult' without previous declaration PointerTracking.cpp:261: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp: In function 'int checkLimits(const llvm::SCEV*, const llvm::SCEV*, llvm::BasicBlock*)': PointerTracking.cpp:266: error: 'Unknown' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:269: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:271: error: non-member function 'void getPointerOffset(llvm::Value*, llvm::Value*&, const llvm::SCEV*&, const llvm::SCEV*& )' cannot have cv-qualifier PointerTracking.cpp: In function 'void getPointerOffset(llvm::Value*, llvm::Value*&, const llvm::SCEV*&, const llvm::SCEV*&)': PointerTracking.cpp:274: error: 'TD' was not declared in this scope PointerTracking.cpp:282: error: 'SE' was not declared in this scope PointerTracking.cpp: At global scope: PointerTracking.cpp:289: error: 'PointerTracking' is not a class or namespace PointerTracking.cpp:289: error: non-member function 'void print(llvm::raw_ostream&, const llvm::Module*)' cannot have cv-qualifier PointerTracking.cpp: In function 'void print(llvm::raw_ostream&, const llvm::Module*)': PointerTracking.cpp:292: error: 'PT' was not declared in this scope PointerTracking.cpp:292: error: expected type-specifier before 'PointerTracking' PointerTracking.cpp:292: error: expected `>' before 'PointerTracking' PointerTracking.cpp:292: error: expected `(' before 'PointerTracking' PointerTracking.cpp:292: error: expected primary-expression before '>' token PointerTracking.cpp:292: error: invalid use of 'this' in non-member function PointerTracking.cpp:292: error: expected `)' before ';' token PointerTracking.cpp:293: error: 'FF' was not declared in this scope PointerTracking.cpp:311: error: use of enum 'SolverResult' without previous declaration PointerTracking.cpp:311: error: invalid type in declaration before '=' token PointerTracking.cpp:313: error: 'AlwaysTrue' was not declared in this scope PointerTracking.cpp:316: error: 'AlwaysFalse' was not declared in this scope PointerTracking.cpp:319: error: 'Unknown' was not declared in this scope ClamBCRTChecks.cpp:264: error: ISO C++ forbids declaration of 'PointerTracking' with no type ClamBCRTChecks.cpp:264: error: expected ';' before '*' token ClamBCRTChecks.cpp: In member function 'virtual bool::PtrVerifier::runOnFunction(llvm::Function&)': ClamBCRTChecks.cpp:130: error: 'PT' was not declared in this scope ClamBCRTChecks.cpp:130: error: 'PointerTracking' was not declared in this scope ClamBCRTChecks.cpp:130: error: no matching function for call to '::PtrVerifier::getAnalysis()' ClamBCRTChecks.cpp: In member function 'virtual void::PtrVerifier::getAnalysisUsage(llvm::AnalysisUsage&) const': ClamBCRTChecks.cpp:258: error: 'PointerTracking' was not declared in this scope ClamBCRTChecks.cpp:258: error: no matching function for call to 'llvm::AnalysisUsage::addRequired()' ClamBCRTChecks.cpp: In member function 'llvm::Value*::PtrVerifier::getPointerBounds(llvm::Value*)': ClamBCRTChecks.cpp:400: error: 'PT' was not declared in this scope gmake[5]: *** [libclamavcxx_la-PointerTracking.lo] Помилка 1 gmake[5]: *** Очікування завершення завдань... gmake[5]: *** [libclamavcxx_la-ClamBCRTChecks.lo] Помилка 1 gmake[5]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav/c++" gmake[4]: *** [all] Помилка 2 gmake[4]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav/c++" gmake[3]: *** [all-recursive] Помилка 1 gmake[3]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav" gmake[2]: *** [all] Помилка 2 gmake[2]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2/libclamav" gmake[1]: *** [all-recursive] Помилка 1 gmake[1]: Залишаю каталог "/tmp/ports/usr/ports/security/clamav/work/clamav-0.97.2" gmake: *** [all] Помилка 2 *** Error code 1 Stop in /usr/ports/security/clamav. >How-To-Repeat: Try to build port with that option. >Fix: None. >Release-Note: >Audit-Trail: >Unformatted: