From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 15 23:30:08 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA71316A421 for ; Tue, 15 Nov 2005 23:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27DF543D4C for ; Tue, 15 Nov 2005 23:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAFNU8Ou029571 for ; Tue, 15 Nov 2005 23:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAFNU78A029567; Tue, 15 Nov 2005 23:30:07 GMT (envelope-from gnats) Resent-Date: Tue, 15 Nov 2005 23:30:07 GMT Resent-Message-Id: <200511152330.jAFNU78A029567@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Novikov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BBD916A41F for ; Tue, 15 Nov 2005 23:29:05 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5394643D46 for ; Tue, 15 Nov 2005 23:29:05 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jAFNT5p8086937 for ; Tue, 15 Nov 2005 23:29:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id jAFNT5ej086936; Tue, 15 Nov 2005 23:29:05 GMT (envelope-from nobody) Message-Id: <200511152329.jAFNT5ej086936@www.freebsd.org> Date: Tue, 15 Nov 2005 23:29:05 GMT From: Andrew Novikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/89093: lang/ruby18 does not build if devel/readline is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 23:30:08 -0000 >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: