stropts has been removed from newer versions of glibc, causing samba to not build. this fixes it: --- a/lib/replace/system/network.h 2019-01-15 21:07:00.000000000 +1100 +++ b/lib/replace/system/network.h.new 2019-08-27 23:28:56.106742843 +1000 @@ -87,10 +87,6 @@ #include <sys/uio.h> #endif -#ifdef HAVE_STROPTS_H -#include <stropts.h> -#endif - #ifndef HAVE_SOCKLEN_T #define HAVE_SOCKLEN_T typedef int socklen_t; --- Reproducible: Always Steps to Reproduce: 1. emerge samba 2. wait 3. watch it break Actual Results: broken build due to missing stropts Expected Results: Finished build The bug has been reported to samba a long time ago - the report is getting no attention
Please attach a failed bulid.log to show evidence. FWIW, it builds fine for me with samba 4.11.6 and glibc 2.30 and no stropts.h exists on my system.
Possible duplicate of bug 699668 Easy to verify with: $ grep -i stropts /usr/include/python*/pyconfig.h /usr/include/python2.7/pyconfig.h:/* Define to 1 if you have the <stropts.h> header file. */ /usr/include/python2.7/pyconfig.h:/* #undef HAVE_STROPTS_H */ /usr/include/python3.6m/pyconfig.h:/* Define to 1 if you have the <stropts.h> header file. */ /usr/include/python3.6m/pyconfig.h:/* #undef HAVE_STROPTS_H */ /usr/include/python3.7m/pyconfig.h:/* Define to 1 if you have the <stropts.h> header file. */ /usr/include/python3.7m/pyconfig.h:/* #undef HAVE_STROPTS_H */ /usr/include/python3.8/pyconfig.h:/* Define to 1 if you have the <stropts.h> header file. */ /usr/include/python3.8/pyconfig.h:/* #undef HAVE_STROPTS_H */ All should have "#undef HAVE_STROPTS_H"
*** This bug has been marked as a duplicate of bug 699668 ***