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

Re: [Xen-devel] Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ?



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@xxxxxxxxxxxxx
> https://lists.xen.org/xen-devel


_______________________________________________
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®.