Bug #42646 compilation error: make[3]: *** [install-data-local] Killed
Submitted: 6 Feb 2009 12:42 Modified: 27 Apr 2018 11:48
Reporter: Venky P Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:5.1.30 OS:Linux
Assigned to: CPU Architecture:Any

[6 Feb 2009 12:42] Venky P
Description:

Environment:
  OS: Linux 192.168.70.55 2.6.25-14.fc9.x86_64 #1 SMP Thu May 1 06:06:21 EDT 
      2008 x86_64 x86_64 x86_64 GNU/Linux

  Mysql:  mysql-5.1.30 source 

  openssl: OpenSSL 0.9.8g 19 Oct 2007

I am trying to compile mysql with openssl on fedore core 9(64 bit). Afere make command, typed "make install"........getting compilation error like

Making install in mysql-test
make[1]: Entering directory `/usr/local/mysql-5.1.30/mysql-test'
Making install in ndb
make[2]: Entering directory `/usr/local/mysql-5.1.30/mysql-test/ndb'
make[3]: Entering directory `/usr/local/mysql-5.1.30/mysql-test/ndb'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/mysql-test/ndb" || /bin/mkdir -p "/usr/local/mysql/mysql-test/ndb"
 /usr/bin/install -c -m 644 'ndb_config_2_node.ini' '/usr/local/mysql/mysql-test/ndb/ndb_config_2_node.ini'
 /usr/bin/install -c -m 644 'ndb_config_1_node.ini' '/usr/local/mysql/mysql-test/ndb/ndb_config_1_node.ini'
test -z "/usr/local/mysql/mysql-test/ndb" || /bin/mkdir -p "/usr/local/mysql/mysql-test/ndb"
 /usr/bin/install -c 'ndbcluster' '/usr/local/mysql/mysql-test/ndb/ndbcluster'
make[3]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test/ndb'
make[2]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test/ndb'
make[2]: Entering directory `/usr/local/mysql-5.1.30/mysql-test'
make[3]: Entering directory `/usr/local/mysql-5.1.30/mysql-test'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh /usr/local/mysql-5.1.30/install-sh -d \
                /usr/local/mysql/mysql-test/t \
                /usr/local/mysql/mysql-test/extra/binlog_tests \
                /usr/local/mysql/mysql-test/extra/rpl_tests \
                /usr/local/mysql/mysql-test/r \
                /usr/local/mysql/mysql-test/include \
                /usr/local/mysql/mysql-test/std_data \
                /usr/local/mysql/mysql-test/std_data/ndb_backup50 \
                /usr/local/mysql/mysql-test/std_data/ndb_backup51 \
                /usr/local/mysql/mysql-test/std_data/ndb_backup51_data_be \
                /usr/local/mysql/mysql-test/std_data/ndb_backup51_data_le \
                /usr/local/mysql/mysql-test/std_data/parts \
                /usr/local/mysql/mysql-test/lib \
                /usr/local/mysql/mysql-test/std_data/funcs_1 \
                /usr/local/mysql/mysql-test/lib/My
/usr/bin/install -c -m 644 ./README /usr/local/mysql/mysql-test
/usr/bin/install -c -m 644 ./t/*.def /usr/local/mysql/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.test /usr/local/mysql/mysql-test/t
make[3]: *** [install-data-local] Killed
make[3]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test'
make: *** [install-recursive] Error 1

Regards,
--Venki

How to repeat:
cd /usr/local
groupadd mysql
useradd -g mysql mysql
gunzip < mysql-5.1.30.tar.gz | tar -xvf -
cd mysql-5.1.30
./configure --prefix=/usr/local/mysql --with-ssl=/usr/lib64/openssl
make
make install

Suggested fix:
I don't have any idea.
[12 Feb 2009 17:11] Sveta Smirnova
Thank you for the report.

I can not repeat described behavior, although I get many errors like "make[3]: [install-data-local] Error 1 (ignored)". Please provide ouput of make --version
[13 Feb 2009 4:15] Venky P
The output of make --version

GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-redhat-linux-gnu
[14 Feb 2009 18:49] Sveta Smirnova
Thank you for the feedback. Please also provide output of  `make -d install`  and `make -p -f /dev/null`
[16 Feb 2009 8:30] Venky P
output of make -p -f /dev/null

Attachment: devNullOutput.txt (text/plain), 23.64 KiB.

[16 Feb 2009 8:32] Venky P
output of "make -d install"

 Finished prerequisites of target file `install-data-local'.
  Must remake target `install-data-local'.
/bin/sh /usr/local/mysql-5.1.30/install-sh -d \
                /usr/local/mysql/mysql-test/t \
                /usr/local/mysql/mysql-test/extra/binlog_tests \
                /usr/local/mysql/mysql-test/extra/rpl_tests \
                /usr/local/mysql/mysql-test/r \
                /usr/local/mysql/mysql-test/include \
                /usr/local/mysql/mysql-test/std_data \
                /usr/local/mysql/mysql-test/std_data/ndb_backup50 \
                /usr/local/mysql/mysql-test/std_data/ndb_backup51 \
                /usr/local/mysql/mysql-test/std_data/ndb_backup51_data_be \
                /usr/local/mysql/mysql-test/std_data/ndb_backup51_data_le \
                /usr/local/mysql/mysql-test/std_data/parts \
                /usr/local/mysql/mysql-test/lib \
                /usr/local/mysql/mysql-test/std_data/funcs_1 \
                /usr/local/mysql/mysql-test/lib/My
Putting child 0x020e8c00 (install-data-local) PID 13403 on the chain.
Live child 0x020e8c00 (install-data-local) PID 13403
Reaping winning child 0x020e8c00 PID 13403
/usr/bin/install -c -m 644 ./README /usr/local/mysql/mysql-test
Live child 0x020e8c00 (install-data-local) PID 13404
Reaping winning child 0x020e8c00 PID 13404
/usr/bin/install -c -m 644 ./t/*.def /usr/local/mysql/mysql-test/t
Live child 0x020e8c00 (install-data-local) PID 13405
Reaping winning child 0x020e8c00 PID 13405
/usr/bin/install -c -m 644 ./t/*.test /usr/local/mysql/mysql-test/t
Live child 0x020e8c00 (install-data-local) PID 13406
Reaping losing child 0x020e8c00 PID 13406
make[3]: *** [install-data-local] Killed
Removing child 0x020e8c00 PID 13406 from chain.
make[3]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test'
Reaping losing child 0x0192f160 PID 13402
make[2]: *** [install-am] Error 2
Removing child 0x0192f160 PID 13402 from chain.
make[2]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test'
Reaping losing child 0x01beca00 PID 13376
make[1]: *** [install-recursive] Error 1
Removing child 0x01beca00 PID 13376 from chain.
make[1]: Leaving directory `/usr/local/mysql-5.1.30/mysql-test'
Reaping losing child 0x01377690 PID 10363
make: *** [install-recursive] Error 1
Removing child 0x01377690 PID 10363 from chain.
[17 Feb 2009 11:29] Sveta Smirnova
Thank you for the feedback.

Everything looks similar to my environment.

Please also send output of `ls -la mysql-test/t` and Makefile located in mysql-test directory inside MySQL src directory.
[17 Feb 2009 11:37] Venky P
output of `ls -la mysql-test/t`

Attachment: mysql-test.out (text/plain), 57.03 KiB.

[17 Feb 2009 20:02] Sveta Smirnova
Thank you for the feedback.

Please send also Makefile from mysql-test directory.
[18 Feb 2009 8:31] Venky P
Makefile from mysql-test directory

Attachment: Makefile (text/plain), 31.59 KiB.

[21 Feb 2009 11:19] Sveta Smirnova
Thank you for the feedback.

I still can not get what is wrong.

Please try with current version 5.1.31 and if problem still exists check also value of environment variable MAKEFLAGS. Probably `make -k` allow you to install MySQL.
[22 Mar 2009 0:00] 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".
[27 Apr 2018 11:48] Yngve Svendsen
Posted by developer:
 
Obsolete MySQL version and not reproducible.