From nobody@FreeBSD.org  Mon Jul 24 11:50:30 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 62F3216A4DD
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 Jul 2006 11:50:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2F03643D53
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 Jul 2006 11:50:30 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6OBoTUY037398
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 Jul 2006 11:50:30 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6OBoTwh037397;
	Mon, 24 Jul 2006 11:50:29 GMT
	(envelope-from nobody)
Message-Id: <200607241150.k6OBoTwh037397@www.freebsd.org>
Date: Mon, 24 Jul 2006 11:50:29 GMT
From: Kostik Belousov <kostikbel@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Failure to update devel/mico by portupgrade
X-Send-Pr-Version: www-2.3

>Number:         100776
>Category:       ports
>Synopsis:       devel/mico: Failure to update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 12:00:31 GMT 2006
>Closed-Date:    Wed Jan 13 09:26:36 UTC 2010
>Last-Modified:  Wed Jan 13 09:26:36 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jul 24 12:00:53 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100776 
Responsible-Changed-From-To: sem->ruby 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jul 25 01:47:11 UTC 2009 
Responsible-Changed-Why:  
sem@ has turned over maintainership of portupgrade to the ruby mailing list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100776 
State-Changed-From-To: open->feedback 
State-Changed-By: stas 
State-Changed-When: Mon Oct 26 15:49:44 UTC 2009 
State-Changed-Why:  
Ask for submitter feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100776 

From: Stanislav Sedov <stas@deglitch.com>
To: Kostik Belousov <kostikbel@gmail.com>
Cc: bug-followup@FreeBSD.org, sem@FreeBSD.org
Subject: Re: ports/100776: ports-mgmt/portupgrade: Failure to update
 devel/mico by portupgrade
Date: Mon, 26 Oct 2009 18:48:03 +0300

 Hi!
 
 I think that this issue should be fixed in devel/mico as there's not much
 can be done by portupgrade itself.  Furthermore, erroneous dependencies
 on include files already installed instead of the bundled ones can lead
 to build/runtime failures in case of ineterfaces changes.
 
 I belive it should be quite easy to fix by patching mico to provide paths
 to local bundled includes to GCC before system include paths.
 
 -- 
 Stanislav Sedov
 ST4096-RIPE
 
Responsible-Changed-From-To: ruby->freebsd-ports-bugs 
Responsible-Changed-By: sem 
Responsible-Changed-When: Mon Oct 26 16:52:05 UTC 2009 
Responsible-Changed-Why:  
Fix synopsis. Fix responsible. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100776 
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Sat Dec 19 16:06:40 UTC 2009 
State-Changed-Why:  
Reset feedback state 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100776 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Sat Dec 19 16:21:34 UTC 2009 
State-Changed-Why:  
I cannot reproduce the failure.  Is it still a problem for you? 
Also, compilation during install stage indicates unhandled failure in the build 
stage. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sat Dec 19 16:21:34 UTC 2009 
Responsible-Changed-Why:  
I cannot reproduce the failure.  Is it still a problem for you? 
Also, compilation during install stage indicates unhandled failure in the build 
stage. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100776 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Wed Jan 13 09:26:18 UTC 2010 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100776 
>Unformatted:
