Excerpts from Michael Tokarev's message of Tue Nov 11 08:33:40 +0100 2014:
> 27.09.2014 18:10, Michael Tokarev wrote:
> > Control: tag -1 moreinfo unreproducible
> > 
> > 27.09.2014 16:33, Michal Suchanek wrote:
> >> Package: qemu-user-binfmt
> >> Version: 2.1+dfsg-4
> >> Severity: normal
> >>
> >> Hello,
> >>
> >> I tried installing qemu-user-binfmt in the hope I will be able to run 
> >> foreign architecture binaries.
> >>
> >> This has absolutely no results. THe package is empty and foreign binaries 
> >> do not run.
> > 
> > As stated in the package description, the package is empty and the only
> > reason for it to exist is to run scripts at install and remove times to
> > register binfmt support.  This is the reason why it depends on qemu-user
> > (actual implementation) and binfmt-support (registration).
> > 
> > Please be more specific. Which binaries you tried to run but failed?
> > What error message did you get?  With the info you provided it is
> > impossible to handle your bugreport, especially since I know this
> > package works on my systems.
> > 
> > Do you realize that in order to run regular foreign binary, you also
> > need to install all (foreign) libraries required by that binary.  With
> > plain qemu-user and without additional foreig libraries it is possible
> > to run only statically linked foreign binaries.
> > 
> > On the other hand you can create a whole foreign chroot with its own
> > libraries and directory structure, and chroot into it using qemu as
> > a helper/emulator -- but for this to work, now it is qemu who needs
> > (now native) libraries inside the chroot, or you should use statically
> > linked qemu.
> > 
> >> Interestingly, on machines where this works this plackage is not present.
> >>
> >> Is this package supposed to do anything?
> > 
> > See above.
> > 
> >> If not what is the preferred way to run foreign binaries?
> > 
> > I don't understand this question.  There's no True Way for anything.
> > Depending on your needs, you may use qemu-user-binfmt or qemu-user-static,
> > there may be other alternatives.

I found that I have qemu-user-static instead of qemu-user-binfmt on
system where this works. I can run armhf binaries on a PC but the
reverse does not work. There is a handler for PC binaries registered but
bash still reports it cannot execute binary file.

Is the magic for PC binaries correct? How do I check?


> 
> Hello  Michal.  A friendly ping?  Do you have any additional information
> for this bugreport?  I can't do anything with it without your input...

I did send another email in the bug report, right?

Thanks

Michal


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to