Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 11:50:29 GMT
From:      Kostik Belousov <kostikbel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100776: Failure to update devel/mico by portupgrade
Message-ID:  <200607241150.k6OBoTwh037397@www.freebsd.org>
Resent-Message-ID: <200607241200.k6OC0WGM021486@freefall.freebsd.org>

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

>Number:         100776
>Category:       ports
>Synopsis:       Failure to update devel/mico by portupgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 12:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Kostik Belousov
>Release:        6.1-STABLE
>Organization:
>Environment:
FreeBSD deviant.kiev.zoral.com.ua 6.1-STABLE FreeBSD 6.1-STABLE #89: Fri Jul 21 09:52:54 EEST 2006     root@deviant.kiev.zoral.com.ua:/usr/obj/usr/src/sys/DEVIANT  i386
>Description:
I had mico 2.3.11_2 installed and tried to do portupgrade mico-2.3.11_2.
Build finished successully, but, when installing, I got the error:

/usr/home/buddha/portsworkdir/usr/ports/devel/mico/work/mico/./admin/install-sh -c -m 555 libmicoir2.3.12.so /usr/local/lib
gmake[1]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/devel/mico/work/mico/ir'
gmake[1]: Entering directory `/usr/home/buddha/portsworkdir/usr/ports/devel/mico/work/mico/daemon'
gmake[1]: *** No rule to make target `/usr/local/include/CORBA.h', needed by `poamediator.o'.  Stop.
gmake[1]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/devel/mico/work/mico/daemon'
gmake: *** [install] Error 1
*** Error code 2

Stop in /usr/ports/devel/mico.
*** Error code 1

Stop in /usr/ports/devel/mico.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade715.2 env PORT_UPGRADE=yes make WANT_OPENLDAP_VER=23 WANT_OPENLDAP_SASL=yes WITH_BDB_VER=44 WITH_GECKO=firefox WITH_GHOSTSCRIPT_AFPL=yes PORT_UPGRADE=yes reinstall
egrep: /var/db/pkg/mico-2.3.11_3/+CONTENTS: No such file or directory
--->  Restoring the old version

The problem is obvious:
portupgrade deletes old package before installation. The build forces 
dependencies on the /usr/local/include/* instead of the source tree.
Since files from /usr/local/include deleted before installation, error
is raised.
>How-To-Repeat:

>Fix:

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



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