From owner-freebsd-ports Sun Apr 22 15:30: 5 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AD3EB37B423 for ; Sun, 22 Apr 2001 15:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3MMU1k41369; Sun, 22 Apr 2001 15:30:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0617537B424 for ; Sun, 22 Apr 2001 15:24:58 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3MMOvT40756; Sun, 22 Apr 2001 15:24:57 -0700 (PDT) (envelope-from nobody) Message-Id: <200104222224.f3MMOvT40756@freefall.freebsd.org> Date: Sun, 22 Apr 2001 15:24:57 -0700 (PDT) From: gdinolt@pacbell.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/26778: Python port (2.0) does not build in newest versions of 5.0-CURRENT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26778 >Category: ports >Synopsis: Python port (2.0) does not build in newest versions of 5.0-CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 22 15:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: George W. Dinolt >Release: Freebsd 5.0-CURRENT >Organization: >Environment: FreeBSD dinolt1.bingdrive.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Apr 22 10:46:26 PDT 2001 root@dinolt1.bingdrive.org:/tmp/obj-5.0/usr/src/sys/DINOLT1 i386 >Description: The Python port fails to build because of a compilation error in the file python/work/Python-2.0/Modules/readline.c The message from the compilation is ./readline.c:31: conflicting types for `rl_read_init_file' /usr/include/readline/readline.h:304: previous declaration of `rl_read_init_file' ./readline.c:32: conflicting types for `rl_insert_text' /usr/include/readline/readline.h:356: previous declaratio This seems to be a result of the recent import of the newest versions readline. >How-To-Repeat: Build the python port in FreeBSD 5.0-CURRENT from sources after April 12. >Fix: The fix is to remove the offending definitions from the readline.c I am not sure what the patch should look like. It appears to need to be conditionalized based on the version of readline in use. FreeBSD 4.3 (and earlier) use a version of readline which does not define these functions. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message