[pkg-wine-party] Bug#818874: "Bad EXE format" error message in case of arch mismatch not very informative

Jens Reyer jre.winesim at gmail.com
Fri Apr 15 21:01:05 UTC 2016


control: tags -1 + patch

I just pushed to master (src:wine-development, but if we keep it, I will
push it to stretch (src:wine), too):

3c733ad57b848262b76486efc6606093db87de21
 Fix wording of the wine32 hint.
9e6573170821325e5212c89612f023205f7a0e0c
 If wine32 is missing warn about it unless err output is disabled.

Now, whenever you use wine but wine32 is missing, you'll get this
warning (unless you've disabled err debug output):

  it looks like wine32-development is missing, you should install it.
  multiarch needs to be enabled first.  as root, please
  execute "dpkg --add-architecture i386 && apt-get update &&
  apt-get install wine32-development"

or

  it looks like wine32-development is missing, you should install it.
  as root, please execute "apt-get install wine32-development"

Previously you would only get this warning if multiarch was not enabled:

  it looks like multiarch needs to be enabled.  as root, please
  execute "dpkg --add-architecture i386 && apt-get update &&
  apt-get install wine32-development"


Now, if you get these messages first, and then "Bad EXE format", it
shouldn't be that cryptic any more.


About the implementation (see git): I slightly prefer my chosen
approach, but instead we may merge the separate wine32_hint function and
the if-construct in something like:

case x$WINEDEBUGx in
    x-all*|x*,-all*|x*err-all*)
        ;;
    *)
        echo "..." >&2
        ...
        ;;
esac

And maybe we can improve the wording.

Greets
jre



More information about the pkg-wine-party mailing list