Subject: pkg/35244: devel/ruby-readline build problem
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <anonymous@NetBSD.org>
List: pkgsrc-bugs
Date: 12/13/2006 03:10:00
>Number: 35244
>Category: pkg
>Synopsis: devel/ruby-readline build problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 13 03:10:00 +0000 2006
>Originator: Taro Yakiniku
>Release: pkgsrc-current on Fedora Core 4
>Organization:
>Environment:
> cat /etc/fedora-release
Fedora Core release 4 (Stentz)
> rpm -q readline-devel
readline-devel-5.0-3
>Description:
ruby-readline-1.8.5.20061205 does not build on Fedora Core 4.
===> Building for ruby18-readline-1.8.5.20061205
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/i386-linux -I. -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS -DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS -DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_FILENAME_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK -DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_RL_CLEAR_SIGNALS -DHAVE_RL_VI_EDITING_MODE -DHAVE_RL_EMACS_EDITING_MODE -DHAVE_RL_CLEAR_SIGNALS -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -fPIC -O2 -pthread -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -fPIC -c readline.c
readline.c: In function `filename_completion_proc_call':
readline.c:684: error: `filename_completion_function' undeclared (first use in this function)
readline.c:684: error: (Each undeclared identifier is reported only once
readline.c:684: error: for each function it appears in.)
readline.c:684: warning: assignment makes pointer from integer without a cast
readline.c: In function `username_completion_proc_call':
readline.c:711: error: `username_completion_function' undeclared (first use in this function)
readline.c:711: warning: assignment makes pointer from integer without a cast
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/devel/ruby-readline/work/.gcc/bin/gcc -I. -I/usr/pkgsrc/devel/ruby-readline/work/.buildlink/lib/ruby/1.8/i386-linux -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS -DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS -DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_FILENAME_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK -DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_RL_CLEAR_SIGNALS -DHAVE_RL_VI_EDITING_MODE -DHAVE_RL_EMACS_EDITING_MODE -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY -I/usr/pkgsrc/devel/ruby-readline/work/.buildlink/include/db4 -I/usr/pkgsrc/devel/ruby-readline/work/.buildlink/include -fPIC -O2 -pthread -fPIC -c readline.c -L/usr/pkgsrc/devel/ruby-readline/work/.buildlink/lib
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ruby-readline/work/ruby-1.8.5/ext/readline
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ruby-readline
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ruby-readline
>How-To-Repeat:
>Fix:
Remove the following part from patch-aa.
@@ -42,7 +39,6 @@ else
end
end
-have_readline_var("rl_filename_completion_function")
have_readline_var("rl_deprep_term_function")
have_readline_var("rl_completion_append_character")
have_readline_var("rl_basic_word_break_characters")