[#54738] [ruby-trunk - Bug #8358][Open] TestSprintf#test_float test failuer on mingw32 — "phasis68 (Heesob Park)" <phasis@...>

36 messages 2013/05/02

[#54749] [ruby-trunk - Feature #8361][Open] Alternative syntax for block parameter — "alexeymuranov (Alexey Muranov)" <redmine@...>

12 messages 2013/05/02

[#54798] [ruby-trunk - Bug #8370][Open] Constants MAX_MULTIPART_LENGTH in cgi\core.rb — "xibbar (Takeyuki FUJIOKA)" <xibbar@...>

17 messages 2013/05/05

[#54850] [ruby-trunk - Feature #8377][Open] Deprecate :: for method calls in 2.1 — "charliesome (Charlie Somerville)" <charliesome@...>

27 messages 2013/05/07

[#54881] [ruby-trunk - Bug #8384][Open] Cannot build ruby against OpenSSL build with "no-ec2m" — "vo.x (Vit Ondruch)" <v.ondruch@...>

16 messages 2013/05/09

[#54921] [ruby-trunk - Bug #8393][Open] A class who's parent class is in a module can go wrong if files are required in the wrong order — "eLobato (Daniel Lobato Garcia)" <elobatocs@...>

15 messages 2013/05/12

[#54939] [ruby-trunk - Bug #8399][Open] Remove usage of RARRAY_PTR in C extensions when not needed — "dbussink (Dirkjan Bussink)" <d.bussink@...>

32 messages 2013/05/12

[#55053] [ruby-trunk - Feature #8426][Open] Implement class hierarchy method caching — "charliesome (Charlie Somerville)" <charliesome@...>

21 messages 2013/05/19

[#55096] [ruby-trunk - Feature #8430][Open] Rational number literal — "mrkn (Kenta Murata)" <muraken@...>

28 messages 2013/05/21

[#55197] [ruby-trunk - Feature #8461][Open] Easy way to disable certificate checking in XMLRPC::Client — "herwinw (Herwin Weststrate)" <herwin@...>

11 messages 2013/05/29

[ruby-core:54795] [ruby-trunk - Bug #8369] r40574 build fail

From: "jonforums (Jon Forums)" <redmine@...>
Date: 2013-05-05 04:28:25 UTC
List: ruby-core #54795
Issue #8369 has been updated by jonforums (Jon Forums).


Ah yes, a red herring issue. Removing those ignored, generated files from the source dir fixed it, and they're now being generated in the build dir. Must have been stale files from an earlier regression.

Thank you.
----------------------------------------
Bug #8369: r40574 build fail
https://bugs.ruby-lang.org/issues/8369#change-39135

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: build
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-04-29 trunk 40523) [i686-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


The following build fail info is from my arch 32bit system with gcc 4.8.0, but I see the same fail (less descriptive error log) on ubuntu server 13.04 using gcc 4.7.3:

[jon@archee build]$ svn log -1 -l 1 ..
------------------------------------------------------------------------
r40574 | zzak | 2013-05-03 18:21:34 -0400 (Fri, 03 May 2013)
------------------------------------------------------------------------

[jon@archee build]$ uname -a
Linux archee 3.8.11-1-ARCH #1 SMP PREEMPT Thu May 2 17:52:13 CEST 2013 i686 GNU/Linux

[jon@archee build]$ ../configure --enable-shared --disable-install-doc

[jon@archee build]$ make all test-all 2>&1 | tee "arch_build_log-$(date +%FT%H%M)"

	CC = gcc
	LD = ld
	LDSHARED = gcc -shared
	CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -ansi -std=iso9899:199409  -fPIC 
	XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
	CPPFLAGS =   -I. -I.ext/include/i686-linux -I../include -I..
	DLDFLAGS = -Wl,-soname,libruby.so.2.1  -fstack-protector  
	SOLIBS = -lpthread -lrt -ldl -lcrypt -lm  
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.8.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.8-20130425/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=release
Thread model: posix
gcc version 4.8.0 20130425 (prerelease) (GCC) 
compiling ../main.c
compiling ../dmydln.c
compiling ../dmyencoding.c
compiling ../version.c
compiling ../dmyversion.c
generating miniprelude.c
generating id.h
id.h updated
compiling miniprelude.c
ruby --disable=gems ../tool/gen_dummy_probes.rb ../probes.d > probes.dmyh
copying dummy probes.h
compiling ../array.c
compiling ../bignum.c
compiling ../class.c
../class.c: In function 'rb_singleton_class_attached':
../class.c:35:21: error: 'id__attached__' undeclared (first use in this function)
 #define id_attached id__attached__
                     ^
../class.c:295:34: note: in expansion of macro 'id_attached'
  st_insert(RCLASS_IV_TBL(klass), id_attached, obj);
                                  ^
../class.c:35:21: note: each undeclared identifier is reported only once for each function it appears in
 #define id_attached id__attached__
                     ^
../class.c:295:34: note: in expansion of macro 'id_attached'
  st_insert(RCLASS_IV_TBL(klass), id_attached, obj);
                                  ^
../class.c: In function 'make_metaclass':
../class.c:35:21: error: 'id__attached__' undeclared (first use in this function)
 #define id_attached id__attached__
                     ^
../class.c:317:35: note: in expansion of macro 'id_attached'
      rb_ivar_get(METACLASS_OF(k), id_attached) == (k))
                                   ^
../class.c:327:6: note: in expansion of macro 'HAVE_METACLASS_P'
     (HAVE_METACLASS_P(klass) ? METACLASS_OF(klass) : make_metaclass(klass))
      ^
../class.c:354:28: note: in expansion of macro 'ENSURE_EIGENCLASS'
  METACLASS_OF(metaclass) = ENSURE_EIGENCLASS(tmp);
                            ^
../class.c: In function 'singleton_class_of':
../class.c:35:21: error: 'id__attached__' undeclared (first use in this function)
 #define id_attached id__attached__
                     ^
../class.c:1424:34: note: in expansion of macro 'id_attached'
  rb_ivar_get(RBASIC(obj)->klass, id_attached) == obj) {
                                  ^
../class.c: In function 'rb_singleton_class':
../class.c:35:21: error: 'id__attached__' undeclared (first use in this function)
 #define id_attached id__attached__
                     ^
../class.c:317:35: note: in expansion of macro 'id_attached'
      rb_ivar_get(METACLASS_OF(k), id_attached) == (k))
                                   ^
../class.c:327:6: note: in expansion of macro 'HAVE_METACLASS_P'
     (HAVE_METACLASS_P(klass) ? METACLASS_OF(klass) : make_metaclass(klass))
      ^
../class.c:1472:40: note: in expansion of macro 'ENSURE_EIGENCLASS'
     if (RB_TYPE_P(obj, T_CLASS)) (void)ENSURE_EIGENCLASS(klass);
                                        ^
make: *** [class.o] Error 1



-- 
http://bugs.ruby-lang.org/

In This Thread