Attempting to update samba4 but encountering errors

Out samba4 package is over a year out-of-date. I am trying to update it to the latest upstream version but hitting this error:

Cross answers file cross-answers.txt is incomplete
make[2]: *** [Makefile:462: /scratch/union/build_dir/target-x86_64_musl/samba-4.22.1/.configured_0bbddb0425ddf47a02b3395aa2ca7140] Error 1

You can find my commit here: https://github.com/graysky2/packages/commits/samba4-update/

Please feel free to share any insights.

1 Like

OK, I figured out what was missing to get past the initial error but I am encountering a new one which I cannot seem to circumvent:

...
Checking project rules ...
ERROR: target ICONV_WRAPPER: dependency target   not declared

I am configuring with --without-iconv yet it seems to want to have some dependency on ICONV_WRAPPER. I am finding nothing in the output of ./configure --help that would apply. Any thoughts are welcome.

HAVE_UTF8_NORMALISATION is commented in ‎net/samba4/patches/104-samba-4.12-unbundle-icu.patch maybe this?

1 Like

That was it, thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.