Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  2 Jul 2000 12:56:25 -0700 (PDT)
From:      aron@cs.rice.edu
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19650: python package causes segmentation fault
Message-ID:  <20000702195625.70B5D37B61F@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19650
>Category:       ports
>Synopsis:       python package causes segmentation fault
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 02 13:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mohit Aron
>Release:        FreeBSD-4.0-RELEASE
>Organization:
Rice University
>Environment:
FreeBSD luzern.cs.rice.edu 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Thu Mar 16 19:14:31 CST 2000     aron@luzern.cs.rice.edu:/usr/src/sys/compile/LUZERN  i386
>Description:

The package for python available from:
	ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/python-1.5.2.tgz
is broken. If I try to install this package on my machine, and try
running 'python', it causes a Segmentation fault.

I noticed the problem when I was trying to compile the port for 
gnome-1.2. The port wouldn't compile if I had the above python package
installed. I then installed python by removing the installed package
and compiled python from its port in /usr/ports/lang/python. Everything
worked fine then.

Incidentally, the packages for gnome-1.2 at:
	ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/gnome/
are also incomplete. For example, there is no package for py-gnome-1.0.53
which is needed. I'm wondering if the reason again is that whoever 
tried to compile the package for gnome had the faulty python package
installed on his/her system.

>How-To-Repeat:

Make sure you've removed all python packages. Then execute:
	pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/python-1.5.2.tgz
followed by:
	python
You'll see the segmentation fault. On the other hand, if the corresponding
port is compiled from /usr/ports/lang/python and then python is installed
from there, it works fine.
    

>Fix:

Just recompile python from its port /usr/ports/lang/python and recreate
the package and put it out there instead of the buggy one.


>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?20000702195625.70B5D37B61F>