Bug 152249

Summary: build error in databases/mysql55-server 5.5.7 on FreeBSD 6.x
Product: Ports & Packages Reporter: klaus
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description klaus 2010-11-14 20:00:18 UTC
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.

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 ... ;-)
How-To-Repeat: 
cd /usr/ports/databases/mysql55-server; make
Comment 1 Bruce Cran freebsd_committer freebsd_triage 2010-11-14 20:57:51 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

Ports PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-11-14 20:59:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2010-12-16 08:20:40 UTC
State Changed
From-To: open->closed

FreeBSD 6 is EOL.