Created attachment 10713 [details]
lib/texpect/texpect.c requires header err.h and routines err and errx. These are not supplied by Solaris 10. They are available in the ccan package included in the Samba distribution. Attached is a patch to allow the texpect build to find the ccan routines.
Note that the attached patch also adds signal.h to texpect.c. The need for that is documented in Bug 10833. I could not find a clean way to submit this as two separate patches as the changes are right next to each other.
A fix for this bug needs to be included in the 4.2.0 release.
Fix from master doesn't apply - we need a back-port here.
This bug is resolved by the patchset attached to bug 10833.
*** This bug has been marked as a duplicate of bug 10833 ***