port build error (kicad)
Bernt Hansson
bah at bananmonarki.se
Sun Mar 19 05:13:54 UTC 2017
Hello list!
Machine:
10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016
root at 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
More information about the freebsd-questions
mailing list