Date: Sun, 22 Apr 2001 15:24:57 -0700 (PDT) From: gdinolt@pacbell.net To: freebsd-gnats-submit@FreeBSD.org Subject: ports/26778: Python port (2.0) does not build in newest versions of 5.0-CURRENT Message-ID: <200104222224.f3MMOvT40756@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104222224.f3MMOvT40756>