Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279893 - app-crypt/heimdal fails configure with autoconf-2.64
Summary: app-crypt/heimdal fails configure with autoconf-2.64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autoconf-2.64
  Show dependency tree
 
Reported: 2009-08-01 11:41 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-08-03 07:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (heimdal-1.2.1-r2:20090801-112458.log,20.28 KB, text/plain)
2009-08-01 11:41 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-01 11:41:01 UTC
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.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-01 11:41:49 UTC
Created attachment 199801 [details]
Build log
Comment 2 Michael Hammer (RETIRED) gentoo-dev 2009-08-03 07:54:11 UTC
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