From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 23 13:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4747F338 for ; Wed, 23 Oct 2013 13:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 257B92C90 for ; Wed, 23 Oct 2013 13:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9ND01j2031994 for ; Wed, 23 Oct 2013 13:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9ND00jA031993; Wed, 23 Oct 2013 13:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 23 Oct 2013 13:00:00 GMT Resent-Message-Id: <201310231300.r9ND00jA031993@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, Chess Griffin Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1F52611A for ; Wed, 23 Oct 2013 12:49:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0C8692C00 for ; Wed, 23 Oct 2013 12:49:56 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9NCnt6Z016661 for ; Wed, 23 Oct 2013 12:49:55 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9NCntAB016653; Wed, 23 Oct 2013 12:49:55 GMT (envelope-from nobody) Message-Id: <201310231249.r9NCntAB016653@oldred.freebsd.org> Date: Wed, 23 Oct 2013 12:49:55 GMT From: Chess Griffin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183238: graphics/opencv-core fails to build due to linking error with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 13:00:01 -0000 >Number: 183238 >Category: ports >Synopsis: graphics/opencv-core fails to build due to linking error with clang >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: Wed Oct 23 13:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Chess Griffin >Release: 9.2-RELEASE >Organization: >Environment: FreeBSD fbsdsrvr 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I use poudriere-devel and during a run of package building, opencv-core failed with this error in the log: ===> Returning to build of opencv-core-2.3.1_8 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for opencv-core-2.3.1_8 ===> Performing in-source build /bin/mkdir -p /wrkdirs/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1 -- The C compiler identification is Clang 3.3.0 -- The CXX compiler identification is Clang 3.3.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- broken CMake Error at /usr/local/share/cmake/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: /wrkdirs/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1817079940/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1817079940.dir/build.make CMakeFiles/cmTryCompileExec1817079940.dir/build /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1817079940.dir/testCXXCompiler.cxx.o /usr/bin/clang++ -O2 -pipe -fno-strict-aliasing -stdlib=libc++ -Wno-error -Wno-c++11-narrowing -std=c++11 -o CMakeFiles/cmTryCompileExec1817079940.dir/testCXXCompiler.cxx.o -c /wrkdirs/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTryCompileExec1817079940 /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1817079940.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -pipe -fno-strict-aliasing -stdlib=libc++ -Wno-error -Wno-c++11-narrowing -std=c++11 CMakeFiles/cmTryCompileExec1817079940.dir/testCXXCompiler.cxx.o -o cmTryCompileExec1817079940 /usr/bin/ld: cannot find -lc++ clang++: error: linker command failed with exit code 1 (use -v to see invocation) *** [cmTryCompileExec1817079940] Error code 1 Stop in /wrkdirs/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/CMakeFiles/CMakeTmp. *** [cmTryCompileExec1817079940/fast] Error code 1 Stop in /wrkdirs/usr/ports/graphics/opencv-core/work/OpenCV-2.3.1/CMakeFiles/CMakeTmp. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:40 (project) -- Configuring incomplete, errors occurred! *** [do-configure] Error code 1 Stop in /usr/ports/graphics/opencv-core. ===> Cleaning for opencv-core-2.3.1_8 build of /usr/ports/graphics/opencv-core ended at Wed Oct 23 08:39:32 EDT 2013 >How-To-Repeat: Build opencv-core on poudriere 9.2-RELEASE jail. >Fix: >Release-Note: >Audit-Trail: >Unformatted: