* Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ?
@ 2017-06-22 17:31 Dario Faggioli
2017-06-23 1:56 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 3+ messages in thread
From: Dario Faggioli @ 2017-06-22 17:31 UTC (permalink / raw)
To: xen-devel@lists.xenproject.org, Juergen Gross
Cc: Ian.Jackson, cardoe, Wei Liu
[-- Attachment #1.1: Type: text/plain, Size: 1279 bytes --]
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-detect
xen-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
--
<<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)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ?
2017-06-22 17:31 Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ? Dario Faggioli
@ 2017-06-23 1:56 ` Konrad Rzeszutek Wilk
2017-06-23 8:36 ` Dario Faggioli
0 siblings, 1 reply; 3+ messages in thread
From: Konrad Rzeszutek Wilk @ 2017-06-23 1:56 UTC (permalink / raw)
To: Dario Faggioli
Cc: Juergen Gross, xen-devel@lists.xenproject.org, cardoe, Wei Liu,
Ian.Jackson
On Thu, Jun 22, 2017 at 07:31:53PM +0200, Dario Faggioli wrote:
> 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?.
>
> I/home/travis/build/fdario/xen/tools/misc/../../tools/include xen-detect.c -o xen-detect
> xen-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
> --
> <<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
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ?
2017-06-23 1:56 ` Konrad Rzeszutek Wilk
@ 2017-06-23 8:36 ` Dario Faggioli
0 siblings, 0 replies; 3+ messages in thread
From: Dario Faggioli @ 2017-06-23 8:36 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Juergen Gross, xen-devel@lists.xenproject.org, cardoe, Wei Liu,
Ian.Jackson
[-- Attachment #1.1: Type: text/plain, Size: 655 bytes --]
On Thu, 2017-06-22 at 21:56 -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Jun 22, 2017 at 07:31:53PM +0200, Dario Faggioli wrote:
> > 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
--
<<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)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-23 8:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22 17:31 Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ? Dario Faggioli
2017-06-23 1:56 ` Konrad Rzeszutek Wilk
2017-06-23 8:36 ` Dario Faggioli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).