Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57185 - mit-krb5 fails to build
Summary: mit-krb5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
: 57606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-15 07:57 UTC by Christian Taylor
Modified: 2004-07-20 11:22 UTC (History)
5 users (show)

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


Attachments
a "patched autoheader patch" (mit-krb5-1.3.3-autoheader.patch,694 bytes, patch)
2004-07-19 17:01 UTC, Axel Dyks
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Taylor 2004-07-15 07:57:23 UTC
mit-krb5 will not build at all as of today. It worked fine when I recently built it on another machine, but after an emerge sync on multiple machines it will no longer build. Make reports an error concerning "commands commence before first target". This consistantly happens everytime on every machine I try.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge mit-krb5

Actual Results:  
It begins to build and goes for a bit then dies with this:

making all in include...
make[1]: Entering directory
`/var/tmp/portage/mit-krb5-1.3.3-r1/work/krb5-1.3.3/src/include'
Makefile:533: *** commands commence before first target.  Stop.
make[1]: Leaving directory
`/var/tmp/portage/mit-krb5-1.3.3-r1/work/krb5-1.3.3/src/include'
make: *** [all-recurse] Error 1
 
!!! ERROR: app-crypt/mit-krb5-1.3.3-r1 failed.
!!! Function src_compile, Line 128, Exitcode 2
!!! (no error message)


Expected Results:  
The port should build successfully.

Machine #1:

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.23)
=================================================================
System uname: 2.4.23 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://riven.acadiau.ca/gentoo http://gentoo.seren.com/gentoo
http://gentoo.noved.org/ http://gentoo.mirrors.pair.com/
ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts audiofile avi berkdb cdr crypt cups doc encode esd
foreign-sysvinit gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++
libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib
perl png postgres python qt quicktime readline samba sdl slang spell ssl svga
tcltk tcpd truetype video_cards_radeon x86 xml2 xmms xv zlib"

Machine #2:
Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Intel(R) Pentium(R) M processor 1400MHz
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://128.213.5.34/gentoo/
http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa also apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb
gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg krb4 libg++ libwww mad
mikmod mmx motif mpeg ncurses nls offensive oggvorbis opengl oss pam pdflib perl
png postgres python quicktime readline samba sdl slang spell ssl svga tcltk tcpd
truetype x86 xml2 xmms xv zlib"
Comment 1 Peter Jensen 2004-07-16 06:48:10 UTC
Seems the patch from Daniel Ahlberg in bug #44799 is what causes this problem.
I've confirmed that the package compiles fine without the autoheader patch,
but fails when the patch has been applied.
Comment 2 Peter Jensen 2004-07-16 06:51:05 UTC
Just forgot to add Daniel Ahlberg to CC.
Comment 3 Axel Dyks 2004-07-19 17:01:14 UTC
Created attachment 35778 [details, diff]
a "patched autoheader patch"

1.3.3-r1 does not compile on my gentoo box and will 
most likely fail to compile on other system, because of a bug/typo in
"mit-krb5-1.3.3-autoheader.patch".

At least my "synced" portage tree has got an invalid patch file
that writes the string "<tab>" instead of  the single character "\t"
to "src/include/Makefile.in" and uses "\"" instead of "\"
at end of line (to continue the line).

After "patching the patch", i. e. subsituting the original patch with
the on attached here, the compile was successful.

Further remark: #bug57606 is obviously a duplicate of this one. :-)

Greets,

Axel (XL)
Comment 4 Richard Fleming 2004-07-19 20:43:11 UTC
*** Bug 57606 has been marked as a duplicate of this bug. ***
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2004-07-20 10:08:51 UTC
Committed.