Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138960 - app-crypt/mit-krb5-1.4.3-r1 fails to compile - bad autoreconf call
Summary: app-crypt/mit-krb5-1.4.3-r1 fails to compile - bad autoreconf call
Status: RESOLVED DUPLICATE of bug 138535
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 23:33 UTC by Ben XO
Modified: 2006-07-04 07:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben XO 2006-07-02 23:33:26 UTC
i686-pc-linux-gnu-gcc -L../../../lib -Wl,-rpath -Wl,/usr/lib -O2 -march=athlon -pipe -fomit-frame-pointer -funit-at-a-time -fweb -frename-registers  -o ftpd ftpd.o ftpcmd.o glob.o popen.o vers.o radix.o secure.o    -lpty -lutil -lgssapi_krb5  -ldes425 -lkrb5 -lk5crypto -lcom_err -lkrb5support  -lcrypt -lresolv 
make[3]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3-r1/work/krb5-1.4.3/src/appl/gssftp/ftpd'
make[2]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3-r1/work/krb5-1.4.3/src/appl/gssftp'
making all in appl/telnet...
make[2]: Entering directory `/var/tmp/portage/mit-krb5-1.4.3-r1/work/krb5-1.4.3/src/appl/telnet'
making all in appl/telnet/libtelnet...
make[3]: Entering directory `/var/tmp/portage/mit-krb5-1.4.3-r1/work/krb5-1.4.3/src/appl/telnet/libtelnet'
make[3]: *** No rule to make target `all-libs', needed by `all'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3-r1/work/krb5-1.4.3/src/appl/telnet/libtelnet'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3-r1/work/krb5-1.4.3/src/appl/telnet'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/var/tmp/portage/mit-krb5-1.4.3-r1/work/krb5-1.4.3/src/appl'
make: *** [all-recurse] Error 1

!!! ERROR: app-crypt/mit-krb5-1.4.3-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mit-krb5-1.4.3-r1.ebuild, line 61:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.4.20040808-r1,glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer -funit-at-a-time -fweb -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer -funit-at-a-time -fweb -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict stricter userfetch"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/ http://194.117.143.69 ftp://194.117.143.69/mirrors/gentoo http://194.117.143.71 ftp://194.117.143.72/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X509 Xaw3d aac aalib accessibility aci8 acl acpi adbc adns alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 calendar caps cdb cdparanoia cdr cli cpudetection crypt cscope cups curl dba dga directfb dlloader dri dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat extraengine fam fastcgi fbcon flac flash floomaticdb foomaticdb fortran ftp gd gdbm ggi gif glibc-omitfp gmp gpg gpm gstreamer hpn iconv idea imap imlib inifile innodb ipv6 isdnlog jack jack-tmpfs java javascript jikes joystick jpeg jpeg2k junit justify kde kerberos ladcca ldap libcaca libclamav libg++ libwww live lm_sensors lzo lzw-tiff mad maildir matroska mbox mcal md5sum mhash mikmod ming mmap mmx mmxext motif mp3 mpeg mpi mysql nas ncurses nls nocardbus nodrm nptl nptlonly nvidia objc ogg oggvorbis oss pam pcre pda pdflib pear perl php pic pmg png postgres ppds pppd python qt qt3 qt4 quicktime readline real reflection rtc ruby samba sasl scanner sdk sdl session sharedext skey slang slp snmp sockets speex spell spl ssl svga tcltk tcpd tetex tetx tga theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l v4l2 videos vorbis wifi win32codecs wmf wxwindows x509 xanim xine xml xml2 xmlrpc xorg xsl xvid xvnn zeo zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_sis"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 23:43:40 UTC
You didn't post any errors. Try w/ MAKEOPTS="-j1"
Comment 2 Ben XO 2006-07-03 01:03:23 UTC
The error appears to be "make[3]: *** No rule to make target `all-libs', needed by `all'.  Stop.", which would appear to be some sort of Makefile error, surely.

Retrying with -j1, will post results.
Comment 3 Ben XO 2006-07-03 05:22:48 UTC
(In reply to comment #2)
> The error appears to be "make[3]: *** No rule to make target `all-libs', needed
> by `all'.  Stop.", which would appear to be some sort of Makefile error,
> surely.
> 
> Retrying with -j1, will post results.
> 

no change.
retrying with FEATURES="-confcache -ccache" ... no change.
retrying with USE="-*" ... no change.

i'm not really sure what the problem could be.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 10:13:06 UTC
Sorry, we can't fix something where there are no errors.
Comment 5 Ben XO 2006-07-03 16:26:26 UTC
But there's an error, look!!

*** No rule to make target `all-libs', needed by `all'.  Stop.

'make' bombs out because there's a make rule missing or something (that's my understanding of how 'make' works) and then the build is killed. If that's not an error, then what is it?

There are no CC errors, everything up to that point compiles fine. Yet 'make' still bombs out. any suggestions?

by the way line 61 of the ebuild is "emake -j1 || die" so your suggestion to try MAKEOPTS="-j1" seems redundant.

I will post a full build log (well, as much as my scroll buffer will let me) to see if you can help me find an error, but i'm pretty sure that it's something to do with a missing makefile or missing makefile-rule.
Comment 6 Ben XO 2006-07-03 16:50:20 UTC
the part of the configure that i find interesting is "config.status: creating libtelnet/Makefile
config.status: WARNING:  ../../config/pre.in libtelnet/Makefile.in ../../config/post.in seems to ignore the --datarootdir setting" as that's where the compile is failing
Comment 7 Dave 2006-07-03 17:39:08 UTC
I'm getting the same exact error.  Any resolution to get this to compile?
Comment 8 Ben XO 2006-07-04 01:55:19 UTC
Ok well lets see... 

app-crypt/mit-krb5-1.4.3 compiles fine, so logically the difference must be between 1.4.3 and 1.4.3-r1.

The problem appears to be to do with "telnet" Makefile generation, so lets try to see what's going on.

hmm, curious. 1.4.3-r1 has the following in the ebuild that 1.4.3 doesn't:

>       cd ${S}/appl/telnet
>       autoreconf --force -I ${S}


That looks appropriate to the problem to me... I wonder what prompted that change. ChangeLog says: 

12 Jun 2006; Seemant Kulleen <seemant@gentoo.org>
  mit-krb5-1.4.3-r1.ebuild:
  need to force autoreconf in the telnet directory to force the libtermcap
  patch to have an effect. Thanks to Mark Gilnes in bug #135288

Lets see what happens if we DON'T force a reconf (i.e. reverting just that 1 part of the diff between 1.4.3 and 1.4.3-r1) ...

bingo. clean compile.

I'd say that's where the problem lies folks...

WORKAROUND:

# cd /usr/portage/app-crypt/mit-krb5
# nano mit-krb5-1.4.3-r1.ebuild
remove the following lines, and save:
    cd ${S}/appl/telnet
    autoreconf --force -I ${S}
# ebuild mit-krb5-1.4.3-r1.ebuild digest

then it will compile.
Comment 9 Ed Catmur 2006-07-04 07:23:48 UTC
Duplicate of bug 138535.
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2006-07-04 07:35:36 UTC
thanks ed

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