misc/152249: build error in mysql 5.5.7 on FreeBSD 6.x
Klaus Mayr
klaus at mayr-software.net
Sun Nov 14 20:00:20 UTC 2010
>Number: 152249
>Category: misc
>Synopsis: build error in mysql 5.5.7 on FreeBSD 6.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 14 20:00:18 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Klaus Mayr
>Release: 6.2 / 6.4
>Organization:
Mayr Software & Netzwerke
>Environment:
FreeBSD 6.2-RELEASE #0 Fri Jan 12 11:05:30 UTC 2007 i386
(or on a second machine)
FreeBSD 6.4-STABLE #3 Sun Sep 13 21:58:53 CEST 2009 amd64
>Description:
I tried upgrading the mysql-server port to the latest version on my
root servers.
While doing a "portupgrade -R mysql-server" from 5.5.6 to 5.5.7
during the compile process "Making all in auth" there is an error
"unrecognized option "-Wno-pointer-sign"
all versions prior to 5.5.6 built without problems on this machines.
>How-To-Repeat:
cd /usr/ports/databases/mysql55-server; make
>Fix:
This problem only occurs on FreeBSD 6.2 and 6.4.
To fix (or workaround):
- edit work/mysql-[version]/plugin/auth/Makefile
- remove "-Wno-pointer-sign" from the AM_CPPFLAGS line
- finish compiling and install
***
Problem may come from an slightly outdated gcc version in 6.x ...
Maybe its time to upgrade more than just this port and its dependencies ... ;-)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list