ports/171832: [pkgng] portmaster no longer honors +IGNORED

Garrett Cooper yanegomi at gmail.com
Fri Sep 21 04:10:08 UTC 2012


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list