Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115242 - stabilize media-libs/plotutils-2.4.1-r4 (<=2.4.1-r3 uses replace-cpu-flags incorrectly)
Summary: stabilize media-libs/plotutils-2.4.1-r4 (<=2.4.1-r3 uses replace-cpu-flags in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 115241 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-11 15:13 UTC by Cory Visi (RETIRED)
Modified: 2007-06-24 23:14 UTC (History)
0 users

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


Attachments
plotutils-2.4.1-r3.ebuild.patch (plotutils-2.4.1-r3.ebuild.patch,295 bytes, patch)
2005-12-11 15:14 UTC, Cory Visi (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cory Visi (RETIRED) gentoo-dev 2005-12-11 15:13:17 UTC
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'm not sure.
This bug could make Bug #14488 come back.

Patch is attached.
Comment 1 Cory Visi (RETIRED) gentoo-dev 2005-12-11 15:14:49 UTC
Created attachment 74535 [details, diff]
plotutils-2.4.1-r3.ebuild.patch

Patch to fix use of replace-cpu-flags.
Comment 2 Cory Visi (RETIRED) gentoo-dev 2005-12-11 15:21:12 UTC
Looking back at Bug 14488, I'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'm CC'ing Mark on this now, because perhaps this is enough motivation to backport the GCC 
team's fix.  Is it?  Let me know.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-11 15:43:45 UTC
*** Bug 115241 has been marked as a duplicate of this bug. ***
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 16:32:34 UTC
I can't reproduce that error on gcc-3.4.4-r1 with CFLAGS="-O2 -march=k6-2
-mcpu=k6-2 -pipe -fomit-frame-pointer -ftracer".  Yea, I commented out the
replace-cpu-flags too :)  Doesn't look too difficult to backport that patch, but
I'd rather not do it if we don't have to.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-14 16:31:07 UTC
Feel free to commit whatever is needed to fix it.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-19 12:52:21 UTC
please fix this yourself or close it if you are no longer interested
Comment 7 Cory Visi (RETIRED) gentoo-dev 2006-05-25 06:13:18 UTC
I committed the patch for now as an unstable r4 version.  Next step is to get it marked stable on all archs, which I'll handle after a couple days to watch for fallout.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-12-03 16:51:57 UTC
@printing - can we stabilize -r4? 
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-03-11 15:58:20 UTC
CCing arches, pretty stale one... :Please stabilize media-libs/plotutils-2.4.1-r4
Comment 10 nixnut (RETIRED) gentoo-dev 2007-03-11 16:17:10 UTC
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
====================
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-12 07:47:29 UTC
(In reply to comment #10)
> 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
> ====================
> 

 Same on x86
Comment 12 Matthias Langer 2007-03-13 02:50:49 UTC
on x86:

> > FAIL: plot2ps.test

the same here with plotutils-2.4.1-r4  USE="X". that said,

sci-visualization/gnuplot-4.0-r1  USE="... plotutils ..."

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

Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-13 06:58:50 UTC
I corrected the test suite.  The two files to be compared had a differing comment which caused the failure.  x86 stable
Comment 14 Gustavo Zacarias (RETIRED) gentoo-dev 2007-03-13 14:20:38 UTC
sparc stable.
Comment 15 nixnut (RETIRED) gentoo-dev 2007-03-16 19:09:40 UTC
Stable on ppc
Comment 16 Steve Dibb (RETIRED) gentoo-dev 2007-03-18 20:32:55 UTC
amd64 stable
Comment 17 Markus Rothe (RETIRED) gentoo-dev 2007-03-23 10:30:20 UTC
ppc64 stable
Comment 18 Raúl Porcel (RETIRED) gentoo-dev 2007-04-02 13:24:51 UTC
ia64 stable
Comment 19 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 18:32:41 UTC
ppc-macos degraded the old version to ~arch instead, it should go to prefix anyway
Comment 20 Fabian Groffen gentoo-dev 2007-04-07 21:08:35 UTC
ppc-macos moved to prefix
Comment 21 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-06-14 11:09:01 UTC
alpha stable