<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>87411</bug_id>
          
          <creation_ts>2005-03-31 05:54 0000</creation_ts>
          <short_desc>Error during Heimdal compilation on x86-64</short_desc>
          <delta_ts>2005-06-06 12:56:10 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>xholer@fi.muni.cz</reporter>
          <assigned_to>kerberos@gentoo.org</assigned_to>
          <cc>amd64@gentoo.org</cc>
    
    <cc>kruty@fi.muni.cz</cc>
    
    <cc>xholer@fi.muni.cz</cc>

      

      
          <long_desc isprivate="0">
            <who>xholer@fi.muni.cz</who>
            <bug_when>2005-03-31 05:54:53 0000</bug_when>
            <thetext>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&apos;
make  check-TESTS check-local
make[4]: Entering directory `/var/tmp/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken&apos;
PASS: base64-test
PASS: getaddrinfo-test
PASS: parse_bytes-test
PASS: parse_reply-test
failed: format = &quot;%d&quot;, &quot;-2147483648&quot; != &quot;-7400&quot;
failed: format = &quot;%x&quot;, &quot;80000000&quot; != &quot;30&quot;
failed: format = &quot;%X&quot;, &quot;80000000&quot; != &quot;2A&quot;
failed: format = &quot;%o&quot;, &quot;20000000000&quot; != &quot;52&quot;
failed: format = &quot;%#x&quot;, &quot;0x80000000&quot; != &quot;0x2d&quot;
...
failed: format = &quot;%-#10llx&quot;, &quot;0x8000000000000000&quot; != &quot;0x45      &quot;
failed: format = &quot;%-#10llX&quot;, &quot;0X8000000000000000&quot; != &quot;0X42      &quot;
failed: format = &quot;%-#10llo&quot;, &quot;01000000000000000000000&quot; != &quot;0102      &quot;
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 &lt;xkruty@fi.muni.cz&gt;
Subject: [BUG Report] snprintf-test.c
Date: Thu, 31 Mar 2005 13:32:10 +0200
To: heimdal-bugs@pdc.kth.se</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>xholer@fi.muni.cz</who>
            <bug_when>2005-03-31 05:57:52 0000</bug_when>
            <thetext>Created an attachment (id=54923)
Patch to repair test
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2005-06-06 12:56:10 0000</bug_when>
            <thetext>fixed in 0.6.4-r1 coming to portage in a few minutes.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>54923</attachid>
            <date>2005-03-31 05:57 0000</date>
            <desc>Patch to repair test</desc>
            <filename>heimdal-0.6.3-snprintf-test.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtcnUgaGVpbWRhbC0wLjYuMy5vcmlnL2xpYi9yb2tlbi9zbnByaW50Zi10ZXN0LmMgaGVp
bWRhbC0wLjYuMy9saWIvcm9rZW4vc25wcmludGYtdGVzdC5jCi0tLSBoZWltZGFsLTAuNi4zLm9y
aWcvbGliL3Jva2VuL3NucHJpbnRmLXRlc3QuYwkyMDAxLTA5LTEzIDAxOjAxOjE2LjAwMDAwMDAw
MCArMDAwMAorKysgaGVpbWRhbC0wLjYuMy9saWIvcm9rZW4vc25wcmludGYtdGVzdC5jCTIwMDUt
MDMtMzEgMTI6NDA6MzcuNTc4OTEyNTkyICswMDAwCkBAIC00OSwxNCArNDksMTkgQEAKIAogICAg
IHZhX3N0YXJ0IChhcCwgZm9ybWF0KTsKICAgICByZXQgPSB2c25wcmludGYgKGJ1ZjEsIHNpemVv
ZihidWYxKSwgZm9ybWF0LCBhcCk7CisgICAgdmFfZW5kIChhcCk7CisKICAgICBpZiAocmV0ID49
IHNpemVvZihidWYxKSkKIAllcnJ4ICgxLCAiaW5jcmVhc2UgYnVmIGFuZCB0cnkgYWdhaW4iKTsK
KworICAgIHZhX3N0YXJ0IChhcCwgZm9ybWF0KTsKICAgICB2c3ByaW50ZiAoYnVmMiwgZm9ybWF0
LCBhcCk7CisgICAgdmFfZW5kIChhcCk7CisKICAgICByZXQgPSBzdHJjbXAgKGJ1ZjEsIGJ1ZjIp
OwogICAgIGlmIChyZXQpCiAJcHJpbnRmICgiZmFpbGVkOiBmb3JtYXQgPSBcIiVzXCIsIFwiJXNc
IiAhPSBcIiVzXCJcbiIsCiAJCWZvcm1hdCwgYnVmMSwgYnVmMik7Ci0gICAgdmFfZW5kIChhcCk7
CiAgICAgcmV0dXJuIHJldDsKIH0KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>