Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 17:31:30 +0800
From:      John Elder <johnsstephenelder@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   About Cant build packages memcached && mysql56
Message-ID:  <CA%2B2R0XN3E2g2ZpetAp%2BU2w47jhzvSct7tNfw4XZoKw9cBMuYRw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
# cd /usr/ports/databases/memcached && make install clean
===>  Building for memcached-1.4.15
/usr/bin/make  all-recursive
Making all in doc
/usr/bin/make  all-am
cc -DHAVE_CONFIG_H -I.  -DNDEBUG -I/usr/local/include  -O -pipe
-fstack-protector -std=c99 -pthread -Wall -Werror -pedantic
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT
memcached-items.o -MD -MP -MF .deps/memcached-items.Tpo -c -o
memcached-items.o `test -f 'items.c' || echo './'`items.c
items.c:402:24: error: format specifies type 'unsigned long' but the
argument has type 'long long' [-Werror,-Wformat]
                       (unsigned long)it->exptime + process_started);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/databases/memcached/work/memcached-1.4.15
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/databases/memcached/work/memcached-1.4.15
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/databases/memcached/work/memcached-1.4.15
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/memcached
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/memcached
==========================================================

cd /usr/ports/databases/mysql56-server/ && make install clean
1 warning generated.
[ 76%] Building CXX object sql/CMakeFiles/sql.dir/events.cc.o
In file included from
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/sql/events.cc:18:
In file included from
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/sql/unireg.h:20:
In file included from
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h>
which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
 ^
1 warning generated.
[ 76%] Building CXX object sql/CMakeFiles/sql.dir/mysqld.cc.o
In file included from
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/sql/mysqld.cc:16:
In file included from
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h>
which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
 ^
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/sql/mysqld.cc:190:19:
error: cannot combine with previous 'type-name' declaration specifier
typedef fp_except fp_except_t;
                  ^
/usr/include/machine/ieeefp.h:51:21: note: expanded from macro 'fp_except_t'
#define fp_except_t     int
                        ^
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/sql/mysqld.cc:190:1:
warning: typedef requires a name [-Wmissing-declarations]
typedef fp_except fp_except_t;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/databases/mysql56-server/work/mysql-5.6.14/sql/mysqld.cc:228:3:
error: use of undeclared identifier 'fpsetmask'; did you mean 'sigsetmask'?
  fpsetmask(~(FP_X_INV |             FP_X_OFL | FP_X_UFL | FP_X_DZ |
  ^~~~~~~~~
  sigsetmask
/usr/include/signal.h:119:5: note: 'sigsetmask' declared here
int     sigsetmask(int);
        ^
2 warnings and 2 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/databases/mysql56-server/work/mysql-5.6.14
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/databases/mysql56-server/work/mysql-5.6.14
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mysql56-server/work/mysql-5.6.14
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql56-server

How to solve this problem?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B2R0XN3E2g2ZpetAp%2BU2w47jhzvSct7tNfw4XZoKw9cBMuYRw>