Created attachment 328558 [details] strace of screen Installed a fresh system on a new box yesterday, but can't get screen to work due to segfaults. 1. emerge screen 2. screen The console where I started screen just hangs and I get this in dmesg: [ 8279.638648] screen[28901]: segfault at 25bc ip 000000000042c696 sp 00007fff6e8ef7a0 error 4 in screen[400000+54000]
Created attachment 328560 [details] emerge --info
Created attachment 328562 [details] /proc/cpuinfo
Created attachment 328564 [details] make.conf
Created attachment 328566 [details] script of manual screen build from source I tried to build a screen by hand from source with the tarball from gnu. And that one works as expected. Attached script of buildprocess.
Commenting line #93 in the ebuild for screen makes it work, in other words, not applying the patchfile: "${FILESDIR}"/${P}-cppflags.patch
Created attachment 328570 [details] emerge --info
Created attachment 328572 [details] make.conf
Created attachment 328578 [details, diff] Update of the patch that breaks my build This is an update for the patch that breaks my build, and it seems to fix the problem. And still work on other systems that didn't have the problem to begin with.
Same here problem here... This proposed patch https://424557.bugs.gentoo.org/attachment.cgi?id=328514 (same as Elis gave) works for me too.
I reverted last commit. So it should be fine for now.
I had the same problem. Fixed it by compiling with the nethack USE-flag. The problem is the -DNONETHACK compile flag. comm.h is "automagically" generated from comm.c, and everything expects all RC_* #defines to match exactly the the offsets in the comms[]-array (comm.c). The -DNONETHACK flag causes config.h to #define NETHACK (but comm.h is not regenerated), which messes up the offsets.
*** Bug 442182 has been marked as a duplicate of this bug. ***
I did a revbump to force rebuild. +*screen-4.0.3-r6 (07 Nov 2012) + + 07 Nov 2012; Justin Lecher <jlec@gentoo.org> -screen-4.0.3-r5.ebuild, + +screen-4.0.3-r6.ebuild: + Revbump to force everyone to rebuild. This should save those who emerged the + broken ebuild #442070 +