[OpenAFS-devel] ubuntu nightly build failed
Benjamin Kaduk
kaduk@MIT.EDU
Sun, 8 Feb 2015 16:24:25 -0500 (EST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---559023410-399284304-1423430665=:3953
Content-Type: TEXT/PLAIN; charset=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
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-build=
er/build/src/uss'
> (
> VERSION=3D`/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x8=
6_64-builder/build/build-tools/git-version
> /var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-builde=
r/build
> "1.5.76-4578-g73cad"` && \
> =09echo 'char cml_version_number[]=3D"@(#)OpenAFS '$VERSION `date
> +"%Y-%m-%d"` $USER@`hostname`'";' >AFS_component_version_number.c.NEW && =
\
> =09echo 'char* AFSVersion =3D "openafs '$VERSION'";'
> >>AFS_component_version_number.c.NEW && \
> =09if cmp AFS_component_version_number.c.NEW
> AFS_component_version_number.c > /dev/null 2>&1 ; then : ; else \
> =09mv 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-buil=
der/build/src/config
> -I/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-buil=
der/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-buil=
der/build/src/config
> -I/var/lib/buildbot/slaves/openafs-ubuntu1404-x86_64/ubuntu14-x86_64-buil=
der/build/include
> -I. -I. -o uss_procs.o -c uss_procs.c
> uss_procs.c: In function =E2=80=98Copy=E2=80=99:
> uss_procs.c:541:7: error: ignoring return value of =E2=80=98write=E2=80=
=99, declared with
> attribute warn_unused_result [-Werror=3Dunused-result]
> write(fd1, buf, cnt);
> ^
> uss_procs.c:543:10: error: ignoring return value of =E2=80=98write=E2=80=
=99, declared with
> attribute warn_unused_result [-Werror=3Dunused-result]
> write(fd1, buf, cnt);
> ^
> uss_procs.c: In function =E2=80=98Echo=E2=80=99:
> uss_procs.c:611:10: error: ignoring return value of =E2=80=98write=E2=80=
=99, declared with
> attribute warn_unused_result [-Werror=3Dunused-result]
> write(fd, a_s, strlen(a_s));
> ^
> uss_procs.c:612:10: error: ignoring return value of =E2=80=98write=E2=80=
=99, declared with
> attribute warn_unused_result [-Werror=3Dunused-result]
> write(fd, "\n", 1);
> ^
> cc1: all warnings being treated as errors
>
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
---559023410-399284304-1423430665=:3953--