Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2012 17:44:01 +0800
From:      Martin Wilke <miwi@FreeBSD.ORG>
To:        ports@FreeBSD.org
Cc:        Alex Dupre <ale@FreeBSD.org>, Martin Wilke <miwi@FreeBSD.ORG>
Subject:   mysql 5.5 fails to build.
Message-ID:  <EFA2259E-8470-4F96-B7C5-A98EFC31255C@FreeBSD.ORG>

next in thread | raw e-mail | index | archive | help

Hi,

I facing since a while on all my servers that mysql 5.5.20 fails to =
build. Have anyone of you seen something like that,

/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes =
<sys/timeb.h> which is deprecated"
[ 96%] Building CXX object sql/CMakeFiles/sql.dir/datadict.cc.o
[ 96%] Building CXX object sql/CMakeFiles/sql.dir/sql_reload.cc.o
[ 96%] Building CXX object sql/CMakeFiles/sql.dir/sql_truncate.cc.o
In file included from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/include/my=
_global.h:351,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/mysqld=
.h:19,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/handle=
r.h:29,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/datadi=
ct.h:18,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/datadi=
ct.cc:16:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes =
<sys/timeb.h> which is deprecated"
In file included from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/include/my=
_global.h:351,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/debug_=
sync.h:29,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/sql_tr=
uncate.cc:16:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes =
<sys/timeb.h> which is deprecated"
In file included from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/include/my=
_global.h:351,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/mysqld=
.h:19,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/sql_re=
load.cc:18:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes =
<sys/timeb.h> which is deprecated"
[ 96%] Building CXX object sql/CMakeFiles/sql.dir/sql_yacc.cc.o
[ 96%] Building CXX object sql/CMakeFiles/sql.dir/sql_builtin.cc.o
In file included from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/include/my=
_global.h:351,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/unireg=
.h:20,
                 from =
/export/home/pb2/build/sb_0-4575772-1324064860.06/mysql-5.5.20-release-bas=
ket-export_GPL-2891819/sql/sql_yacc.yy:41:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes =
<sys/timeb.h> which is deprecated"
[ 96%] Building C object sql/CMakeFiles/sql.dir/__/mysys/my_libwrap.c.o
In file included from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/include/my=
_global.h:351,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/mysys/my_l=
ibwrap.c:21:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes =
<sys/timeb.h> which is deprecated"
[ 96%] Building CXX object sql/CMakeFiles/sql.dir/sql_lex.cc.o
In file included from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/include/my=
_global.h:351,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/unireg=
.h:20,
                 from =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/sql/sql_le=
x.cc:21:
/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes =
<sys/timeb.h> which is deprecated"
Linking CXX static library libsql_embedded.a
[ 96%] Built target sql_embedded
[ 96%] Generating mysqlserver_depends.c
Scanning dependencies of target mysqlserver
[ 97%] Building C object =
libmysqld/CMakeFiles/mysqlserver.dir/mysqlserver_depends.c.o
Linking C static library libmysqld.a
ar: warning: creating =
/var/ports/usr/ports/databases/mysql55-server/work/mysql-5.5.20/libmysqld/=
libmysqld.a
[ 97%] Built target mysqlserver
Linking CXX static library libsql.a
[ 97%] Built target sql
Scanning dependencies of target mysqld
[ 97%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
Linking CXX executable mysqld
../storage/innobase/libinnobase.a(row0merge.c.o): In function =
`row_merge_write':
row0merge.c:(.text+0x571): undefined reference to `posix_fadvise'
../storage/innobase/libinnobase.a(row0merge.c.o): In function =
`row_merge_read':
row0merge.c:(.text+0x968): undefined reference to `posix_fadvise'
../storage/innobase/libinnobase.a(row0merge.c.o): In function =
`row_merge_build_indexes':
row0merge.c:(.text+0x1f08): undefined reference to `posix_fadvise'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/databases/mysql55-server.
*** Error code 1

In the tinderbox builds fine.


Some infos about the system =20

FreeBSD 9.0-STABLE #1 r229835: Mon Jan  9 04:11:49 CET 2012,=20
Filesystem is ZFS, and all mysql servers running in a jail.

Any idea?

- Martin







+-----------------oOO--(_)--OOo-------------------------+
With best Regards,
       Martin Wilke (miwi_(at)_FreeBSD.org)

Mess with the Best, Die like the Rest




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EFA2259E-8470-4F96-B7C5-A98EFC31255C>