config.status: creating include/autoconf.h configure: configuring in lib/apputils configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--without-krb4' '--without-tcl' '--enable-ipv6' '--enable-shared' '--with-system-et' '--with-system-ss' '--enable-dns-for-realm' '--enable-kdc-replay-cache' '--build=i686-pc-linux-gnu' 'CFLAGS=-O2 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow -mno-tls-direct-seg-refs' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' --cache-file=../.././config.cache --srcdir=. configure: loading cache ../.././config.cache configure: error: `CFLAGS' has changed since the previous run: configure: former value: -O2 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow -mno-tls-direct-seg-refs configure: current value: -O2 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow -mno-tls-direct-seg-refs configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../.././config.cache' and start over configure: error: /bin/sh './configure' failed for lib/apputils !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/app-crypt/mit-krb5-1.5.2-r2/work/krb5-1.5.2/src/config.log !!! ERROR: app-crypt/mit-krb5-1.5.2-r2 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile mit-krb5-1.5.2-r2.ebuild, line 45: Called econf '--without-krb4' '--without-tcl' '--enable-ipv6' '--enable-shared' '--with-system-et' '--with-system-ss' '--enable-dns-for-realm' '--enable-kdc-replay-cache' ebuild.sh, line 578: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-crypt/mit-krb5-1.5.2-r2/temp/build.log'. Reproducible: Always Steps to Reproduce: 1. emerge mit-krb5-1.5.2-r1 or -r2 Actual Results: build fails Expected Results: build succeeds
Remove the redundant spaces in C[XX]FLAGS from /etc/make.conf *** This bug has been marked as a duplicate of bug 106513 ***
autoconf has been fixed, now it's up to the packages themselves to regenerate the configure script.
Peter Shaw, Please edit the mit-krb5-1.5.2-r2.ebuild file and comment out the cd "${S}"/appl/telnet line then `ebuild mit-krb5-1.5.2-r2.ebuild digest` Then try to emerge it as normal. Please report back the results.
I'm experiancing this bug too. I will shortly folllow your directions, seemant
i probabily should have updated some more packages (fresh from 2007.0 s3) before i tried emerging this, and i have a wierd /etc . but your directions didnt work
Same here with app-crypt/mit-krb5-1.6.3, commenting out the mentionend line cd "${S}"/appl/telnet line didn't help. After that the same error occured a bit later during the compilaton.
can you attach your make.conf and (if you have that file) attach /etc/portage/bashrc as well?
Created attachment 146613 [details] make.conf Sure, make.conf attached, no /etc/portage/bashrc. Thanks for the quick reply.
can you post a full build log as well? I tried to reproduce it here yet it works in any case
OK. Here's the log. [...] config.status: creating kadmin/testing/scripts/Makefile config.status: creating kadmin/testing/util/Makefile config.status: creating include/autoconf.h configure: configuring in plugins/preauth/pkinit configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--without-krb4' '--without-tcl' '--enable-ipv6' '--enable-shared' '--with-system-et' '--with-system-ss' '--enable-dns-for-realm' '--enable-kdc-replay-cache' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -O2' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=../../.././config.cache --srcdir=. configure: loading cache ../../.././config.cache configure: error: `CFLAGS' has changed since the previous run: configure: former value: -march=native -O2 configure: current value: -march=native -O2 configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../../.././config.cache' and start over configure: error: /bin/sh './configure' failed for plugins/preauth/pkinit !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-crypt/mit-krb5-1.6.3-r1/work/krb5-1.6.3/src/config.log * * ERROR: app-crypt/mit-krb5-1.6.3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3157: Called econf 'src_compile' 'src_compile' '--without-krb4' '--without-tcl' '--enable-ipv6' '--enable-shared' '--with-system-et' '--with-system-ss' * ebuild.sh, line 513: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r1/temp/environment'. * Do you also need the full environment (125K)?
Created attachment 146688 [details] log of the failed build of mit-krb5-1.6.3-r1 Wait ... trying again I see a checking for unistd.h... yes checking for GNU linker... yes configure: not adding extra gcc warning flags because CFLAGS was set configure: no krb4 support checking which version of com_err to use... system during configuration. I think I'll better attach the full log.
okay, as weird as it might sound, can you change your CFLAGS setting from "-march=native -O2" to "-march=native -O2" I assume the configure script is heavily b0rked and it will work afterwards
Thanks, I can confirm taking out the extra space made it working. Who matches compiler options per character, and even if you do so, who, the hell, took out the space in the first place?! Grml .... Thanks again, and have a nice easter!
thankies :)
There's no need for CANTFIX, this is easily fixed... As I mentioned in comment #2, this was an autoconf bug and regenerating the configure scripts is enough to get mit-krb5 working properly. mit-krb5 has multiple configure scripts. Regenerating all (actually, only those that use AC_CONFIG_SUBDIRS really need it) fixes this bug. einfo "Reconfiguring configure scripts (be patient)" local subdir for subdir in $(find . -name configure.in \ | xargs grep -l 'AC_CONFIG_SUBDIRS' \ | sed 's@/configure\.in$@@'); do ebegin "Regenerating configure script in ${subdir}" cd "${S}"/${subdir} eautoconf --force -I "${S}" eend $? done
I can confirm this. Removing the extra spaced solve the problem but still, the configure script shouldn't be that sensible to a mere space...
(In reply to comment #15) > There's no need for CANTFIX, this is easily fixed... Thx for you suggestion - I've tested it and this workaround is now part of mit-krb5-1.6.3-r1. I haven't done revision bump because for all of you which already could compile mit-krb5 it makes no sense to recompile and for all the others it should work now ;) (At least in 1.6.4 we shouldn't need to reconfigure all)