Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ?
Hey,
Am I the only one for which Travis seems to be unhappy of this:
I/home/travis/build/fdario/xen/tools/misc/../../tools/include xen-detect.c -o xen-detectxen-detect.c: In function ‘check_sysfs’:
xen-detect.c:196:17: error: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Werror=unused-result]
asprintf(&ver, "V%s.%s", str, tmp);
^
xen-detect.c: In function ‘check_for_xen’:
xen-detect.c:93:17: error: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Werror=unused-result]
asprintf(&ver, "V%u.%u",
^cc1: all warnings being treated as errors
https://travis-ci.org/fdario/xen/jobs/245864401
Which, to me, looks related to 48d0c822640f8ce4754de16f1bee5c995bac7078 ("tools/xen-detect: try sysfs node for obtaining guest type").
I can, however, build the tools locally, with:
gcc version 6.3.0 20170516 (Debian 6.3.0-18)
Thoughts?
Regards,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 3 lines · Dario Faggioli
Hey,
Am I the only one for which Travis seems to be unhappy of this:
Nope. I saw it too ,but then figured there was some patch from Olaf for this?.
Quoted 17 lines
I/home/travis/build/fdario/xen/tools/misc/../../tools/include
xen-detect.c-o xen-detectxen-detect.c: In function ‘check_sysfs’:
xen-detect.c:196:17: error: ignoring return value of ‘asprintf’, declared with attributewarn_unused_result[-Werror=unused-result]asprintf(&ver, "V%s.%s", str, tmp); ^ xen-detect.c: In function ‘check_for_xen’: xen-detect.c:93:17: error: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Werror=unused-result] asprintf(&ver, "V%u.%u", ^cc1: all warnings being treated as errors
https://travis-ci.org/fdario/xen/jobs/245864401
Which, to me, looks related to
48d0c822640f8ce4754de16f1bee5c995bac7078("tools/xen-detect: try sysfs node for obtaining guest type").
Quoted 19 lines
I can, however, build the tools locally, with:
gcc version 6.3.0 20170516 (Debian 6.3.0-18)Thoughts?
Regards,
DarioSignature · 11 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 8 lines · Konrad Rzeszutek Wilk
Quoted 3 lines · Dario Faggioli
Hey,
Am I the only one for which Travis seems to be unhappy of this:
Nope. I saw it too ,but then figured there was some patch from Olaf for this?.
Ah, ok. I did look, but did not spot that.
Sorry for the noise, then. :-)
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel