Bug 115242 - stabilize media-libs/plotutils-2.4.1-r4 (<=2.4.1-r3 uses replace-cpu-flags incorrectly)
|
Bug#:
115242
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: printing@gentoo.org
|
Reported By: merlin@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: stabilize media-libs/plotutils-2.4.1-r4 (<=2.4.1-r3 uses replace-cpu-flags incorrectly)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-12-11 15:13 0000
|
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.
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.
*** Bug 115241 has been marked as a duplicate of this bug. ***
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.
Feel free to commit whatever is needed to fix it.
please fix this yourself or close it if you are no longer interested
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.
@printing - can we stabilize -r4?
CCing arches, pretty stale one... :Please stabilize
media-libs/plotutils-2.4.1-r4
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
====================
(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
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.
I corrected the test suite. The two files to be compared had a differing
comment which caused the failure. x86 stable
ppc-macos degraded the old version to ~arch instead, it should go to prefix
anyway
ppc-macos moved to prefix