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.
Created attachment 74535 [details, diff] plotutils-2.4.1-r3.ebuild.patch Patch to fix use of replace-cpu-flags.
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
sparc stable.
Stable on ppc
amd64 stable
ppc64 stable
ia64 stable
ppc-macos degraded the old version to ~arch instead, it should go to prefix anyway
ppc-macos moved to prefix
alpha stable