Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004383 [Resin] minor always 02-09-11 03:42 02-11-11 14:02
Reporter mros2stf View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.15
Summary 0004383: make fails to build some modules
Description Even though SSL is indicated etc, I have to manually make the modules and manually cp them to the appropriate directory. I will add the config.log as well. You can see the make files were created, just not executed.

configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating init.d/resin
config.status: executing depfiles commands
config.status: executing libtool commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating init.d/resin
config.status: creating ./modules/c/src/Makefile
config.status: creating ./modules/c/src/resin/Makefile
config.status: creating ./modules/c/src/resinssl/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands


Resin Configuration summary:

  RESIN_HOME: /usr/local/resin
      root: /var/www
      conf: /etc/resin
      log : /var/log/resin
      init: /etc/init.d/resin
  JAVA_HOME: /usr/lib/jvm/java

    + 64-bit JNI in -I/usr/lib/jvm/java/include
    + JNI CFLAGS: -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
    + epoll() for keepalives
    + OpenSSL 0.9.8a 11 Oct 2005
        OpenSSL include: /usr/include
        OpenSSL lib: /usr/lib64
        OpenSSL libraries: -lssl -lcrypto

adczlnxsahqa1:/opt/resin-pro-4.0.15 # make
Makefile:283: warning: overriding commands for target `modules/c/src/Makefile'
Makefile:273: warning: ignoring old commands for target `modules/c/src/Makefile'
(cd modules/c/src; make)
make[1]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src'
for dir in common resin_os ; do (cd $dir; make); done
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/common'
gcc -c -I/usr/include -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI stream.c
stream.c: In function ?select_host?:
stream.c:1394: warning: cast from pointer to integer of different size
gcc -c -I/usr/include -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI config.c
gcc -c -I/usr/include -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI memory.c
/opt/resin-pro-4.0.15/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI stream.c
stream.c: In function ?select_host?:
stream.c:1394: warning: cast from pointer to integer of different size
/opt/resin-pro-4.0.15/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI config.c
/opt/resin-pro-4.0.15/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI memory.c
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/common'
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -m64 -fPIC -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -DCPU=\"s390x\" -DOS= -c -o boot.o boot.c
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -m64 -fPIC -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -DCPU=\"s390x\" -DOS= -c -o java.o java.c
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -m64 -fPIC -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -DCPU=\"s390x\" -DOS= -c -o jni_os.o jni_os.c
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -m64 -fPIC -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -DCPU=\"s390x\" -DOS= -c -o jni_jvmti.o jni_jvmti.c
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -m64 -fPIC -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -DCPU=\"s390x\" -DOS= -c -o jni_socket.o jni_socket.c
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -m64 -fPIC -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -DCPU=\"s390x\" -DOS= -c -o memory.o memory.c
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -m64 -fPIC -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -DCPU=\"s390x\" -DOS= -c -o std.o std.c
gcc -shared -fPIC -L/usr/lib64 -o libresin_os.so boot.o java.o jni_os.o jni_jvmti.o jni_socket.o memory.o std.o -lpthread -lc
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
make[1]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src'
if test -r ./modules/c/src/Makefile; then \
  cd ./modules/c/src; make; \
fi
make[1]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src'
for dir in common resin_os ; do (cd $dir; make); done
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/common'
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
make[1]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src'
adczlnxsahqa1:/opt/resin-pro-4.0.15 #
adczlnxsahqa1:/opt/resin-pro-4.0.15 # make install
Makefile:283: warning: overriding commands for target `modules/c/src/Makefile'
Makefile:273: warning: ignoring old commands for target `modules/c/src/Makefile'
make[1]: Entering directory `/opt/resin-pro-4.0.15'
Makefile:283: warning: overriding commands for target `modules/c/src/Makefile'
Makefile:273: warning: ignoring old commands for target `modules/c/src/Makefile'
make[1]: Nothing to be done for `install-exec-am'.
make[1]: Nothing to be done for `install-data-am'.
make[1]: Leaving directory `/opt/resin-pro-4.0.15'
-------------------------------------------------------
Will not overwrite Resin root directory (/var/www)
-------------------------------------------------------
cp: target `/var/www/resin-doc' is not a directory
Installing Resin home directory /var/www
-------------------------------------------------------
Will not overwrite /etc/resin/app-default.xml
-------------------------------------------------------
(cd modules/c/src; make install)
make[1]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src'
for dir in common resin_os ; do (cd $dir; make install); done
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/common'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/common'
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
mkdir -p /usr/local/resin/libexec64
cp libresin_os.so /usr/local/resin/libexec64
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
make[1]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src'
if test -r ./modules/c/src/Makefile; then \
        (cd ./modules/c/src; make install) \
fi
make[1]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src'
for dir in common resin_os ; do (cd $dir; make install); done
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/common'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/common'
make[2]: Entering directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
mkdir -p /usr/local/resin/libexec64
cp libresin_os.so /usr/local/resin/libexec64
make[2]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src/resin_os'
make[1]: Leaving directory `/opt/resin-pro-4.0.15/modules/c/src'
-------------------------------------------------------
Will not overwrite /etc/init.d/resin
-------------------------------------------------------
adczlnxsahqa1:/opt/resin-pro-4.0.15 #
Additional Information dczlnxsahqa1:/opt/resin-pro-4.0.15/modules/c/src/resinssl # ls
Makefile Makefile.in resinssl.def resinssl.vcproj ssl.c ssl_stub.c
adczlnxsahqa1:/opt/resin-pro-4.0.15/modules/c/src/resinssl # make
gcc -fPIC -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -fPIC -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include -I/usr/lib/jvm/java/include -I../common -I../resin -DCPU=\"s390x\" -DOS= -m64 -fPIC -fpic -DSSL_ENGINE -c -o ssl.o ssl.c
gcc -shared -fPIC -L/usr/lib64 -o libresinssl.so ssl.o ../resin_os/memory.o ../resin_os/std.o ../resin_os/java.o -lpthread -lc -lssl -lcrypto
adczlnxsahqa1:/opt/resin-pro-4.0.15/modules/c/src/resinssl # ls
Makefile libresinssl.so resinssl.vcproj ssl.o
Makefile.in resinssl.def ssl.c ssl_stub.c
Attached Files  config.log [^] (21,889 bytes) 02-09-11 03:42
 config.status [^] (57,421 bytes) 02-09-11 03:43

- Relationships

- Notes
(0005050)
ferg
02-11-11 14:02

./configure was not properly handling the target_cpu for this machine.
 

- Issue History
Date Modified Username Field Change
02-09-11 03:42 mros2stf New Issue
02-09-11 03:42 mros2stf File Added: config.log
02-09-11 03:43 mros2stf File Added: config.status
02-09-11 03:43 mros2stf Issue Monitored: mros2stf
02-11-11 14:02 ferg Note Added: 0005050
02-11-11 14:02 ferg Assigned To  => ferg
02-11-11 14:02 ferg Status new => closed
02-11-11 14:02 ferg Resolution open => fixed
02-11-11 14:02 ferg Fixed in Version  => 4.0.16


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker