Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2015 16:30:03 +0100
From:      Bernt Hansson <bah@bananmonarki.se>
To:        mike@reifenberger.com, Ben Woods <woodsb02@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Error building cad/kicad-devel
Message-ID:  <54D4DDFB.9080201@bananmonarki.se>
In-Reply-To: <ad9308bb0b3a419573e824a32bcd6a77@reifenberger.com>
References:  <54D033FE.1000103@bananmonarki.se> <CAOc73CDEsqXTnUfQkr_9U8i0qpW=DgnzH4rVV0Rgndc_PtohMg@mail.gmail.com> <54D08BF3.8020307@bananmonarki.se> <CAOc73CBWpCDc3aGk5LMc%2B_T4mkDi8rjWDioqGKH=6TAks_uuAg@mail.gmail.com> <ad9308bb0b3a419573e824a32bcd6a77@reifenberger.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2015-02-05 19:50, mike@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D4DDFB.9080201>