Subject: bug#21607: [GNU Libtool 2.4.6] testsuite: 7 8 13 14 28 29 30 31 32 34 35 36 37 44 46 50 51 52 53 56 57 58 62 66 67 69 71 73 77 78 81 82 83 84 86 87 90 96 97 98 100 103 105 106 109 110 112 115 117 119 120 122 126 130 145 146 150 151 153 154 155 169 170 failed

From: Alex Lai <[email-masked]>
Date: Fri, 2 Oct 2015 18:44:07 +0000

I feel the full output of the "make check" might be useful. So I included it as below. Thanks.

[root@serverxxx libtool-2.4.6]$  make check
  GEN      public-submodule-commit
make  check-recursive
make[1]: Entering directory '/var/tmp/work/libtool-2.4.6'
Making check in .
make[2]: Entering directory '/var/tmp/work/libtool-2.4.6'
make  check-local
make[3]: Entering directory '/var/tmp/work/libtool-2.4.6'
  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.6 test suite. ##
## ----------------------------- ##

Functions shared with configure and libtool.

  1: func_munge_path_list works                      ok

Libtoolize operation.

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

Basic libtool operation.

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

Linking and loading.

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

Convenience libraries.

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

Library interdependencies.

49: static library interdependencies                ok
50: shared library interdependencies                FAILED (depdemo.at:308)
51: shared and static interdependencies             FAILED (depdemo.at:325)
52: disable fast install                            FAILED (depdemo.at:343)
53: binary relinking at install time                FAILED (depdemo.at:360)

Testing libtool functions.

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

DESTDIR tests

97: Simple DESTDIR install                          FAILED (destdir.at:70)
98: DESTDIR with in-package deplibs                 FAILED (destdir.at:127)

Support for older m4 interface.

99: AM_PROG_LIBTOOL                                 ok
100: AC_WITH_LTDL                                    FAILED (old-m4-iface.at:164)
101: AC_CONFIG_MACRO_DIR                             ok

Support for older libltdl interfaces.

102: Makefile.inc                                    ok

Libtool subdir-objects support.

103: C subdir-objects                                FAILED (am-subdir.at:80)
104: C++ subdir-objects                              ok

Libltdl functionality.

105: lt_dlexit unloading libs                        FAILED (lt_dlexit.at:161)
106: lt_dlopenadvise library loading                 FAILED (lt_dladvise.at:387)
107: lt_dlopen error messages                        expected failure (lt_dlopen.at:99)
108: lt_dlopen archive                               ok
109: lt_dlopenext error messages                     FAILED (lt_dlopenext.at:235)
110: libdir of installed modules                     FAILED (ltdl-libdir.at:121)
111: ltdl API                                        ok
112: dlloader API                                    FAILED (dlloader-api.at:439)
113: loadlibrary error messages                      skipped (loadlibrary.at:250)
114: syntax of .la files                             expected failure (lalib-syntax.at:133)
115: resident modules                                FAILED (resident.at:145)
116: SList functionality                             ok
117: enforced lib prefix                             FAILED (need_lib_prefix.at:182)

Dynamic ltdl runtime loading.

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

Standalone Libltdl.

123: compiling softlinked libltdl                    ok
124: compiling copied libltdl                        ok
125: installable libltdl                             ok
126: linking libltdl without autotools               FAILED (standalone.at:87)

Subproject Libltdl.

127: compiling softlinked libltdl                    ok
128: compiling copied libltdl                        ok
129: installable libltdl                             ok
130: linking libltdl without autotools               FAILED (subproject.at:117)

Nonrecursive Automake Libltdl.

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

Recursive Automake Libltdl.

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

C++ language support.

137: static library                                  ok
138: shared library                                  ok
139: shared and static together                      ok
140: allow_undefined_flag                            ok

C++ template tests.

141: simple template test                            ok
142: template test with subdirs                      ok

Constructors.

143: C++ static constructors                         ok
144: C++ exception handling                          ok

libtool script generation.

145: config.status                                   FAILED (early-libtool.at:114)
146: config.lt                                       FAILED (early-libtool.at:221)

Libtool usage in GCC

147: AC_NO_EXECUTABLES                               ok

Detecting identical deplibs.

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

configure interface to libltdl.

149: installable libltdl                             ok
150: --with-ltdl-include/lib                         FAILED (configure-iface.at:234)
151: --with-included-ltdl                            FAILED (configure-iface.at:291)
152: convenience libltdl                             ok

F77 language support.

153: static library                                  FAILED (f77demo.at:303)
154: shared library                                  FAILED (f77demo.at:318)
155: shared and static together                      FAILED (f77demo.at:333)

Fortran language support.

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

Mac OS X tests

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

Windows tests.

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

sysroot tests

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

Libtool stress test.

169: Link option thorough search test                FAILED (stresstest.at:277)
170: Run tests with low max_cmd_len                  FAILED (cmdline_wrap.at:47)

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

ERROR: 146 tests were run,
68 failed (5 expected failures).
24 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.6] testsuite: 7 8 13 14 28 29 30 31 32 34 35 36 37 44 46 50 51 52 53 56 57 58 62 66 67 69 71 73 77 78 81 82 83 84 86 87 90 96 97 98 100 103 105 106 109 110 112 115 117 119 120 122 126 130 145 146 150 151 153 154 155 169 170 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'.

Makefile:2459: recipe for target 'check-local' failed
make[3]: *** [check-local] Error 1
make[3]: Leaving directory '/var/tmp/work/libtool-2.4.6'
Makefile:1897: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/var/tmp/work/libtool-2.4.6'
Makefile:1606: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/work/libtool-2.4.6'
Makefile:1899: recipe for target 'check' failed
make: *** [check] Error 2

Alex Lai | Technical Specialist, AlgoCredit & Liquidity Risk
________________________________________________________
Scotiabank | Global Technology Services
IPM - GBM Application Support
720 King St W, 6th floor, Toronto, Ontario, Canada M5V 2T3
T: 416.607.4789
[email-masked]<mailto:[email-masked]>
www.scotiabank.com<http://www.scotiabank.com/>
Scotiabank is a business name used by The Bank of Nova Scotia

From: Alex Lai
Sent: Friday, October 02, 2015 2:09 PM
To: [email-masked]'
Subject: [GNU Libtool 2.4.6] testsuite: 7 8 13 14 28 29 30 31 32 34 35 36 37 44 46 50 51 52 53 56 57 58 62 66 67 69 71 73 77 78 81 82 83 84 86 87 90 96 97 98 100 103 105 106 109 110 112 115 117 119 120 122 126 130 145 146 150 151 153 154 155 169 170 failed

Experts,

                I installed this version of Libtool using the following procedure:

Log in as root

./configure --prefix=/var/tmp/work/libtool-2.4.6.i386
make

the  following error occurred:

  CC       libltdl/loaders/libltdl_libltdl_la-preopen.lo
libtool: Version mismatch error.  This is libtool 2.4.6, revision 2.4.6,
libtool: but the definition of this LT_INIT comes from revision .
libtool: You should recreate aclocal.m4 with macros from revision 2.4.6
libtool: of libtool 2.4.6 and run autoconf again.
Makefile:1261: recipe for target 'libltdl/loaders/libltdl_libltdl_la-preopen.lo' failed

To fix it, I ran:

make maintainer-clean
autoreconf
./configure --prefix=/var/tmp/work/libtool-2.4.6.i386
make
make check

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

ERROR: 146 tests were run,
68 failed (5 expected failures).
24 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

                Since I'm a beginner of Libtool, I will appreciate if you could comment on the test results.

Thanks in advance,

Alex Lai | Technical Specialist, AlgoCredit & Liquidity Risk
________________________________________________________
Scotiabank | Global Technology Services
IPM - GBM Application Support
720 King St W, 6th floor, Toronto, Ontario, Canada M5V 2T3
T: 416.607.4789
[email-masked]<mailto:[email-masked]>
www.scotiabank.com<http://www.scotiabank.com/>
Scotiabank is a business name used by The Bank of Nova Scotia

To unsubscribe from receiving further commercial electronic messages from The Bank of Nova Scotia in Canada, please click here: https://unsubscribe.scotiabank.com?entid=BNS&buid=SBNK

To unsubscribe from receiving further commercial electronic messages from certain other senders set out in the attached list, please click here: https://www.unsubscribe.gwi.scotiabank.com?page=gwi 

This email may contain confidential information the use of which by an unintended recipient is unauthorized. This email may also contain important disclosure information for the records of the intended recipient(s).  For details please click here: http://www.scotiabank.com/email_disclaimer/email_english.html

Pour vous désabonner et cesser de recevoir des messages électroniques commerciaux de La Banque de Nouvelle-Écosse, veuillez cliquer ici : https://desabonnement.banquescotia.com?entid=BNS&buid=SBNK

Pour vous désabonner et cesser de recevoir des messages électroniques commerciaux de certains autres expéditeurs figurant dans la liste ci-jointe, veuillez cliquer ici : https://www.unsubscribe.gwi.scotiabank.com?page=gwi 

Cette transmission peut contenir de l'information confidentielle et son utilisation par toute personne autre que la personne à laquelle cette transmission est destinée est interdite. Le présent courriel peut aussi contenir des renseignements importants pour les dossiers du ou des destinataires prévus.  Pour plus de détails, veuillez vous diriger vers: http://www.scotiabank.com/email_disclaimer/email_francais.html

Para dejar de recibir mensajes electrónicos comerciales de The Bank of Nova Scotia en Canadá, haga clic aquí: https://cancelarsuscripcion.scotiabank.com?entid=BNS&buid=SBNK

Para dejar de recibir mensajes electrónicos comerciales de otras entidades incluidas en la lista adjunta, haga clic aquí: https://www.unsubscribe.gwi.scotiabank.com?page=gwi 

Este correo electrónico puede contener información confidencial cuyo uso por parte de personas distintas de los destinatarios del mismo está prohibido. El mensaje puede tener también datos importantes para los archivos   del(de los) destinatario(s) a quien(es) está dirigido.  Para más detalles, por favor dirigirse a: http://www.scotiabank.com/email_disclaimer/email_espanol.html