Date: Tue, 15 Nov 2005 23:29:05 GMT From: Andrew Novikov <freebsd@iconsultant.biz> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/89093: lang/ruby18 does not build if devel/readline is installed Message-ID: <200511152329.jAFNT5ej086936@www.freebsd.org> Resent-Message-ID: <200511152330.jAFNU78A029567@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89093 >Category: ports >Synopsis: lang/ruby18 does not build if devel/readline is installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 23:30:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrew Novikov >Release: 4.11-STABLE >Organization: iConsultant.biz >Environment: FreeBSD sandfang.iconsultant.biz 4.11-STABLE FreeBSD 4.11-STABLE #0: Tue Oct 4 13:55:56 EEST 2005 root@sandfang.iconsultant.biz:/usr/obj/usr/src/sys/SANDFANG i386 >Description: lang/ruby18 fails with error message: readline.c: In function `filename_completion_proc_call': readline.c:606: `rl_filename_completion_function' undeclared (first use in this function) readline.c:606: (Each undeclared identifier is reported only once readline.c:606: for each function it appears in.) readline.c:606: warning: assignment makes pointer from integer without a cast readline.c: In function `username_completion_proc_call': readline.c:633: `rl_username_completion_function' undeclared (first use in this function) readline.c:633: warning: assignment makes pointer from integer without a cast readline.c: In function `Init_readline': readline.c:735: `rl_completion_func_t' undeclared (first use in this function) readline.c:735: syntax error before `)' readline.c:736: `rl_hook_func_t' undeclared (first use in this function) readline.c:736: syntax error before `)' It is only reproducible when devel/readline is installed. Deinstalling readline allows ruby to build successefully. >How-To-Repeat: 1) cvsup ports-lang and ports-devel 2) portinstall devel/readline 3) portinstall lang/ruby18 >Fix: Not really a fix but a temporary workaround: 1) deinstall devel/readline 2) build and install ruby18 3) reinstall devel/readline back >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511152329.jAFNT5ej086936>