OpenChange uses samba, and its debugging macros, but the 4.2.0 RC2 breaks the build due to split of debugging functions into a private library samba-debug and not linking to it. The build error is:
> Linking bin/openchangeclient
> /usr/bin/ld: utils/openchangeclient.o: undefined reference to symbol 'dbghdrclass@@SAMBA_4.2.0RC2'
> /usr/lib64/samba/libsamba-debug.so: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:1140: recipe for target 'bin/openchangeclient' failed
I see two problems:
a) samba itself should link into this new private samba-debug library in its
pkg-config files, thus a backward compatibility is kept
b) such change should be "announced" by a soname version bump
It's my point of view, at least.
Possible intermediate solution at https://lists.samba.org/archive/samba-technical/2015-July/108826.html and https://lists.samba.org/archive/samba-technical/2015-July/108827.html