Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 19:59:03 GMT
From:      Klaus Mayr <klaus@mayr-software.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/152249: build error in mysql 5.5.7 on FreeBSD 6.x
Message-ID:  <201011141959.oAEJx3sC015743@www.freebsd.org>
Resent-Message-ID: <201011142000.oAEK0IZK004601@freefall.freebsd.org>

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

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011141959.oAEJx3sC015743>