With recent port update to kicad-devel using revision r4886, compilation fails with: cd /usr/ports/cad/kicad-devel/work/kicad-r4886/common && /usr/bin/c++ -DHAVE_STDINT_H -DKICAD_KEEPCASE -DUSE_OPENMP -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_THREAD_SAFE -D__WXGTK__ -I/usr/local/include -Wall -O2 -pipe -fno-strict-aliasing -fopenmp -fPIC -Wno-strict-aliasing -pthread -O2 -DNDEBUG -I/usr/ports/cad/kicad-devel/work/kicad-r4886/include -I/usr/ports/cad/kicad-devel/work/kicad-r4886/common/. -isystem /usr/local/lib/wx/include/gtk2-unicode-release-2.8 -isystem /usr/local/include/wx-2.8 -I/usr/ports/cad/kicad-devel/work/kicad-r4886/common/./dialogs -I/usr/ports/cad/kicad-devel/work/kicad-r4886/common/./dialog_about -I/usr/local/include/cairo -I/usr/local/include -I/usr/ports/cad/kicad-devel/work/kicad-r4886/common/../3d-viewer -I/usr/ports/cad/kicad-devel/work/kicad-r4886/common/../pcbnew -I/usr/ports/cad/kicad-devel/work/kicad-r4886/common/../polygon -I/usr/ports/cad/kicad-devel/work/kicad-r4886/boost_root/include -I/usr/ports/cad/kicad-devel/work/kicad -r4886 -o CMakeFiles/common.dir/math/math_util.cpp.o -c /usr/ports/cad/kicad-devel/work/kicad-r4886/common/math/math_util.cpp /usr/ports/cad/kicad-devel/work/kicad-r4886/common/math/math_util.cpp: In function 'T rescale(T, T, T) [with T = int64_t]': /usr/ports/cad/kicad-devel/work/kicad-r4886/common/math/math_util.cpp:49: error: call of overloaded 'abs(int64_t&)' is ambiguous /usr/include/c++/4.2/cmath:89: note: candidates are: double std::abs(double) /usr/include/c++/4.2/cmath:93: note: float std::abs(float) /usr/include/c++/4.2/cmath:97: note: long double std::abs(long double) /usr/include/stdlib.h:83: note: int abs(int) /usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int) /usr/ports/cad/kicad-devel/work/kicad-r4886/common/math/math_util.cpp:50: error: call of overloaded 'abs(int64_t&)' is ambiguous /usr/include/c++/4.2/cmath:89: note: candidates are: double std::abs(double) /usr/include/c++/4.2/cmath:93: note: float std::abs(float) /usr/include/c++/4.2/cmath:97: note: long double std::abs(long double) /usr/include/stdlib.h:83: note: int abs(int) /usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int) /usr/ports/cad/kicad-devel/work/kicad-r4886/common/math/math_util.cpp:51: error: call of overloaded 'abs(int64_t&)' is ambiguous /usr/include/c++/4.2/cmath:89: note: candidates are: double std::abs(double) /usr/include/c++/4.2/cmath:93: note: float std::abs(float) /usr/include/c++/4.2/cmath:97: note: long double std::abs(long double) /usr/include/stdlib.h:83: note: int abs(int) /usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int) How-To-Repeat: svn update ports tree. Build kicad-devel on FreeBSD-9.2 STABLE (running svn revision r261812 here).
Responsible Changed From-To: freebsd-ports-bugs->mr Over to maintainer (via the GNATS Auto Assign Tool)
Should be fixed in the meantime by my last updates.