From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 15:30:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCA98A14 for ; Fri, 6 Feb 2015 15:30:16 +0000 (UTC) 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 26BDB99 for ; Fri, 6 Feb 2015 15:30:14 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id t16FU3sC074662; Fri, 6 Feb 2015 16:30:04 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <54D4DDFB.9080201@bananmonarki.se> Date: Fri, 06 Feb 2015 16:30:03 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: mike@reifenberger.com, Ben Woods Subject: Re: Error building cad/kicad-devel References: <54D033FE.1000103@bananmonarki.se> <54D08BF3.8020307@bananmonarki.se> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 15:30:16 -0000 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)