Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 181404
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Gentoo Kerberos Maintainers <kerberos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Shaw <fuqnbastard@yahoo.ca>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
make.conf make.conf text/plain Frank Hellmuth 2008-03-19 22:15 0000 3.81 KB Details
build.log log of the failed build of mit-krb5-1.6.3-r1 text/plain Frank Hellmuth 2008-03-20 19:50 0000 21.88 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 181404 depends on: Show dependency tree
Bug 181404 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-09 11:21 0000
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

------- Comment #1 From Jakub Moc (RETIRED) 2007-06-09 11:23:19 0000 -------
Remove the redundant spaces in C[XX]FLAGS from /etc/make.conf

*** This bug has been marked as a duplicate of bug 106513 ***

------- Comment #2 From Harald van Dijk 2007-06-09 12:41:37 0000 -------
autoconf has been fixed, now it's up to the packages themselves to regenerate
the configure script.

------- Comment #3 From Seemant Kulleen (RETIRED) 2007-06-09 15:37:39 0000 -------
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.

------- Comment #4 From Kyle Elbert 2008-01-19 23:21:39 0000 -------
I'm experiancing this bug too. I will shortly folllow your directions, seemant

------- Comment #5 From Kyle Elbert 2008-01-19 23:28:44 0000 -------
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

------- Comment #6 From Frank Hellmuth 2008-03-19 21:38:30 0000 -------
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.

------- Comment #7 From Markus Ullmann 2008-03-19 21:57:22 0000 -------
can you attach your make.conf and (if you have that file) attach
/etc/portage/bashrc as well?

------- Comment #8 From Frank Hellmuth 2008-03-19 22:15:05 0000 -------
Created an attachment (id=146613) [details]
make.conf

Sure, make.conf attached, no /etc/portage/bashrc.

Thanks for the quick reply. 

------- Comment #9 From Markus Ullmann 2008-03-20 13:13:47 0000 -------
can you post a full build log as well?
I tried to reproduce it here yet it works in any case

------- Comment #10 From Frank Hellmuth 2008-03-20 18:43:25 0000 -------
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)?

------- Comment #11 From Frank Hellmuth 2008-03-20 19:50:07 0000 -------
Created an attachment (id=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.

------- Comment #12 From Markus Ullmann 2008-03-21 15:56:57 0000 -------
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

------- Comment #13 From Frank Hellmuth 2008-03-21 18:14:12 0000 -------
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!

------- Comment #14 From Markus Ullmann 2008-03-21 19:23:45 0000 -------
thankies :)

------- Comment #15 From Harald van Dijk 2008-03-21 21:22:07 0000 -------
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

------- Comment #16 From Le retraité 2008-03-26 15:24:55 0000 -------
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...

------- Comment #17 From Michael Hammer 2008-07-11 08:15:14 0000 -------
(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)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug