<?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>115242</bug_id>
          
          <creation_ts>2005-12-11 15:13 0000</creation_ts>
          <short_desc>stabilize media-libs/plotutils-2.4.1-r4 (&lt;=2.4.1-r3 uses replace-cpu-flags incorrectly)</short_desc>
          <delta_ts>2007-06-24 23:14:09 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</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>merlin@gentoo.org</reporter>
          <assigned_to>printing@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>merlin@gentoo.org</who>
            <bug_when>2005-12-11 15:13:17 0000</bug_when>
            <thetext>Problem exists only in plotutils-2.4.1-r3.ebuild.
It only affects k6, k6-2, and k6-3 users.

It appeared when someone converted a bunch of sed statements to replace-cpu-flags.
It could have also been caused by a syntax change to replace-cpu-flags, but I&apos;m not sure.
This bug could make Bug #14488 come back.

Patch is attached.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>merlin@gentoo.org</who>
            <bug_when>2005-12-11 15:14:49 0000</bug_when>
            <thetext>Created an attachment (id=74535)
plotutils-2.4.1-r3.ebuild.patch

Patch to fix use of replace-cpu-flags.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>merlin@gentoo.org</who>
            <bug_when>2005-12-11 15:21:12 0000</bug_when>
            <thetext>Looking back at Bug 14488, I&apos;m wondering if the original cause for the problem was related to 
this GCC bug:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20653

Bug 14488 was reported in 2003, but it still could have been a GCC bug at that point, just an 
unreported one.

I&apos;m CC&apos;ing Mark on this now, because perhaps this is enough motivation to backport the GCC 
team&apos;s fix.  Is it?  Let me know.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-12-11 15:43:45 0000</bug_when>
            <thetext>*** Bug 115241 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2005-12-11 16:32:34 0000</bug_when>
            <thetext>I can&apos;t reproduce that error on gcc-3.4.4-r1 with CFLAGS=&quot;-O2 -march=k6-2
-mcpu=k6-2 -pipe -fomit-frame-pointer -ftracer&quot;.  Yea, I commented out the
replace-cpu-flags too :)  Doesn&apos;t look too difficult to backport that patch, but
I&apos;d rather not do it if we don&apos;t have to.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2006-01-14 16:31:07 0000</bug_when>
            <thetext>Feel free to commit whatever is needed to fix it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2006-01-19 12:52:21 0000</bug_when>
            <thetext>please fix this yourself or close it if you are no longer interested</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>merlin@gentoo.org</who>
            <bug_when>2006-05-25 06:13:18 0000</bug_when>
            <thetext>I committed the patch for now as an unstable r4 version.  Next step is to get it marked stable on all archs, which I&apos;ll handle after a couple days to watch for fallout.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-12-03 16:51:57 0000</bug_when>
            <thetext>@printing - can we stabilize -r4? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-11 15:58:20 0000</bug_when>
            <thetext>CCing arches, pretty stale one... :Please stabilize media-libs/plotutils-2.4.1-r4</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nixnut@gentoo.org</who>
            <bug_when>2007-03-11 16:17:10 0000</bug_when>
            <thetext>Fails a test on ppc

PASS: spline.test
PASS: ode.test
PASS: graph.test
PASS: plot2plot.test
PASS: plot2hpgl.test
PASS: plot2pcl.test
PASS: plot2fig.test
PASS: plot2cgm.test
FAIL: plot2ps.test
PASS: plot2svg.test
PASS: tek2plot.test
PASS: pic2plot.test
====================
1 of 12 tests failed
====================
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-03-12 07:47:29 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; Fails a test on ppc
&gt; 
&gt; PASS: spline.test
&gt; PASS: ode.test
&gt; PASS: graph.test
&gt; PASS: plot2plot.test
&gt; PASS: plot2hpgl.test
&gt; PASS: plot2pcl.test
&gt; PASS: plot2fig.test
&gt; PASS: plot2cgm.test
&gt; FAIL: plot2ps.test
&gt; PASS: plot2svg.test
&gt; PASS: tek2plot.test
&gt; PASS: pic2plot.test
&gt; ====================
&gt; 1 of 12 tests failed
&gt; ====================
&gt; 

 Same on x86
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mlangc@gmx.at</who>
            <bug_when>2007-03-13 02:50:49 0000</bug_when>
            <thetext>on x86:

&gt; &gt; FAIL: plot2ps.test

the same here with plotutils-2.4.1-r4  USE=&quot;X&quot;. that said,

sci-visualization/gnuplot-4.0-r1  USE=&quot;... plotutils ...&quot;

seems to work as it did before with the new plotutils revision.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-03-13 06:58:50 0000</bug_when>
            <thetext>I corrected the test suite.  The two files to be compared had a differing comment which caused the failure.  x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-03-13 14:20:38 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nixnut@gentoo.org</who>
            <bug_when>2007-03-16 19:09:40 0000</bug_when>
            <thetext>Stable on ppc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2007-03-18 20:32:55 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-03-23 10:30:20 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-04-02 13:24:51 0000</bug_when>
            <thetext>ia64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genstef@gentoo.org</who>
            <bug_when>2007-04-07 18:32:41 0000</bug_when>
            <thetext>ppc-macos degraded the old version to ~arch instead, it should go to prefix anyway</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2007-04-07 21:08:35 0000</bug_when>
            <thetext>ppc-macos moved to prefix</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoswink@gentoo.org</who>
            <bug_when>2007-06-14 11:09:01 0000</bug_when>
            <thetext>alpha stable</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>74535</attachid>
            <date>2005-12-11 15:14 0000</date>
            <desc>plotutils-2.4.1-r3.ebuild.patch</desc>
            <filename>plotutils-2.4.1-r3.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHBsb3R1dGlscy0yLjQuMS1yMy5lYnVpbGQJMjAwNS0xMS0yOSAwNTowNTo1My4wMDAwMDAw
MDAgKzAwMDAKKysrIHBsb3R1dGlscy0yLjQuMS1yNC5lYnVpbGQJMjAwNS0xMi0xMSAyMzowODox
My4yNTQwNzQ2MjQgKzAwMDAKQEAgLTMxLDcgKzMxLDcgQEAKIH0KIAogc3JjX2NvbXBpbGUoKSB7
Ci0JcmVwbGFjZS1jcHUtZmxhZ3MgaTU4NiBrNiBrNi0yIGs2LTMKKwlyZXBsYWNlLWNwdS1mbGFn
cyBrNiBrNi0yIGs2LTMgaTU4NgogCWVsaWJ0b29saXplCiAKIAkjZW5hYmxlIGJ1aWxkIG9mIEMr
KyB2ZXJzaW9uCg==
</data>        

          </attachment>
    </bug>

</bugzilla>