I had tn5250 emerged a while ago and it worked back then. As I didn't need it for a while and did 'emerge -u' since then it got broken by new slang libraries (I guess). So I tried to emerge again and it failed to build. I modified the ebuild and included the tn5250_0.16.5-5woody1.diff patch (found at http://tn5250.sourceforge.net/) and everything built and merged just fine. But tn5250 kept seg faulting and I finally narrowed it down to the slang libraries. I tried merging old slang versions, found in portage; still no go. Finally, disabled slang in the ebuild and everything works nicely now. I'm attaching the modified ebuild. Reproducible: Always Steps to Reproduce: 1. emerge tn5250 Actual Results: tn5250.c:181:11: missing terminating " character tn5250.c: In function `syntax': tn5250.c:183: error: syntax error before "tn5250" tn5250.c:183: error: stray '\' in program tn5250.c:183:56: missing terminating " character make[2]: *** [tn5250.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/tn5250-0.16.5/work/tn5250-0.16.5/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tn5250-0.16.5/work/tn5250-0.16.5/src' make: *** [all-recursive] Error 1 !!! ERROR: net-misc/tn5250-0.16.5 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) Expected Results: >>> Regenerating /etc/ld.so.cache... >>> net-misc/tn5250-0.16.5 merged. >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
Created attachment 17466 [details] Fixed tn5250-0.16.5 ebuild
*** Bug 28396 has been marked as a duplicate of this bug. ***
That's odd, since the program is documented to use ncurses, not slang.
Closing a dead bug.