[Bug 195750] New: [PATCH] databases/mysql55-server fails to build on arm

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 6 17:18:33 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195750

            Bug ID: 195750
           Summary: [PATCH] databases/mysql55-server fails to build on arm
           Product: Ports Tree
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale at FreeBSD.org
          Reporter: mikael.urankar at gmail.com
                CC: sbruno at FreeBSD.org
          Assignee: ale at FreeBSD.org
             Flags: maintainer-feedback?(ale at FreeBSD.org)

Created attachment 150271
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150271&action=edit
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

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer ale at FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list