Build of v5.99.3 is broken since v6.0 was tagged due to unexpected git-version-gen output
Submitted by Sam Thursfield
Assigned to pul..@..op.org
Description
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.