reopen 361576
thanks

Sorry, but there's one more problem.  Fortunately, this is the last
one.  A full build log is attached (without -Werror).


> Automatic build of ifhp_3.5.20-6 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
> gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -g -W -Wall -Werror -Wno-unused  
> -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -c -o plp_snprintf.o plp_snprintf.c
> cc1: warnings being treated as errors
> plp_snprintf.c: In function 'fmtquad':
> plp_snprintf.c:926: warning: the address of 'convert', will always evaluate 
> as 'true'
> plp_snprintf.c: In function 'fmtdouble':
> plp_snprintf.c:984: warning: the address of 'formatstr', will always evaluate 
> as 'true'
> plp_snprintf.c:987: warning: the address of 'formatstr', will always evaluate 
> as 'true'
> plp_snprintf.c:990: warning: the address of 'formatstr', will always evaluate 
> as 'true'
> make[2]: *** [plp_snprintf.o] Error 1
> make[2]: Leaving directory `/build/tbm/ifhp-3.5.20/src'

-- 
Martin Michlmayr
http://www.cyrius.com/
if [ "src" = po ] ; then \
            for i in po/Makefile* ; do \
                if [ -f "$i" ] ; then \
                    if grep '^mkinstalldirs.*=.*case' $i ; then \
                        echo "fixing broken $i which causes wrong path to 
mkinstalldirs to be used"; \
                        perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = 
\$(SHELL) \$(MKINSTALLDIRS):' $i; \
                    fi \
                fi \
            done \
        fi
if [ "src" != po -o "no" != "no" ] ; then \
                cd src; make localedir=/usr/share/locale \
                DESTDIR= all ; \
        fi
make[1]: Entering directory `/home/tbm/src/ifhp-3.5.20/src'
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o ifhp.o ifhp.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o accounting.o accounting.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o checkcode.o checkcode.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o debug.o debug.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o errormsg.o errormsg.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o globmatch.o globmatch.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o open_device.o open_device.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o perlobj.o perlobj.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o plp_snprintf.o plp_snprintf.c
plp_snprintf.c: In function 'fmtquad':
plp_snprintf.c:926: warning: the address of 'convert', will always evaluate as 
'true'
plp_snprintf.c: In function 'fmtdouble':
plp_snprintf.c:984: warning: the address of 'formatstr', will always evaluate 
as 'true'
plp_snprintf.c:987: warning: the address of 'formatstr', will always evaluate 
as 'true'
plp_snprintf.c:990: warning: the address of 'formatstr', will always evaluate 
as 'true'
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o safemalloc.o safemalloc.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o safestrutil.o safestrutil.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o stty.o stty.c
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o vars.o vars.c
/usr/lib/gcc-snapshot/bin/gcc  -o ifhp ifhp.o accounting.o checkcode.o debug.o 
errormsg.o globmatch.o open_device.o perlobj.o plp_snprintf.o safemalloc.o 
safestrutil.o stty.o vars.o 
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o textps.o textps.c
/usr/lib/gcc-snapshot/bin/gcc  -o textps textps.o plp_snprintf.o 
sed -e 's,.PERL@,/usr/bin/perl,g' -e 's,.FILTER_DIR@,/usr/lib/ifhp,g' \
                ./snmp_printer_status.template \
        >snmp_printer_status
chmod 755 snmp_printer_status
/usr/lib/gcc-snapshot/bin/gcc -g -W -Wall -Wno-unused  -g -O2 -g -W -Wall 
-Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" 
-DLOCALEDIR=\"/usr/share/locale\"   -c -o monitor.o monitor.c
/usr/lib/gcc-snapshot/bin/gcc  -o monitor monitor.o plp_snprintf.o safemalloc.o 
safestrutil.o errormsg.o 
make[1]: Leaving directory `/home/tbm/src/ifhp-3.5.20/src'
if [ "po" = po ] ; then \
            for i in po/Makefile* ; do \
                if [ -f "$i" ] ; then \
                    if grep '^mkinstalldirs.*=.*case' $i ; then \
                        echo "fixing broken $i which causes wrong path to 
mkinstalldirs to be used"; \
                        perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = 
\$(SHELL) \$(MKINSTALLDIRS):' $i; \
                    fi \
                fi \
            done \
        fi
if [ "po" != po -o "no" != "no" ] ; then \
                cd po; make localedir=/usr/share/locale \
                DESTDIR= all ; \
        fi
if [ "man" = po ] ; then \
            for i in po/Makefile* ; do \
                if [ -f "$i" ] ; then \
                    if grep '^mkinstalldirs.*=.*case' $i ; then \
                        echo "fixing broken $i which causes wrong path to 
mkinstalldirs to be used"; \
                        perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = 
\$(SHELL) \$(MKINSTALLDIRS):' $i; \
                    fi \
                fi \
            done \
        fi
if [ "man" != po -o "no" != "no" ] ; then \
                cd man; make localedir=/usr/share/locale \
                DESTDIR= all ; \
        fi
make[1]: Entering directory `/home/tbm/src/ifhp-3.5.20/man'
rm -f ifhp.8
sed -e 's,_FONTDIR_,/usr/lib/ifhp/fonts/,g' \
            -e 's,_FILTER_DIR_,/usr/lib/ifhp,g' \
            -e 's,_IFHP_CONF_,/etc/ifhp.conf,g' \
            -e 's,_VERSION_,3.5.20,g' \
            ./ifhp.n >ifhp.8
rm -f textps.8
sed -e 's,_FONTDIR_,/usr/lib/ifhp/fonts/,g' \
            -e 's,_FILTER_DIR_,/usr/lib/ifhp,g' \
            -e 's,_IFHP_CONF_,/etc/ifhp.conf,g' \
            -e 's,_VERSION_,3.5.20,g' \
            ./textps.n >textps.8
make[1]: Leaving directory `/home/tbm/src/ifhp-3.5.20/man'

Reply via email to