The patch Marc found fixes the build problem the same as my use of the release pocket for samba-dev fixes the problem. Both fixes lead to the same test failure for me though (fail_over) which could be an unrelated issue:
FAIL: fail_over-tests =====================
Running suite(s): fail_over 50%: Checks: 2, Failures: 1, Errors: 0 ../src/tests/fail_over-tests.c:138:P:FAIL_OVER Tests:test_fo_new_service:0: Passed ../src/tests/fail_over-tests.c:160:F:FAIL_OVER Tests:test_fo_resolve_service:0: ../src/tests/fail_over-tests.c:244: Expected return of 0, got 110
make[1]: *** [override_dh_auto_test] Error 2 make[1]: Leaving directory `/<<PKGBUILDDIR>>' make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 20160526-1151
The patch Marc found fixes the build problem the same as my use of the release pocket for samba-dev fixes the problem. Both fixes lead to the same test failure for me though (fail_over) which could be an unrelated issue:
FAIL: fail_over-tests ======= =======
=======
Running suite(s): fail_over tests/fail_ over-tests. c:138:P: FAIL_OVER Tests:test_ fo_new_ service: 0: Passed tests/fail_ over-tests. c:160:F: FAIL_OVER Tests:test_ fo_resolve_ service: 0: ../src/ tests/fail_ over-tests. c:244: Expected return of 0, got 110
50%: Checks: 2, Failures: 1, Errors: 0
../src/
../src/
make[1]: *** [override_ dh_auto_ test] Error 2 ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
-------
Build finished at 20160526-1151