From owner-freebsd-amd64@FreeBSD.ORG Fri May 4 16:00:24 2012 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 825E11065670 for ; Fri, 4 May 2012 16:00:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 448698FC18 for ; Fri, 4 May 2012 16:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q44G0OSa043817 for ; Fri, 4 May 2012 16:00:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q44G0O0k043815; Fri, 4 May 2012 16:00:24 GMT (envelope-from gnats) Resent-Date: Fri, 4 May 2012 16:00:24 GMT Resent-Message-Id: <201205041600.q44G0O0k043815@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erich Prinz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A79541065680 for ; Fri, 4 May 2012 15:51:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 92AF98FC08 for ; Fri, 4 May 2012 15:51:52 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q44FpqBk034239 for ; Fri, 4 May 2012 15:51:52 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q44FppLM034238; Fri, 4 May 2012 15:51:51 GMT (envelope-from nobody) Message-Id: <201205041551.q44FppLM034238@red.freebsd.org> Date: Fri, 4 May 2012 15:51:51 GMT From: Erich Prinz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 04 May 2012 19:21:57 +0000 Cc: Subject: amd64/167582: Compile of MySQL NDB Cluster Fails 8.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 16:00:24 -0000 >Number: 167582 >Category: amd64 >Synopsis: Compile of MySQL NDB Cluster Fails 8.2 AMD64 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 04 16:00:23 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Erich Prinz >Release: 8.2 >Organization: BPI Systems >Environment: FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 >Description: 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 >Fix: >Release-Note: >Audit-Trail: >Unformatted: