Re: binfmt-misc and freebsd (Was: Re: jar fails to execute natively)

2010-08-20 Thread Petr Salinger
On Sat, 21 Aug 2010, Cyril Brulebois wrote: Jeremie Koenig (21/08/2010): kFreeBSD people, could binfmt be made to work easily? I think the last time I saw it mentioned was there, w/o any replies: http://lists.debian.org/debian-bsd/2010/02/msg00018.html My reply went into bug report - #5

Re: binfmt-misc and freebsd (Was: Re: jar fails to execute natively)

2010-08-20 Thread Cyril Brulebois
Jeremie Koenig (21/08/2010): > kFreeBSD people, could binfmt be made to work easily? I think the last time I saw it mentioned was there, w/o any replies: http://lists.debian.org/debian-bsd/2010/02/msg00018.html Mraw, KiBi. signature.asc Description: Digital signature

Re: binfmt-misc and freebsd (Was: Re: jar fails to execute natively)

2010-08-20 Thread Jeremie Koenig
Hi everyone, On Tue, Aug 17, 2010 at 03:59:42PM +0200, Torsten Werner wrote: > On Tue, Aug 17, 2010 at 3:49 PM, Matthew Johnson wrote: > > I take it it's nothing that can be fixed in fbsd easily? > You are asking the wrong list. :) But I guess that it can't be fixed easily. I think you meant to

Re: binfmt-misc and freebsd (Was: Re: jar fails to execute natively)

2010-08-17 Thread Matthew Johnson
On Tue Aug 17 15:08, Will Morton wrote: > On 17 August 2010 14:49, Matthew Johnson wrote: > > On Tue Aug 17 15:45, Torsten Werner wrote: > >> don't forget, that binfmt does not work for kfreebsd at all. I think > >> we shouldn't rely on working binfmt in our packages. > > > > Oh, that's a damn goo

Re: binfmt-misc and freebsd (Was: Re: jar fails to execute natively)

2010-08-17 Thread Will Morton
On 17 August 2010 14:49, Matthew Johnson wrote: > On Tue Aug 17 15:45, Torsten Werner wrote: >> don't forget, that binfmt does not work for kfreebsd at all. I think >> we shouldn't rely on working binfmt in our packages. > > Oh, that's a damn good point. Shame noone noticed it at Debconf. We'll >

Re: binfmt-misc and freebsd (Was: Re: jar fails to execute natively)

2010-08-17 Thread Torsten Werner
On Tue, Aug 17, 2010 at 3:49 PM, Matthew Johnson wrote: > I take it it's nothing that can be fixed in fbsd easily? You are asking the wrong list. :) But I guess that it can't be fixed easily. Cheers, Torsten -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "u

binfmt-misc and freebsd (Was: Re: jar fails to execute natively)

2010-08-17 Thread Matthew Johnson
On Tue Aug 17 15:45, Torsten Werner wrote: > Hi, > > On Tue, Aug 17, 2010 at 10:33 AM, Will Morton wrote: > > Hadn't consciously touched anything in binfmts, but I have been > > messing around with this packaging stuff so I might have done > > something indirectly.  Anyway that worked, thanks. >

Re: jar fails to execute natively

2010-08-17 Thread Torsten Werner
Hi, On Tue, Aug 17, 2010 at 10:33 AM, Will Morton wrote: > Hadn't consciously touched anything in binfmts, but I have been > messing around with this packaging stuff so I might have done > something indirectly.  Anyway that worked, thanks. don't forget, that binfmt does not work for kfreebsd at

Re: jar fails to execute natively

2010-08-17 Thread Will Morton
On 17 August 2010 08:16, Matthew Johnson wrote: > > Well, that's your problem, it's disabled. Have you done anything to binfmts > that might have changed that? > > Try running as root: update-binfmts --enable jarwrapper > Hadn't consciously touched anything in binfmts, but I have been messing aro

Re: jar fails to execute natively

2010-08-17 Thread Matthew Johnson
On Tue Aug 17 00:29, Will Morton wrote: > > /usr/sbin/update-binfmts --display > jarwrapper (disabled): > package = > type = magic > offset = 0 >magic = PK\x03\x04 > mask = > interpreter = /usr/bin/jarwrapper > detector = /usr/bin/jardetector Well, that's y

Re: jar fails to execute natively

2010-08-16 Thread Will Morton
On 17 August 2010 00:20, Matthew Johnson wrote: > interesting, it should, as you say, just work. Can you give me the output of > the following commands: > file `readlink -f /usr/bin/robonobo` /usr/share/robonobo/robonobo.jar: Zip archive data, at least v1.0 to extract > jar tf /usr/bin/robonobo

Re: jar fails to execute natively

2010-08-16 Thread Matthew Johnson
On Mon Aug 16 23:52, Will Morton wrote: > I've created a debian package for my java application using > javahelper. Everything seems to go ok, it installs the application > jar into /usr/share/ and creates a symlink from > /usr/bin/ to the jar, but this fails to execute with the > following error:

jar fails to execute natively

2010-08-16 Thread Will Morton
I've created a debian package for my java application using javahelper. Everything seems to go ok, it installs the application jar into /usr/share/ and creates a symlink from /usr/bin/ to the jar, but this fails to execute with the following error: /usr/bin/robonobo: line 1: PK : command not fou