Can't run autorun.sh with tarball release on CentOS

Bug #526518 reported by Lee Bieber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Critical
Monty Taylor
Cherry
Fix Released
Critical
Monty Taylor

Bug Description

Ronald is not able to build with our latest tarball on his CentOS machine:

rbradfor: lbieber: I'm having make problems with latest build drizzle-2010.02.1304.tar.gz
[4:27pm] lbieber: rbradfor: what are you seeing?
[4:27pm] rbradfor: make[4]: Entering directory `/home/drizzle/src/drizzle-2010.02.1304/gnulib'
[4:27pm] rbradfor: if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -I/home/drizzle/deploy/include -pipe -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -DUNIV_LINUX -Wno-error -MT libgnu_la-dummy.lo -MD -MP -MF
[4:27pm] rbradfor: ".deps/libgnu_la-dummy.Tpo" -c -o libgnu_la-dummy.lo `test -f 'dummy.c' || echo './'`dummy.c; \
[4:27pm] rbradfor: then mv -f ".deps/libgnu_la-dummy.Tpo" ".deps/libgnu_la-dummy.Plo"; else rm -f ".deps/libgnu_la-dummy.Tpo"; exit 1; fi
[4:27pm] rbradfor: ../libtool: line 827: X--tag=CC: command not found
[4:27pm] rbradfor: ../libtool: line 860: libtool: ignoring unknown tag : command not found
[4:27pm] rbradfor: ../libtool: line 827: X--mode=compile: command not found
[4:29pm] lbieber: rbradfor: which versions of autoconf and automake?
[4:29pm] rbradfor: it's my centos box used for hudson
[4:30pm] rbradfor: autoconf 2.59/automake 1.9.6

Related branches

Changed in drizzle:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 2010-03-01
assignee: nobody → Monty Taylor (mordred)
Revision history for this message
Monty Taylor (mordred) wrote :

I have ssh'd in to dc1.onegreendog.com and done:

wget http://edge.launchpad.net/drizzle/cherry/2010-02-15/+download/drizzle-2010.02.1304.tar.gz
tar xvfz drizzle-2010.02.1304.tar.gz
cd drizzle-2010.02.1304
./configure
make

And all worked for me. Can you tell me steps on this box I can follow to reproduce the error?

Revision history for this message
Ronald Bradford (ronaldbradford) wrote :
Download full text (5.7 KiB)

The following are the steps to reproduce the problem

### SERVER

$ uname -a
Linux dc1.onegreendog.com 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$ hostname
dc1.onegreendog.com

### Drizzle Build
$ cd /home/drizzle/src
$ ls -l
total 8492
drwxr-xr-x 13 drizzle drizzle 4096 Feb 19 19:21 drizzle-2010.02.1304
-rw-rw-r-- 1 drizzle drizzle 7175788 Feb 19 17:35 drizzle-2010.02.1304.tar.gz
...
$ cd drizzle-2010.02.1304
$ ./config/autorun.sh
$ ./configure --prefix=${HOME}/deploy

### Software Versions

$ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 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.
$ automake --version
automake (GNU automake) 1.9.6
Written by Tom Tromey <email address hidden>.

Copyright 2005 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.
$ 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

### BUILD ERROR

$ make
cd . && python config/pandora-plugin write
srcdir=. ./config/make-lint.py
 cd . && /bin/sh /home/drizzle/src/drizzle-2010.02.1304/config/missing --run automake-1.9 --foreign Makefile
 cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
srcdir=. ./config/make-lint.py
Making drizzled/configmake.h
make all-recursive
make[1]: Entering directory `/home/drizzle/src/drizzle-2010.02.1304'
srcdir=. ./config/make-lint.py
Making all in po
make[2]: Entering directory `/home/drizzle/src/drizzle-2010.02.1304/po'
make[2]: Leaving directory `/home/drizzle/src/drizzle-2010.02.1304/po'
Making all in gnulib
make[2]: Entering directory `/home/drizzle/src/drizzle-2010.02.1304/gnulib'
make all-recursive
make[3]: Entering directory `/home/drizzle/src/drizzle-2010.02.1304/gnulib'
make[4]: Entering directory `/home/drizzle/src/drizzle-2010.02.1304/gnulib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -I/home/drizzle/deploy/include -pipe -O3 -Werror -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -DUNIV_LINUX -Wno-error -MT libgnu_la-dummy.lo -MD -MP -MF ".deps/libgnu_la-dummy.Tpo" -c -o libgnu_la-dummy.lo `test -f 'dummy.c' || echo './'`dummy.c; \
 then mv -f ".deps/libgnu_la-dummy.Tpo" ".deps/libgnu_la-dummy.Plo"; else rm -f ".deps/libgnu_la-dummy.Tpo"; exit 1; fi
../libtool: line 827: X--tag=CC: command not found
../libtool: line 860: libtool: ignoring unknown tag : command not found
../libtool: line 827: X--mode=compile: command not found
../libtoo...

Read more...

Revision history for this message
Ronald Bradford (ronaldbradford) wrote :
Download full text (9.1 KiB)

Download of drizzle-2010.03.1317.tar.gz produces same error.
Exact commands executed:

 1001 cd src
 1002 wget http://launchpad.net/drizzle/cherry/2010-03-01/+download/drizzle-2010.03.1317.tar.gz
 1003 tar xvfz drizzle-2010.03.1317.tar.gz
 1004 cd drizzle-2010.03.1317
 1005 config/autorun.sh
 1006 ./configure --prefix=${HOME}/deploy
 1007 make

Output

---
Configuration summary for drizzle version 2010.03.0 bzr-export

   * Installation prefix: /home/drizzle/deploy
   * System type: unknown-linux-gnu
   * Host CPU: x86_64
   * C Compiler: gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
   * C++ Compiler: g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
   * Build auth_pam: no
   * Assertions enabled: yes
   * Debug enabled: no
   * Profiling enabled: no
   * Coverage enabled: no
   * Warnings as failure: yes
   * C++ cstdint location: <stdint.h>
   * C++ hash_map location: <ext/hash_map>
   * C++ hash namespace: __gnu_cxx
   * C++ shared_ptr namespace:

---
[drizzle@dc1 drizzle-2010.03.1317]$ make
cd . && python config/pandora-plugin write
srcdir=. ./config/make-lint.py
Making drizzled/configmake.h
/usr/bin/gperf -D --initializer-suffix=,0 --struct-type --enum \
  --omit-struct-type --readonly-tables --language=C++ \
  --class-name=symbol_hash drizzled/symbol_hash.gperf > drizzled/symbol_hash.stamp-h
/usr/bin/gperf -D --initializer-suffix=,0 --struct-type --enum \
  --omit-struct-type --readonly-tables --language=C++ \
  --class-name=function_hash drizzled/function_hash.gperf > drizzled/function_hash.stamp-h
/usr/local/bin/protoc --proto_path=./drizzled/message:./drizzled/message \
  --cpp_out=./drizzled/message drizzled/message/schema.proto
/usr/local/bin/protoc --proto_path=./drizzled/message:./drizzled/message \
  --cpp_out=./drizzled/message drizzled/message/table.proto
/usr/local/bin/protoc --proto_path=./drizzled/message:./drizzled/message \
  --cpp_out=./drizzled/message drizzled/message/transaction.proto
/usr/local/bin/protoc --proto_path=./drizzled/message:./drizzled/message \
  --cpp_out=./drizzled/message drizzled/message/master_list.proto
make all-recursive
make[1]: Entering directory `/home/drizzle/src/drizzle-2010.03.1317'
cd . && python config/pandora-plugin write
srcdir=. ./config/make-lint.py
Making all in po
make[2]: Entering directory `/home/drizzle/src/drizzle-2010.03.1317/po'
make[2]: Leaving directory `/home/drizzle/src/drizzle-2010.03.1317/po'
Making all in gnulib
make[2]: Entering directory `/home/drizzle/src/drizzle-2010.03.1317/gnulib'
rm -f time.h-t time.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
   sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
       -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
       -e 's|@NEXT_TIME_H''@|<time.h>|g' \
       -e 's|@REPLACE_LOCALTIME_R''@|0|g' \
       -e 's|@REPLACE_MKTIME''@|GNULIB_PORTCHECK|g' \
       -e 's|@REPLACE_NANOSLEEP''@|GNULIB_PORTCHECK|g' \
       -e 's|@REPLACE_STRPTIME''@|GNULIB_PORTCHECK|g' \
       -e 's|@REPLACE_TIMEGM''@|0|g' \
       -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' ...

Read more...

Revision history for this message
Ronald Bradford (ronaldbradford) wrote :

 Repeating steps with a clean directory and NOT running config/autorun.sh provides a clean make.

Revision history for this message
Monty Taylor (mordred) wrote :

Running autorun.sh in a tarball is the thing which breaks it - probably means we're not shipping an m4 file.

summary: - Can't build with tarball 1304 release on CentOS
+ Can't run autorun.sh with tarball release on CentOS
Revision history for this message
Monty Taylor (mordred) wrote :

This is a libtool version conflict issue due to the very-old version of libtool on CentOS5. There is no need to run config/autorun.sh in tarball trees... so I'm removing it from the tarball dist.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.