Debian GNU/Linux

Comment 1 for bug 661573

Daniel Holbach (dholbach) wrote :

The package fails to build for me on precise amd64:

/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -c -o dir_handler.lo dir_handler.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -c dir_handler.c -fPIC -DPIC -o .libs/dir_handler.o
dir_handler.c: In function 'axutil_dir_handler_list_service_or_module_dirs':
dir_handler.c:208:10: error: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Werror=unused-result]
dir_handler.c:214:10: error: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors

make[6]: *** [dir_handler.lo] Error 1
make[6]: Leaving directory `/tmp/buildd/axis2c-1.6.0/util/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/tmp/buildd/axis2c-1.6.0/util/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/axis2c-1.6.0/util'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/buildd/axis2c-1.6.0/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/axis2c-1.6.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/axis2c-1.6.0'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2