Bug #7157 make clean bug in mysql 4.1.7, 4.1.8
Submitted: 10 Dec 2004 8:39 Modified: 27 Jan 2005 15:54
Reporter: Sergey Naletov Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.1.7, 4.1.8 OS:FreeBSD (FreeBSD 5.2.1)
Assigned to: CPU Architecture:Any

[10 Dec 2004 8:39] Sergey Naletov
Description:
make clean deletes *.pem files  in mysql-test/std_data/ . If you will run make after that it will produce errors - "Do not know how to make client-key.pem". So, compilation stops.
 

How to repeat:
make clean
make
[10 Dec 2004 23:43] Hartmut Holzgraefe
Couldn't reproduce this on Linux, 
./mysql-test/std_data/client-key.pem is removed by "make clean"
but make runs just fine and after it is done client-key.pem has
been recreated in ./mysql-test/std_data
[11 Dec 2004 18:47] Sergey Naletov
Ok, then more information: 
It was runned on FreeBSD 5.2.1 and mysql source was taken from http://www.freebsd.org/cgi/pds.cgi?ports/databases/mysql41-server
Configure options:
./configure --with-tcp-port=3308 --with-unix-socket-path=/tmp/mysql-4.1.7.sock \
 --prefix=/usr/local/mysql-4.1.7 --without-innodb --without-man --without-docs \
 --enable-assembler --enable-thread-safe-client \
 --with-charset=cp1251 --with-extra-charsets=complex
[27 Dec 2004 12:59] Sergey Naletov
make clean bug still present in 4.1.8 source distribution.
>make clean
>./configure \
 --with-tcp-port=3308 --with-unix-socket-path=/tmp/mysql-4.1.7.sock \
 --prefix=/usr/local/mysql-4.1.7 --without-innodb --without-man --without-docs \
 --enable-assembler --with-mysqld-ldflags=-all-static
>make -s
---------------------------
Making all in mysql-test
make: don't know how to make std_data/client-key.pem. Stop
*** Error code 1
 
Stop in /usr/work/src/mysql-4.1.8/mysql-test.
*** Error code 1
 
Stop in /usr/work/src/mysql-4.1.8.
*** Error code 1
 
Stop in /usr/work/src/mysql-4.1.8.
---------------------------

OS FreeBSD 5.2.1 . openssl-0.9.7d_1 installed.
[27 Dec 2004 14:04] Sergei Golubchik
Did you try with GNU make ?
All mysql-xxx FreeBSD ports (check e.g.
/usr/ports/databases/mysql41-server/Makefile) have
"USE_GMAKE= yes" for a reason.
[27 Dec 2004 15:54] Sergey Naletov
indeed! With gnu make all compiles just fine. 
Thanks!
[14 Feb 2005 22:54] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".