[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] 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-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: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.