From: Dario Faggioli <dario.faggioli@citrix.com>
To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Juergen Gross <jgross@suse.com>
Cc: "Ian.Jackson" <Ian.Jackson@citrix.com>,
cardoe <cardoe@cardoe.com>, Wei Liu <wei.liu@citrix.com>
Subject: Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ?
Date: Thu, 22 Jun 2017 19:31:53 +0200 [thread overview]
Message-ID: <1498152713.7405.38.camel@citrix.com> (raw)
[-- 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
next reply other threads:[~2017-06-22 17:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-22 17:31 Dario Faggioli [this message]
2017-06-23 1:56 ` Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ? Konrad Rzeszutek Wilk
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=1498152713.7405.38.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=Ian.Jackson@citrix.com \
--cc=cardoe@cardoe.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.