Bug #51009 src build failure on SuSe (LT_INIT: command not found)
Submitted: 8 Feb 2010 21:18 Modified: 4 Aug 2010 22:43
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:mysql-5.1 OS:Linux (SuSe 64 bit)
Assigned to: Kent Boortz CPU Architecture:Any

[8 Feb 2010 21:18] Jonathan Miller
Description:
./configure: line 2354: LT_INIT: command not found
./configure: line 2355: syntax error near unexpected token `1.5.6'
./configure: line 2355: `LT_PREREQ(1.5.6)'

I started getting the above using BUILDS/compile-pentium-max when trying to build on SuSe 11 64 bit

I have also found that PB is getting this failure as well.

Seems to have started around 2010-02-04 11:28:50

NOTE: Affects Performance Testing of 5.1

How to repeat:
On SuSu 11 64 bit host
1) Pull mysql-5.1 clone
2) cd <clone root>
3) ./BUILD/compile-pentium-max
[9 Feb 2010 17:44] Kent Boortz
The libtool constructs LT_INIT and LT_PREREQ, not present until libtool 2.2 in 2008, was used. Most operating system distributions lacks such recent libtool, making the build from Bazaar break on most platforms.

Note that building from the source TAR is not affected (unless accidentally using the scripts in the BUILD directory), as the GNU autotools are already run when creating the source TAR, and the macros LT_INIT and LT_PREREQ already expanded to form the configure script and libtool command used during the build.

The changes to the initiation of GNU autotools was done to be able to specify USTAR as the default TAR standard to use when creating the source TAR. Reverting the libtool part to use the older construct AC_PROG_LIBTOOL doesn't affect the USTAR usage.

The change to revert to use AC_PROG_LIBTOOL is queued, pushed to mysql-5.1-bugteam and "mysql-pe", should be part of 5.1.45.
[9 Feb 2010 19:01] Valeriy Kravchuk
This is already fixed in mysql-trunk tree.
[15 Feb 2010 9:34] Daniel Fischer
Bug#51176 was marked as a duplicate of this bug.
[15 Feb 2010 11:27] 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/100346

3172 Luis Soares	2010-02-15
      Port of BUG#51009 fix into mysql-5.1-rep+2 tree.
      
      Fix was found here: http://tinyurl.com/yesanuv
[17 Feb 2010 17:40] 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/100654

3358 hery.ramilison@sun.com	2010-02-17
      configure.in
       - Changes to the banner text
       - Use older AC_PROG_LIBTOOL (Bug#51009)
      
      scripts/mysql_install_db.sh
       - Changes to banner text
[20 Feb 2010 9:31] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100220092844-jh07ayojyxn8uh9p) (version source revid:alik@sun.com-20100220091855-boh6agdphzqeihbe) (merge vers: 6.0.14-alpha) (pib:16)
[20 Feb 2010 9:33] Bugs System
Pushed into 5.5.3-m2 (revid:alik@sun.com-20100220092622-wvhh1vfy5tjq4mhu) (version source revid:alik@sun.com-20100220090917-vvr7g26xksiyyo1o) (merge vers: 5.5.3-m2) (pib:16)
[20 Feb 2010 9:36] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100220092730-paoo5t9gcajs5dq8) (version source revid:alik@sun.com-20100220091409-dehlhnkrprl3ow6l) (pib:16)
[26 Feb 2010 12:24] atyu30 atyu30
[root@wiki mysql-5.1.44]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
./configure: line 2349: LT_INIT: command not found
./configure: line 2350: syntax error near unexpected token `1.5.6'
./configure: line 2350: `LT_PREREQ(1.5.6)'
[1 Mar 2010 14:05] MC Brown
A note has been added to the 5.5.3 and 6.0.14 changelogs: 

        On some Unix/Linux platforms, an error during build from                                                                                           
        source could be produced, referring to a                                                                                                           
        missing <literal>LT_INIT</literal> program. This is due to                                                                                         
        versions of <command>libtool</command> 2.1 and earlier.
[12 Mar 2010 14:17] Bugs System
Pushed into 5.1.44-ndb-7.0.14 (revid:jonas@mysql.com-20100312135944-t0z8s1da2orvl66x) (version source revid:jonas@mysql.com-20100312115609-woou0te4a6s4ae9y) (merge vers: 5.1.44-ndb-7.0.14) (pib:16)
[12 Mar 2010 14:33] Bugs System
Pushed into 5.1.44-ndb-6.2.19 (revid:jonas@mysql.com-20100312134846-tuqhd9w3tv4xgl3d) (version source revid:jonas@mysql.com-20100312060623-mx6407w2vx76h3by) (merge vers: 5.1.44-ndb-6.2.19) (pib:16)
[12 Mar 2010 14:39] MC Brown
A note has been added to the 5.1.44-ndb-7.0.14 and 5.1.44-ndb-6.2.19
[12 Mar 2010 14:49] Bugs System
Pushed into 5.1.44-ndb-6.3.33 (revid:jonas@mysql.com-20100312135724-xcw8vw2lu3mijrhn) (version source revid:jonas@mysql.com-20100312103652-snkltsd197l7q2yg) (merge vers: 5.1.44-ndb-6.3.33) (pib:16)
[12 Mar 2010 15:42] MC Brown
No changelog entry needed.
[24 Mar 2010 8:14] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100324081249-yfwol7qtcek6dh7w) (version source revid:alik@sun.com-20100324081113-kc7x1iytnplww91u) (merge vers: 6.0.14-alpha) (pib:16)
[24 Mar 2010 8:17] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100324081159-5b8juv8ldiqwce8v) (version source revid:alik@sun.com-20100324081105-y72rautcea375zxm) (pib:16)
[25 Mar 2010 15:27] MC Brown
No changes to reported changelog versions, no changes required.
[4 Aug 2010 8:10] Bugs System
Pushed into mysql-trunk 5.6.1-m4 (revid:alik@ibmvm-20100804080001-bny5271e65xo34ig) (version source revid:alik@sun.com-20100324081105-y72rautcea375zxm) (merge vers: 5.6.99-m4) (pib:18)
[4 Aug 2010 8:25] Bugs System
Pushed into mysql-trunk 5.6.1-m4 (revid:alik@ibmvm-20100804081533-c1d3rbipo9e8rt1s) (version source revid:alik@sun.com-20100324081105-y72rautcea375zxm) (merge vers: 5.6.99-m4) (pib:18)
[4 Aug 2010 22:43] Paul DuBois
Bug does not appear in any released 5.6.x version.