Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8174

Re: Missing rbconfig.rb file in jruby packaging?

Path csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Miguel Landaeta <nomadium@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Missing rbconfig.rb file in jruby packaging?
Date Tue, 14 Jul 2015 21:20:02 +0200
Message-ID <pMdUe-11e-23@gated-at.bofh.it> (permalink)
References <pM16G-6D1-3@gated-at.bofh.it>
X-Original-To Debian Java <debian-java@lists.debian.org>
Old-Return-Path <miguel@miguel.cc>
X-Amavis-Spam-Status No, score=-12.6 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Policyd-Weight using cached result; rate: -7
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=RRg1pIpMPpCF3mS+UAWBEO4u9N4OIM9s8APzsDCQizc=; b=BAb5QSgNjn9vr6veqX5CFhXLGzQt/tyge92EKVhnot3tFj77pMnWDyOqQq3FIEm2N6 DsQ/6Mtr2Fp2aXrO+TKH3Bn19/PdYuAbU1PlTJAMasTT2kR5uo2dTh3Co/lHY2aUFgaf plq7ewbSDrrJ9SVc8UlyrHoPLOkKJZ2NQG9lZhm3M06my2SWsbdiqqYFTm4mvf7jQU6l YDWIGvf1eSrfj0hNdiQwR/mcVYhvt/9tCxcIDtU2am9a7kSqbFnnZk5bkXt+eiZdfTM9 ffnF3xhN2gNvzM0AvEOP6omavQwzm0NMIegpJy8KKur4AitiAK6KQfqnASc47PF/XMYP 11Xw==
X-Gm-Message-State ALoCoQlIA/pf/BdvbTBw3IBZKtaT3gb4nN4JxKU3qqFXuwsxDOk7FR5wOskZrRfZB/pWbBxMKd4P
X-Received by 10.55.50.78 with SMTP id y75mr267854qky.31.1436901070526; Tue, 14 Jul 2015 12:11:10 -0700 (PDT)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-java@lists.debian.org> archive/latest/18483
List-ID <debian-java.lists.debian.org>
List-URL <http://lists.debian.org/debian-java/>
Approved robomod@news.nic.it
Lines 97
Organization linux.* mail to news gateway
X-Original-Date Tue, 14 Jul 2015 16:13:01 -0300
X-Original-Message-ID <20150714191301.GA24036@alice.nomadium.lan>
X-Original-References <646A7512-0044-4FF4-90F3-B681820D409A@hp.com>
X-Original-Sender Miguel Landaeta <miguel@miguel.cc>
Xref aioe.org linux.debian.maint.java:8174

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Jul 14, 2015 at 05:35:27AM +0000, Potter, Tim (Cloud Services) wrote:
> Hi Miguel.  I’m slowing working on getting logstash up and running
> using the Debian archive version of Jruby.  I think there are some
> pieces missing though.

Hi Tim,

> When a script runs require "rbconfig” it expects to pull in some
> constants in the RbConfig namespace, e.g RbConfig::CONFIG[“host_os”].
> This doesn’t work and I think the reason is that rbconfig.rb isn’t
> being packaged. It’s in core/src/main/ruby/jruby/kernel/rbconfig.rb

I can't reproduce this error:

miguel@nina:~$ jirb
irb(main):001:0> require 'rbconfig'
=> false
irb(main):002:0> puts RbConfig::CONFIG["host_os"]
linux
=> nil
irb(main):003:0> 

> Unfortunately I’m unable to build Jruby from source by myself - I
> get this error when using pbuilder with a sid chroot:
> 
> cd . && /usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /usr/share/maven/boot/plexus-classworlds-2.x.jar  -Dclassworlds.conf=/tmp/buildd/jruby-1.7.21/debian/m2.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/tmp/buildd/jruby-1.7.21/debian/maven-repo  -Pdist package
> -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.debian/rules:35: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 1
> make[1]: Leaving directory '/tmp/buildd/jruby-1.7.21'
> debian/rules:14: recipe for target 'build' failed
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> I’m guessing the fix is some extra cp commands in the override_dh_auto_install rule.  Does that sound reasonable?

Sorry, this is my fault, I noticed this failure 2 days ago.

Since jruby needs Maven 3 to build but we don't have proper support
for it in our helpers yet, I included Maven 3 specific settings that stop
working with recent maven 3.3.3-1 upload.

Please try again to build what's in jruby's git repo HEAD. I'll upload a fix
soon.

Cheers,

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche

Back to linux.debian.maint.java | Previous | Next | Find similar


Thread

Re: Missing rbconfig.rb file in jruby packaging? Miguel Landaeta <nomadium@debian.org> - 2015-07-14 21:20 +0200

csiph-web