Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2009 18:05:04 GMT
From:      Fred Galusik <fred.galusik@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135867: gajim-0.12.3, wrong $path in bin file
Message-ID:  <200906201805.n5KI54mU041806@www.freebsd.org>
Resent-Message-ID: <200906201810.n5KIA6tW060693@freefall.freebsd.org>

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

>Number:         135867
>Category:       ports
>Synopsis:       gajim-0.12.3, wrong $path in bin file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 20 18:10:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Fred Galusik
>Release:        7.2-release
>Organization:
>Environment:
FreeBSD localhost.localdomain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Hi,

I have just updated gajim port to the latest release with portmaster.
The upgrade was successfull, but gajim can't be run anymore :

Code:
$ gajim
/usr/local/bin/python2.5: can't open file 'gajim.py': [Errno 2] No such file or directory

>How-To-Repeat:
Just run gajim through the CLI
>Fix:
The fix is to edit the file /usr/local/bin/gajim and fix the $PATH like this :

Change

exec ${PYTHON_EXEC} -OO gajim.py $@

To:

exec ${PYTHON_EXEC} -OO ${datadir}/src/gajim.py $@



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906201805.n5KI54mU041806>