From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: Re: Packaging Jitsi SIP Communicator Date: Tue, 19 Dec 2017 17:05:37 +1100 Message-ID: <87ind3l0b2.fsf@sturm.com.au> References: <87vail5sgz.fsf@sturm.com.au> <244cd2fed108e6c3d2ae58525c9bf82c@lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRB2H-00026c-79 for guix-devel@gnu.org; Tue, 19 Dec 2017 01:05:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRB2C-0005pd-8N for guix-devel@gnu.org; Tue, 19 Dec 2017 01:05:53 -0500 In-reply-to: <244cd2fed108e6c3d2ae58525c9bf82c@lepiller.eu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: julien lepiller , Chris Marusich , Thomas Danckaert , Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Julien, Thomas, Ludovic and Chris, Thanks very much for your tips on my Jitsi building adventures from a few weeks back! I=E2=80=99ll keep you posted on the progress. Regards, Ben On Wed, 08 Nov 2017, julien lepiller wrote: > Le 2017-11-08 05:01, Ben Sturmfels a =C3=A9crit: >> Hi Folks, >>=20 >> I'm having some trouble packaging Jitsi (a VoIP client written in=20 >> Java). >> The attached patch adds the package "jitsi", which completes the=20 >> "build" >> phase, but fails as below. Ignoring for now that Jitsi is bundling a=20 >> whole lot >> of dependencies, can someone help me understand what=E2=80=99s going on: >>=20 >> phase `build' succeeded after 45.3 seconds >> starting phase `check' >> test suite not run >> phase `check' succeeded after 0.0 seconds >> starting phase `strip-jar-timestamps' >> find-files: /gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10: No >> such file or directory >> phase `strip-jar-timestamps' succeeded after 0.0 seconds >> starting phase `patch-shebangs' >> phase `patch-shebangs' succeeded after 0.0 seconds >> starting phase `strip' >> phase `strip' succeeded after 0.0 seconds >> starting phase `validate-runpath' >> phase `validate-runpath' succeeded after 0.0 seconds >> starting phase `validate-documentation-location' >> phase `validate-documentation-location' succeeded after 0.0 seconds >> starting phase `delete-info-dir-file' >> phase `delete-info-dir-file' succeeded after 0.0 seconds >> starting phase `patch-dot-desktop-files' >> phase `patch-dot-desktop-files' succeeded after 0.0 seconds >> starting phase `reset-gzip-timestamps' >> find-files: /gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10: No >> such file or directory >> phase `reset-gzip-timestamps' succeeded after 0.0 seconds >> starting phase `compress-documentation' >> phase `compress-documentation' succeeded after 0.0 seconds >> builder for >> `/gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv' failed to >> produce output path >> `/gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10' >> @ build-failed >> /gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv - 1 builder >> for `/gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv' >> failed to produce output path >> `/gnu/store/kz7kwgm25xk83fc69immm80dazv9gb6x-jitsi-2.10' >> note: keeping build directory `/tmp/guix-build-jitsi-2.10.drv-0' >> guix build: error: build failed: build of >> `/gnu/store/hxpb6xvx324d9i9kxc7ywfwwaz3zgs4z-jitsi-2.10.drv' failed >>=20 >>=20 >> Regards, >> Ben > > Well of course if you "(delete 'install)", you won't install anything :p > > You should rather modify that phase to install manually (using=20 > install-file) > the compiled jar, or find the correct target in build.xml. > > Also, this package bundles a lot of pre-compiled jars. You should remove > them (for-each delete-files (find-files "." ".*.jar")) and add them as > inputs (we already have all of them, except felix.jar, but I think I > have a package for that: I will send it this evening). > > Then you will be able to make a wrapper script. You can get inspiration > from the java-antlr packages. > > Finally, there is probably an issue with your #:main-class: a class > usually starts with an upper-case letter. According to your comment, > it should be net.java.sip.communicator.launcher.SIPCommunicator. > >>=20 >> -- >> Ben Sturmfels >>=20 >> Sturm - Software Engineering >> www.sturm.com.au >> (03) 9024 2467 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEPn825zvdanEG+SAhAjwF4snAaPAFAlo4rDEACgkQAjwF4snA aPCURhAAm6q0JIP/VTuRZhMFQ6HCcpOTFysggz6uJKJO1z7At/nZ+xfp2xTrTkP3 fWsp8UHl1z7xUbbkbi5SzXi2mtDSILmE1bdhyAGkuPAswtEq0VmZQpShStWTudEE Q2BY87IVjHo55NdNNDKUXQll2s95QgoQEg09Y4W2AyFOzwdw5zUCWp3/cUeHikPX FoBCPuWduaL8RM8+fk3otxloQMO17t8mKtlxTgHTKD4JVAqDlTkJjjN/u/mwsSgS l7dx8kjz3E1KmXa/3dC2e3+mi05IJR7NotlfJcDChwSPal0kUhRWd2nxYV9lydpI kGgNfLDG0Z/QAiFC6DfW6BjjscTRl8UxTmhYKKDpWWSH6fxHTWGNwnxE6BZ3ENiZ KsJupK6+t5Psr1t1sZ+CZcS+f+aqIn62TKcl/M8onbjaDI7LShbVXll0Z/ARy5ll Eq2b4A52GsRsLPPQProSf0tjqfxXIMFCnQdc39Sj9Td+u3e0vTmwGMerBFag2lhB KRXH5TfANVZpz76+Wd9hQFjxeSEa2pYSAg4iZW4iCgVq4EL+wo80rq/m9i2l6vDV GLblwDRUUNv8u9pPpk11z+4QeYtiKPARk4MaqoFpIlVu+GqbBk0vUEkGnppiAnAs 6vYOQ3opb22tAdUppbWSRx78Ix2UeiZ8ly4BlOXX8HHkNbn9D08= =j5XA -----END PGP SIGNATURE----- --=-=-=--