ports/111745: graphics/gimp (gimp-2.2, 2) prevents itself from being updated
Mats Dufberg
mats at dufberg.se
Mon Apr 16 21:10:03 UTC 2007
>Number: 111745
>Category: ports
>Synopsis: graphics/gimp (gimp-2.2,2) prevents itself from being updated
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 16 21:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Mats Dufberg
>Release: FreeBSD 5.5-RELEASE-p9 i386
>Organization:
private
>Environment:
System: FreeBSD kafka.narnia.pp.se 5.5-RELEASE-p9 FreeBSD 5.5-RELEASE-p9 #3: Sat Dec 9 02:05:57 CET 2006 dufberg at kafka.narnia.pp.se:/usr/obj/usr/src/sys/KAFKA i386
>Description:
Upgrading graphics/gimp (gimp-2.2,2) without deinstalling it first is
not possible since building it is prevented by its Makefile
The following code will not only catch old gimp, but also itself:
pre-everything::
@if [ -n "`${PKG_INFO} -xI '^gimp[-gnome]*[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \
${ECHO_CMD} "${PKGNAME}: Old version of gimp detected! Please see ${PORTSDIR}/UPDATING for information on upgrading ${PKGNAME}" ; \
${FALSE}; \
fi
>How-To-Repeat:
Install graphics/gimp (gimp-2.2,2) and then try to run the following:
# cd /usr/ports/graphics/gimp
# make
gimp-2.2,2: Old version of gimp detected! Please see /usr/ports/UPDATING for information on upgrading gimp-2.2,2
*** Error code 1
Stop in /usr/ports/graphics/gimp.
*** Error code 1
Stop in /usr/ports/graphics/gimp.
#
>Fix:
Work-around is to run "pkg_delete -f gimp-2.2,2" and the reinstall it.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list