From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 13 21:33:05 2017 Received: (at submit) by debbugs.gnu.org; 14 Dec 2017 02:33:05 +0000 Received: from localhost ([127.0.0.1]:32851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePJKb-0001bo-1T for submit@debbugs.gnu.org; Wed, 13 Dec 2017 21:33:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePJ3L-00013G-4S for submit@debbugs.gnu.org; Wed, 13 Dec 2017 21:15:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePJ3E-0003yE-Sb for submit@debbugs.gnu.org; Wed, 13 Dec 2017 21:15:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePJ3E-0003yA-Pp for submit@debbugs.gnu.org; Wed, 13 Dec 2017 21:15:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePJ3D-00049J-Lj for bug-guix@gnu.org; Wed, 13 Dec 2017 21:15:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePJ38-0003wi-NY for bug-guix@gnu.org; Wed, 13 Dec 2017 21:15:07 -0500 Received: from sender-of-o52.zoho.com ([135.84.80.217]:21379) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePJ38-0003vu-H9 for bug-guix@gnu.org; Wed, 13 Dec 2017 21:15:02 -0500 Received: from localhost (port-92-200-38-217.dynamic.qsc.de [92.200.38.217]) by mx.zohomail.com with SMTPS id 1513204083338263.9506996634475; Wed, 13 Dec 2017 14:28:03 -0800 (PST) User-agent: mu4e 0.9.18; emacs 25.3.1 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: Java packages need to retain references X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 13 Dec 2017 23:28:00 +0100 Message-ID: <87vahauutr.fsf@fhain.coderdojo.berlin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 13 Dec 2017 21:33:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I installed the “axoloti-patcher” package today after “guix gc” and noticed that not all dependencies are available at runtime. Upon running the “Axoloti” command I got this error: Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: /gnu/store/nrx5nmwynmsl7aqxdpgwpsm8ff9b0h4d-libusb4java-0-1.396d642a5/lib/libusb4java.so The store item does not exist. The problem here is that jar archives are compressed and thus any references they contain are thus hidden from the scanner. I don’t know if it is feasible to disable compression for jar files, or if we should install a “.guix-dependencies” file that contains plain text references. I’ll investigate disabling compression first. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 02:07:22 2017 Received: (at 29705) by debbugs.gnu.org; 14 Dec 2017 07:07:22 +0000 Received: from localhost ([127.0.0.1]:32912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePNc2-0000Y9-CU for submit@debbugs.gnu.org; Thu, 14 Dec 2017 02:07:22 -0500 Received: from mail-it0-f47.google.com ([209.85.214.47]:41991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePNbz-0000Xu-Bz for 29705@debbugs.gnu.org; Thu, 14 Dec 2017 02:07:21 -0500 Received: by mail-it0-f47.google.com with SMTP id p139so9093053itb.1 for <29705@debbugs.gnu.org>; Wed, 13 Dec 2017 23:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NMUqXtHXC73QV+vLbabQgE8nFX1jO4db5bUOLHzn6a0=; b=MLUfR/NPqOs9e2hY0sRX/9avxYI8cdZGaY3cl8DjM9o8XvBdET7t6Dt+k8qh8a4sMJ qC8bQX4gh5lv29SqR48oF9x462iJbVNRovWiD8GJvS9yuMjATxF8lPdESWXqbSoR5YyK ls4j9+Zzy/rlsAECQnIVg811xamkBMbjSVpdW5UYuWe5dwdVo0kNgQWnX+j5q/QTG4n+ c2sRgK34Z9zXHOe7YJHcTKTKEi+FKXaOOCoBw8TSGmaDVsliN9tq2IgBpmW2JW/uEPUf U3KPT9EAa/SfNToFDZVCBqpKSK683zgv1bv+sgsNd7rldAwSCTa9yUXWJ0lxHqbO3610 iQ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NMUqXtHXC73QV+vLbabQgE8nFX1jO4db5bUOLHzn6a0=; b=NO25qRmXyXP1tRprZt3KuNYV2aMscfCv1B86HHiVofvS1OMJaqUG9cwmOk5PpEU8ZU yIARYr4meqZ4JHQzYV5DpDskJ2A99FUxCsyb9SVqr++P+pTjN3mp0mQ/xu3k4pgximU3 AKffEW0IFCPoeJkZ7NS+1D+LvBXO3vow4+Y02Fi3ZchjhRFezVo7G2pGjeA3zVEwhyqk 89TRdxOOBh5VT4d01JH0tM2+GKSJQ6PDE+siulopGCJmiLjWSiDTX63L7EzYQVX5lpNG juU0MnU0fcs6ignyEKTbzI8cX3BaBiAvFsnaVPPNEqa9PSK48ydO/7+77wx4w4M29fAg /Mxg== X-Gm-Message-State: AKGB3mKEpKq4IIx9QKDSqOu2Q5hsqGy2j/pVSz3T7CU89cyDMjBxZl7A p+cFv6tGpG0A1F+hJh5ni1CQxQ6ik+A1+Nk4gKKo X-Google-Smtp-Source: ACJfBospZ3fVF1ktGmc13W0MJaHotwN31aJ3Ob53wyzhHHWtBIzHPeQMCWbKjmjBgnn870/R0W3nIMPw6qtWxP226g0= X-Received: by 10.36.246.8 with SMTP id u8mr2028076ith.2.1513235233851; Wed, 13 Dec 2017 23:07:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.36.209 with HTTP; Wed, 13 Dec 2017 23:07:13 -0800 (PST) In-Reply-To: <87vahauutr.fsf@fhain.coderdojo.berlin> References: <87vahauutr.fsf@fhain.coderdojo.berlin> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Thu, 14 Dec 2017 08:07:13 +0100 Message-ID: Subject: Re: bug#29705: Java packages need to retain references To: Ricardo Wurmus Content-Type: multipart/alternative; boundary="94eb2c0551a4934eb60560478860" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29705 Cc: 29705@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --94eb2c0551a4934eb60560478860 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Would it be enough if we added the uncompressed manifest? Is there any drawback to that? 2017-12-13 23:28 GMT+01:00 Ricardo Wurmus : > I installed the =E2=80=9Caxoloti-patcher=E2=80=9D package today after =E2= =80=9Cguix gc=E2=80=9D and > noticed that not all dependencies are available at runtime. Upon > running the =E2=80=9CAxoloti=E2=80=9D command I got this error: > > Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError= : > Can't load library: /gnu/store/nrx5nmwynmsl7aqxdpgwpsm8ff9b0h > 4d-libusb4java-0-1.396d642a5/lib/libusb4java.so > > The store item does not exist. > > The problem here is that jar archives are compressed and thus any > references they contain are thus hidden from the scanner. > > I don=E2=80=99t know if it is feasible to disable compression for jar fil= es, or > if we should install a =E2=80=9C.guix-dependencies=E2=80=9D file that con= tains plain > text references. > > I=E2=80=99ll investigate disabling compression first. > > -- > Ricardo > > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC > https://elephly.net > > > > > --94eb2c0551a4934eb60560478860 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Would it be enough if we added the uncompressed manifest?<= div>Is there any drawback to that?


2017-12-13 23:28 GMT+01:00 Rica= rdo Wurmus <rekado@fhain.coderdojo.berlin>:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">I installed the =E2=80=9Caxoloti-patcher=E2= =80=9D package today after =E2=80=9Cguix gc=E2=80=9D and
noticed that not all dependencies are available at runtime.=C2=A0 Upon
running the =E2=80=9CAxoloti=E2=80=9D command I got this error:

=C2=A0 =C2=A0 Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: /gnu/store/nrx5nmwynm= sl7aqxdpgwpsm8ff9b0h4d-libusb4java-0-1.396d642a5/lib/libusb4java.= so

The store item does not exist.

The problem here is that jar archives are compressed and thus any
references they contain are thus hidden from the scanner.

I don=E2=80=99t know if it is feasible to disable compression for jar files= , or
if we should install a =E2=80=9C.guix-dependencies=E2=80=9D file that conta= ins plain
text references.

I=E2=80=99ll investigate disabling compression first.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6=C2=A0 2150 197A 5888 235F ACAC
https:= //elephly.net





--94eb2c0551a4934eb60560478860-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 17:24:39 2017 Received: (at control) by debbugs.gnu.org; 14 Dec 2017 22:24:39 +0000 Received: from localhost ([127.0.0.1]:34254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePbvj-0007Yn-9w for submit@debbugs.gnu.org; Thu, 14 Dec 2017 17:24:39 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePbvi-0007Yg-0f for control@debbugs.gnu.org; Thu, 14 Dec 2017 17:24:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1513290241; s=zoho; d=elephly.net; i=rekado@elephly.net; h=Date:To:From:Subject; l=19; bh=WJCU/MASMpdf+9aoSd7UrdHH0tCOGPiwvOAmRMJhyvk=; b=a+vshxLJgPVDQvcWY8wQx6199OpJdbL1w4OE3vqVPhAAUw8xw8yg3G3jajAOtnHR K8LOIRji8Zj/oCp2UfQNb1eBgzkRUMukQu35RsIBxJKdCkCADCHHUR8UCmqZCKoG1HB 4CarsgbokIr7JD9nrfSlFz2r/fA8+iIaNkJPbXKA= Received: from localhost (port-92-200-3-167.dynamic.qsc.de [92.200.3.167]) by mx.zohomail.com with SMTPS id 1513290241210153.95372258989994; Thu, 14 Dec 2017 14:24:01 -0800 (PST) Date: Thu, 14 Dec 2017 23:23:58 +0100 To: control@debbugs.gnu.org From: Ricardo Wurmus Subject: control message for bug #29705 X-ZohoMailClient: External X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: 0.0 (/) merge 29705 29700 From unknown Tue Jun 17 01:49:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 13 Jan 2018 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator