Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78351

Summary: app-crypt/heimdal-0.6.4-r1: build fails in src_test
Product: Gentoo Linux Reporter: Sascha Silbe <sascha-gentoo-bugzilla>
Component: Current packagesAssignee: Gentoo Kerberos Maintainers <kerberos>
Status: VERIFIED WONTFIX    
Severity: normal CC: mmokrejs, rphillips, sascha-gentoo-bugzilla, vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 137705    

Description Sascha Silbe 2005-01-17 05:09:08 UTC
app-crypt/heimdal-0.6.3-r1 fails the strpftime-test.



Reproducible: Always
Steps to Reproduce:
1. emerge heimdal

Actual Results:  
[...]
make[4]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken'
make  check-TESTS check-local
make[4]: Entering directory `/var/tmp/portage/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken'
PASS: base64-test
PASS: getaddrinfo-test
PASS: parse_bytes-test
PASS: parse_reply-test
PASS: snprintf-test
result of strftime("%A") = "Thursday" != "Friday"
result of strftime("%a") = "Thu" != "Fri"
result of strftime("%B") = "December" != "January"
result of strftime("%b") = "Dec" != "Jan"
result of strftime("%d") = "31" != "01"
result of strftime("%e") = "31" != " 1"
result of strftime("%H") = "23" != "00"
result of strftime("%I") = "11" != "12"
result of strftime("%j") = "365" != "001"
result of strftime("%k") = "23" != " 0"
result of strftime("%l") = "11" != "12"
result of strftime("%M") = "59" != "00"
result of strftime("%m") = "12" != "01"
result of strftime("%p") = "PM" != "AM"
result of strftime("%S") = "39" != "00"
result of strftime("%w") = "4" != "5"
result of strftime("%Y") = "1998" != "1999"
result of strftime("%y") = "98" != "99"
result of strftime("%U") = "52" != "00"
result of strftime("%W") = "52" != "00"
result of strftime("%M") = "24" != "25"
result of strftime("%S") = "43" != "05"
22 errors
FAIL: strpftime-test
========================================
1 of 6 tests failed
Please report to heimdal-bugs@pdc.kth.se
========================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib'
make: *** [check-recursive] Error 1

!!! ERROR: app-crypt/heimdal-0.6.3-r1 failed.
!!! Function src_test, Line 520, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.




Expected Results:  
Successfully complete the test suite and install heimdal.



Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-infra-skas3-v7-cube-1 i686)
=================================================================
System uname: 2.6.10-infra-skas3-v7-cube-1 i686 AMD Athlon(tm) XP 1700+
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="3dnow S3TC X acl afs alsa apm avi berkdb bitmap-fonts blas bzlib cdr crypt doc dvd dvdr encode f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg kerberos lapack lcms libg++ libwww lvm1 mad maildir makecheck mbox mikmod mmx monitor mozsvg mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey spell sqlite sse ssl tetex tiff truetype truetype-fonts type1-fonts unicode x86 xml xml2 xv xvid zlib linguas_en,de"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2005-06-06 12:52:26 UTC
sascha, is this an issue with 0.6.4?
Comment 2 Sascha Silbe 2005-06-06 13:29:38 UTC
Currently can't test because of the error below. Will wait for heimdal-0.6.4-r1 and test that one.

checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.16, ltmain.sh = 1.5.2) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.


!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/portage/heimdal-0.6.4/work/heimdal-0.6.4/config.log


Comment 3 Sascha Silbe 2005-06-07 07:06:17 UTC
heimdal-0.6.4-r1 does not have the libtool problem shown above, but still fails the snprintf-test:

make[4]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.4-r1/work/heimdal-0.6.4/lib/roken'
make  check-TESTS check-local
make[4]: Entering directory `/var/tmp/portage/portage/heimdal-0.6.4-r1/work/heimdal-0.6.4/lib/roken'
PASS: base64-test
PASS: getaddrinfo-test
PASS: parse_bytes-test
PASS: parse_reply-test
PASS: snprintf-test
result of strftime("%A") = "Thursday" != "Friday"
result of strftime("%a") = "Thu" != "Fri"
result of strftime("%B") = "December" != "January"
result of strftime("%b") = "Dec" != "Jan"
result of strftime("%d") = "31" != "01"
result of strftime("%e") = "31" != " 1"
result of strftime("%H") = "23" != "00"
result of strftime("%I") = "11" != "12"
result of strftime("%j") = "365" != "001"
result of strftime("%k") = "23" != " 0"
result of strftime("%l") = "11" != "12"
result of strftime("%M") = "59" != "00"
result of strftime("%m") = "12" != "01"
result of strftime("%p") = "PM" != "AM"
result of strftime("%S") = "39" != "00"
result of strftime("%w") = "4" != "5"
result of strftime("%Y") = "1998" != "1999"
result of strftime("%y") = "98" != "99"
result of strftime("%U") = "52" != "00"
result of strftime("%W") = "52" != "00"
result of strftime("%M") = "24" != "25"
result of strftime("%S") = "43" != "05"
22 errors
FAIL: strpftime-test
========================================
1 of 6 tests failed
Please report to heimdal-bugs@pdc.kth.se
========================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.4-r1/work/heimdal-0.6.4/lib/roken'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.4-r1/work/heimdal-0.6.4/lib/roken'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.4-r1/work/heimdal-0.6.4/lib/roken'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/heimdal-0.6.4-r1/work/heimdal-0.6.4/lib'
make: *** [check-recursive] Error 1

!!! ERROR: app-crypt/heimdal-0.6.4-r1 failed.
!!! Function src_test, Line 88, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

root@cube:~# 
Comment 4 Martin Mokrejš 2006-03-09 10:56:08 UTC
I have never seen this bug but for me on ~x86 on Intel P4 machine it works for me with latest 0.7.2 at least:

make[4]: Entering directory `/var/tmp/portage/heimdal-0.7.2-r1/work/heimdal-0.7.2/lib/roken'
PASS: base64-test
PASS: getaddrinfo-test
PASS: hex-test
PASS: test-readenv
PASS: parse_bytes-test
PASS: parse_reply-test
PASS: parse_time-test
PASS: snprintf-test
PASS: strpftime-test
==================
All 9 tests passed
==================
PASS: make-roken
PASS: snprintf-test
PASS: resolve-test
==================
All 3 tests passed
==================
make[4]: Leaving directory `/var/tmp/portage/heimdal-0.7.2-r1/work/heimdal-0.7.2/lib/roken'


Portage 2.1_pre5-r4 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15 i686)
=================================================================
System uname: 2.6.15 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/conf
ig /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aalib acpi alsa apache2 apm avi berkdb bidi bitmap-fonts caca cdr crypt cscope curl dba divx divx4 divx4linu
x divx5 divx5linux dri dvd dvdr dvdread eds emacs emacs-w3 emboss encode f77 faad faad2 fam fame ffmpeg flash foomaticdb fortran fvw
m fvwm2 gb gd gdbm ggi gif gpm gstreamer gtk gtk2 gtkhtml i8x0 icc imagemagick imlib imlib2 innodb ipv6 ithreads java javascript jpe
g kerberos lcms leim libg++ libwww live lzo mad mcal mesa mikmod mmx mmx2 motif mozilla mp3 mpeg mule mysql ncurses network nls nptl
 ogg opengl oss pam pda pdflib perl plotutils plugin png ppds pthread pthreads python qt qtx quicktime readline rtc samba scp sdl se
rver slp spell sse sse2 sse3 ssl tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l
2 vorbis win32 winvidix wmf xml xml2 xmms xosd xv xvid xvmc zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2006-05-21 14:04:33 UTC
Sascha, how is 0.7.2?
Comment 6 Sascha Silbe 2006-05-22 07:47:46 UTC
It's (almost) the same with 0.7.2:

make  check-TESTS check-local
make[4]: Entering directory `/var/tmp/portage/portage/heimdal-0.7.2/work/heimdal-0.7.2/lib/roken'
PASS: base64-test
PASS: getaddrinfo-test
PASS: hex-test
PASS: test-readenv
PASS: parse_bytes-test
PASS: parse_reply-test
PASS: parse_time-test
PASS: snprintf-test
result of strftime("%A") = "Thursday" != "Friday"
result of strftime("%a") = "Thu" != "Fri"
result of strftime("%B") = "December" != "January"
result of strftime("%b") = "Dec" != "Jan"
result of strftime("%d") = "31" != "01"
result of strftime("%e") = "31" != " 1"
result of strftime("%H") = "23" != "00"
result of strftime("%I") = "11" != "12"
result of strftime("%j") = "365" != "001"
result of strftime("%k") = "23" != " 0"
result of strftime("%l") = "11" != "12"
result of strftime("%M") = "59" != "00"
result of strftime("%m") = "12" != "01"
result of strftime("%p") = "PM" != "AM"
result of strftime("%S") = "39" != "00"
result of strftime("%w") = "4" != "5"
result of strftime("%Y") = "1998" != "1999"
result of strftime("%y") = "98" != "99"
result of strftime("%U") = "52" != "00"
result of strftime("%W") = "52" != "00"
result of strftime("%M") = "24" != "25"
result of strftime("%S") = "43" != "05"
22 errors
FAIL: strpftime-test
========================================
1 of 9 tests failed
Please report to heimdal-bugs@pdc.kth.se
========================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/var/tmp/portage/portage/heimdal-0.7.2/work/heimdal-0.7.2/lib/roken'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/portage/heimdal-0.7.2/work/heimdal-0.7.2/lib/roken'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/portage/heimdal-0.7.2/work/heimdal-0.7.2/lib/roken'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/heimdal-0.7.2/work/heimdal-0.7.2/lib'
make: *** [check-recursive] Error 1

!!! ERROR: app-crypt/heimdal-0.7.2 failed.
!!! Function src_test, Line 82, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Comment 7 Sascha Silbe 2006-05-22 07:57:00 UTC
Actually this bug now reminds me of bug #125755 and bug #124188. All of these are tests failing because of a small time difference between expected and returned value. Has anything time-related been changed in glibc during the last few years?

Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2006-05-22 08:19:53 UTC
Spanky, a dollar for your thoughts?
Comment 9 SpanKY gentoo-dev 2006-05-22 23:46:30 UTC
more likely the fact you're using a German locale which has different weekly markers from the C locale

i'd either force LC_ALL=C for that test or just remove it completely ... why is heimdal testing strftime() anyways ?  that func lives in the libc, not heimdal
Comment 10 Martin Mokrejš 2006-05-24 01:09:11 UTC
Per comment #9, see heimdal-0.7.2/heimdal-0.6.3/lib/roken/ChangeLog for more info on that or ask developers directly.
Comment 11 Michael Hammer (RETIRED) gentoo-dev 2008-07-11 07:06:59 UTC
I am closing this bug because it's not actual any more. We are already on a new heimdal version - 1.2 is going into tree hopefully soon.