From owner-freebsd-ruby@FreeBSD.ORG Tue Nov 9 22:39:20 2010 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7B4E106564A for ; Tue, 9 Nov 2010 22:39:20 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 0FD5C8FC19 for ; Tue, 9 Nov 2010 22:39:19 +0000 (UTC) Received: (qmail invoked by alias); 09 Nov 2010 22:12:39 -0000 Received: from 85-127-91-199.dynamic.xdsl-line.inode.at (EHLO walrus.pepperland) [85.127.91.199] by mail.gmx.net (mp068) with SMTP; 09 Nov 2010 23:12:39 +0100 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/cnAh8YvzcwOLmtXbXFlsT++V+GrjlTSrdZpOtfc CyCLF/DQXQybWr From: Stefan Ehmann To: ruby@freebsd.org Date: Tue, 9 Nov 2010 23:12:37 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.5.3; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201011092312.37291.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Subject: portupgrade: cmd_stop_rc broken in 2.4.7? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 22:39:20 -0000 Hello, After the update to 2.4.7, I get an error when I try to update any port, e.g.: # portupgrade vim ... ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'vim-7.3.48' ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! vim-7.3.48 (undefined method `nil' for "":String) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! editors/vim (vim-7.3.48) (uninstall error) Update works fine if I remove the following entry in /usr/local/etc/pkgtools.conf: BEFOREDEINSTALL = { # Automatically stop the service for each package that has a # rc script enabled '*' => proc { |origin| cmd_stop_rc(origin) }, }