Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28395 - tn5250 seg faults when built with slang; tn5250 fails to build
Summary: tn5250 seg faults when built with slang; tn5250 fails to build
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
: 28396 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-10 15:34 UTC by Todor Zviskov
Modified: 2005-07-21 16:12 UTC (History)
1 user (show)

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


Attachments
Fixed tn5250-0.16.5 ebuild (tn5250-0.16.5-r1.ebuild.tar.gz,77.57 KB, application/x-gzip)
2003-09-10 15:35 UTC, Todor Zviskov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Zviskov 2003-09-10 15:34:35 UTC
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.
Comment 1 Todor Zviskov 2003-09-10 15:35:33 UTC
Created attachment 17466 [details]
Fixed tn5250-0.16.5 ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-09-10 17:59:31 UTC
*** Bug 28396 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Dickey 2004-06-30 15:06:20 UTC
That's odd, since the program is documented to use ncurses,
not slang.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 16:12:42 UTC
Closing a dead bug.