retitle 488362 ruby1.9: FTBFS on several arches thanks On 28/06/08 at 23:00 +0200, Lucas Nussbaum wrote: > On 28/06/08 at 03:16 -0700, Daniel Schepler wrote: > > Package: ruby1.9 > > Version: 1.9.0.2-1 > > Severity: serious > > > > From my pbuilder build log (on amd64): > > > > ... > > test_copy_stream_dst_rbuf(TestIO): . > > test_copy_stream_fname_to_strio(TestIO): . > > test_copy_stream_io_to_strio(TestIO): . > > test_copy_stream_rbuf(TestIO): . > > test_copy_stream_socket(TestIO): > > > > At this point, the build hangs, and I have to terminate it by hand. > > It also fails like that on some buildds (armel, i386, ia64, powerpc) but > succeeds on other buildds. Daigo built it on amd64 before uploading. > > I've tried reproducing the failure after building ruby1.9 locally (you > just have to run > while true; do ruby1.9 test/ruby/test_io.rb -n test_copy_stream_socket ; done > but it didn't fail for me. > > Daniel, can you retry building ruby1.9, and see if it fails > systematically, or randomly?
ruby1.9 1.9.0.2-2 built successfully on amd64, but failed to build on: alpha: ../../miniruby -I'../..' -I'../.././lib' -I'../../.ext/alpha-linux' -I'../../.ext/common' -I./- -I'../.././ext' -rpurelib.rb ../.././ext/ripper/tools/generate.rb --mode=check --ids1src=../.././parse.y --ids2src=../.././ext/ripper/eventids2.c /build/buildd/ruby1.9-1.9.0.2/lib/optparse.rb:1524: [BUG] Segmentation fault ruby 1.9.0 (2008-06-20 revision 17482) [alpha-linux] -- control frame ---------- c:0007 p:1132 s:0024 b:0024 l:0002e8 d:0002e8 CLASS /build/buildd/ruby1.9-1.9.0.2/lib/optparse.rb:1524 c:0006 p:0006 s:0014 b:0014 l:000013 d:000013 TOP /build/buildd/ruby1.9-1.9.0.2/lib/optparse.rb:204 c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH :set_encoding c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0009 s:0006 b:0006 l:000005 d:000005 TOP ../.././ext/ripper/tools/generate.rb:3 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :private_class_method c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP --------------------------- DBG> : "/build/buildd/ruby1.9-1.9.0.2/lib/optparse.rb:1524:in `<class:OptionParser>'" DBG> : "/build/buildd/ruby1.9-1.9.0.2/lib/optparse.rb:204:in `<top (required)>'" DBG> : "../.././ext/ripper/tools/generate.rb:3:in `require'" DBG> : "../.././ext/ripper/tools/generate.rb:3:in `<main>'" -- backtrace of native function call (Use addr2line) -- 0x120138b0c 0x12004356c 0x120043670 0x1200e47e0 0x2000003cff0 ------------------------------------------------------- make[2]: *** [check] Aborted make[2]: Leaving directory `/build/buildd/ruby1.9-1.9.0.2/ext/ripper' armel: atof atoi atol atoll gnu_dev_major gnu_dev_minor gnu_dev_makedev __strcspn_c1 __strcspn_c2 __strcspn_c3 __strspn_c1 __strspn_c2 __strspn_c3 __strpbrk_c2 __strpbrk_c3 __strtok_r_1c __strsep_1c __strsep_2c __strsep_3c strtoimax strtoumax wcstoimax wcstoumax vprintf getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar fputc_unlocked putc_unlocked putchar_unlocked getline feof_unlocked ferror_unlocked rb_class_of rb_type rb_special_const_p rb_enc_dummy_p tolower toupper vtable_size vtable_alloc vtable_free vtable_add vtable_included# running... buildd 27059 101 1.8 16096 9352 ? R 05:55 0:05 /usr/lib/gcc/arm-linux-gnueabi/4.3.1/cc1 -I. -I.ext/include/arm-linux-eabi -I./include -I. -DRUBY_EXPORT parse.c -dumpbase parse.c -auxbase-strip parse.o -g -g -g -O2 -O2 -Wall -Wno-parentheses -fno-strict-aliasing -fPIC -o /tmp/cci9o3RC.s yy_symbol_value_print yy_symbol_print yy_stack_print yy_reduce_print yytnamerr yysyntax_error yydestruct ruby_yyparse parser_yyerror debug_lines yycompile0 yycompile lex_get_str lex_getline rb_compile_string rb_parser_compile_string rb_compile_cstr rb_parser_compile_cstr lex_io_gets rb_compile_file rb_parser_compile_file parser_str_new parser_nextc parser_pushback parser_newtok parser_tokspace parser_tokadd parser_tok_hex parser_tokadd_utf8 parser_read_escape parser_tokaddmbc parser_tokadd_escape parser_regx_options dispose_string parser_tokadd_mbchar parser_tokadd_string parser_parse_string parser_heredoc_identifier parser_heredoc_restore parser_whole_match_p parser_here_document hash rb_reserved_word arg_ambiguous_gen lvar_defined_gen parser_encode_length parser_set_encode magic_comment_encoding magic_comment_marker parser_magic_comment set_file_encoding parser_prepare parser_yylex yylex node_newnode nodetype# running... buildd 27059 92.1 2.4 19584 12728 ? R 05:55 0:10 /usr/lib/gcc/arm-linux-gnueabi/4.3.1/cc1 -I. -I.ext/include/arm-linux-eabi -I./include -I. -DRUBY_EXPORT parse.c -dumpbase parse.c -auxbase-strip parse.o -g -g -g -O2 -O2 -Wall -Wno-parentheses -fno-strict-aliasing -fPIC -o /tmp/cci9o3RC.s nodeline newline_node fixpos parser_warning parser_warn block_append_gen list_append_gen list_concat_gen literal_concat0 literal_concat_gen evstr2dstr_gen new_evstr_gen call_bin_op_gen call_uni_op_gen match_op_gen gettable_gen assignable_gen shadowing_lvar_gen new_bv_gen aryset_gen block_dup_check_gen rb_id_attrset attrset_gen rb_backref_error_gen arg_concat_gen arg_append_gen splat_array node_assign_gen value_expr_gen void_expr_gen void_stmts_gen remove_begin reduce_nodes_gen assign_in_cond e_option_supplied warn_unless_e_option warning_unless_e_option range_op literal_node cond0 cond_gen logop_gen no_blockarg ret_args_gen new_yield_gen negate_lit arg_blk_pass new_args_gen local_push_gen local_pop_gen vtable_tblcpy local_tbl_gen arg_var_gen local_var_gen local_id_gen dyna_push_gen dyna_pop_gen dyna_in_block_gen dvar_defined_gen dvar_curr_gen reg_fragment_setenc_gen reg_fragment_check_gen reg_named_capture_assign_iter reg_named_capture_assign_gen reg_compile_gen rb_gc_mark_parser rb_parser_append_print rb_parser_while_loop ivar2_cmp ivar2_hash Init_sym rb_gc_mark_symbols internal_id_gen is_special_global_name rb_symname_p rb_enc_symname_p rb_enc_symname2_p rb_intern3 rb_intern2 rb_intern rb_intern_str rb_id2str rb_id2name symbols_i rb_sym_all_symbols rb_is_const_id rb_is_class_id rb_is_instance_id rb_is_local_id rb_is_junk_id parser_initialize parser_mark parser_free parser_new rb_parser_new rb_parser_end_seen_p rb_parser_encoding rb_parser_get_yydebug rb_parser_set_yydebug rb_parser_malloc rb_parser_calloc rb_parser_realloc rb_parser_free Analyzing compilation unit Performing interprocedural optimizations <visibility> <early_local_cleanups># running... buildd 27059 94.3 3.6 25072 18880 ? R 05:55 0:15 /usr/lib/gcc/arm-linux-gnueabi/4.3.1/cc1 -I. -I.ext/include/arm-linux-eabi -I./include -I. -DRUBY_EXPORT parse.c -dumpbase parse.c -auxbase-strip parse.o -g -g -g -O2 -O2 -Wall -Wno-parentheses -fno-strict-aliasing -fPIC -o /tmp/cci9o3RC.s cc: Internal error: Terminated (program cc1) Please submit a full bug report. See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions. make[1]: *** [parse.o] Error 1 ia64: cc -fno-strict-aliasing -g -g -O0 -O2 -g -Wall -Wno-parentheses -fPIC -I. -I.ext/include/ia64-linux -I./include -I. -DRUBY_EXPORT -o regexec.o -c regexec.c regexec.c: In function 'match_at': regexec.c:1680: warning: cast from pointer to integer of different size regexec.c:1745: warning: cast from pointer to integer of different size Assembler messages: Fatal error: can't create regexec.o: No such file or directory make[1]: *** [regexec.o] Error 1 mips: test_copy_stream_io_to_strio(TestIO): . test_copy_stream_rbuf(TestIO): . test_copy_stream_socket(TestIO): semop(1): encountered an error: Identifier removed make[1]: *** [test-all] Error 1 make: *** [common-post-build-arch] Terminated Build killed with signal 15 after 150 minutes of inactivity 1.9.0.2-1 (only change is the security fix) failed on: i386, ia64, powerpc, armel: test_copy_stream_io_to_strio(TestIO): . test_copy_stream_rbuf(TestIO): . test_copy_stream_socket(TestIO): semop(1): encountered an error: Identifier removed make[1]: *** [test-all] Error 1 m68k: cc -fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC -I. -I.ext/include/m68k-linux -I./include -I. -DRUBY_EXPORT -o gc.o -c gc.c gc.c: In function ‘mark_current_machine_context’: gc.c:1653: warning: passing argument 1 of ‘mark_locations_array’ from incompatible pointer type gc.c:1653: warning: passing argument 2 of ‘mark_locations_array’ makes pointer from integer without a cast gc.c:1653: error: too few arguments to function ‘mark_locations_array’ make[1]: *** [gc.o] Error 1 make[1]: Leaving directory `/build/buildd/ruby1.9-1.9.0.2' hppa: cc -I. -I../../.ext/include/hppa-linux -I../.././include -I../.././ext/continuation -DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -fPIC -fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC -o continuation.o -c continuation.c cc -shared -o ../../.ext/hppa-linux/continuation.so continuation.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lruby1.9 -lpthread -lrt -ldl -lcrypt -lm -lc make[2]: Leaving directory `/build/buildd/ruby1.9-1.9.0.2/ext/continuation' compiling curses Build killed with signal 15 after 300 minutes of inactivity alpha: same as 1.9.0.2-2. -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]