Subject: bug#15585: [GNU Libtool 2.4.2.409-12641] testsuite: 120 failed

From: Sonic84 <[email-masked]>
Date: Wed, 9 Oct 2013 23:01:25 -0700

I was trying to load libtool on my new fedora 19 box so I could install netatalk. I'm new to linux, so I hope this is the error log you need:

[root@fedora-local libtool]# ./bootstrap 
bootstrap: running: git clone --depth 365 'git://git.sv.gnu.org/gnulib.git' 'gnulib'
Cloning into 'gnulib'...
remote: Counting objects: 15546, done.
remote: Compressing objects: 100% (8287/8287), done.
remote: Total 15546 (delta 10923), reused 10176 (delta 7238)
Receiving objects: 100% (15546/15546), 7.99 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (10923/10923), done.
bootstrap: running: git submodule init
Submodule 'gnulib' (git://git.sv.gnu.org/gnulib.git) registered for path 'gnulib'
bootstrap: running: git submodule update
Submodule path 'gnulib': checked out '9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e'
bootstrap: running: gnulib/gnulib-tool --no-changelog --avoid=dummy --libtool --macro-prefix=GL --aux-dir=build-aux --m4-base=m4 --local-dir=gl --symlink --import announce-gen bootstrap...
Module list with included dependencies (indented):
  announce-gen
  bootstrap
  do-release-commit-and-tag
  extract-trace
    funclib.sh
  gendocs
  git-version-gen
  gitlog-to-changelog
  gnu-web-doc-update
    gnumakefile
  gnupload
  inline-source
  maintainer-makefile
  options-parser
  readme-release
  update-copyright
    useless-if-before-free
    vc-list-files
File list:
  build-aux/announce-gen
  build-aux/bootstrap.in
  build-aux/do-release-commit-and-tag
  build-aux/extract-trace
  build-aux/funclib.sh
  build-aux/gendocs.sh
  build-aux/git-version-gen
  build-aux/gitlog-to-changelog
  build-aux/gnu-web-doc-update
  build-aux/gnupload
  build-aux/inline-source
  build-aux/options-parser
  build-aux/update-copyright
  build-aux/useless-if-before-free
  build-aux/vc-list-files
  doc/gendocs_template
  m4/00gnulib.m4
  m4/gnulib-common.m4
  top/GNUmakefile
  top/README-release
  top/maint.mk
Creating directory ./lib
Copying file GNUmakefile
Copying file README-release
Copying file build-aux/announce-gen
Copying file build-aux/bootstrap.in
Copying file build-aux/do-release-commit-and-tag
Copying file build-aux/extract-trace
Copying file build-aux/funclib.sh
Copying file build-aux/gendocs.sh
Copying file build-aux/git-version-gen
Copying file build-aux/gitlog-to-changelog
Copying file build-aux/gnu-web-doc-update
Copying file build-aux/gnupload
Copying file build-aux/inline-source
Copying file build-aux/options-parser
Copying file build-aux/update-copyright
Copying file build-aux/useless-if-before-free
Copying file build-aux/vc-list-files
Copying file doc/gendocs_template
Copying file m4/00gnulib.m4
Copying file m4/gnulib-common.m4
Copying file m4/gnulib-tool.m4
Copying file maint.mk
Creating lib/Makefile.am
Creating m4/gnulib-cache.m4
Creating m4/gnulib-comp.m4
Creating ./lib/.gitignore
Finished.

You may need to add #include directives for the following .h files.

Don't forget to
  - add "lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
  - mention "lib" in SUBDIRS in Makefile.am,
  - mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
  - mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
  - invoke GL_EARLY in ./configure.ac, right after AC_PROG_CC,
  - invoke GL_INIT in ./configure.ac.
Copying file compile
Copying file install-sh
Copying file mdate-sh
Copying file texinfo.tex
Copying file depcomp
Copying file config.guess
Copying file config.sub
Copying file INSTALL
Copying file COPYING
Copying file fdl.texi
Copying file COPYING.LIB
bootstrap: running: make bootstrap-deps AM_DEFAULT_VERBOSITY=0 PACKAGE='libtool' PACKAGE_BUGREPORT=[email-masked]' PACKAGE_NAME='GNU Libtool' PACKAGE_URL='http://www.gnu.org/s/libtool/'...
  GEN      libltdl/Makefile.am
  GEN      build-aux/ltmain.sh
  GEN      m4/ltversion.m4
bootstrap: running: autoreconf --symlink --install .
configure.ac:91: installing 'build-aux/missing'
bootstrap: running: autoreconf --symlink --install libltdl
bootstrap: Done.  Now you can run './configure'.
[root@fedora-local libtool]# ./configure
## ----------------------------------- ##
## Configuring libtool 2.4.2.409-12641 ##
## ----------------------------------- ##

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: autobuild project... GNU Libtool
configure: autobuild revision... 2.4.2.409-12641
configure: autobuild hostname... fedora-local
configure: autobuild mode... default
configure: autobuild timestamp... 20131010T035614Z
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /usr/lib64/iscsi /usr/lib64/llvm /usr/lib64/tracker-0.16 /usr/lib64/xulrunner 
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for nagfor... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for nagfor... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking whether we are using the GNU Fortran compiler... no
checking whether  accepts -g... no
checking for gccgo... no
checking for gcj... no
checking for windres... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
[root@fedora-local libtool]# make
  GEN      libtoolize
make  all-recursive
make[1]: Entering directory `/home/sonic84/Downloads/libtool/libtool'
Making all in .
make[2]: Entering directory `/home/sonic84/Downloads/libtool/libtool'
test -f doc/.dirstamp || make  doc/.dirstamp
make[3]: Entering directory `/home/sonic84/Downloads/libtool/libtool'
make[3]: Leaving directory `/home/sonic84/Downloads/libtool/libtool'
Updating ./doc/version.texi
  MAKEINFO doc/libtool.info
  CC       libltdl/loaders/libltdl_libltdl_la-preopen.lo
  CC       libltdl/libltdl_libltdl_la-lt__alloc.lo
  CC       libltdl/libltdl_libltdl_la-lt_dlloader.lo
  CC       libltdl/libltdl_libltdl_la-lt_error.lo
  CC       libltdl/libltdl_libltdl_la-ltdl.lo
  CC       libltdl/libltdl_libltdl_la-slist.lo
  CC       libltdl/loaders/dlopen.lo
  CCLD     libltdl/dlopen.la
  CC       libltdl/lt__strl.lo
  CCLD     libltdl/libltdl.la
  GEN      doc/libtool.1
  GEN      doc/libtoolize.1
  GEN      libltdl/stamp-mk
  GEN      doc/notes.txt
make[2]: Leaving directory `/home/sonic84/Downloads/libtool/libtool'
make[1]: Leaving directory `/home/sonic84/Downloads/libtool/libtool'
[root@fedora-local libtool]# make check
  GEN      public-submodule-commit
make  check-recursive
make[1]: Entering directory `/home/sonic84/Downloads/libtool/libtool'
Making check in .
make[2]: Entering directory `/home/sonic84/Downloads/libtool/libtool'
make  check-local
make[3]: Entering directory `/home/sonic84/Downloads/libtool/libtool'
  GEN      tests/package.m4
  GEN      tests/testsuite
  CC       libltdl/loaders/libltdl_libltdlc_la-preopen.lo
  CC       libltdl/libltdl_libltdlc_la-lt__alloc.lo
  CC       libltdl/libltdl_libltdlc_la-lt_dlloader.lo
  CC       libltdl/libltdl_libltdlc_la-lt_error.lo
  CC       libltdl/libltdl_libltdlc_la-ltdl.lo
  CC       libltdl/libltdl_libltdlc_la-slist.lo
  CCLD     libltdl/libltdlc.la
## --------------------------------------- ##
## GNU Libtool 2.4.2.409-12641 test suite. ##
## --------------------------------------- ##

Libtoolize operation.

  1: libtoolize macro installation                   ok
  2: libtoolize macro directory mismatch error       ok
  3: multiple AC_CONFIG_MACRO_DIRS invocation        ok
  4: multiple AC_CONFIG_MACRO_DIRS directories       ok
  5: libtoolize ACLOCAL_AMFLAGS extraction           ok
  6: libtoolize macro serial update                  ok
  7: libtoolize config files serial update           ok
  8: diagnose missing LT_CONFIG_LTDL_DIR             ok
  9: copy ltdl.m4 with shared macro directory        ok
 10: correctly parse LTDL_INIT from configure.ac     ok
 11: diagnose missing LTDL_INIT invocation           ok
 12: upgrading verbatim style aclocal.m4             ok
 13: verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIRS    ok
 14: nonrecursive ltdl with AC_CONFIG_MACRO_DIRS     ok
 15: subproject ltdl with unconventional layout      ok
 16: Subproject ltdl without GNU M4                  ok
 17: LIBTOOLIZE_OPTIONS                              ok
 18: cleanup old installation                        ok

Basic libtool operation.

 19: check help output                               ok
 20: diagnose no mode specified                      ok
 21: quote shell meta-characters in filenames        ok
 22: transform source suffices                       ok
 23: check link mode operation                       ok
 24: check objectlist file operation                 ok
 25: test LT_SUPPORTED_TAG interface                 ok

Linking and loading.

 26: link against a preloaded static library         ok
 27: build and dynamically load a module             ok
 28: preload static and dynamic module               ok
 29: deplibs_check_method                            ok
 30: disable fast install                            ok
 31: force PIC objects                               ok
 32: force non-PIC objects                           skipped (demo.at:512)
 33: hardcoding library path                         ok
 34: binary relinking at install time                ok
 35: uninstalled libraries have priority             ok
 36: linking with long file names                    ok
 37: override pic_flag at configure time             ok
 38: test --with-pic                                 skipped (with-pic.at:40)

Convenience libraries.

 39: build and link against a static library         ok
 40: build and link against a dynamic library        ok
 41: build both static and dynamic                   ok
 42: allow_undefined_flag                            ok
 43: C convenience archives                          ok
 44: C++ convenience archives                        skipped (convenience.at:70)
 45: F77 convenience archives                        skipped (convenience.at:110)
 46: FC convenience archives                         skipped (convenience.at:170)
 47: Java convenience archives                       skipped (convenience.at:230)

Library interdependencies.

 48: static library interdependencies                ok
 49: shared library interdependencies                ok
 50: shared and static interdependencies             ok
 51: disable fast install                            ok
 52: binary relinking at install time                ok

Testing libtool functions.

 53: standard command line options                   ok
 54: mode short-hands                                ok
 55: debug tracing                                   ok
 56: duplicate members in archive tests              ok
 57: duplicate convenience archive names             ok
 58: preserve duplicate convenience deps             expected failure (duplicate_deps.at:72)
 59: passing CC flags through libtool                ok
 60: passing CXX flags through libtool               skipped (flags.at:24)
 61: passing F77 flags through libtool               skipped (flags.at:24)
 62: passing FC flags through libtool                skipped (flags.at:24)
 63: passing GCJ flags through libtool               skipped (flags.at:24)
 64: inherited_linker_flags                          ok
 65: Link order test                                 ok
 66: Link order of deplibs                           ok
 67: Failure tests                                   ok
 68: shlibpath_overrides_runpath                     ok
 69: Runpath in libtool library files                ok
 70: static linking flags for programs               ok
 71: ccache -all-static                              ok
 72: Export test                                     ok
 73: export from a DLL with a .def file              skipped (export-def.at:35)
 74: sys_lib_search_path                             skipped (search-path.at:56)
 75: sys_lib_search_path on w32                      skipped (search-path.at:83)
 76: indirect convenience                            ok
 77: indirect uninstalled                            ok
 78: static library contains static library          expected failure (archive-in-archive.at:56)
 79: both of -o prog and -o prog$EXEEXT work         skipped (exeext.at:29)
 80: execute mode                                    ok
 81: bindir basic lib test                           ok
 82: bindir install tests                            ok
 83: cwrapper for uninstalled executables            ok
 84: cwrapper string length                          skipped (cwrapper.at:190)
 85: cwrapper and installed shared libraries         ok
 86: deplib in subdir                                ok
 87: inferred tag                                    ok
 88: CXX inferred tag                                skipped (infer-tag.at:43)
 89: F77 inferred tag                                skipped (infer-tag.at:56)
 90: FC inferred tag                                 skipped (infer-tag.at:70)
 91: GCJ inferred tag                                skipped (infer-tag.at:84)
 92: localized compiler messages                     ok
 93: nocase library search                           skipped (nocase.at:31)
 94: Install tests                                   ok
 95: versioning                                      ok

DESTDIR tests

 96: Simple DESTDIR install                          ok
 97: DESTDIR with in-package deplibs                 ok

Support for older m4 interface.

 98: AM_PROG_LIBTOOL                                 ok
 99: AC_WITH_LTDL                                    ok
100: AC_CONFIG_MACRO_DIR                             ok

Support for older libltdl interfaces.

101: Makefile.inc                                    ok

Libtool subdir-objects support.

102: C subdir-objects                                ok
103: C++ subdir-objects                              skipped (am-subdir.at:94)

Libltdl functionality.

104: lt_dlexit unloading libs                        ok
105: lt_dlopenadvise library loading                 ok
106: lt_dlopen error messages                        expected failure (lt_dlopen.at:101)
107: lt_dlopen archive                               ok
108: lt_dlopenext error messages                     ok
109: libdir of installed modules                     ok
110: ltdl API                                        skipped (ltdl-api.at:31)
111: dlloader API                                    ok
112: loadlibrary error messages                      skipped (loadlibrary.at:250)
113: syntax of .la files                             expected failure (lalib-syntax.at:133)
114: resident modules                                ok
115: SList functionality                             ok
116: enforced lib prefix                             ok

Dynamic ltdl runtime loading.

117: dynamically ltdl preload static modules         ok
118: dynamically ltdl load a shared module           ok
119: ltdl load shared and static modules             ok
120: ltdl dryrun                                     FAILED (mdemo.at:756)
121: link with library that loads ltdl modules       ok

Standalone Libltdl.

122: compiling softlinked libltdl                    ok
123: compiling copied libltdl                        ok
124: installable libltdl                             ok     
125: linking libltdl without autotools               ok

Subproject Libltdl.

126: compiling softlinked libltdl                    ok
127: compiling copied libltdl                        ok
128: installable libltdl                             ok
129: linking libltdl without autotools               ok

Nonrecursive Automake Libltdl.

130: compiling softlinked libltdl                    ok
131: compiling copied libltdl                        ok
132: installable libltdl                             ok

Recursive Automake Libltdl.

133: compiling softlinked libltdl                    ok
134: compiling copied libltdl                        ok
135: installable libltdl                             ok

C++ language support.

136: static library                                  skipped (tagdemo.at:340)
137: shared library                                  skipped (tagdemo.at:355)
138: shared and static together                      skipped (tagdemo.at:370)
139: allow_undefined_flag                            skipped (tagdemo.at:385)

C++ template tests.

140: simple template test                            skipped (template.at:29)
141: template test with subdirs                      skipped (template.at:128)

Constructors.

142: C++ static constructors                         skipped (ctor.at:28)
143: C++ exception handling                          skipped (exceptions.at:361)

libtool script generation.

144: config.status                                   ok
145: config.lt                                       ok

Libtool usage in GCC

146: AC_NO_EXECUTABLES                               ok

Detecting identical deplibs.

147: build tree relpaths                             expected failure (deplibs-ident.at:69)

configure interface to libltdl.

148: installable libltdl                             ok
149: --with-ltdl-include/lib                         ok
150: --with-included-ltdl                            ok
151: convenience libltdl                             ok

Libtool stress test.

152: Link option thorough search test                ok
153: Run tests with low max_cmd_len                 
 ok

F77 language support.

154: static library                                  skipped (f77demo.at:301)
155: shared library                                  skipped (f77demo.at:316)
156: shared and static together                      skipped (f77demo.at:331)

Fortran language support.

157: static library                                  skipped (fcdemo.at:315)
158: shared library                                  skipped (fcdemo.at:330)
159: shared and static together                      skipped (fcdemo.at:345)

Mac OS X tests

160: darwin fat compile                              skipped (darwin.at:42)
161: darwin concurrent library extraction            ok
162: darwin gdb debug information                    ok
163: darwin ld warnings changing configure results   ok
164: darwin can lt_dlopen .dylib and .so files       skipped (darwin.at:249)

Windows tests.

165: dumpbin -symbols section hiding                 skipped (dumpbin-symbols.at:42)
166: deplibs without file command                    ok

sysroot tests

167: -L=.../lib -l                                   skipped (sysroot.at:203)
168: -L SYSROOT/.../lib -l                           skipped (sysroot.at:204)
169: SYSROOT/.../*.la                                skipped (sysroot.at:205)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 126 tests were run,
6 failed (5 expected failures).
43 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

   To: <[email-masked]>
   Subject: [GNU Libtool 2.4.2.409-12641] testsuite: 120 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `tests/testsuite.dir'.

make[3]: *** [check-local] Error 1
make[3]: Leaving directory `/home/sonic84/Downloads/libtool/libtool'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/sonic84/Downloads/libtool/libtool'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/sonic84/Downloads/libtool/libtool'
make: *** [check] Error 2