From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 20:24:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E77D16A4D2 for ; Mon, 10 Jan 2005 20:24:02 +0000 (GMT) Received: from ms05.mailstreet2003.net (MS05.mailstreet2003.net [63.251.155.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EA3143D58 for ; Mon, 10 Jan 2005 20:24:01 +0000 (GMT) (envelope-from chris@sigd.net) X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 10 Jan 2005 15:25:20 -0500 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC2202E1AD06@ms05.mailstreet2003.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Portupgrade - Ruby error Thread-Index: AcT3UoEzUm2UTzj7SFyeEczkhkeTxQ== From: "Haulmark, Chris" To: Subject: Portupgrade - Ruby error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 20:24:02 -0000 Having problems using Portupgrade utilities because of Ruby. It started last Friday and I waited for the weekend just in case the cvs = tree will get updated with a possible fix. Output of error is.. %portversion /usr/local/lib/ruby/site_ruby/1.6/dl/types.rb:172:in `encode_type': = unknown type: const char *. (TypeError) from /usr/local/lib/ruby/site_ruby/1.6/dl/import.rb:138:in = `import' from /usr/local/lib/ruby/site_ruby/1.6/dl/import.rb:65:in = `extern' from /usr/local/lib/ruby/site_ruby/1.6/pkgmisc.rb:85 from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:5:in `require' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:5 from /usr/local/lib/ruby/site_ruby/1.6/pkg.rb:3:in `require' from /usr/local/lib/ruby/site_ruby/1.6/pkg.rb:3 from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:24:in = `require' from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:24 from /usr/local/sbin/portversion:35:in `require' from /usr/local/sbin/portversion:35 % It happens same for using portupgrade too. I tried to google this and discovered that it is possible a ruby = developer problem. The cvs tree was updated just recently and I tried to = reinstall just to be sure. I did this by deinstalling both ruby and = portupgrade. After I deinstalled ruby, I deleted the directory, = /usr/local/lib/ruby. I only installed portupgrade which installed ruby by "cd = /usr/ports/sysutils/portupgrade/ ; make clean ; make install". I still have this ruby problem above. %pkg_info | grep portupgrade portupgrade-20041226_1 FreeBSD ports/packages administration and = management tool s %pkg_info | grep ruby ruby-1.6.8.2004.07.28_1 An object-oriented interpreted scripting = language ruby16-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x with = full featu ruby16-shim-ruby18-1.8.1.p3 A set of Ruby modules to provide Ruby 1.8 = functionalities %uname -a FreeBSD xxxxxxxx.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Sep 17 = 18:57:24 CDT 2004 admin@haulmark02:/usr/obj/usr/src/sys/HAULMARK02 = i386 % Any advices on how I can look into resolving this problem?