From owner-freebsd-ruby@FreeBSD.ORG Tue Feb 28 22:53:28 2012 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 5F71E1065675 for ; Tue, 28 Feb 2012 22:53:28 +0000 (UTC) (envelope-from d.y.kazarov@mail.ru) Received: from smtp21.mail.ru (smtp21.mail.ru [94.100.176.174]) by mx1.freebsd.org (Postfix) with ESMTP id D67958FC18 for ; Tue, 28 Feb 2012 22:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=rdRYdjBz/EyJ/hqSLPFPsNJOTwLjvI9dQXy4k5BobQc=; b=ozPl93phdm9LKnwiqdGIFulOT4km+wkG2Rjg9wSbNY+mO2690Al+SgXVqYMaB3vWIZJ/EjKEWid1Zg6R3ADNpuYncID3RkPXTXdTbaOQP1hCY9kULMzRxJ89+3Yscir+; Received: from [213.108.21.228] (port=52799 helo=Trudiaga.localdomain) by smtp21.mail.ru with esmtpa (envelope-from ) id 1S2VvA-0007tL-5p; Wed, 29 Feb 2012 02:53:24 +0400 Message-ID: <4F4D5AE3.5040102@mail.ru> Date: Wed, 29 Feb 2012 02:53:23 +0400 From: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JrQsNC30LDRgNC+0LI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.2) Gecko/20120220 Thunderbird/10.0.2 MIME-Version: 1.0 To: clutton References: <4F120654.1030004@mail.ru> <1327523583.32205.4.camel@eva02> <4F251BDB.4080702@mail.ru> In-Reply-To: <4F251BDB.4080702@mail.ru> Content-Type: multipart/mixed; boundary="------------040909040502020801020504" X-Spam: Not detected X-Mras: Ok X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ruby@freebsd.org Subject: Re: portupgrade -af fails 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, 28 Feb 2012 22:53:28 -0000 This is a multi-part message in MIME format. --------------040909040502020801020504 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Hello, I've just met this problem while upgrading a server from FreeBSD 7.0 Stable to 9.0 Stable. After successful upgrading of FreeBSD I've started upgrading of packages. The command was portupgrade -af since most packages were outdated and all packages should be recompiled within new environment. After upgrading the ruby package portupgrade failed: --------------->8------------------------------>8--------------------- ------ ==== ===> Compressing manual pages for ruby-1.8.7.358,1 ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for ruby-1.8.7.358,1 ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/lib/ruby/1.8/i386-freebsd9/socket.so If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: [1]http://www.ruby-lang.org/en/ ===> Cleaning for automake-1.11.1 ===> Cleaning for automake-wrapper-20101119 ===> Cleaning for ruby-1.8.7.358,1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... Inappropriate file type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... - 161 packages found (-0 +161) ...................................................................... ..............................100..................................... ........................ done] /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:215:in `origin': /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:205:in `origin' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:245:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:215:in `config_ignore_moved?' from /usr/local/sbin/portupgrade:942:in `do_upgrade' from /usr/local/sbin/portupgrade:816:in `main' from /usr/local/sbin/portupgrade:812:in `each' from /usr/local/sbin/portupgrade:812:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2213 [root@mail ~/update.20120228]# --------------->8------------------------------>8--------------------- ------ Log is attached (screenlog.1.gz). File pre.gz contains list of packages before the upgrading; file post.gz - list of packages right after failure (result of pkg_info without arguments). Is there way to restart building from the point of failure? Sincere yours, Dmitry On 29.01.2012 14:13, Dmitrij Kazarov wrote: Hello, I apologize. I currently can not reproduce the problem. Last time postupgrade failed when I upgraded FreeBSD from 8.2-STABLE to 9.0 - I've upgraded all ports to exclude dependencies on old system libraries. Since I expected a failure I use "--results-file FILE" option but the file was empty. Sincerely yours, Dmitry 26.01.2012 00:33, clutton pishet: Please give more details. What ruby version? What error is? And what packages you try upgrade. On Sun, 2012-01-15 at 02:48 +0400, Dmitrij Kazarov wrote: Hello! portupgrade -af fails right after upgrading ruby package. And running with option -l result does not helps at all - no data saved to result file. Sincerely yours, Dmitry _______________________________________________ [2]freebsd-ruby@freebsd.org mailing list [3]http://lists.freebsd.org/mailman/listinfo/freebsd-ruby To unsubscribe, send any mail to [4]"freebsd-ruby-unsubscribe@freebsd.org" References 1. http://www.ruby-lang.org/en/ 2. mailto:freebsd-ruby@freebsd.org 3. http://lists.freebsd.org/mailman/listinfo/freebsd-ruby 4. mailto:freebsd-ruby-unsubscribe@freebsd.org --------------040909040502020801020504--