Bug #36492 make dist and make install fails
Submitted: 4 May 2008 11:39 Modified: 17 Dec 2008 16:10
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.0-bk, 5.1-bk, 6.0-bk OS:Linux
Assigned to: Hakan Küçükyılmaz CPU Architecture:Any

[4 May 2008 11:39] Hakan Küçükyılmaz
Description:
make dist fails with latest 6.0 main tree.

How to repeat:
BUILD/compile-dist
make dist
...
...
...

make[2]: Entering directory `/home/hakan/work/mysql/mysql-6.0/mysql-test/ndb'
make[2]: Leaving directory `/home/hakan/work/mysql/mysql-6.0/mysql-test/ndb'
make  \
          top_distdir="/home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha" distdir="/home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test" \
          dist-hook
make[2]: Entering directory `/home/hakan/work/mysql/mysql-6.0/mysql-test'
mkdir -p \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/extra/binlog_tests \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/extra/rpl_tests \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/r \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/include \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup50 \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51 \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_dd \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_data_be \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_data_le \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_d2_be \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_d2_le \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/parts \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/lib \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/funcs_1 \
                /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/lib/My
/usr/bin/install -c -m 644 ./t/*.def /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.test /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.imtest /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t
/usr/bin/install: cannot stat `./t/*.imtest': No such file or directory
make[2]: [dist-hook] Error 1 (ignored)
/usr/bin/install -c -m 644 ./t/*.sql /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.disabled /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t
/usr/bin/install: cannot stat `./t/*.disabled': No such file or directory
make[2]: [dist-hook] Error 1 (ignored)
/usr/bin/install -c -m 644 ./t/*.opt ./t/*.slave-mi /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t
/usr/bin/install: cannot stat `./t/*.slave-mi': No such file or directory
make[2]: [dist-hook] Error 1 (ignored)
/usr/bin/install -c ./t/*.sh /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/t
/usr/bin/install -c -m 644 ./extra/binlog_tests/*.test /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/extra/binlog_tests
/usr/bin/install -c -m 644 ./extra/rpl_tests/*.test /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/extra/rpl_tests
/usr/bin/install -c -m 644 ./extra/binlog_tests/*.opt /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/extra/binlog_tests
/usr/bin/install: cannot stat `./extra/binlog_tests/*.opt': No such file or directory
make[2]: [dist-hook] Error 1 (ignored)
/usr/bin/install -c -m 644 ./extra/rpl_tests/*.opt /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/extra/rpl_tests
/usr/bin/install: cannot stat `./extra/rpl_tests/*.opt': No such file or directory
make[2]: [dist-hook] Error 1 (ignored)
/usr/bin/install -c -m 644 ./include/*.inc /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/include
/usr/bin/install -c -m 644 ./include/*.sql /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/include
/usr/bin/install -c -m 644 ./include/*.test /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/include
/usr/bin/install -c -m 644 ./r/*.result ./r/*.require /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/r
/usr/bin/install -c -m 644 ./std_data/Moscow_leap /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/Index.xml /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.dat ./std_data/*.000001 /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/des_key_file /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.pem /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.frm /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.MY* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.cnf /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.txt /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/ndb_backup50/BACKUP* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup50
/usr/bin/install -c -m 644 ./std_data/ndb_backup51/BACKUP* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51
/usr/bin/install -c -m 644 ./std_data/ndb_backup51_dd/BACKUP* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_dd
/usr/bin/install -c -m 644 ./std_data/ndb_backup51_data_be/BACKUP* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_data_be
/usr/bin/install -c -m 644 ./std_data/ndb_backup51_data_le/BACKUP* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_data_le
/usr/bin/install -c -m 644 ./std_data/ndb_backup51_d2_be/BACKUP* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_d2_be
/usr/bin/install -c -m 644 ./std_data/ndb_backup51_d2_le/BACKUP* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/ndb_backup51_d2_le
/usr/bin/install -c -m 644 ./std_data/parts/part_* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/parts
/usr/bin/install -c -m 644 ./std_data/funcs_1/* /home/hakan/work/mysql/mysql-6.0/mysql-6.0.6-alpha/mysql-test/std_data/funcs_1
/usr/bin/install: omitting directory `./std_data/funcs_1/SCCS'
make[2]: *** [dist-hook] Error 1
make[2]: Leaving directory `/home/hakan/work/mysql/mysql-6.0/mysql-test'
make[1]: *** [distdir] Error 2
make[1]: Leaving directory `/home/hakan/work/mysql/mysql-6.0/mysql-test'
make: *** [distdir] Error 1
[5 May 2008 5:38] Satya B
I am also facing the same issue on linux(ubuntu 8.04)

just did bk clone.....
./BUILD/compile-pentium-debug
make install fails exactly with the error message reported above.
[5 May 2008 16:12] MySQL Verification Team
Thank you for the bug report.

/usr/bin/install: omitting directory `./std_data/funcs_1/SCCS'
make[2]: *** [dist-hook] Error 1
make[2]: Leaving directory `/home/miguel/dbs/mysql-6.0/mysql-test'
make[1]: *** [distdir] Error 2
make[1]: Leaving directory `/home/miguel/dbs/mysql-6.0/mysql-test'
make: *** [distdir] Error 1
miguel@hegel:~/dbs/mysql-6.0>
[17 May 2008 12:00] Hakan Küçükyılmaz
make install also fails.
[19 May 2008 19:23] Hakan Küçükyılmaz
This line breaks "make install"
mysql-test/Makefile.am

$(INSTALL_DATA) $(srcdir)/std_data/funcs_1/* $(DESTDIR)$(testdir)/std_data/funcs_1
[19 May 2008 19:30] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/46827

ChangeSet@1.2678, 2008-05-19 21:32:47+02:00, hakank@lu0011.(none) +1 -0
  Fix for Bug#36492 make dist and make install fails.
  Also fixed whitespace to have consistent usage of TAB.
[20 May 2008 13:32] Hakan Küçükyılmaz
5.0-bk and 5.1-bk are also affected.
[17 Jun 2008 7:19] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/47956

2639 Tatiana A. Nurnberg	2008-06-17
      Bug#36492: make dist and make install fails
      
      Ignore BitKeeper SCCS folders in make-dist
[17 Jun 2008 7:46] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/47959

2663 Tatiana A. Nurnberg	2008-06-17 [merge]
      Bug#36492: make dist and make install fails
      
      Ignore BitKeeper SCCS folders in make-dist
[17 Jun 2008 7:50] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/47960

2670 Tatiana A. Nurnberg	2008-06-17 [merge]
      Bug#36492: make dist and make install fails
      
      Ignore BitKeeper SCCS folders in make-dist
[17 Jun 2008 8:18] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/47965

2670 Tatiana A. Nurnberg	2008-06-17 [merge]
      Bug#36492: make dist and make install fails
      
      Ignore BitKeeper SCCS folders in make-dist
[28 Jul 2008 13:48] Bugs System
Pushed into 5.0.64  (revid:azundris@mysql.com-20080617073129-x4okiqtbgrlnb1bx) (pib:2)
(Retry automatic marking, to ensure nothing is missed. cm01)
[28 Jul 2008 16:49] Bugs System
Pushed into 5.1.27  (revid:joerg@mysql.com-20080626161101-h5hsaluwtf05xdr2) (version source revid:joerg@mysql.com-20080626161101-h5hsaluwtf05xdr2) (pib:3)
[28 Jul 2008 17:56] Paul DuBois
This problem does not affect released distributions. No 5.0.x/5.1.x changelog entry needed.

Setting report to Patch Queued pending push of fix into 6.0.x.
[17 Dec 2008 16:10] Hakan Küçükyılmaz
Patch is in 6.0.x