Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492758 - dev-util/cmake-2.8.12.1-r1 fails to build on amd64-fbsd: SystemInformation.cxx:1460:5: error: ‘abi’ has not been declared
Summary: dev-util/cmake-2.8.12.1-r1 fails to build on amd64-fbsd: SystemInformation.cx...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 488214
  Show dependency tree
 
Reported: 2013-11-28 01:30 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2014-08-21 19:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,106.32 KB, text/plain)
2013-11-28 01:30 UTC, Chí-Thanh Christopher Nguyễn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-28 01:30:33 UTC
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.
Comment 1 Yuta SATOH 2013-11-29 19:55:58 UTC
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).
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-12-15 11:46:43 UTC
@bsd please confirm that the patch is working
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2014-08-21 19:44:01 UTC
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.
+