Am 09.02.2015 um 20:02 schrieb Christopher Schultz:
All,

On 2/9/15 6:27 PM, Bill Barker wrote:
To whom it may engage...

This is an automated request, but not an unsolicited one. For
more information please visit http://gump.apache.org/nagged.html,
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-native-make has an issue affecting its community integration.
This issue affects 4 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
     - tomcat-native-make :  Tomcat native library using Apache Portable Runtime
     - tomcat-native-make-install :  Tomcat native library using Apache 
Portable Runtime
     - tomcat-tc8.0.x-test-apr :  Tomcat 8.x, a web server implementing the 
Java Servlet 3.1,
...
     - tomcat-trunk-test-apr :  Tomcat 9.x, a web server implementing the Java 
Servlet 4.0,
...


Full details are available at:
     
http://vmgump.apache.org/gump/public/tomcat-native/tomcat-native-make/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
  -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-native/tomcat-native-make/gump_work/build_tomcat-native_tomcat-native-make.html
Work Name: build_tomcat-native_tomcat-native-make (Type: Build)
Work ended in a state of : Failed
Elapsed: 9 secs
Command Line: make
[Working Directory: /srv/gump/public/workspace/tomcat-native/native]
---------------------------------------------
make[1]: Entering directory `/srv/gump/public/workspace/tomcat-native/native'
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/address.lo -c 
src/address.c && touch src/address.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/bb.lo -c 
src/bb.c && touch src/bb.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/dir.lo -c 
src/dir.c && touch src/dir.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/error.lo -c 
src/error.c && touch src/error.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/file.lo -c 
src/file.c && touch src/file.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/info.lo -c 
src/info.c && touch src/info.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/jnilib.lo -c 
src/jnilib.c && touch src/jnilib.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/lock.lo -c 
src/lock.c && touch src/lock.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/misc.lo -c 
src/misc.c && touch src/misc.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/mmap.lo -c 
src/mmap.c && touch src/mmap.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/multicast.lo -c 
src/multicast.c && touch src/multicast.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/network.lo -c 
src/network.c && touch src/network.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/os.lo -c 
src/os.c && touch src/os.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/poll.lo -c 
src/poll.c && touch src/poll.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/pool.lo -c 
src/pool.c && touch src/pool.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/proc.lo -c 
src/proc.c && touch src/proc.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/shm.lo -c 
src/shm.c && touch src/shm.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/ssl.lo -c 
src/ssl.c && touch src/ssl.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/sslcontext.lo 
-c src/sslcontext.c && touch src/sslcontext.lo
/bin/bash /srv/gump/public/workspace/apr-1/dest-20150209/build-1/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT 
-D_GNU_SOURCE   -g -O2 -DHAVE_OPENSSL   
-I/srv/gump/public/workspace/tomcat-native/native/include 
-I/usr/lib/jvm/java-8-oracle/include -I/usr/lib/jvm/java-8-oracle/include/linux 
-I/srv/gump/public/workspace/openssl/dest-20150209/include  
-I/srv/gump/public/workspace/apr-1/dest-20150209/include/apr-1   -o src/sslinfo.lo -c 
src/sslinfo.c && touch src/sslinfo.lo
src/sslinfo.c: In function 'Java_org_apache_tomcat_jni_SSLSocket_getInfoB':
src/sslinfo.c:221:51: error: dereferencing pointer to incomplete type
                  array = tcn_new_arrayb(e, &session->session_id[0],
                                                    ^
src/sslinfo.c:222:47: error: dereferencing pointer to incomplete type
                                         session->session_id_length);
                                                ^
src/sslinfo.c: In function 'Java_org_apache_tomcat_jni_SSLSocket_getInfoS':
src/sslinfo.c:301:51: error: dereferencing pointer to incomplete type
                  char *hs = convert_to_hex(&session->session_id[0],
                                                    ^
src/sslinfo.c:302:50: error: dereferencing pointer to incomplete type
                                            session->session_id_length);
                                                   ^

Hmm, that's weird. That code's been like that for ... ever.

Does anybody know what the build environment looks like for this?

SSL_SESSION.session_id is an unsigned char[]

It would be odd to do "&session->session_id[0]" instead of simply
"session->session_id" unless one wanted to obfuscate the loss of type
information.

SSL_SESSION.session_id_length is an unsigned int and .. it should be fine.

I think the OpenSSL being used here might be borked.

I followed a couple of links from the above ones and landed at a gump page looking like it would use the master branch of OpenSSL at github.

If that is true, it can well be, that direct access to internal OpenSSL structures is no longer possible. The general tendency is making structures opaque and allowing access only via accessor functions.

I haven't checked, whether this is the case here.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to