[Bug 397929] New: python fails to find readlines rl_pre_input_hook() function
https://bugzilla.novell.com/show_bug.cgi?id=397929 Summary: python fails to find readlines rl_pre_input_hook() function Product: openSUSE 11.0 Version: RC 2 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: jmatejek@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de Found By: --- libreadline has a rl_pre_input_hook() pointer. Some autoconf macro in configure.in gives an incorrect prototype for this external function. As a result, the conftest app fails to link due to the incorrect prototype, and python gets no support for the pre_input_hook in the readline bindings. I dont know wether the linker is too strict now, if autoconf has to put the correct include files in the configure test app or if something else is going on. For 11.0 we need this patch to get orthos working, it relies on readline. +++ python.spec 2008-06-06 14:33:39.000000000 +0200 @@ -230,6 +230,11 @@ export OPT="$RPM_OPT_FLAGS" # regenerate ######################################## autoreconf -f -i . Modules/_ctypes/libffi +sed -i~ 's@char rl_pre_input_hook.*@/* autoconf ... */\ +#include <stdio.h>\ +#include <readline/readline.h>\ +@' configure +diff -u configure~ configure || : ######################################## # configure ######################################## -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 User olh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397929#c1 --- Comment #1 from Olaf Hering <olh@novell.com> 2008-06-06 06:59:43 MDT --- I have submitted bug #397933 for the toolchain issue -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397929#c2 --- Comment #2 from Jan Matejek <jmatejek@novell.com> 2008-06-06 07:31:21 MDT --- well that got killed quick. i'll add the patch inside %ifarch ppc (it seems to link just fine on other platforms). is there a simple way to check its presence from compiled python? i would add a test for it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 User olh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397929#c3 --- Comment #3 from Olaf Hering <olh@novell.com> 2008-06-07 04:04:21 MDT --- I suggest to enable this function unconditionally for all archs, because all archs use the recent libreadline. Reading readline.c, the function pointer exists unconditionally. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397929#c4 --- Comment #4 from Jan Matejek <jmatejek@novell.com> 2008-06-13 10:09:59 MDT --- somebody apparently submitted the fix while i was out. what is the status of that submit? will it be released as an update, or is it still my responsibility to make that happen? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 User olh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397929#c5 --- Comment #5 from Olaf Hering <olh@novell.com> 2008-06-25 02:09:56 MDT --- its not required for 11.0. I need it only for orthos, and orthos was also changed to handle the missing optional function. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397929 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397929#c6 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Jan Matejek <jmatejek@novell.com> 2008-09-01 09:51:31 MDT --- okay, since 11.0 is out and this is fixed in stable, closing the report -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com