Date: Mon, 5 Nov 2012 19:20:53 GMT From: Trix Farrar <trix@basement.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173404: perl-after-upgrade script does not recognize ports-mgmt/pkg database Message-ID: <201211051920.qA5JKrH3026596@red.freebsd.org> Resent-Message-ID: <201211051930.qA5JU06u039908@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173404 >Category: ports >Synopsis: perl-after-upgrade script does not recognize ports-mgmt/pkg database >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: Mon Nov 05 19:30:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Trix Farrar >Release: FreeBSD 9.0-RELEASE-p4 >Organization: >Environment: FreeBSD tara.basement.net 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Thu Aug 9 21:24:29 CDT 2012 root@tara.basement.net:/usr/obj/usr/src/sys/BASEMENT i386 >Description: Host has been swapped to use pkgNG by adding the following to /etc/make.conf: # Use PKGNG since it's default in -CURRENT now (2012-10-13) WITH_PKGNG=yes The FreeBSD::Package package defined at /usr/local/bin/perl-after-upgrade line 129 is expecting a "+CONTENTS" file in a directory named for the package rather than the SQLite databases used by ports-mgmt/pkg Versions used: [trix@tara ~] 0 $ pkg info perl pkg perl-5.16.2 Practical Extraction and Report Language pkg-1.0.1 New generation package manager [trix@tara ~] 0 $ Several p5-* packages are installed: [trix@tara ~] 0 $ pkg info -x '^p5-.*' | wc -l 190 [trix@tara ~] 0 $ >How-To-Repeat: Install lang/perl followed by ports-mgmt/pkg. Add "WITH_PKGNG=yes" line to /etc/make.conf Convert package database with 'pkg2ng'. Execute /usr/local/bin/perl-after-upgrade [trix@tara ~] 0 $ time sudo perl-after-upgrade \ --- Fixed 0 packages (0 files moved, 0 files modified) Skipped 0 packages real 0m0.260s user 0m0.212s sys 0m0.041s [trix@tara ~] 0 $ >Fix: I don't know enough about SQLite to address this issue. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211051920.qA5JKrH3026596>