<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:teuf@gnome.org" title="Christophe Fergeau <teuf@gnome.org>"> <span class="fn">Christophe Fergeau</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Failure building tests with gcc 7.2.1, missing libm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103694">bug 103694</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>teuf@gnome.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Failure building tests with gcc 7.2.1, missing libm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103694#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Failure building tests with gcc 7.2.1, missing libm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103694">bug 103694</a>
              from <span class="vcard"><a class="email" href="mailto:teuf@gnome.org" title="Christophe Fergeau <teuf@gnome.org>"> <span class="fn">Christophe Fergeau</span></a>
</span></b>
        <pre>It's spice-common/common/Makefile.am which would need to have -lm, or
src/Makefile.am as libspice-client-glib-2.0.a uses hypot() from libm

Something like
diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index 68e3091..1bfc116 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -50,6 +50,9 @@ AC_DEFUN([SPICE_CHECK_SYSDEPS], [
     AC_FUNC_ERROR_AT_LINE
     AC_FUNC_FORK
     AC_CHECK_FUNCS([dup2 floor inet_ntoa memmove memset pow sqrt])
+    AC_SEARCH_LIBS([hypot], [m], [], [
+        AC_MSG_ERROR([unable to find the hypot() function])
+    ])
 ])

applied in the spice-common subdirectory (+ autogen.sh) should help.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>