Yai! Miscreation of configure! cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTARG $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : else #include <stdlib.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif fi ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" "$ac_includes_default" if test "x$ac_cv_have_decl_optind" = x""yes; then : ac_have_decl=1 else ac_have_decl=0 fi Some macro likely changed parameters or something and now it passes as action what actually is headers instead, and since # is a comment in sh, this creates a else fi situation that causes the attached build log. The problem seems to be in cf/roken-frag.m4: AC_CHECK_DECLS([optarg, optind, opterr, optopt, environ],[],[][ #include <stdlib.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif]) it lacks a comma before the last open bracket on the line.
Created attachment 199801 [details] Build log
Thx for the well prepared bug report. There is almost nothing left to do for me ;) I've reported the problem to upstream and commited a patch for heimdal-1.2.1-r3. As heimdal-1.2.1-r2 isn't stable I made a revision bump to prevent any regression. People running unstable heimdal have to reckon emerging more often. g,mueli p.S.: feel free to reopen if you encounter more problems