From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Travis build failing because "tools/xen-detect: try sysfs node for obtaining guest type" ? Date: Thu, 22 Jun 2017 19:31:53 +0200 Message-ID: <1498152713.7405.38.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7963734997634558222==" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO5yA-0006vy-RG for xen-devel@lists.xenproject.org; Thu, 22 Jun 2017 17:32:38 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: "xen-devel@lists.xenproject.org" , Juergen Gross Cc: "Ian.Jackson" , cardoe , Wei Liu List-Id: xen-devel@lists.xenproject.org --===============7963734997634558222== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-fKsIuVZe8gBmKhoJiJus" --=-fKsIuVZe8gBmKhoJiJus Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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-dete= ct.c -o xen-detect xen-detect.c: In function =E2=80=98check_sysfs=E2=80=99: xen-detect.c:196:17: error: ignoring return value of =E2=80=98asprintf=E2= =80=99, declared with attribute warn_unused_result [-Werror=3Dunused-result= ] asprintf(&ver, "V%s.%s", str, tmp); ^ xen-detect.c: In function =E2=80=98check_for_xen=E2=80=99: xen-detect.c:93:17: error: ignoring return value of =E2=80=98asprintf=E2=80= =99, declared with attribute warn_unused_result [-Werror=3Dunused-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 --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-fKsIuVZe8gBmKhoJiJus Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJZS/8JAAoJEBZCeImluHPu0yAQAJaB+XX7W5MNvFO9FW29BKG9 D3SstepyxgtM7jG98AOEF86N3ePI5YAI2YR39JDhGYCb5CrWb+ziUxrSdYuYApkl DsaQ0aREItXbf8t2iT74ZJnnx7100xhBRar3GcxSnxzFKj/sB2kTXlgi6A77hBSU stbiH9dQbaaieB6+maceIM3q37Wj7ZAfqJKxno0V7eorM+OA9x+fOBQjQBeiZuVx lYSiJbejORxdFUId5eSdlrGmy6/wHAdU+MDcu2/8fHXA7DH9jzP/TNE1goTNFtRk ocTvOFYThANfEp7XOOEhenqriqo6OJTfaG2W7eIwPBxoSD3l0Yn5ifLg0nNQv/Jn 46BZysyRX2iXb4yY4m9QnhQIcICsgcXHhsv/f/s8ZPmZfkG0PNjB4I+W/2Tn1+Ju j74EjHkXOeKYZCUcginZIGopcsmiOdhBc94olcA2sPlOlumsedVDdtOST5hCJ5NF qhFSoD8WTftYFVogLCkr9/2nZkuqwqtIip8aCH6XQoeuMVt5L4DDaXSpDE8axVZE yo+/qGUYKPKhj1eTrlQWY2ep37ZR7BaqdEWL16nBe3+E3S/Nob7d3CuMGxxhKqKR nuhaVJlZL2isZJp5PlaPkKWbL8jBiGXLHz5lfYJ+L4AHXaDWvJKEzxDM+g9a74/j yvFaSA40V3D8QSeu8Qi3 =KAlr -----END PGP SIGNATURE----- --=-fKsIuVZe8gBmKhoJiJus-- --===============7963734997634558222== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============7963734997634558222==--