Bug 167582

Summary: Compile of MySQL NDB Cluster Fails 8.2 AMD64
Product: Base System Reporter: Erich Prinz <erich.freebsd>
Component: amd64Assignee: Mark Linimon <linimon>
Status: Closed Overcome By Events    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Erich Prinz 2012-05-04 17:00:23 UTC
Compilation fails with the following output:

/usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: In member function 'void Qmgr::execAPI_VERSION_REQ(Signal*)':
/usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:3694: error: 'class ApiVersionConf' has no member named '__inet_addr'
/usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:3700: error: 'class ApiVersionConf' has no member named '__inet_addr'


Following the instructions from a post on building NDB Cluster 7.2, cmake finishes happily but the compile fails here. An earlier post in MySQL bug back in March came back with "likely an OS issue" so posting the bug report here.

This occurs every machine I've tested (all identical and now the 5th machine.)

How-To-Repeat: 1. Install cmake from ports.
2. DL and unpack mysql-cluster-gpl-7.2.5
3. cmake -DBUILD_CONFIG=mysql_release -DMYSQL_DATADIR=/usr/db/mysql -DINSTALL_MANDIR=/usr/local/man -DINSTALL_SBINDIR=/usr/local/libexec -DINSTALL_MYSQLSHAREDIR=/usr/local/share/mysql -DINSTALL_SCRIPTDIR=/usr/local/bin -DINSTALL_LIBDIR=/usr/local/lib/mysql -DINSTALL_INCLUDEDIR=/usr/local/include/mysql -DINSTALL_BINDIR=/usr/local/bin .
4. make install

It will fail at:  [ 55%] Building CXX object storage/ndb/src/kernel/blocks/CMakeFiles/ndbblocks.dir/qmgr/QmgrMain.cpp.o
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:58 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2018-05-31 15:48:28 UTC
Unfortunately this PR was never addressed before these versions of FreeBSD went out of support.  Sorry.

If this is still a problem, please open a new PR.  Thanks.