<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Build of v5.99.3 is broken since v6.0 was tagged due to unexpected git-version-gen output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89135">89135</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build of v5.99.3 is broken since v6.0 was tagged due to unexpected git-version-gen output
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>build-system
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ssssam@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello

I found gstreamer-plugins-good failing to build due to this:

pulseutil.c: In function 'gst_pulse_fill_format_info':
pulseutil.c:167:5: error: missing binary operator before token "~"
 #if PA_CHECK_VERSION(3,99,0)
     ^


Looking at /usr/include/pulse/version.h, I saw this:

/** The major version of PA. \since 0.9.15 */
#define PA_MAJOR 6

/** The minor version of PA. \since 0.9.15 */
#define PA_MINOR 0~8

/** The micro version of PA (will always be 0 from v1.0 onwards). \since 0.9.15
*/
#define PA_MICRO 0


The reason seems to be that the `git-version-gen` script is returning this when
tag v5.99.3 is checked out:

./git-version-gen .
6.0~8


Seems like this is a bug in the git-version-gen script (or at least, unexpected
behaviour that causes 'configure' to come up with an invalid version number).
I'm afraid I don't have time to look at this now and have just upgraded to 6.0
instead, which currently doesn't suffer this issue.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>