Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004532 [Resin] minor always 05-04-11 12:51 05-19-11 14:56
Reporter reza View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.18 Product Version 4.0.6
  Product Build
Summary 0004532: Extraneous Build Error Message
Description Resin build/run is showing an error because of two missing methods -- "log_daemon_msg" and "log_end_msg". These two methods may not be present in all Linux distributions and Resin will work without them despite the error message. The error messages should be warnings or omitted altogether.

The following build/run output demonstrates the problem:

================================================================================
make

make[2]: Leaving directory `/home/ps/resin/modules/c/src/resinssl'
make[1]: Leaving directory `/home/ps/resin/modules/c/src'
if test -r ./modules/c/src/Makefile; then \
       cd ./modules/c/src; make; \
     fi
make[1]: Entering directory `/home/ps/resin/modules/c/src'
for dir in common resin_os resin resinssl; do (cd $dir; make); done
make[2]: Entering directory `/home/ps/resin/modules/c/src/common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ps/resin/modules/c/src/common'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resin_os'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resin_os'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resin'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resin'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resinssl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resinssl'
make[1]: Leaving directory `/home/ps/resin/modules/c/src'

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 `/home/ps/resin'
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 `/home/ps/resin'
if test /home/ps/resin != `pwd`; then \
       mkdir -p /home/ps/resin/bin; \
       mkdir -p /home/ps/resin/keys; \
       mkdir -p /home/ps/resin/licenses; \
       mkdir -p /home/ps/resin/lib; \
       mkdir -p /home/ps/resin/libexec64; \
       cp lib/*.jar /home/ps/resin/lib; \
       cp bin/* /home/ps/resin/bin; \
     fi; \
     if test /home/ps/resin != `pwd`; then \
       mkdir -p /home/ps/resin/webapps; \
       cp -r -u webapps/* /home/ps/resin/webapps; \
       mkdir -p /home/ps/resin/doc; \
       cp -r -u doc/* /home/ps/resin/doc; \
       mkdir -p /home/ps/resin/log; \
     fi; \
     if test /home/ps/resin/conf != `pwd`/conf; then \
       mkdir -p /home/ps/resin/conf; \
       cp -u conf/app-default.xml /home/ps/resin/conf/app-default.xml; \
       cp -u conf/resin.xml /home/ps/resin/conf/resin.xml; \
     fi; \
     (cd modules/c/src; make install)
make[1]: Entering directory `/home/ps/resin/modules/c/src'
for dir in common resin_os resin resinssl; do (cd $dir; make install); done
make[2]: Entering directory `/home/ps/resin/modules/c/src/common'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/ps/resin/modules/c/src/common'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resin_os'
mkdir -p /home/ps/resin/libexec64
cp libresin_os.so /home/ps/resin/libexec64
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resin_os'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resin'
mkdir -p /home/ps/resin/libexec64
cp libresin.so /home/ps/resin/libexec64
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resin'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resinssl'
mkdir -p /home/ps/resin/libexec64
cp libresinssl.so /home/ps/resin/libexec64
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resinssl'
make[1]: Leaving directory `/home/ps/resin/modules/c/src'
if test -r ./modules/c/src/Makefile; then \
       cd ./modules/c/src; make install; \
     fi; \
     if test -n "/etc/init.d/resin"; then \
         if test -w "/etc/init.d/resin"; then \
             cp -u init.d/resin /etc/init.d/resin; \
             chmod +x /etc/init.d/resin; \
         else \
             echo ;\
             echo ;\
             echo
"****************************************************************"; \
             echo "WARNING: Unable to install /etc/init.d/resin"; \
             echo " Destination is not writable. Usually, only
root has";\
             echo " permissions to install this file.";\
             echo;\
             echo " This file is not required, but is used to
start Resin"; \
             echo " at boot time.";\
             echo
"****************************************************************"; \
             echo ;\
             echo ;\
         fi; \
     fi;
make[1]: Entering directory `/home/ps/resin/modules/c/src'
for dir in common resin_os resin resinssl; do (cd $dir; make install); done
make[2]: Entering directory `/home/ps/resin/modules/c/src/common'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/ps/resin/modules/c/src/common'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resin_os'
mkdir -p /home/ps/resin/libexec64
cp libresin_os.so /home/ps/resin/libexec64
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resin_os'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resin'
mkdir -p /home/ps/resin/libexec64
cp libresin.so /home/ps/resin/libexec64
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resin'
make[2]: Entering directory `/home/ps/resin/modules/c/src/resinssl'
mkdir -p /home/ps/resin/libexec64
cp libresinssl.so /home/ps/resin/libexec64
make[2]: Leaving directory `/home/ps/resin/modules/c/src/resinssl'
make[1]: Leaving directory `/home/ps/resin/modules/c/src'
cp: cannot stat `init.d/resin': No such file or directory

cp -u init.d/resin /etc/init.d/resin
cp: overwrite `/etc/init.d/resin'? y
chmod +x /etc/init.d/resin
/etc/init.d/resin start
/etc/init.d/resin: line 86: log_daemon_msg: command not found
/etc/init.d/resin: line 96: log_end_msg: command not found
================================================================================

The issue was originally reported by Joe Belliveau on the CentOS 5.6 platform.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-04-11 12:51 reza New Issue
05-19-11 14:56 ferg Assigned To  => ferg
05-19-11 14:56 ferg Status new => closed
05-19-11 14:56 ferg Resolution open => fixed
05-19-11 14:56 ferg Fixed in Version  => 4.0.18


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