Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87411 - Error during Heimdal compilation on x86-64
Summary: Error during Heimdal compilation on x86-64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 05:54 UTC by Vlastimil Holer
Modified: 2005-06-06 12:56 UTC (History)
3 users (show)

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


Attachments
Patch to repair test (heimdal-0.6.3-snprintf-test.patch,707 bytes, patch)
2005-03-31 05:57 UTC, Vlastimil Holer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Holer 2005-03-31 05:54:53 UTC
If I compile heimdal-0.6.3-r1 on x86-64 platform I get this output from one test:

...
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O3 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -funroll-loops -pipe -fprefetch-loop-arrays -fomit-frame-pointer -march=k8 -frename-registers   -o strpftime-test  strpftime-test.o libtest.la libroken.la -lcrypt -lresolv 
x86_64-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O3 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -funroll-loops -pipe -fprefetch-loop-arrays -fomit-frame-pointer -march=k8 -frename-registers -o .libs/strpftime-test strpftime-test.o  ./.libs/libtest.a ./.libs/libroken.so -ldb -lcrypt -lresolv
creating strpftime-test
make[4]: Leaving directory `/var/tmp/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/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
failed: format = "%d", "-2147483648" != "-7400"
failed: format = "%x", "80000000" != "30"
failed: format = "%X", "80000000" != "2A"
failed: format = "%o", "20000000000" != "52"
failed: format = "%#x", "0x80000000" != "0x2d"
...
failed: format = "%-#10llx", "0x8000000000000000" != "0x45      "
failed: format = "%-#10llX", "0X8000000000000000" != "0X42      "
failed: format = "%-#10llo", "01000000000000000000000" != "0102      "
FAIL: snprintf-test
PASS: strpftime-test
========================================
1 of 6 tests failed
Please report to heimdal-bugs@pdc.kth.se
========================================
...

Reproducible: Always
Steps to Reproduce:
1. emerge -pv heimdal and
2. wait because test is not included in Configure



This bug was reported to Heimdal developers by:

From: Peter Kruty <xkruty@fi.muni.cz>
Subject: [BUG Report] snprintf-test.c
Date: Thu, 31 Mar 2005 13:32:10 +0200
To: heimdal-bugs@pdc.kth.se
Comment 1 Vlastimil Holer 2005-03-31 05:57:52 UTC
Created attachment 54923 [details, diff]
Patch to repair test
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2005-06-06 12:56:10 UTC
fixed in 0.6.4-r1 coming to portage in a few minutes.