Re: jarwrapper dependency
- To: Matthew Johnson <mjj29@debian.org>
- Cc: Debian Java <debian-java@lists.debian.org>
- Subject: Re: jarwrapper dependency
- From: Eugene Zhukov <jevgeni.zh@gmail.com>
- Date: Mon, 8 Jul 2013 12:05:08 +0300
- Message-id: <[🔎] CAPqGMfJqXTWdUNH7j+nJbUmzACu0L-kuU06MPRicF0M5MRv=qg@mail.gmail.com>
- In-reply-to: <20130621092214.GE31209@matthew.ath.cx>
- References: <CAPqGMfLKUiPRZmJa2AtoQ2E78+jb=C_jLmc8_30zD2qFyXDR=w@mail.gmail.com> <CA+7wUsy0f4CgSkX+gzEcRMqYW+GxVHqxq4Xu=n2AR8UGMyMhQA@mail.gmail.com> <CAPqGMfLB=YP_UF_ikTXJnFmuzQVF2xTjGLmkdoKpTtF7GHRg8A@mail.gmail.com> <CAPqGMfLt5fU_n8JtXET4Bnt20k7Z79D3hAajsB_KnhgN2OsS_Q@mail.gmail.com> <20130619231534.GA31209@matthew.ath.cx> <CAPqGMfJN-EBmn5R0X=fZtEMMGu9uRKGt_DYmDiC8vcENbbRs9w@mail.gmail.com> <20130620095525.GB31209@matthew.ath.cx> <CAPqGMfKHwysUpjey9+HusqpT1mLKbHOHfCZpzP8TH+HkB4xoGQ@mail.gmail.com> <20130620115933.GC31209@matthew.ath.cx> <49961B60-D246-48E9-BD5B-0499BA92A1D1@gmail.com> <20130621092214.GE31209@matthew.ath.cx>
Sorry, couldn't replay earlier, was on holiday and away from PC.
On Fri, Jun 21, 2013 at 12:22 PM, Matthew Johnson <mjj29@debian.org> wrote:
> On Thu Jun 20 16:25, Eugene Zhukov wrote:
>> >> Yes, it is copied and appears now in Depends. With foobar.links I even
>> >> get the link /usr/bin/foobar -> ../share/java/foobar.jar, but it
>> >> doesn't work still.
>> >
>> > So, you have the dependency in the binary package, you have the symlink. Is the
>> > jar executable? You must do that for binfmt_misc to even try doing anything.
>> > Your options are manually setting it to executable, or calling jh_exec after
>> > the link step, which will do it for you.
>> >
>> Yes, the jar is executable and
>> java -jar /usr/share/java/foobar.
>
> So.. what's not working? jarwrapper is installed when you install the package?
Yes
> The symlink to the jar is on your path?
Yes
> The jar runs with java -jar?
Yes
> But '/path/to/jar' doesn't work? just 'linkname' doesn't work?
Yes
> Does /proc/sys/fs/binfmt_misc/jarwrapper exist? What's in it?
Yes, contents:
enabled
interpreter /usr/lib/binfmt-support/run-detectors
flags:
offset 0
magic 504b0304
> What does update-binfmts --display show you?
python2.6 (enabled):
package = python2.6
type = magic
offset = 0
magic = \xd1\xf2\x0d\x0a
mask =
interpreter = /usr/bin/python2.6
detector =
python2.7 (enabled):
package = python2.7
type = magic
offset = 0
magic = \x03\xf3\x0d\x0a
mask =
interpreter = /usr/bin/python2.7
detector =
jar (enabled):
package = openjdk-6
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jexec
detector =
jarwrapper (enabled):
package = <local>
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jarwrapper
detector = /usr/bin/jardetector
python3.2 (enabled):
package = python3.2
type = magic
offset = 0
magic = \x6c\x0c\x0d\x0a
mask =
interpreter = /usr/bin/python3.2
detector =
>
> Matt
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iQIcBAEBCgAGBQJRxBtCAAoJEKVC9ua3o6NmFu4QALeaBMh7UircNVxo04sVKYBR
> v3f9A/tQY+nCeqtum8YwLFLtdtO491aolATqz2bipjF/ECxd4JP8rPZixac6xLRS
> UIwDBvF6U9JUy9wcBIa/oSIzv180yrrat672PzYbl5eRDEYyB7YdmlSh/PaHUOTt
> aKcp6fdsoxeV0oJVCZaWQ6djLjcGrTxcG13mL4qFGLMhFGz2lVU7yyM8gWweuotW
> x14Dx2EIoMHoW/kjgVPILEl1ThDKR5EDZ3C18fa34AIz0Tk/8KFcRnGNr1O11fhF
> Tp1RL6vCeBz4Udkhb9i90PYirzpHYwyw9nG0K+Zp3dhUe1ASZP91APTgdnMQ+FDC
> SFSmDyrEaJZSVn00vRCdKoJMFLvl+GZlxmroxg+fpJ/OsCHXo9bnvZ3RUlPmNBI7
> LsGR8sKY1Tq13k1TapPVO3S+uzbrk1LGtOfOdmCZ0mbBWeINETUOQ34Nnm9YPilS
> o97Hva0EuHdt1APs76dMdNoO2BHU/92pKZx5knqZBC3Vfeym2qdt0CS7JE/O2r+/
> 90R5RCszVxSjW/4saxXkqP/x42dc5MWICH+BA3ISKDrUJ8dBdg+OgowNURwwXpt8
> 48jZxWK7cYp01mMAtUB6p3czcUOcLZOrHeFH9FY47EOE13ppFmtnDjCrB2BLYYTc
> no9K13W0H6Zs5BiLyVlj
> =PnZ0
> -----END PGP SIGNATURE-----
>
Reply to: