Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 13:12:14 GMT
From:      Edwin Culp<eculp@encontacto.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113253: Can't compile mysql51-client on Current but compiles on 6.2 stable.Q
Message-ID:  <200706021312.l52DCEZ5080928@www.freebsd.org>
Resent-Message-ID: <200706021320.l52DK3Jj097026@freefall.freebsd.org>

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

>Number:         113253
>Category:       ports
>Synopsis:       Can't compile mysql51-client on Current but compiles on 6.2 stable.Q
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 02 13:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Culp
>Release:        Today's Current 7.0
>Organization:
N/A
>Environment:
FreeBSD bafirst.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu May 31 18:07:42 CDT 2007     root@bafirst.com:/usr/obj/usr/src/sys/ENCONTACTO  i386
>Description:
Can't compile mysql51 on the last two port upgrades.  Fails with:

if c++ -DUNDEF_THREADS_HACK  -DDEFAULT_MYSQL_HOME="\"/usr/local\""  -DDATADIR="\"/var/db/mysql\"" -I. -I. -I.. -I../include  -I../include  -I../regex       -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT mysql.o -MD -MP -MF ".deps/mysql.Tpo" -c -o mysql.o mysql.cc;  then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi
mysql.cc: In function 'void print_table_data(MYSQL_RES*)':
mysql.cc:2361: error: 'max' was not declared in this scope
mysql.cc:2363: error: 'max' was not declared in this scope
mysql.cc:2384: error: 'min' was not declared in this scope
*** Error code 1

Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.19-beta/client.
*** Error code 1

>How-To-Repeat:
cd /usr/ports/databases/mysql51-client
make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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