I started working on a patch but got distracted.

The warnings are for the most part pointing out real bugs, so it will not
be a trivial patch.

-Ben

On Sun, 8 Feb 2015, Jason Edgecombe wrote:

> Hi everyone,
>
> The nightly build on ubuntu is failing.
> The log file is at:
> http://buildbot.openafs.org:8010/builders/ubuntu14-x86_64-builder/builds/3/steps/compile/logs/stdio
>
> Here is a snippet of the log:
>
> make[3]: Entering directory
> `/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builder/build/src/uss'
> (
> VERSION=`/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builder/build/build-tools/git-version
> /var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builder/build
> "1.5.76-4578-g73cad"` && \
>       echo 'char cml_version_number[]="@(#)OpenAFS '$VERSION `date
> +"%Y-%m-%d"` $USER@`hostname`'";' >AFS_component_version_number.c.NEW && \
>       echo 'char* AFSVersion = "openafs '$VERSION'";'
> >>AFS_component_version_number.c.NEW && \
>       if cmp AFS_component_version_number.c.NEW
> AFS_component_version_number.c > /dev/null 2>&1 ; then : ; else \
>       mv AFS_component_version_number.c.NEW AFS_component_version_number.c ;
> fi )
> rm -f AFS_component_version_number.c.NEW
> gcc -fPIC     -O -Wall -Wstrict-prototypes -Wold-style-definition -Werror
> -fdiagnostics-show-option -Wpointer-arith
> -I/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builder/build/src/config
> -I/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builder/build/include
> -I. -I.      -o uss.o -c uss.c
> gcc -fPIC     -O -Wall -Wstrict-prototypes -Wold-style-definition -Werror
> -fdiagnostics-show-option -Wpointer-arith
> -I/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builder/build/src/config
> -I/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builder/build/include
> -I. -I.      -o uss_procs.o -c uss_procs.c
> uss_procs.c: In function ‘Copy’:
> uss_procs.c:541:7: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result [-Werror=unused-result]
>   write(fd1, buf, cnt);
>        ^
> uss_procs.c:543:10: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result [-Werror=unused-result]
>      write(fd1, buf, cnt);
>           ^
> uss_procs.c: In function ‘Echo’:
> uss_procs.c:611:10: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result [-Werror=unused-result]
>      write(fd, a_s, strlen(a_s));
>           ^
> uss_procs.c:612:10: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result [-Werror=unused-result]
>      write(fd, "\n", 1);
>           ^
> cc1: all warnings being treated as errors
>
>
> _______________________________________________
> OpenAFS-devel mailing list
> [email protected]
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>

Reply via email to