<?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>92232</bug_id>
          
          <creation_ts>2005-05-11 03:59 0000</creation_ts>
          <short_desc>gzip segfaults building xorg-x11 on alpha</short_desc>
          <delta_ts>2005-05-30 20:13:37 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>Alpha</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lroland@gmail.com</reporter>
          <assigned_to>alpha@gentoo.org</assigned_to>
          <cc>nigoro@gentoo.org</cc>
    
    <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>lroland@gmail.com</who>
            <bug_when>2005-05-11 03:59:19 0000</bug_when>
            <thetext>Compiling xorg-x11-6.8.2-r1 on Alpha ev6 fails with the folwoing message:

------------------
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale  ../../../exports/bin/bdftopcf -t lutBS08.bdf | gzip &gt; lutBS08.pcf.gz
make[5]: *** [lutBS08.pcf.gz] Error 139
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/bdf/75dpi&apos;
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/bdf&apos;
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc&apos;
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc&apos;
make: *** [World] Error 2
------------------

I have the folowing compiler flags: CFLAGS=&quot;-mieee -O2 -mcpu=ev6&quot;, gzip is 1.3.5-r6.

Reproducible: Always
Steps to Reproduce:
emerge -k xorg-x11

Actual Results:  
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale 
../../../exports/bin/bdftopcf -t lutBS08.bdf | gzip &gt; lutBS08.pcf.gz
make[5]: *** [lutBS08.pcf.gz] Error 139
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/bdf/75dpi&apos;
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts/bdf&apos;
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/fonts&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc&apos;
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc&apos;
make: *** [World] Error 2

Expected Results:  
Compile withour errors

I have reproduced this bug on a vanilla alpha gentoo install (ev4 in the ccflags).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lroland@gmail.com</who>
            <bug_when>2005-05-11 08:06:03 0000</bug_when>
            <thetext>If I emerge gzip-1.3.5-r5 by hand (not the default stable in portage) then xorg compiles just fine. So this is properly releated to the way gzip is patched/build in version 1.3.5-r6.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-05-11 11:02:38 0000</bug_when>
            <thetext>Sounds unrelated to X11, then.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2005-05-18 02:30:29 0000</bug_when>
            <thetext>This problem is brought about because the patch for alpha contained in gzip-
1.3.5-r5 was deleted by gzip-1.3.5-r6.
The patch for alpha can be obtained from the Bug report log of Debian.
Please see the following URL for details.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=187417
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=184057
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2005-05-18 02:34:01 0000</bug_when>
            <thetext>Created an attachment (id=59200)
patch for gzip-1.3.5-r6.ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2005-05-18 02:36:27 0000</bug_when>
            <thetext>Created an attachment (id=59201)
patch for gzip on alpha

A file name is gzip-1.3.5-alpha.patch </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ag@computer.org</who>
            <bug_when>2005-05-21 02:30:27 0000</bug_when>
            <thetext>I&apos;ve tested the patch (gzip-1.3.5-alpha.patch), and it fixes it for me.

Interestingly, the patched gzip-1.3.5 produced a different output from that of
the vanilla gzip-1.2.4a (the compressed files were different).  Yet they both
could be decompressed by each other&apos;s gunzip, and the decompressed files were
identical.

So I think this patch is &quot;good-to-go&quot;!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-05-30 20:13:37 0000</bug_when>
            <thetext>fixed in gzip-1.3.5-r7</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>59200</attachid>
            <date>2005-05-18 02:34 0000</date>
            <desc>patch for gzip-1.3.5-r6.ebuild</desc>
            <filename>gzip-1.3.5-r6.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGd6aXAtMS4zLjUtcjYuZWJ1aWxkLm9yaWcJMjAwNS0wNS0wNyAwMjozNToxNyArMDkwMAor
KysgZ3ppcC0xLjMuNS1yNi5lYnVpbGQJMjAwNS0wNS0xOCAxNzoyNDoyNCArMDkwMApAQCAtMjks
NiArMjksNyBAQAogCWVwYXRjaCAiJHtGSUxFU0RJUn0iLyR7UH0taW5mb2Rpci5wYXRjaAogCWVw
YXRjaCAiJHtGSUxFU0RJUn0iLyR7UH0tcnN5bmMucGF0Y2gKIAllcGF0Y2ggIiR7RklMRVNESVJ9
Ii8ke1B9LXpncmVwLXNlZC5wYXRjaAorCXVzZSBhbHBoYSAmJiBlcGF0Y2ggIiR7RklMRVNESVJ9
Ii8ke1B9LWFscGhhLnBhdGNoCiB9CiAKIHNyY19jb21waWxlKCkgewo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>59201</attachid>
            <date>2005-05-18 02:36 0000</date>
            <desc>patch for gzip on alpha</desc>
            <filename>gzip-1.3.5-alpha.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">VGFrZW4gZnJvbSBEZWJpYW4uCgpodHRwOi8vYnVncy5nZW50b28ub3JnLzkyMjMyCgotLS0gZ3pp
cC0xLjMuNS5vcmlnL2RlZmxhdGUuYworKysgZ3ppcC0xLjMuNS9kZWZsYXRlLmMKQEAgLTY0Myw3
ICs2NDMsOCBAQAogICAgICAgICAvKiBGaW5kIHRoZSBsb25nZXN0IG1hdGNoLCBkaXNjYXJkaW5n
IHRob3NlIDw9IHByZXZfbGVuZ3RoLgogICAgICAgICAgKiBBdCB0aGlzIHBvaW50IHdlIGhhdmUg
YWx3YXlzIG1hdGNoX2xlbmd0aCA8IE1JTl9NQVRDSAogICAgICAgICAgKi8KLSAgICAgICAgaWYg
KGhhc2hfaGVhZCAhPSBOSUwgJiYgc3Ryc3RhcnQgLSBoYXNoX2hlYWQgPD0gTUFYX0RJU1QpIHsK
KyAgICAgICAgaWYgKGhhc2hfaGVhZCAhPSBOSUwgJiYgc3Ryc3RhcnQgLSBoYXNoX2hlYWQgPD0g
TUFYX0RJU1QgJiYKKyAgICAgICAgICAgIHN0cnN0YXJ0IDw9IHdpbmRvd19zaXplIC0gTUlOX0xP
T0tBSEVBRCkgewogICAgICAgICAgICAgLyogVG8gc2ltcGxpZnkgdGhlIGNvZGUsIHdlIHByZXZl
bnQgbWF0Y2hlcyB3aXRoIHRoZSBzdHJpbmcKICAgICAgICAgICAgICAqIG9mIHdpbmRvdyBpbmRl
eCAwIChpbiBwYXJ0aWN1bGFyIHdlIGhhdmUgdG8gYXZvaWQgYSBtYXRjaAogICAgICAgICAgICAg
ICogb2YgdGhlIHN0cmluZyB3aXRoIGl0c2VsZiBhdCB0aGUgc3RhcnQgb2YgdGhlIGlucHV0IGZp
bGUpLgpAQCAtNzM3LDcgKzczOCw4IEBACiAgICAgICAgIG1hdGNoX2xlbmd0aCA9IE1JTl9NQVRD
SC0xOwogCiAgICAgICAgIGlmIChoYXNoX2hlYWQgIT0gTklMICYmIHByZXZfbGVuZ3RoIDwgbWF4
X2xhenlfbWF0Y2ggJiYKLSAgICAgICAgICAgIHN0cnN0YXJ0IC0gaGFzaF9oZWFkIDw9IE1BWF9E
SVNUKSB7CisgICAgICAgICAgICBzdHJzdGFydCAtIGhhc2hfaGVhZCA8PSBNQVhfRElTVCAmJiAK
KyAgICAgICAgICAgIHN0cnN0YXJ0IDw9IHdpbmRvd19zaXplIC0gTUlOX0xPT0tBSEVBRCkgewog
ICAgICAgICAgICAgLyogVG8gc2ltcGxpZnkgdGhlIGNvZGUsIHdlIHByZXZlbnQgbWF0Y2hlcyB3
aXRoIHRoZSBzdHJpbmcKICAgICAgICAgICAgICAqIG9mIHdpbmRvdyBpbmRleCAwIChpbiBwYXJ0
aWN1bGFyIHdlIGhhdmUgdG8gYXZvaWQgYSBtYXRjaAogICAgICAgICAgICAgICogb2YgdGhlIHN0
cmluZyB3aXRoIGl0c2VsZiBhdCB0aGUgc3RhcnQgb2YgdGhlIGlucHV0IGZpbGUpLgo=
</data>        

          </attachment>
    </bug>

</bugzilla>