Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28396

Summary: tn5250 seg faults when built with slang; tn5250 fails to build
Product: Gentoo Linux Reporter: Todor Zviskov <todorz>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fixed tn5250-0.16.5 ebuild

Description Todor Zviskov 2003-09-10 15:35:47 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:37:19 UTC
Created attachment 17467 [details]
Fixed tn5250-0.16.5 ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-09-10 17:59:31 UTC

*** This bug has been marked as a duplicate of 28395 ***