Created attachment 150271 [details] patch for mysql55-server or mysql56-server The port fails on armv6: /wrkdirs/usr/ports/databases/mysql55-server/work/mysql-5.5.40/sql/mysqld.cc:167:19: error: cannot combine with previous 'type-name' declaration specifier typedef fp_except fp_except_t; mysql currently uses the deprecated FPU control interface (fpsetmask) that is not available on ARM (and other arch, see r226607 for details). fedisableexception is available on ARM, so use that on this platform. It can be applied on other (all) arch but I don't know the consequences of such a change. to apply the attached patch: cd /usr/ports/databases/mysql55-server patch < /path/to/patch The same patch can be applied to databases/mysql56-server build logs: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/mysql55-server-5.5.41.log http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/mysql56-server-5.6.22.log
Auto-assigned to maintainer ale@FreeBSD.org
http://tasty.ysv.freebsd.org/build.html?mastername=11-armv6-11-armv6-ports&build=2014-12-31_19h13m56s looks good here. lets commit this.
A commit references this bug: Author: sbruno Date: Thu Jan 1 22:41:58 UTC 2015 New revision: 376033 URL: https://svnweb.freebsd.org/changeset/ports/376033 Log: For ARMv6, declare FPSETMASK 0 and FEDISABLEEXCEPT 1. This allows mysql server to build on ARMv6. No need to bump portrevision for everyone else here as this only affects ARM users. PR: 195750 Submitted by: mikael.urankar@gmail.com Approved by: mentor (implicit) Changes: head/databases/mysql55-server/Makefile head/databases/mysql55-server/files/extra-patch-config.h.cmake head/databases/mysql56-server/Makefile head/databases/mysql56-server/files/extra-patch-config.h.cmake