Summary: | dev-libs/libedit-20050930 enters an infinite loop upon reading a history file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bertram Felgenhauer <bertram.felgenhauer> |
Component: | [OLD] Library | Assignee: | Gentoo/BSD Team <bsd+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hkbst, paulo |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 252176 | ||
Attachments: | proposed patch (to be applied 'epatch' from an ebuild) |
Description
Bertram Felgenhauer
2008-09-16 22:42:02 UTC
Created attachment 165601 [details, diff]
proposed patch (to be applied 'epatch' from an ebuild)
This problem exists with libedit-20061103 as well. See GHC bug #2716 (which is another instance of the same issue, it appears): http://hackage.haskell.org/trac/ghc/ticket/2716 I've applied an adapted version of the Debian patch mentioned in the GHC bug and it fixed the issue, so I'd appreciate it if one of these patches to made it to an official libedit ebuild. Please have a look at this patched version of libedit, available through the haskell overlay: http://code.haskell.org/gentoo/gentoo-haskell/dev-libs/libedit/libedit-20061103-r3.ebuild That ebuild works fine for me. This bug is blocking the ghc 6.10.1 compiler, the main haskell compiler. Could we please have a look at this? We would really like to put this ghc version into portage. See bug #252176 and the comments there. Please try the masked version (20090111.3.0) and let me now if it works 20090111.3.0 has a completely different implementation of fgetln(). I've tried it (on x86; I had to add that keyword). I ran into one problem: My existing ghc 6.10.1 executable links to 'libedit.so' which is found in /usr/lib but is a linker script, confusing the dynamic linker (cf. #4411). Adding a symlink libedit.so -> libedit.so.0 in /lib helped. A fresh build of ghc picks up the 'libedit.so.0' name from the linker script, so that's a temporary problem. Other than that, it works fine. Thanks! (In reply to comment #6) > 20090111.3.0 has a completely different implementation of fgetln(). > > I've tried it (on x86; I had to add that keyword). I ran into one problem: My > existing ghc 6.10.1 executable links to 'libedit.so' which is found in /usr/lib > but is a linker script, confusing the dynamic linker (cf. #4411). Adding a > symlink libedit.so -> libedit.so.0 in /lib helped. A fresh build of ghc picks > up the 'libedit.so.0' name from the linker script, so that's a temporary > problem. > > Other than that, it works fine. Thanks! The proper solution is to re-emerge all the packages that depends on libedit (In reply to Bertram Felgenhauer from comment #6) > Other than that, it works fine. Thanks! closing then since those versions are now stable |