Created attachment 364116 [details] build.log dev-util/cmake-2.8.12.1-r1 fails to build on amd64-fbsd with the following error: cd /var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1_build/Source/kwsys && /usr/bin/x86_64-gentoo-freebsd9.1-g++ -DKWSYS_NAMESPACE=cmsys -DKWSYS_CXX_HAS_ATOL=1 -DKWSYS_CXX_HAS_ATOLL=1 -DKWSYS_IOS_HAS_OSTREAM_LONG_LONG=1 -DKWSYS_SYSTEMINFORMATION_HAS_BACKTRACE=1 -DKWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE=1 -DKWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP=1 -DKWSYS_SYS_HAS_IFADDRS_H=1 -DKWSYS_USE_LONG_LONG=1 -DSIZEOF_VOID_P=8 -DNDEBUG -O2 -pipe -march=btver1 -I/var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1_build/Source -I/var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1_build/Source/kwsys -o CMakeFiles/cmsys.dir/SystemInformation.cxx.o -c /var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1/Source/kwsys/SystemInformation.cxx /var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1/Source/kwsys/SystemInformation.cxx: In member function ‘std::string cmsys::{anonymous}::SymbolProperties::Demangle(const char*) const’: /var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1/Source/kwsys/SystemInformation.cxx:1460:5: error: ‘abi’ has not been declared abi::__cxa_demangle(symbol, buffer, &bufferLen, &status); ^ /var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1/Source/kwsys/SystemInformation.cxx: In member function ‘void cmsys::{anonymous}::SymbolProperties::Initialize(void*)’: /var/tmp/portage/dev-util/cmake-2.8.12.1-r1/work/cmake-2.8.12.1/Source/kwsys/SystemInformation.cxx:1478:3: error: ‘Dl_info’ was not declared in this scope Dl_info info; ^ This is a regression from 2.8.11.2, which builds fine.
Would you try this patch ? http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/8244 And, fixed in upstream. http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=6eab64c3 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c01e7445 I was confirm that it can build on amd64-fbsd (10.0_beta3).
@bsd please confirm that the patch is working
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes. + + 21 Aug 2014; Johannes Huber <johu@gentoo.org> +cmake-2.8.12.2-r2.ebuild, + +files/cmake-2.8.12.2-fbsd.patch, +files/cmake-2.8.12.2-python34.patch: + Revision bump adds two upstreams patches. Fix build on fbsd spotted by Yuta + SATOH <nigoro@gentoo.gr.jp>, bug #492758. Fix finding Python 3.4 spotted by + Jonas Jelten <jonas.jelten@gmail.com>, bug #519522. +