Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228587 - app-emulation/spim-7.3 xspim - does not close without force and does not show text in window
Summary: app-emulation/spim-7.3 xspim - does not close without force and does not show...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-20 16:38 UTC by heirrook
Modified: 2009-12-22 19:52 UTC (History)
4 users (show)

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


Attachments
yy_init-polarity.patch (yy_init-polarity.patch,494 bytes, patch)
2008-09-29 15:59 UTC, Patrick McLean
Details | Diff
Reformatted patch (yy_init_polarity.patch,536 bytes, patch)
2009-01-22 01:52 UTC, chris salch
Details | Diff
ebuild which uses the patch (spim-7.3-r1.ebuild,2.02 KB, text/plain)
2009-01-22 01:53 UTC, chris salch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description heirrook 2008-06-20 16:38:43 UTC
Using gcc-4.2.3. When emerge of app-emulation/spim-7.3 is complete, running xspim gives undesirable results.  Unable to close xwindow with the xwindow close button.  None of the text appears in xwindow and buttons in xwindow do not produce results. 

Reproducible: Always

Steps to Reproduce:
Note: I believe you may need gcc-4.2.3 to reproduce this
1.emerge spim-7.3
2.run xspim
3.observe

Actual Results:  
After emerge of spim-7.3, if you run xspim it does not respond properly.  Xwindow will display but it is lacking all functionality.  

Expected Results:  
xspim should close correctly without forcing it.  it should also display text and have responsive buttons in window.

This maybe is just a bug with spim-7.3 & gcc-4.2.3.  It would be nice to have this package blocked for gcc-4.2.3. I do not want to switch to a different version of gcc to test.  I tried doing this from source at the official package download page and receive errors that i believe are gcc related.  Source compile error is:   unrecognized option --enable-runtime-pseudo-reloc
            collect 2 : ld returned 1 exit status
            make Error 1
I am posting so others can try to build with gcc-4.2.3 and enforce a package block for spim for portage.  I have tried building on another machine (non-gentoo) with gcc-4.2.3
Comment 1 heirrook 2008-06-29 15:29:29 UTC
I noticed this is similar to bug in 127481.  This bug states you need to downgrade flex to fix the problem.  Should there be a block on spim that prevents you from emerging it with incorrect flex versions though?  I don't know but I feel the bug should be open until this is decided.
Comment 2 Scott Mansell 2008-07-24 00:38:38 UTC
Except that bug was 2 years old, and was for gcc 3.4.6.

I've got the same problem with gcc 4.3.1, also I'm running the 64bit version of gentoo.
Comment 3 Patrick McLean gentoo-dev 2008-09-29 15:59:59 UTC
Created attachment 166763 [details, diff]
yy_init-polarity.patch

I pulled this patch from the fedora packages, it seems to fix this problem.
Comment 4 sebastian 2008-11-04 18:29:48 UTC
Thank you very much, I can confirm that this patch solves the problem. I think it should be included in the ebuild.
Comment 5 chris salch 2009-01-22 01:50:32 UTC
I wound up reformatting the patch slightly and modified the ebuild to do this automatically.
Comment 6 chris salch 2009-01-22 01:52:11 UTC
Created attachment 179276 [details, diff]
Reformatted patch

This reformat may not be needed so I'm not marking the original as obsolete.
Comment 7 chris salch 2009-01-22 01:53:26 UTC
Created attachment 179277 [details]
ebuild which uses the patch

Here's the ebuild that uses the patch, trivial but I prefer to do things this way rather than building by hand.
Comment 8 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-17 21:54:44 UTC
Moving to maintainer-needed@ since compnerd left Gentoo (#71985).
Comment 9 Martin Parm 2009-07-13 12:19:19 UTC
Got the same bug and spim in console mode is also broken. For me the solution was simply to upgrade to 7.4.
Comment 10 Dror Levin (RETIRED) gentoo-dev 2009-12-22 19:52:52 UTC
Fixed upstream, available in versions 7.4 and 7.5.