From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Juergen Gross <jgross@suse.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
cardoe <cardoe@cardoe.com>, Wei Liu <wei.liu@citrix.com>,
"Ian.Jackson" <Ian.Jackson@citrix.com>
Subject: Re: Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ?
Date: Thu, 22 Jun 2017 21:56:30 -0400 [thread overview]
Message-ID: <20170623015630.GA15629@char.us.oracle.com> (raw)
In-Reply-To: <1498152713.7405.38.camel@citrix.com>
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
next prev parent reply other threads:[~2017-06-23 1:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-06-23 8:36 ` Dario Faggioli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170623015630.GA15629@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Jackson@citrix.com \
--cc=cardoe@cardoe.com \
--cc=dario.faggioli@citrix.com \
--cc=jgross@suse.com \
--cc=wei.liu@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.