Forum: Ruby-core [ruby-trunk - Bug #6332][Open] Error compiling readline due username_completion_function being undec

Posted by Luis Lavena (luislavena)
on 2012-04-20 18:06
(Received via mailing list)
Issue #6332 has been reported by luislavena (Luis Lavena).

----------------------------------------
Bug #6332: Error compiling readline due username_completion_function 
being undeclared (GCC 4.6)
https://bugs.ruby-lang.org/issues/6332

Author: luislavena (Luis Lavena)
Status: Open
Priority: Normal
Assignee: kouji (Kouji Takao)
Category: ext
Target version: 2.0.0
ruby -v: 2.0.0 r35415


Hello,

Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, 
MacPorts provided) generates the following failure:

<pre>
/Users/luis/projects/oss/ruby/build/ext/readline
compiling ../../../ext/readline/readline.c
../../../ext/readline/readline.c: In function 
'username_completion_proc_call':
../../../ext/readline/readline.c:1501:9: error: 
'username_completion_function' undeclared (first use in this function)
../../../ext/readline/readline.c:1501:9: note: each undeclared 
identifier is reported only once for each function it appears in
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2
</pre>

Readline installed is Readline 6.2 via MacPorts:

$ port installed | grep readline
  readline @6.2.000_0 (active)
Posted by mame (Yusuke Endoh) (Guest)
on 2012-04-20 18:08
(Received via mailing list)
Issue #6332 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned


----------------------------------------
Bug #6332: Error compiling readline due username_completion_function 
being undeclared (GCC 4.6)
https://bugs.ruby-lang.org/issues/6332#change-26050

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: kouji (Kouji Takao)
Category: ext
Target version: 2.0.0
ruby -v: 2.0.0 r35415


Hello,

Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, 
MacPorts provided) generates the following failure:

<pre>
/Users/luis/projects/oss/ruby/build/ext/readline
compiling ../../../ext/readline/readline.c
../../../ext/readline/readline.c: In function 
'username_completion_proc_call':
../../../ext/readline/readline.c:1501:9: error: 
'username_completion_function' undeclared (first use in this function)
../../../ext/readline/readline.c:1501:9: note: each undeclared 
identifier is reported only once for each function it appears in
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2
</pre>

Readline installed is Readline 6.2 via MacPorts:

$ port installed | grep readline
  readline @6.2.000_0 (active)
Posted by shugo (Shugo Maeda) (Guest)
on 2013-02-01 06:44
(Received via mailing list)
Issue #6332 has been updated by shugo (Shugo Maeda).

Status changed from Assigned to Feedback

luislavena (Luis Lavena) wrote:
> Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, MacPorts 
provided) generates the following failure:

Could you attach ext/readline/{mkmf.log,extconf.h}?

----------------------------------------
Bug #6332: Error compiling readline due username_completion_function 
being undeclared (GCC 4.6)
https://bugs.ruby-lang.org/issues/6332#change-35752

Author: luislavena (Luis Lavena)
Status: Feedback
Priority: Normal
Assignee: kouji (Kouji Takao)
Category: ext
Target version: 2.0.0
ruby -v: 2.0.0 r35415


Hello,

Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, 
MacPorts provided) generates the following failure:

<pre>
/Users/luis/projects/oss/ruby/build/ext/readline
compiling ../../../ext/readline/readline.c
../../../ext/readline/readline.c: In function 
'username_completion_proc_call':
../../../ext/readline/readline.c:1501:9: error: 
'username_completion_function' undeclared (first use in this function)
../../../ext/readline/readline.c:1501:9: note: each undeclared 
identifier is reported only once for each function it appears in
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2
</pre>

Readline installed is Readline 6.2 via MacPorts:

$ port installed | grep readline
  readline @6.2.000_0 (active)
Posted by mame (Yusuke Endoh) (Guest)
on 2013-02-18 13:34
(Received via mailing list)
Issue #6332 has been updated by mame (Yusuke Endoh).

Status changed from Feedback to Rejected
Target version changed from 2.0.0 to next minor

No feedback.

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #6332: Error compiling readline due username_completion_function 
being undeclared (GCC 4.6)
https://bugs.ruby-lang.org/issues/6332#change-36516

Author: luislavena (Luis Lavena)
Status: Rejected
Priority: Normal
Assignee: kouji (Kouji Takao)
Category: ext
Target version: next minor
ruby -v: 2.0.0 r35415


Hello,

Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, 
MacPorts provided) generates the following failure:

<pre>
/Users/luis/projects/oss/ruby/build/ext/readline
compiling ../../../ext/readline/readline.c
../../../ext/readline/readline.c: In function 
'username_completion_proc_call':
../../../ext/readline/readline.c:1501:9: error: 
'username_completion_function' undeclared (first use in this function)
../../../ext/readline/readline.c:1501:9: note: each undeclared 
identifier is reported only once for each function it appears in
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2
</pre>

Readline installed is Readline 6.2 via MacPorts:

$ port installed | grep readline
  readline @6.2.000_0 (active)
Posted by mame (Yusuke Endoh) (Guest)
on 2013-02-18 13:35
(Received via mailing list)
Issue #6332 has been updated by mame (Yusuke Endoh).

Status changed from Rejected to Assigned

Oops sorry. I didn't intend to close this ticket.

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #6332: Error compiling readline due username_completion_function 
being undeclared (GCC 4.6)
https://bugs.ruby-lang.org/issues/6332#change-36517

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: kouji (Kouji Takao)
Category: ext
Target version: next minor
ruby -v: 2.0.0 r35415


Hello,

Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, 
MacPorts provided) generates the following failure:

<pre>
/Users/luis/projects/oss/ruby/build/ext/readline
compiling ../../../ext/readline/readline.c
../../../ext/readline/readline.c: In function 
'username_completion_proc_call':
../../../ext/readline/readline.c:1501:9: error: 
'username_completion_function' undeclared (first use in this function)
../../../ext/readline/readline.c:1501:9: note: each undeclared 
identifier is reported only once for each function it appears in
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2
</pre>

Readline installed is Readline 6.2 via MacPorts:

$ port installed | grep readline
  readline @6.2.000_0 (active)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.