My system is FreeBSD amd64 10.1-release-p1. I used base default compiler clang 3.4.1 and later I tried lang/gcc compiler, I got the same error info. ..... Linking C executable ../../bin/tire Scanning dependencies of target rttherm [ 95%] Built target tire [ 95%] Building C object src/libged/CMakeFiles/libged-static.dir/who.c.o [ 95%] Building C object src/rttherm/CMakeFiles/rttherm.dir/spectrum.c.o [ 95%] Building CXX object src/conv/step/CMakeFiles/step-g.dir/RationalBezierCurve.cpp.o [ 95%] Building C object src/rttherm/CMakeFiles/rttherm.dir/viewtherm.c.o [ 95%] Building C object src/libged/CMakeFiles/libged-static.dir/wmater.c.o [ 95%] Building C object src/libged/CMakeFiles/libged-static.dir/xpush.c.o Scanning dependencies of target libtclcad [ 95%] Building C object src/libtclcad/CMakeFiles/libtclcad.dir/tclcad.c.o In file included from /usr/ports/cad/brlcad/work/brlcad-7.24.0/src/libtclcad/tclcad.c:32:0: /usr/local/include/tk8.6/tk.h:21:3: error: #error Tk 8.6 must be compiled with tcl.h from Tcl 8.6 or better # error Tk 8.6 must be compiled with tcl.h from Tcl 8.6 or better ^ --- src/libtclcad/CMakeFiles/libtclcad.dir/tclcad.c.o --- *** [src/libtclcad/CMakeFiles/libtclcad.dir/tclcad.c.o] Error code 1 make[3]: stopped in /usr/ports/cad/brlcad/work/.build Linking C executable ../../bin/rttherm 1 error make[3]: stopped in /usr/ports/cad/brlcad/work/.build --- src/libtclcad/CMakeFiles/libtclcad.dir/all --- *** [src/libtclcad/CMakeFiles/libtclcad.dir/all] Error code 2 make[2]: stopped in /usr/ports/cad/brlcad/work/.build [ 95%] Building C object src/libged/CMakeFiles/libged-static.dir/ypr.c.o A failure has been detected in another branch of the parallel make make[3]: stopped in /usr/ports/cad/brlcad/work/.build --- src/libged/CMakeFiles/libged-static.dir/all --- *** [src/libged/CMakeFiles/libged-static.dir/all] Error code 2 make[2]: stopped in /usr/ports/cad/brlcad/work/.build A failure has been detected in another branch of the parallel make make[3]: stopped in /usr/ports/cad/brlcad/work/.build --- src/rttherm/CMakeFiles/rttherm.dir/all --- *** [src/rttherm/CMakeFiles/rttherm.dir/all] Error code 2 make[2]: stopped in /usr/ports/cad/brlcad/work/.build A failure has been detected in another branch of the parallel make make[3]: stopped in /usr/ports/cad/brlcad/work/.build --- src/conv/step/CMakeFiles/step-g.dir/all --- *** [src/conv/step/CMakeFiles/step-g.dir/all] Error code 2 make[2]: stopped in /usr/ports/cad/brlcad/work/.build 4 errors make[2]: stopped in /usr/ports/cad/brlcad/work/.build *** [all] Error code 2 make[1]: stopped in /usr/ports/cad/brlcad/work/.build 1 error make[1]: stopped in /usr/ports/cad/brlcad/work/.build ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/cad/brlcad
Maintainer CC'd
I change the default version of tcl and tk. Add this line to /etc/make.conf: DEFAULT_VERSIONS= tcltk=8.5 Then I compiler brlcad normally. But I have to recompile all ports depending on tcl86 and tk86. Thanks Committer.
This is a problem local the submitter. The port specifies tk85: USES= tar:bzip2 bison pathfix cmake:outsource pkgconfig tk:85 The submitter probably had tk86 on his system already or something like that. Building in poudriere would have resulted in success, as well as using the provide binary packages. Portsmon says there's no issue with FreeBSD 10 too: http://portsmon.freebsd.org/portoverview.py?category=cad&portname=brlcad So I'm closing the PR. (Poudriere is your friend if you want to build from source)