Bug #31803 BUILD/autorun.sh fails on netware/Makefile
Submitted: 24 Oct 2007 1:09 Modified: 9 Nov 2007 15:20
Reporter: Nicklas Westerlund (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1.22rc OS:Any (Linux, Mac OSX)
Assigned to: Joerg Bruehe CPU Architecture:Any

[24 Oct 2007 1:09] Nicklas Westerlund
Description:
$sh BUILD/autorun.sh 
netware/Makefile.am:46: BUILT_SOURCES multiply defined in condition HAVE_NETWARE_TRUE

  BUILT_SOURCES (User, where = netware/Makefile.am:46) =
  {
    HAVE_NETWARE_TRUE => link_sources init_db.sql test_db.sql
  }
netware/Makefile.am:47: CLEANFILES multiply defined in condition HAVE_NETWARE_TRUE
  CLEANFILES (User, where = netware/Makefile.am:47) =
  {
    HAVE_NETWARE_TRUE => $(BUILT_SOURCES)
  }
Can't execute automake

How to repeat:
get clean copy of .22rc, and try to run BUILD/autorun.sh

Suggested fix:
Remove the duplicate definition. Then compiles nicely.
[25 Oct 2007 7:48] Sveta Smirnova
Thank you for the report.

Verified as described.
[1 Nov 2007 4:11] John David Duncan
This problem is also present in all of the -telco trees on mysql.bkbits.net
[1 Nov 2007 16:39] John David Duncan
See also bug#32035
[9 Nov 2007 15:20] Joerg Bruehe
Thanks for the report.

I had encountered this message myself,
and on Oct 30 I committed the below change to version 5.1.

I had not created a bug report for it, and was not aware of this one,
so the changeset doesn't contain a bug number and will not be mentioned in the manual.

It is present in the current 5.1 main tree (got pushed already)
and will be contained in version 5.1.23 when we build that.

diff -Nrup a/netware/Makefile.am b/netware/Makefile.am
--- a/netware/Makefile.am	2007-08-28 02:33:52 +02:00
+++ b/netware/Makefile.am	2007-10-30 20:06:46 +01:00
@@ -56,9 +56,6 @@ link_sources:
 	done
 	echo timestamp > link_sources
 
-BUILT_SOURCES =                 link_sources
-CLEANFILES = 			$(BUILT_SOURCES)
-
 else
 
 BUILT_SOURCES =                 libmysql.imp init_db.sql test_db.sql