Bug #3606 error in slave.cc causes 4.1.2-alpha build to fail on OS X Panther 10.3.3
Submitted: 30 Apr 2004 1:47 Modified: 30 Apr 2004 10:42
Reporter: Gene Diveglia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:4.1.2-alpha OS:MacOS (OS X 10.3.3 Panther)
Assigned to: Sergei Golubchik CPU Architecture:Any

[30 Apr 2004 1:47] Gene Diveglia
Description:
Both bitkeeper and the nightly build from 4/29 fail to build on OS X Panther 10.3.3 with a compiler 
error in slave.cc.  See below for build trace:

Making all in sql
make  all-recursive
Making all in share
make[4]: Nothing to be done for `all'.
if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" 
-DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../
include -I../regex -I.     -O3 -DDBUG_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti 
-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE 
-DSIGNALS_DONT_BREAK_READ -MT slave.o -MD -MP -MF ".deps/slave.Tpo" \
  -c -o slave.o `test -f 'slave.cc' || echo './'`slave.cc; \
then mv -f ".deps/slave.Tpo" ".deps/slave.Po"; \
else rm -f ".deps/slave.Tpo"; exit 1; \
fi
slave.cc: In function `int queue_old_event(MASTER_INFO*, const char*, long 
   unsigned int)':
slave.cc:3534: error: assignment of read-only location
slave.cc:3534: error: assignment of read-only location
slave.cc:3534: error: assignment of read-only location
slave.cc:3534: error: assignment of read-only location
make[4]: *** [slave.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

How to repeat:
./configure --with-innodb --with-vio --enable-thread-safe-client
make
[30 Apr 2004 10:42] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

fixed, thanks