Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 10:29:29 GMT
From:      Cronfy<nisoi@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113154: portupgrade does not install ports missed in INDEX-6
Message-ID:  <200705301029.l4UATT3l019280@www.freebsd.org>
Resent-Message-ID: <200705301030.l4UAUFRf028430@freefall.freebsd.org>

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

>Number:         113154
>Category:       ports
>Synopsis:       portupgrade does not install ports missed in INDEX-6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 30 10:30:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Cronfy
>Release:        6.2-RELEASE-p5
>Organization:
Uxp
>Environment:
FreeBSD zeroinsttooled 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Tue May 29 16:05:28 MSD 2007     subadm@zeroinsttooled:/usr/obj/usr/src/sys/MEGA_6.1_64_5015M-T_01  amd64
>Description:
portupgrade does not install ports that exist in /usr/ports but missed in INDEX-6 file - it just exits with no messages.

Looks like there is a workaround in portupgrade script for ports thad do not exist in the INDEX. A port becomes added to install_tasks, but then there is 

 $portsdb.sort!(install_tasks)

at 732 line. After this line install_tasks becomes empty and port is not installed.

Running "make install" installs such ports as usual.

>How-To-Repeat:
1. Create any new own port, do not add it to INDEX.
2. portupgrade -N any-new-own-port

portupgrade finishes, port is not instead.


>Fix:


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



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