Path: csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Miguel Landaeta 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: References: X-Original-To: Debian Java Old-Return-Path: 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: archive/latest/18483 List-ID: List-URL: 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 Xref: aioe.org linux.debian.maint.java:8174 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 14, 2015 at 05:35:27AM +0000, Potter, Tim (Cloud Services) wrot= e: > Hi Miguel. I=E2=80=99m 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=E2=80=9D it expects to pull in some > constants in the RbConfig namespace, e.g RbConfig::CONFIG[=E2=80=9Chost_o= s=E2=80=9D]. > This doesn=E2=80=99t work and I think the reason is that rbconfig.rb isn= =E2=80=99t > being packaged. It=E2=80=99s in core/src/main/ruby/jruby/kernel/rbconfig.= rb I can't reproduce this error: miguel@nina:~$ jirb irb(main):001:0> require 'rbconfig' =3D> false irb(main):002:0> puts RbConfig::CONFIG["host_os"] linux =3D> nil irb(main):003:0>=20 > Unfortunately I=E2=80=99m unable to build Jruby from source by myself - I > get this error when using pbuilder with a sid chroot: >=20 > cd . && /usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /usr/share/= maven/boot/plexus-classworlds-2.x.jar -Dclassworlds.conf=3D/tmp/buildd/jru= by-1.7.21/debian/m2.conf org.codehaus.plexus.classworlds.launcher.Launcher = -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=3D/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 >=20 > I=E2=80=99m 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, --=20 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 --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVpV82AAoJEGIODQuJV82lofYQAMSboLTM52x3PCvpymzXNUmq egVAsf/cgFd04rNpIP5A9gQ2ZgbCo5NtNptmnnkr2IC5hxnVC+15zdz3tUBfU38V Wbqwd59CbaKzarfodU69NTOp9DQViC7s4gN8H1bmIi6m0ao4pgqpW9iAuoeDVmzE GOlH/3/BVjXb6u8e++c1mZHZfvZovY3xKTpMW4qa4ni7OUwi3eT8RRrXwm15+tMC CGHbkIR6lP8YXz4zGEBQdJvNKfAPt8Gb6bzCHuejq0IHL7OYc8r5TM8mxasOPCl9 pCYoSfu+sTrGDzIkqPw2q8a60S1edla+1qXQxwLfppScNV5JbvgweDqdVBmhXqFD 0gKPmwnnGwlXL6LKFhCwimTCAZNcVuWzBqPu2rzg6C4pl2Rq4xhq2DntJ/BAOqwj mO6LHADsmhj6XhZY+ouv7sE5ITIj7gL6HjP0kyR/mWS6eunm//vU42KaKM4TvhCt D/nyACOyVaozPPPnEYsi5SUM9KXcDifw5uxw0sZK8WzJfxz7Jyv2jv0x60MQMLJ9 LW1rCIJPg9prNE+IJVSSwK0nDoOnUpUoeXLPnUpZJIOJCQvyT3bSLTW6X6at1ZwK sh+VVjXgD1arCNRg9NYtukESnZZDBhTrp2cLmmScPxomaXZQNN2GFcq2QmpCGR/G pK5sZ+aaE6sEQEAe2y/j =BgNg -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- -- To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: https://lists.debian.org/20150714191301.GA24036@alice.nomadium.lan