Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2012 04:09:26 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171832: [pkgng] portmaster no longer honors +IGNORED
Message-ID:  <201209210409.q8L49QYK007245@red.freebsd.org>
Resent-Message-ID: <201209210410.q8L4A7SV043785@freefall.freebsd.org>

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

>Number:         171832
>Category:       ports
>Synopsis:       [pkgng] portmaster no longer honors +IGNORED
>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:   Fri Sep 21 04:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.1-PRERELEASE
>Organization:
EMC Isilon
>Environment:
FreeBSD forza.west.isilon.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240770: Thu Sep 20 19:28:45 PDT 2012     gcooper@forza.west.isilon.com:/usr/obj/usr/src/sys/FORZA  amd64
>Description:
I keep a copy of python24 around for the sake of sanity checking that everything's kosher, but unfortunately the patch for portmaster to deal with pkgng doesn't know how to deal with it:

[root@forza /usr/ports/ports-mgmt/portmaster]# portmaster -a
===>>> Gathering distinfo list for installed ports

===>>> Starting check of installed ports for available updates
===>>> Launching child to update java-zoneinfo-2012.e to java-zoneinfo-2012.f

===>>> All >> java-zoneinfo-2012.e (1/1)

===>>> Currently installed version: java-zoneinfo-2012.e
===>>> Port directory: /usr/ports/java/java-zoneinfo

===>>> Launching 'make checksum' for java/java-zoneinfo in background
===> No options to configure
===>>> Gathering dependency list for java/java-zoneinfo from ports
===>>> Initial dependency check complete for java/java-zoneinfo

===>>> Returning to update check of installed ports


===>>> The lang/python24 port has been deleted: End Of Life reached
===>>> Aborting update

Terminated

The workaround I discovered was like so:

pkg=`pkg info -qO python24`
mkdir -p /var/db/$pkg
touch /var/db/$pkg/+IGNOREME

It would be nice if a more supported/less hacky way was devised for dealing with this.

>How-To-Repeat:
1. Install a port.
2. DEPRECATE it in the Makefile.
3. Run portmaster on the port.
>Fix:


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



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