Subject: pkg/37592: lintpkgsrc does not recognize some installed packages
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jan.m.danielsson@gmail.com>
List: pkgsrc-bugs
Date: 12/22/2007 11:00:00
>Number:         37592
>Category:       pkg
>Synopsis:       lintpkgsrc does not recognize some installed packages
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 22 11:00:00 +0000 2007
>Originator:     Jan Danielsson
>Release:        NetBSD/amd64 4.0 RC2
>Organization:
Confuse A Cat Inc.
>Environment:
NetBSD anca 4.0_RC2 NetBSD 4.0_RC2 (ANCABOOT) #0: Fri Oct 12 19:19:52 CEST 2007  jan@c-e2b8e455.91-0200-74657210.cust.bredbandsbolaget.se:/home/jan/netbsd4/anca/obj.amd64/usr/src/sys/arch/amd64/compile/ANCABOOT amd64
>Description:
$ lintpkgsrc -i > /tmp/outdated_packages
$ cat /tmp/outdated_packages 
Unknown package: 'ap22-py24-python' version 3.2.10
Unknown package: 'ap22-py24-wsgi' version 1.2

But these packages are in fact very well known to pkgsrc.

It should be noted, that I have a pkg_comp chroot in which I rebuild outdated packages. Each time I run the update script, it rebuilds ap22-py24-python and ap22-py24-wsgi, even though they have not been updated. Also, subversion (the meta package) is rebuilt each time, but it is not reported as an unknown package.
>How-To-Repeat:
Set the following in /etc/mk.conf:

PKG_DEFAULT_OPTIONS += -arts apr1 apache22
PYTHON_VERSION_DEFAULT=24

Then build and install www/ap2-wsgi and www/ap2-python, finally run "lintpkgsrc -i".

>Fix:
Sorry, I don't speak perl.