Error building cad/kicad-devel

Bernt Hansson bah at bananmonarki.se
Fri Feb 6 15:30:16 UTC 2015


On 2015-02-05 19:50, mike at reifenberger.com wrote:
> Am 2015-02-03 23:15, schrieb Ben Woods:
>> Ahh yes, on amd64 it appears to be working on FreeBSD 10, but failing
>> on FreeBSD 9 and FreeBSD 8 with linking issues. The logs can be seen
>> here:
>> http://beefy2.isc.freebsd.org/data/latest-per-pkg/kicad-devel/r5363_8/
>> [1]
> 
> The build errors here (for 8.4 and 9.3) indicate that parts of the
> dependent c++ libraries got compiled with a different c++ compiler.
> Unfortunately currently I have no clue how to solve this (forcing the
> use of the same compiler for all packages)
> 
> 
>> On i386 it again appears to be working on FreeBSD 10, but failing ok
>> FreeBSD 9 and FreeBSD 8, this time with "error: call to 'abs' is
>> ambiguous. The logs can be seen here:
>> http://beefy1.isc.freebsd.org/data/latest-per-pkg/kicad-devel/r5363_8/
>> [2]
>>
> 
> The error here for the i386 versions seems to be a missing clang++
> implementation of the std::abs() Operator for int64_t values.
> Other SW seems to be affected too...

The build error I'm getting is this, don't know if it helps.

Linking CXX static library libgal.a
cd /usr/ports/cad/kicad-devel/work/kicad-r5363/common &&
/usr/local/bin/cmake -P CMakeFiles/gal.dir/cmake_clean_target.cmake
cd /usr/ports/cad/kicad-devel/work/kicad-r5363/common &&
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/gal.dir/link.txt
--verbose=1
/usr/bin/ar cr libgal.a  CMakeFiles/gal.dir/draw_panel_gal.cpp.o
CMakeFiles/gal.dir/painter.cpp.o
CMakeFiles/gal.dir/worksheet_viewitem.cpp.o
CMakeFiles/gal.dir/gal/graphics_abstraction_layer.cpp.o
CMakeFiles/gal.dir/gal/stroke_font.cpp.o
CMakeFiles/gal.dir/gal/color4d.cpp.o
CMakeFiles/gal.dir/view/wx_view_controls.cpp.o
CMakeFiles/gal.dir/geometry/hetriang.cpp.o
CMakeFiles/gal.dir/gal/opengl/opengl_gal.cpp.o
CMakeFiles/gal.dir/gal/opengl/shader.cpp.o
CMakeFiles/gal.dir/gal/opengl/vertex_item.cpp.o
CMakeFiles/gal.dir/gal/opengl/vertex_container.cpp.o
CMakeFiles/gal.dir/gal/opengl/cached_container.cpp.o
CMakeFiles/gal.dir/gal/opengl/noncached_container.cpp.o
CMakeFiles/gal.dir/gal/opengl/vertex_manager.cpp.o
CMakeFiles/gal.dir/gal/opengl/gpu_manager.cpp.o
CMakeFiles/gal.dir/gal/opengl/opengl_compositor.cpp.o
CMakeFiles/gal.dir/gal/cairo/cairo_gal.cpp.o
CMakeFiles/gal.dir/gal/cairo/cairo_compositor.cpp.o
/usr/bin/ranlib libgal.a
/usr/local/bin/cmake -E cmake_progress_report
/usr/ports/cad/kicad-devel/work/kicad-r5363/CMakeFiles  61 62
[ 54%] Built target gal
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/cad/kicad-devel.
*** [stage] Error code 1

Stop in /usr/ports/cad/kicad-devel.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20150206-90729-agllmw env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=kicad-devel-r5104_8 UPGRADE_PORT_VER=r5104_8 make
DEPENDS_TARGET=package
** Fix the problem and try again.
--->  Build of cad/kicad-devel ended at: Fri, 06 Feb 2015 15:41:19 +0100
(consumed 00:16:30)


More information about the freebsd-questions mailing list