From owner-freebsd-questions@freebsd.org Sun Mar 19 05:13:54 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76400D13354 for ; Sun, 19 Mar 2017 05:13:54 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D053FC7A for ; Sun, 19 Mar 2017 05:13:51 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v2J4tTUX093800 for ; Sun, 19 Mar 2017 05:55:30 +0100 (CET) (envelope-from bah@bananmonarki.se) To: "freebsd-questions@freebsd.org" From: Bernt Hansson Subject: port build error (kicad) Message-ID: Date: Sun, 19 Mar 2017 05:55:29 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2017 05:13:54 -0000 Hello list! Machine: 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Trying to build cad/kicad-devel but no cigar. ===> Found saved configuration for kicad-devel-r20170224025915 ===> kicad-devel-r20170224025915 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by kicad-devel-r20170224025915 for building ===> Extracting for kicad-devel-r20170224025915 => SHA256 Checksum OK for kicad/kicad-r20170224025915.tar.bz2. ===> Patching for kicad-devel-r20170224025915 ===> Applying FreeBSD patches for kicad-devel-r20170224025915 ===> kicad-devel-r20170224025915 depends on file: /usr/local/include/glm/glm.hpp - found ===> kicad-devel-r20170224025915 depends on executable: update-desktop-database - found ===> kicad-devel-r20170224025915 depends on executable: update-mime-database - found ===> kicad-devel-r20170224025915 depends on file: /usr/local/bin/cmake - found ===> kicad-devel-r20170224025915 depends on executable: msgfmt - found ===> kicad-devel-r20170224025915 depends on file: /usr/local/bin/python2.7 - found ===> kicad-devel-r20170224025915 depends on package: libGL>0 - found ===> kicad-devel-r20170224025915 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found ===> kicad-devel-r20170224025915 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found ===> kicad-devel-r20170224025915 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found ===> kicad-devel-r20170224025915 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found ===> kicad-devel-r20170224025915 depends on shared library: libboost_thread.so - found (/usr/local/lib/libboost_thread.so) ===> kicad-devel-r20170224025915 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> kicad-devel-r20170224025915 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> kicad-devel-r20170224025915 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> kicad-devel-r20170224025915 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so) ===> kicad-devel-r20170224025915 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> kicad-devel-r20170224025915 depends on shared library: libGLEW.so - found (/usr/local/lib/libGLEW.so) ===> kicad-devel-r20170224025915 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> kicad-devel-r20170224025915 depends on shared library: libwx_baseu-3.0.so - found (/usr/local/lib/libwx_baseu-3.0.so) ===> Configuring for kicad-devel-r20170224025915 ===> Performing in-source build /bin/mkdir -p /usr/ports/cad/kicad-devel/work/kicad-r20170224025915 -- The C compiler identification is Clang 3.4.1 -- The CXX compiler identification is Clang 3.4.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /usr/local/share/cmake/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeTmp Run Build Command:"/usr/local/bin/gmake" "cmTC_0f933/fast" gmake[2]: Entering directory '/usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeTmp' /usr/local/bin/gmake -f CMakeFiles/cmTC_0f933.dir/build.make CMakeFiles/cmTC_0f933.dir/build gmake[3]: Entering directory '/usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0f933.dir/testCCompiler.c.o /usr/bin/cc -O2 -pipe -fstack-protector -fno-strict-aliasing -o CMakeFiles/cmTC_0f933.dir/testCCompiler.c.o -c /usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_0f933 /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0f933.dir/link.txt --verbose=1 /usr/bin/cc -O2 -pipe -fstack-protector -fno-strict-aliasing CMakeFiles/cmTC_0f933.dir/testCCompiler.c.o -o cmTC_0f933 /usr/bin/ld: cannot find -lgcc_s cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [CMakeFiles/cmTC_0f933.dir/build.make:98: cmTC_0f933] Error 1 gmake[3]: Leaving directory '/usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeTmp' gmake[2]: *** [Makefile:126: cmTC_0f933/fast] Error 2 gmake[2]: Leaving directory '/usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeTmp' CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:32 (project) -- Configuring incomplete, errors occurred! See also "/usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeOutput.log". See also "/usr/ports/cad/kicad-devel/work/kicad-r20170224025915/CMakeFiles/CMakeError.log". *** Error code 1 Stop. make[1]: stopped in /usr/ports/cad/kicad-devel *** Error code 1 Stop. make: stopped in /usr/ports/cad/kicad-devel