From owner-freebsd-ruby@FreeBSD.ORG Mon Mar 28 11:08:26 2011 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 E12C010656A4 for ; Mon, 28 Mar 2011 11:08:26 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B4B6D8FC14 for ; Mon, 28 Mar 2011 11:08:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2SB8QsZ027925 for ; Mon, 28 Mar 2011 11:08:26 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2SB8Qxq027923 for ruby@FreeBSD.org; Mon, 28 Mar 2011 11:08:26 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Mar 2011 11:08:26 GMT Message-Id: <201103281108.p2SB8Qxq027923@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: ruby@FreeBSD.org Cc: Subject: Current problem reports assigned to ruby@FreeBSD.org 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: Mon, 28 Mar 2011 11:08:27 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/155943 ruby [MAINTAINER] net/rubygem-net-ldap: update to 0.2.1 f ports/155267 ruby [PATCH] databases/ruby-tokyocabinet: update to 1.31 o ports/154958 ruby [REPOCOPY] databases/rubygem-sqlite3 --> databases/rub o ports/154210 ruby ports-mgmt/portupgrade 2.4.8_1,2: cross-thread violati o ports/152387 ruby ports-mgmt/portupgrade: portinstall with bash completi o ports/151662 ruby ports-mgmt/portupgrade: upgrade of autoconf leaves old o ports/151510 ruby ports-mgmt/portupgrade: circular dependencies breaks p o ports/149817 ruby ports-mgmt/portupgrade: portinstall -p option doesn't o ports/147242 ruby ports-mgmt/portupgrade incorrectly remove old port whe o ports/144769 ruby [PATCH] ports-mgmt/portupgrade should have a configura o ports/144605 ruby [PATCH] Get ports-mgmt/portupgrade to build under Ruby o ports/140880 ruby ports-mgmt/portupgrade: portversion confused with ezm3 o ports/140364 ruby ports-mgmt/portupgrade-devel: #! line substitution is o ports/140273 ruby ports-mgmt/portupgrade-devel chokes on bsdpan pkgs o ports/140008 ruby ports-mgmt/portupgrade: many papercut omissions on por o ports/137958 ruby ports-mgmt/portupgrade fails with recursive dependency o ports/137708 ruby ports-mgmt/portupgrade: portupgrade -cRn is broken o ports/135691 ruby ports-mgmt/portupgrade Wrong example in man page of pk o ports/134714 ruby ports-mgmt/portupgrade deletes user data without quest o ports/134182 ruby ports-mgmt/portupgrade incorrectly handles manual reje o ports/131111 ruby ports-mgmt/portupgrade-devel: completely removes packa o ports/129930 ruby ports-mgmt/portupgrade - portinstall tries to install o ports/129891 ruby ports-mgmt/portupgrade fails to recognize variations o o ports/128881 ruby ports-mgmt/portupgrade backtrace o ports/127889 ruby ports-mgmt/portupgrade detects spurious failures and s o ports/127019 ruby ports-mgmt/portupgrade does not recognize fail conditi o ports/126140 ruby ports-mgmt/portupgrade runtime error o ports/125936 ruby ports-mgmt/portupgrade -R fails if BUILD_DEP's are not o ports/112818 ruby ports-mgmt/portupgrade -a fails with database error 29 problems total. From owner-freebsd-ruby@FreeBSD.ORG Wed Mar 30 13:40:37 2011 Return-Path: Delivered-To: freebsd-ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 248CD106566C; Wed, 30 Mar 2011 13:40:37 +0000 (UTC) (envelope-from freebsdlists-ruby@chillibear.com) Received: from mail.sundive.org (mail.sundive.org [212.13.197.214]) by mx1.freebsd.org (Postfix) with ESMTP id C899D8FC1A; Wed, 30 Mar 2011 13:40:36 +0000 (UTC) Received: from [87.115.112.22] (helo=[192.168.0.44]) by sundive.org with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Q4vei-000IAE-1n; Wed, 30 Mar 2011 14:42:04 +0100 User-Agent: Microsoft-Entourage/12.28.0.101117 Date: Wed, 30 Mar 2011 14:40:14 +0000 From: Eric To: Steve Wills Message-ID: Thread-Topic: making Ruby 1.9 default Thread-Index: Acvu3/9jREX8HAMVUEKPY97BwSENBg== In-Reply-To: <4D8ABBD7.8050706@FreeBSD.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam: No X-bounce-key: sundive.org-1; freebsdlists-ruby@chillibear.com; 1301492526; 424b7864; Cc: knu@FreeBSD.org, freebsd-ruby@FreeBSD.org Subject: Re: making Ruby 1.9 default 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: Wed, 30 Mar 2011 13:40:37 -0000 > Please see the attached patch. This should get us past ruby-bdb and > allow portupgrade to work with Ruby 1.9. > > Steve I couldn't fetch from the source given in your patch: fetch: https://download.github.com/knu-ruby-bdb-v0.6.5-8-g6feba54.tar.gz: Not Found However I obtained a copy of that git commit thus: fetch -o /usr/ports/distfiles/ruby/knu-ruby-bdb-v0.6.5-8-g6feba54.tar.gz http://github.com/knu/ruby-bdb/tarball/6feba54 I was then able build and install ruby-bdb without issue as long as I specified 'NOPORTDOCS', since the docs appear to be incomplete in the source I downloaded. Portupgrade does then successfully build/install, although bombs out with: /usr/local/lib/ruby/site_ruby/1.9/pkgmisc.rb:110:in `': uninitialized constant DL::Importable (NameError) When run. I've not looked deeper yet, as ever other bits of life being hectic! My thanks to both you and Knu for all the effort on this. > On 03/20/11 13:27, Eric wrote: >> [SNIP] >> >>>> Portupgrade is a bit of a problem. Perhaps it's due to my patches, but >>>> at the moment I can't get databases/ruby-bdb to build with RUBY_VER == >>>> 1.9. If I could get past that, I could test the above PR. I wonder if >>>> anyone else has the same issue. >>>> >>> >>> It does not work with 1.9. I submitted some pacthes to fix it, but it's >>> not enough to get it build. IIRC, there were some other problems knu@ >>> mentioned. >> >> I've been having a bit of a play myself for the last couple of hours, but >> without any real luck. It does appear that getting the bdb bindings working >> with Ruby 1.9 is the first major blocker to pass to get portupgrade working. >> >> The existing /usr/ports/databases/ruby-bdb fails (at least at first) because >> it can't find a 'features' library that is required in src/extconf.rb. >> There is actually a 'features.rb' in the src directory, which might be what >> it's after. Hardcoding (perhaps require is getting muddled) to this file >> does gets extconf.rb generating the following: >> >> jail# ruby extconf.rb >> checking for db_version() in -ldb-4.7... yes >> checking for rb_frame_this_func() in ruby.h... yes >> checking for rb_block_proc() in ruby.h... yes >> checking for rb_io_stdio_file() in ruby.h... yes >> checking for rb_block_call() in ruby.h... yes >> checking for Array#insert... yes >> checking for Array#values_at... yes >> checking for rb_io_t in ruby.h,rubyio.h... yes >> checking for DB_AFTER in db.h...no >> checking for DB_AGGRESSIVE in db.h...no >> checking for DB_APPEND in db.h...no >> checking for DB_ARCH_ABS in db.h...no >> checking for DB_ARCH_DATA in db.h...no >> checking for DB_ARCH_LOG in db.h...no >> checking for DB_AUTO_COMMIT in db.h...no >> ---etc--- >> >> Lots more "NOs", then the Makefile within 'src' is created. Returning back >> up to the top directory and trying a 'make install' (or doing it from the >> work dir) still fails. >> >> I've also been trying the gem from here: https://github.com/espace/bdb which >> explicitly mentions working with Ruby 1.9.1 (fork off the original code). >> Worth noting for others that this gem only looks for db-4.7, db-4.6 db-4.5, >> db-4.4, db-4.3 and db-4.2. I believe the default USE_BDB is 4.1. The other >> thing is the path to db.h is hardcoded in the ext/extconf.rb to db_header = >> "/usr/local/include/db.h", so you may need to tweak that. >> >> I've not managed to get that gem to build via the ports system or more >> manually via the 'gem19 install' command. Although with the above tweaks >> taken into account 'cd'ing into >> /usr/local/lib/ruby/gems/1.9/gems/bdb-0.0.2/ext and running the extconf.rb >> and resultant Makefile doesn't error: >> >> jail# make install >> cc -shared -o bdb.so bdb.o -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. >> -rdynamic -Wl,-soname,bdb.so -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib >> -lruby19 -ldb-4.7 -lcrypt -lm -L/usr/local/lib >> -rpath=/usr/lib:/usr/local/lib -pthread -lc >> /usr/bin/install -c -o root -g wheel -m 0755 bdb.so >> /usr/local/lib/ruby/gems/1.9/gems/bdb-0.0.2/lib >> >> I'm afraid I'm getting to the slightly randomly prodding stuff stage - I'm >> not a big C person (*the shame* - I know) >> >> Sorry not much of use I know, anyone a bit more knowledgeable got some >> ideas? >> >> Regards >> >> Eric >> From owner-freebsd-ruby@FreeBSD.ORG Wed Mar 30 18:50:21 2011 Return-Path: Delivered-To: ruby@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 501E6106566B; Wed, 30 Mar 2011 18:50:21 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 24B458FC18; Wed, 30 Mar 2011 18:50:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2UIoLOV037848; Wed, 30 Mar 2011 18:50:21 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2UIoKN9037837; Wed, 30 Mar 2011 18:50:21 GMT (envelope-from edwin) Date: Wed, 30 Mar 2011 18:50:21 GMT Message-Id: <201103301850.p2UIoKN9037837@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, ruby@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/156066: [NEW PORT] databases/rubygem-xapian-full (self contained xapian bindings) 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: Wed, 30 Mar 2011 18:50:21 -0000 Synopsis: [NEW PORT] databases/rubygem-xapian-full (self contained xapian bindings) Responsible-Changed-From-To: freebsd-ports-bugs->ruby Responsible-Changed-By: edwin Responsible-Changed-When: Wed Mar 30 18:50:20 UTC 2011 Responsible-Changed-Why: ruby@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=156066