On Friday 16 November 2007 04:29:48 James E Keenan wrote: > chromatic wrote: > > # New Ticket Created by chromatic > > # Please include the string: [perl #47503] > > # in the subject line of all future correspondence about this issue. > > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=47503 > > > > > > > I've seen a lot of test failures under t/configure/*.t lately where > > linking failed because I don't have libgdbm installed.
> Are you getting failures in test files other than the one you reported > (auto::msvc, IIRC) and the 3 that Andy D reported? Here's my full test run, with my test.ldo appended. Three tests have warnings about compilation failing but pass. t/configure/146-auto_snprintf-01.t fails. > > I can imagine an objection to this suggestion, specifically "But these > > tests should be runnable without having previously configured Parrot! We > > cannot rely on the configuration process working correctly unless we can > > test that process!" > > And that is precisely my objection. Parrot::Config::Generated is not > available until after you've configured. You can't use it to test the > configuration system before you've run Configure.pl (as you would by > running, say, 'perl Configure.pl --test=configure'). I accept that. Until the point where these four tests are as reliable as the rest of the tests of the configuration system, can we mark them as TODO? We know they won't pass everywhere, and they're not giving us valuable information on the state of the configuration system when they fail. -- c
/usr/bin/perl t/harness --gc-debug --running-make-test t/configure/001-options........................ok t/configure/002-messages.......................ok t/configure/003-steplist.......................ok t/configure/004-configure......................ok t/configure/005-run_one_step...................ok t/configure/006-bad_step.......................ok t/configure/007-verbose_two....................ok t/configure/008-verbose_step_number............ok t/configure/009-verbose_step_regex.............ok t/configure/010-verbose_step_num_uncalled......ok t/configure/011-no_description.................ok t/configure/012-verbose........................ok t/configure/013-die............................ok t/configure/014-params.........................ok t/configure/015-no_return......................ok t/configure/016-no_return_but_result...........ok t/configure/017-revision_no_DEVELOPING.........ok t/configure/018-revision.......................ok t/configure/019-version........................ok t/configure/020-version........................ok t/configure/021-version........................ok t/configure/022-version........................ok t/configure/023-version........................ok t/configure/024-version........................ok t/configure/025-options_test...................ok t/configure/026-options_test...................ok t/configure/027-option_or_data.................ok t/configure/028-option_or_data.................ok t/configure/029-option_or_data.................ok t/configure/030-option_or_data.................ok t/configure/031-base...........................ok t/configure/032-data...........................ok t/configure/033-step...........................ok t/configure/034-step...........................ok t/configure/035-step...........................ok t/configure/036-config_steps...................ok t/configure/037-run_single_step................ok t/configure/038-run_single_step................ok t/configure/039-run_single_step................ok t/configure/040-return_undef...................ok t/configure/041-return_undef...................ok t/configure/042-list_of_steps..................ok t/configure/043-verbose_step_name..............ok t/configure/044-slurp_file.....................ok t/configure/046-inter..........................ok t/configure/047-inter..........................ok t/configure/048-return_result_undef............ok t/configure/050-fatal..........................ok t/configure/051-fatal_step.....................ok t/configure/052-fatal_step.....................ok t/configure/053-fatal_step.....................ok t/configure/054-fatal_step.....................ok t/configure/055-fatal_step.....................ok t/configure/056-fatal_step.....................ok t/configure/057-fatal_step.....................ok t/configure/058-fatal_step.....................ok t/configure/101-init_manifest-01...............ok t/configure/101-init_manifest-02...............ok t/configure/102-init_defaults-01...............ok t/configure/102-init_defaults-02...............ok t/configure/103-init_install-01................ok t/configure/103-init_install-02................ok t/configure/104-init_miniparrot................ok t/configure/105-init_hints-01..................ok t/configure/105-init_hints-02..................ok t/configure/105-init_hints-03..................ok t/configure/105-init_hints-04..................ok t/configure/106-init_headers...................ok t/configure/107-inter_progs-01.................Compilation failed with 'cc' ok t/configure/107-inter_progs-02.................Compilation failed with 'cc' ok t/configure/107-inter_progs-03.................Compilation failed with 'cc' ok t/configure/107-inter_progs-04.................ok t/configure/108-inter_make.....................ok t/configure/109-inter_lex-01...................ok t/configure/109-inter_lex-02...................ok t/configure/109-inter_lex-03...................ok t/configure/109-inter_lex-04...................ok t/configure/109-inter_lex-05...................ok t/configure/110-inter_yacc-01..................ok t/configure/110-inter_yacc-02..................ok t/configure/110-inter_yacc-03..................ok t/configure/110-inter_yacc-04..................ok t/configure/110-inter_yacc-05..................ok t/configure/111-auto_gcc-01....................ok t/configure/111-auto_gcc-02....................ok t/configure/111-auto_gcc-03....................ok t/configure/111-auto_gcc-04....................ok t/configure/111-auto_gcc-05....................ok t/configure/111-auto_gcc-06....................ok t/configure/111-auto_gcc-07....................ok t/configure/111-auto_gcc-08....................ok t/configure/111-auto_gcc-09....................ok t/configure/111-auto_gcc-10....................ok t/configure/111-auto_gcc-11....................ok t/configure/111-auto_gcc-12....................ok t/configure/111-auto_gcc-13....................ok t/configure/112-auto_backtrace-01..............ok t/configure/112-auto_backtrace-02..............ok t/configure/113-auto_msvc-01...................skipped: MSVC is Windows only t/configure/113-auto_msvc-02...................ok t/configure/113-auto_msvc-03...................ok t/configure/114-auto_attributes................ok t/configure/115-auto_warnings..................ok t/configure/116-init_optimize-01...............ok t/configure/116-init_optimize-02...............ok t/configure/116-init_optimize-03...............ok t/configure/116-init_optimize-04...............ok t/configure/116-init_optimize-05...............ok t/configure/116-init_optimize-06...............ok t/configure/117-inter_shlibs-01................ok t/configure/117-inter_shlibs-02................ok t/configure/118-inter_libparrot-01.............ok t/configure/118-inter_libparrot-02.............ok t/configure/118-inter_libparrot-03.............ok t/configure/118-inter_libparrot-04.............ok t/configure/118-inter_libparrot-05.............ok t/configure/118-inter_libparrot-06.............ok t/configure/118-inter_libparrot-07.............ok t/configure/118-inter_libparrot-08.............ok t/configure/118-inter_libparrot-09.............ok t/configure/119-inter_charset-01...............ok t/configure/119-inter_charset-02...............ok t/configure/120-inter_encoding-01..............ok t/configure/120-inter_encoding-02..............ok t/configure/121-inter_types-01.................ok t/configure/121-inter_types-02.................ok t/configure/122-auto_ops.......................ok t/configure/123-auto_pmc.......................ok t/configure/124-auto_alignptrs-01..............ok t/configure/124-auto_alignptrs-02..............ok t/configure/124-auto_alignptrs-03..............ok t/configure/124-auto_alignptrs-04..............ok t/configure/124-auto_alignptrs-05..............ok t/configure/125-auto_headers-01................ok t/configure/125-auto_headers-02................ok t/configure/125-auto_headers-03................ok t/configure/125-auto_headers-04................ok t/configure/126-auto_sizes-01..................ok t/configure/127-auto_byteorder-01..............ok t/configure/127-auto_byteorder-02..............ok t/configure/127-auto_byteorder-03..............ok t/configure/128-auto_va_ptr....................ok t/configure/129-auto_pack......................ok t/configure/130-auto_format....................ok t/configure/131-auto_isreg-01..................ok t/configure/131-auto_isreg-02..................ok t/configure/131-auto_isreg-03..................ok t/configure/132-auto_jit-01....................ok t/configure/133-gen_cpu........................ok t/configure/134-auto_funcptr...................ok t/configure/135-auto_cgoto-01..................ok t/configure/135-auto_cgoto-02..................ok t/configure/135-auto_cgoto-03..................ok t/configure/135-auto_cgoto-04..................ok t/configure/136-auto_inline-01.................ok t/configure/136-auto_inline-02.................ok t/configure/136-auto_inline-03.................ok t/configure/136-auto_inline-04.................ok t/configure/136-auto_inline-05.................ok t/configure/136-auto_inline-06.................ok t/configure/137-auto_gc........................ok t/configure/138-auto_memalign-01...............ok t/configure/139-auto_signal-01.................ok t/configure/140-auto_socklen_t-01..............ok t/configure/140-auto_socklen_t-02..............ok t/configure/141-auto_env-01....................ok t/configure/141-auto_env-02....................ok t/configure/141-auto_env-03....................ok t/configure/142-auto_aio.......................ok t/configure/143-auto_gmp-01....................ok t/configure/144-auto_readline..................ok t/configure/145-auto_gdbm-01...................ok t/configure/146-auto_snprintf-01...............Linker failed (see test.ldo) at lib/Parrot/Configure/Step.pm line 522 Parrot::Configure::Step::cc_build() called at config/auto/snprintf.pm line 45 auto::snprintf::_probe_for_snprintf() called at config/auto/snprintf.pm line 36 auto::snprintf::runstep('auto::snprintf=HASH(0x83de8d0)', 'Parrot::Configure=HASH(0x82dffc4)') called at t/configure/146-auto_snprintf-01.t line 40 # Looks like your test died just after 9. Dubious, test returned 255 (wstat 65280, 0xff00) All 9 subtests passed t/configure/146-auto_snprintf-02...............ok t/configure/146-auto_snprintf-03...............ok t/configure/147-auto_perldoc...................ok t/configure/148-auto_python....................ok t/configure/149-auto_m4........................ok t/configure/150-auto_ctags-01..................ok t/configure/150-auto_ctags-02..................ok t/configure/150-auto_ctags-03..................ok t/configure/150-auto_ctags-04..................ok t/configure/151-auto_cpu-01....................ok t/configure/152-auto_revision..................ok t/configure/153-gen_icu........................ok t/configure/154-gen_config_h...................ok t/configure/155-gen_core_pmcs..................ok t/configure/156-gen_parrot_include.............ok t/configure/157-gen_languages..................ok t/configure/158-gen_makefiles..................ok t/configure/159-gen_platform...................ok t/configure/160-gen_config_pm..................ok t/postconfigure/01-options.....................ok t/postconfigure/02-data_slurp..................ok t/postconfigure/03-revision_no_DEVELOPING......ok t/postconfigure/04-revision....................ok t/postconfigure/05-trace.......................skipped: Tests irrelevant unless configuration completed with tracing requested t/postconfigure/06-data_slurp_temp.............ok t/compilers/imcc/imcpasm/cfg...................ok t/compilers/imcc/imcpasm/opt0..................ok t/compilers/imcc/imcpasm/opt1..................ok t/compilers/imcc/imcpasm/opt2..................ok t/compilers/imcc/imcpasm/optc..................ok t/compilers/imcc/imcpasm/pcc...................ok t/compilers/imcc/imcpasm/sub...................ok t/compilers/imcc/reg/alloc.....................ok t/compilers/imcc/reg/spill.....................ok t/compilers/imcc/syn/bsr.......................ok t/compilers/imcc/syn/clash.....................ok t/compilers/imcc/syn/const.....................ok t/compilers/imcc/syn/errors....................ok t/compilers/imcc/syn/eval......................ok t/compilers/imcc/syn/file......................ok t/compilers/imcc/syn/keyed.....................ok t/compilers/imcc/syn/labels....................ok t/compilers/imcc/syn/macro.....................ok t/compilers/imcc/syn/namespace.................ok t/compilers/imcc/syn/objects...................ok t/compilers/imcc/syn/op........................ok t/compilers/imcc/syn/pasm......................ok t/compilers/imcc/syn/pcc.......................ok t/compilers/imcc/syn/pod.......................ok t/compilers/imcc/syn/scope.....................ok t/compilers/imcc/syn/symbols...................ok t/compilers/imcc/syn/tail......................ok t/op/00ff-dos..................................ok t/op/00ff-unix.................................ok t/op/01-parse_ops..............................ok t/op/64bit.....................................skipped: 64bit INTVAL platforms only t/op/arithmetics...............................ok t/op/basic.....................................ok t/op/bitwise...................................ok t/op/calling...................................ok t/op/cc_params.................................ok t/op/cc_state..................................ok t/op/cmp-nonbranch.............................ok t/op/comp......................................ok t/op/debuginfo.................................ok t/op/exceptions................................ok t/op/gc........................................ok t/op/globals...................................ok t/op/hacks.....................................ok t/op/ifunless..................................ok t/op/info......................................ok t/op/integer...................................ok t/op/interp....................................ok t/op/jit.......................................ok t/op/jitn......................................ok t/op/lexicals..................................ok t/op/literal...................................ok t/op/load_bytecode.............................ok t/op/number....................................ok t/op/pushaction................................ok t/op/say.......................................ok t/op/spawnw....................................ok t/op/sprintf...................................ok t/op/stacks....................................ok t/op/string....................................ok t/op/string_cclass.............................ok t/op/string_cs.................................ok t/op/stringu...................................ok t/op/time......................................ok t/op/trans.....................................ok t/op/types.....................................ok t/pmc/addrregistry.............................ok t/pmc/array....................................ok t/pmc/bigint...................................ok t/pmc/bignum...................................skipped: No BigNum support yet. t/pmc/boolean..................................ok t/pmc/bound_nci................................ok t/pmc/builtin..................................ok t/pmc/capture..................................ok t/pmc/class....................................ok t/pmc/closure..................................ok t/pmc/codestring...............................ok t/pmc/compiler.................................ok t/pmc/complex..................................ok t/pmc/config...................................ok t/pmc/continuation.............................ok t/pmc/coroutine................................ok t/pmc/default..................................ok t/pmc/deleg_pmc................................ok t/pmc/delegate.................................ok t/pmc/enumerate................................ok t/pmc/env......................................ok t/pmc/eval.....................................ok t/pmc/exception................................ok t/pmc/exception_handler........................ok t/pmc/exporter.................................ok t/pmc/file.....................................ok t/pmc/fixedbooleanarray........................ok t/pmc/fixedfloatarray..........................ok t/pmc/fixedintegerarray........................ok t/pmc/fixedpmcarray............................ok t/pmc/fixedstringarray.........................ok t/pmc/float....................................ok t/pmc/freeze...................................ok t/pmc/globals..................................ok t/pmc/hash.....................................ok t/pmc/integer..................................ok t/pmc/intlist..................................ok t/pmc/io.......................................ok t/pmc/io_iterator..............................ok t/pmc/io_status................................ok t/pmc/iterator.................................ok t/pmc/key......................................ok t/pmc/lexinfo..................................ok t/pmc/lexpad...................................ok t/pmc/managedstruct............................ok t/pmc/mmd......................................ok t/pmc/multiarray...............................ok t/pmc/multisub.................................ok t/pmc/n_arithmetics............................ok t/pmc/namespace................................ok t/pmc/nci......................................ok t/pmc/null.....................................ok t/pmc/object-meths.............................ok t/pmc/object-mro...............................ok t/pmc/object...................................ok t/pmc/objects..................................ok t/pmc/orderedhash..............................ok t/pmc/os.......................................ok t/pmc/pair.....................................ok t/pmc/parrotclass..............................ok t/pmc/parrotinterpreter........................ok t/pmc/parrotio.................................ok t/pmc/parrotlibrary............................ok t/pmc/parrotobject.............................ok t/pmc/parrotrunningthread......................ok t/pmc/parrotthread.............................ok t/pmc/pccmethod_test...........................ok t/pmc/pmc......................................ok t/pmc/pmcproxy.................................ok t/pmc/pointer..................................ok t/pmc/prop.....................................ok t/pmc/random...................................ok t/pmc/ref......................................ok t/pmc/resizablebooleanarray....................ok t/pmc/resizablefloatarray......................ok t/pmc/resizableintegerarray....................ok t/pmc/resizablepmcarray........................ok t/pmc/resizablestringarray.....................ok t/pmc/retcontinuation..........................ok t/pmc/ro.......................................ok t/pmc/role.....................................ok t/pmc/sarray...................................ok t/pmc/scalar...................................ok t/pmc/sharedref................................ok t/pmc/signal...................................skipped: Signals currently disabled t/pmc/slice....................................ok t/pmc/stmlog...................................ok t/pmc/stmref...................................ok t/pmc/stmvar...................................ok t/pmc/string...................................ok t/pmc/sub......................................ok t/pmc/super....................................ok t/pmc/sys......................................ok t/pmc/threads..................................ok t/pmc/timer....................................ok t/pmc/tqueue...................................ok t/pmc/undef....................................ok t/pmc/unmanagedstruct..........................ok t/pmc/version..................................ok t/pmc/vtablecache..............................ok t/native_pbc/header............................ok t/native_pbc/integer...........................skipped: Ongoing PBC format changes t/native_pbc/number............................skipped: Ongoing PBC format changes t/native_pbc/string............................ok t/dynpmc/dynlexpad.............................ok t/dynpmc/foo...................................ok t/dynpmc/gdbmhash..............................skipped: No gdbm library available t/dynpmc/rational..............................ok t/dynpmc/sub...................................ok t/dynpmc/subclass_with_pir_method..............ok t/dynoplibs/dan................................ok t/dynoplibs/myops..............................ok t/compilers/pge/00-basic.......................ok t/compilers/pge/02-match.......................ok t/compilers/pge/03-optable.....................ok t/compilers/pge/04-compile.....................ok t/compilers/pge/06-grammar.....................ok t/compilers/pge/pge-hs.........................ok t/compilers/pge/pge............................ok t/compilers/pge/pge_examples...................ok t/compilers/pge/pge_globs......................ok t/compilers/pge/pge_text.......................ok t/compilers/pge/pge_util.......................ok t/compilers/pge/p5regex/p5rx...................ok t/compilers/pge/p6regex/01-regex...............ok t/compilers/pge/p6regex/builtins...............ok t/compilers/pge/p6regex/closure................ok t/compilers/pge/p6regex/context................ok t/compilers/pge/p6regex/subrules...............ok t/compilers/pge/p6regex/syntax_errors..........ok t/compilers/tge/basic..........................ok t/compilers/tge/grammar........................ok t/compilers/tge/parser.........................ok t/compilers/json/from_parrot...................ok t/compilers/json/to_parrot.....................ok t/library/cgi_query_hash.......................ok t/library/coroutine............................ok t/library/data_escape..........................ok t/library/dumper...............................ok t/library/File_Spec............................skipped: win32 implementation only t/library/getopt_obj...........................ok t/library/iter.................................ok t/library/md5..................................ok t/library/mime_base64..........................ok t/library/parrotlib............................ok t/library/pcre.................................ok t/library/pg...................................Couldn't load 'libpq': libpq.so: cannot open shared object file: No such file or directory current instr.: 'main' pc 16 (t/library/pg.t:37) ok t/library/protoobject..........................ok t/library/range................................Couldn't load '': /home/chromatic/dev/parrot/runtime/parrot/dynext/: cannot read file data: Is a directory current instr.: 'main' pc -1 ((unknown file):-1) ok t/library/sort.................................ok t/library/streams..............................ok t/library/string_utils.........................ok t/library/test_builder_tester..................ok t/library/test_more............................ok t/library/yaml_parser_syck.....................ok t/examples/japh................................ok t/examples/library.............................ok t/examples/namespace...........................ok t/examples/pasm................................ok t/examples/past................................ok t/examples/pir.................................ok t/examples/shootout............................ok t/examples/streams.............................ok t/examples/subs................................ok t/examples/tutorial............................ok t/run/exit.....................................ok t/run/options..................................ok t/src/atomic...................................ok t/src/basic....................................ok t/src/compiler.................................ok t/src/exit.....................................ok t/src/extend...................................ok t/src/hash.....................................ok t/src/intlist..................................ok t/src/io.......................................ok t/src/list.....................................ok t/src/sprintf..................................ok t/src/string...................................ok t/tools/pbc_merge..............................ok t/tools/pdb....................................skipped: pdb hasn't been built t/tools/pmc2c..................................ok t/tools/smartlinks.............................Use of uninitialized value in length at lib/Text/Balanced.pm line 899. Use of uninitialized value in length at lib/Text/Balanced.pm line 899. ok t/perl/Parrot_Distribution.....................ok t/perl/Parrot_Docs.............................ok t/perl/Parrot_IO...............................ok t/perl/Parrot_PIR_Formatter....................ok t/perl/Parrot_Test.............................ok t/doc/opcode-doc...............................ok t/doc/pod......................................# finding files with POD, this may take a minute. ok t/stm/basic....................................ok t/stm/basic_mt.................................ok t/stm/llqueue..................................ok t/stm/queue....................................ok t/stm/runtime..................................ok t/distro/manifest..............................# this may take a while... ok t/distro/file_metadata.........................# Collecting svn:mime-type attributes... # Collecting svn:keywords attributes... # Collecting svn:eol-style attributes... # Collecting svn:eol-style attributes... ok t/codingstd/c_code_coda........................ok t/codingstd/c_header_guards....................ok t/codingstd/c_indent...........................ok t/codingstd/c_struct...........................ok t/codingstd/check_toxxx........................ok t/codingstd/copyright..........................ok t/codingstd/cppcomments........................ok t/codingstd/cuddled_else.......................ok t/codingstd/filenames..........................ok t/codingstd/gmt_utc............................ok t/codingstd/linelength.........................ok t/codingstd/pccmethod_deps.....................ok t/codingstd/pir_code_coda......................ok t/codingstd/svn_id.............................ok t/codingstd/tabs...............................ok t/codingstd/trailing_space.....................ok Test Summary Report ------------------- t/configure/146-auto_snprintf-01.t (Wstat: 65280 Tests: 9 Failed: 0) Non-zero exit status: 255 Files=476, Tests=9473, 292 wallclock secs ( 2.92 usr 0.51 sys + 186.39 cusr 32.98 csys = 222.80 CPU) Result: FAIL Failed 1/476 test programs. 0/9473 subtests failed. make: *** [test] Error 255 $ cat test.ldo /usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status