[#6864] ruby 1.8.4 rc breaks alias_method/rails in bad ways — "Ara.T.Howard" <ara.t.howard@...>

20 messages 2005/12/09
[#6870] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — =?ISO-8859-15?Q?Florian_Gro=DF?= <florgro@...> 2005/12/12

Ara.T.Howard wrote:

[#6872] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — ara.t.howard@... 2005/12/12

On Tue, 13 Dec 2005, [ISO-8859-15] Florian Growrote:

[#6873] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — James Edward Gray II <james@...> 2005/12/12

On Dec 12, 2005, at 1:19 PM, ara.t.howard@noaa.gov wrote:

[#6874] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — ara.t.howard@... 2005/12/12

On Tue, 13 Dec 2005, James Edward Gray II wrote:

[#6891] Time.utc! and Time.localtime! — Daniel Hobe <hobe@...>

Writing a script yesterday I found out, much to my surprise, that the

16 messages 2005/12/14

[#6918] change to yaml in 1.8.4 — ara.t.howard@...

14 messages 2005/12/16

[#6934] 1.8.x, YAML, and release management — Ryan Davis <ryand-ruby@...>

I'm concerned that 1.8.3's acceptance of non-backwards-compatible

28 messages 2005/12/18

[#6996] Problems building 1.8.4 with VS8 C++ Express Edition (cl 14.00) — Austin Ziegler <halostatue@...>

Visual Studio C++ 2005 Express Edition (VS 8.0)

20 messages 2005/12/27

Re: ruby 1.8.4 preview3

From: Kailden <kailden@...>
Date: 2005-12-23 00:18:23 UTC
List: ruby-core #6984
> matz> I have just put 1.8.4 preview3 on the server.
>
> alpha:/home/kailden/install/ruby-1.8.4> uname -a
> AIX alpha 3 5 ------------
> alpha:/home/kailden/install/ruby-1.8.4> oslevel -r
> 5300-02 

[...]

> 1220 tests, 13470 assertions, 4 failures, 0 errors
> gmake: *** [test-all] Error 1
>


I was able to fix the remaining failures by changing sha2.c:70 to

#if defined(__GNUC__) || defined(_HPUX_SOURCE) || defined(__IBMC__)



I also had to manually enter
gmake ruby.imp
to get ruby.imp to be generated, after it fails to compile on bigdecimal.c:

/usr/ccs/bin/ld -brtl -eInit_bigdecimal -bI:../../ruby.imp -bM:SRE -T512 
-H512   -L"../.." -o ../../.ext/powerpc-aix5.3.0.0/bigdecimal.so 
bigdecimal.o  -ldl -lcrypt -lm   -lc
ld: 0706-003 Cannot find or read import file: ../../ruby.imp
        ld:accessx(): A file or directory in the path name does not exist

It seems that $(ARCHFILE) isn't a dependency in the right place.??



I also noticed that openssl was not being built, I didn't have my 
configuration options correct.
If I take out openssl altogether:

CPPFLAGS="-qalloca -D_LINUX_SOURCE_COMPAT" ./configure --prefix=$HOME 
--without-gcc --disable-ipv6 --with-zlib-include=$HOME/include 
--with-zlib-lib=$HOME/lib CC=cc

then I get a good build and test: 1224 tests, 13482 assertions, 0 
failures, 0 errors


otherwise with:

 CPPFLAGS="-qalloca -D_LINUX_SOURCE_COMPAT -qlonglong" ./configure 
--prefix=$HOME --without-gcc --disable-ipv6 
--with-openssl-dir=$HOME/openssl --with-openssl-include=$HOME/include 
--with-openssl-lib=$HOME/lib --with-zlib-include=$HOME/include 
--with-zlib-lib=$HOME/lib CC=cc

 I'm run into trouble during the build:

cc -g  -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H 
-DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H 
-DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD 
-DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE 
-DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE 
-DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP_CIPHERFINAL_EX 
-DHAVE_EVP_CIPHERINIT_EX -DHAVE_EVP_DIGESTFINAL_EX 
-DHAVE_EVP_DIGESTINIT_EX -DHAVE_EVP_MD_CTX_CLEANUP 
-DHAVE_EVP_MD_CTX_CREATE -DHAVE_EVP_MD_CTX_DESTROY 
-DHAVE_EVP_MD_CTX_INIT -DHAVE_HMAC_CTX_CLEANUP -DHAVE_HMAC_CTX_INIT 
-DHAVE_PEM_DEF_CALLBACK -DHAVE_X509V3_SET_NCONF 
-DHAVE_X509V3_EXT_NCONF_NID -DHAVE_X509_CRL_ADD0_REVOKED 
-DHAVE_X509_CRL_SET_ISSUER_NAME -DHAVE_X509_CRL_SET_VERSION 
-DHAVE_X509_CRL_SORT -DHAVE_OPENSSL_CLEANSE -DHAVE_VA_ARGS_MACRO 
-DHAVE_OPENSSL_ENGINE_H -DHAVE_ENGINE_ADD 
-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DHAVE_ENGINE_GET_DIGEST 
-DHAVE_ENGINE_GET_CIPHER -DHAVE_ENGINE_CLEANUP -DHAVE_OPENSSL_OCSP_H 
-DHAVE_ST_FLAGS -DHAVE_ST_ENGINE -DHAVE_ST_SINGLE 
-I/home/kailden/include -I/home/kailden/openssl/include -qalloca 
-D_LINUX_SOURCE_COMPAT -qlonglong -c ossl_bio.c
"../../config.h", line 8.9: 1506-236 (W) Macro name _ALL_SOURCE has been 
redefined.
"../../config.h", line 8.9: 1506-358 (I) "_ALL_SOURCE" is defined on 
line 144 of /usr/include/standards.h.
"/usr/include/alloca.h", line 34.1: 1506-224 (I) Incorrect pragma ignored.
"../../ruby.h", line 68.1: 1506-224 (I) Incorrect pragma ignored.
"/usr/include/unistd.h", line 171.17: 1506-343 (S) Redeclaration of 
lseek64 differs from previous declaration on line 169 of 
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 171.17: 1506-050 (I) Return type "long 
long" in redeclaration is not compatible with the previous return type 
"long".
"/usr/include/unistd.h", line 171.17: 1506-377 (I) The type "long long" 
of parameter 2 differs from the previous type "long".
"/usr/include/sys/lockf.h", line 64.20: 1506-343 (S) Redeclaration of 
lockf64 differs from previous declaration on line 62 of 
"/usr/include/sys/lockf.h".
"/usr/include/sys/lockf.h", line 64.20: 1506-377 (I) The type "long 
long" of parameter 3 differs from the previous type "long".
"/usr/include/unistd.h", line 796.33: 1506-343 (S) Redeclaration of 
ftruncate64 differs from previous declaration on line 794 of 
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 796.33: 1506-377 (I) The type "long long" 
of parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 832.33: 1506-343 (S) Redeclaration of 
truncate64 differs from previous declaration on line 830 of 
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 832.33: 1506-377 (I) The type "long long" 
of parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 849.33: 1506-343 (S) Redeclaration of 
pread64 differs from previous declaration on line 846 of 
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 849.33: 1506-377 (I) The type "long long" 
of parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 850.33: 1506-343 (S) Redeclaration of 
pwrite64 differs from previous declaration on line 847 of 
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 850.33: 1506-377 (I) The type "long long" 
of parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 917.25: 1506-343 (S) Redeclaration of 
fclear64 differs from previous declaration on line 914 of 
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 917.25: 1506-050 (I) Return type "long 
long" in redeclaration is not compatible with the previous return type 
"long".
"/usr/include/unistd.h", line 917.25: 1506-377 (I) The type "long long" 
of parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 918.25: 1506-343 (S) Redeclaration of 
fsync_range64 differs from previous declaration on line 915 of 
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 918.25: 1506-377 (I) The type "long long" 
of parameter 3 differs from the previous type "long".
gmake[1]: *** [ossl_bio.o] Error 1


Thanks,

kailden


In This Thread