Kapil Arya created MESOS-1707:
---------------------------------

             Summary: bootstrap fails on MAC OS X with Apple's default libtool
                 Key: MESOS-1707
                 URL: https://issues.apache.org/jira/browse/MESOS-1707
             Project: Mesos
          Issue Type: Bug
          Components: build
    Affects Versions: 0.21.0
         Environment: OS: MAC OS X 10.9.4
MESOS git sha: c010c5c938165d7ed8213c6b27bf891a0026a56e

$:~/work/mesos> autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
$:~/work/mesos> automake --version
automake (GNU automake) 1.14.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later 
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <[email protected]>
       and Alexandre Duret-Lutz <[email protected]>.
$:~/work/mesos> libtool -V
Apple Inc. version cctools-855
$:~/work/mesos> 

            Reporter: Kapil Arya


bootstrap fails with the default Apple libtool. It succeeds if I install gnu 
libtool and create aliases for libtool and libtoolize to glibtool and 
glibtoolize respectively.

Here is the output of ./bootstrap:

$:~/work/mesos> ./bootstrap 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --warnings=all -I m4
autoreconf: configure.ac: tracing
configure.ac:45: warning: back quotes and double quotes must not be escaped in: 
unrecognized option: $[1]
configure.ac:45: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:45: the top level
configure.ac:45: warning: back quotes and double quotes must not be escaped in: 
unrecognized argument: $[1]
configure.ac:45: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:45: the top level
configure.ac:391: warning: cannot check for file existence when cross compiling
../../lib/autoconf/general.m4:2791: AC_CHECK_FILE is expanded from...
configure.ac:391: the top level
configure.ac:518: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/lang.m4:128: AC_LANG_SAVE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:518: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:518: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:518: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:845: warning: The macro `AC_PYTHON_DEVEL' is obsolete.
configure.ac:845: You should run autoupdate.
m4/ax_python_devel.m4:72: AC_PYTHON_DEVEL is expanded from...
configure.ac:845: the top level
autoreconf: configure.ac: adding subdirectory 3rdparty/libprocess to autoreconf
autoreconf: Entering directory `3rdparty/libprocess'
configure.ac:29: warning: back quotes and double quotes must not be escaped in: 
unrecognized option: $[1]
configure.ac:29: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: back quotes and double quotes must not be escaped in: 
unrecognized argument: $[1]
configure.ac:29: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:29: the top level
configure.ac:402: warning: cannot check for file existence when cross compiling
../../lib/autoconf/general.m4:2791: AC_CHECK_FILE is expanded from...
configure.ac:402: the top level
configure.ac:504: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/lang.m4:128: AC_LANG_SAVE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
autoreconf: configure.ac: adding subdirectory 3rdparty/stout to autoreconf
autoreconf: Entering directory `3rdparty/stout'
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --warnings=all
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --no-force --warnings=all
autoreconf: Leaving directory `3rdparty/stout'
autoreconf: running: glibtoolize --copy
configure.ac:29: warning: back quotes and double quotes must not be escaped in: 
unrecognized option: $[1]
configure.ac:29: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: back quotes and double quotes must not be escaped in: 
unrecognized argument: $[1]
configure.ac:29: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:29: the top level
configure.ac:402: warning: cannot check for file existence when cross compiling
../../lib/autoconf/general.m4:2791: AC_CHECK_FILE is expanded from...
configure.ac:402: the top level
configure.ac:504: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/lang.m4:128: AC_LANG_SAVE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
configure.ac:504: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:504: You should run autoupdate.
../../lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:504: the top level
3rdparty/Makefile.am:73: warning: source file '$(RY_HTTP_PARSER)/http_parser.c' 
is in a subdirectory,
3rdparty/Makefile.am:73: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding 
output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same 
subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/base64_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/bytes_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/cache_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/duration_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/dynamiclibrary_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/error_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/flags_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/gzip_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/hashmap_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/hashset_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/interval_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/json_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/linkedhashmap_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/main.cpp' is in 
a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/multimap_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/net_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/none_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/option_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/os_tests.cpp' is 
in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/protobuf_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/protobuf_tests.pb.cc' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/os/sendfile_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/os/signals_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/set_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/some_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/strings_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/subcommand_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file 
'$(STOUT)/tests/thread_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:145: warning: source file '$(STOUT)/tests/uuid_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:145: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:179: warning: source file '$(STOUT)/tests/proc_tests.cpp' 
is in a subdirectory,
3rdparty/Makefile.am:179: but option 'subdir-objects' is disabled
3rdparty/Makefile.am:179: warning: source file 
'$(STOUT)/tests/os/setns_tests.cpp' is in a subdirectory,
3rdparty/Makefile.am:179: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/http.cpp' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/latch.cpp' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/metrics/metrics.cpp' is in a 
subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/pid.cpp' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/process.cpp' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/reap.cpp' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/subprocess.cpp' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/timeseries.cpp' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/decoder_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/encoder_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/http_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/io_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/main.cpp' is in a subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/mutex_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/metrics_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/owned_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/process_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/queue_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/reap_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/sequence_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/shared_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/statistics_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/subprocess_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/system_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/timeseries_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
Makefile.am:90: warning: source file 'src/tests/time_tests.cpp' is in a 
subdirectory,
Makefile.am:90: but option 'subdir-objects' is disabled
autoreconf: Leaving directory `3rdparty/libprocess'
configure.ac:45: warning: back quotes and double quotes must not be escaped in: 
unrecognized option: $[1]
configure.ac:45: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:45: the top level
configure.ac:45: warning: back quotes and double quotes must not be escaped in: 
unrecognized argument: $[1]
configure.ac:45: Try \`$[0] --help' for more information.
m4/libtool.m4:694: LT_OUTPUT is expanded from...
configure.ac:45: the top level
configure.ac:391: warning: cannot check for file existence when cross compiling
../../lib/autoconf/general.m4:2791: AC_CHECK_FILE is expanded from...
configure.ac:391: the top level
configure.ac:518: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/lang.m4:128: AC_LANG_SAVE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:518: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:518: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:518: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:518: You should run autoupdate.
../../lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from...
m4/acx_pthread.m4:363: ACX_PTHREAD is expanded from...
configure.ac:518: the top level
configure.ac:845: warning: The macro `AC_PYTHON_DEVEL' is obsolete.
configure.ac:845: You should run autoupdate.
m4/ax_python_devel.m4:72: AC_PYTHON_DEVEL is expanded from...
configure.ac:845: the top level
autoreconf: Leaving directory `.'




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to