Opened 6 years ago

Last modified 3 years ago

#11591 new Patch - Bug Fix

mingw build fixes

Reported by: Mark Spieth Owned by:
Priority: minor Milestone: unknown
Component: Ports - Windows Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Mark Spieth)

This patch set allows packaging/Win32 to build mythfrontend master on windows for windows with mingw. 32 bit XP has been tested.

Apply patches in any order.

Follow packaging/Win32/mythbuild.sh instructions on installing mingw.

Problems I have found building include

  • build hangs (ctrl-C aborts and restart
  • defunct processes (cant kill, use killdefunctor.pl in another term)

Helper scripts:

  • run.sh is a sample with env variables so that git can find a local repo to clone from (with any stg or other private patches)
  • killdefunctor.pl will kill any defunct processes which wont go away by themselves.

MYTHGIT env variable is the base of the repos and contains packahing and mythtv amongst others.

Any unavailable package versions please post and mythbuild.sh patch will be updated.

Attachments (7)

packaging.patches.20130611.mingw (6.9 KB) - added by Mark Spieth 6 years ago.
mythtv.patches.20130611.win32-path (1.3 KB) - added by Mark Spieth 6 years ago.
mythtv.patches.20130611.win32-tool-path (2.6 KB) - added by Mark Spieth 6 years ago.
run.sh (100 bytes) - added by Mark Spieth 6 years ago.
killdefunctor.pl (1.5 KB) - added by Mark Spieth 6 years ago.
packaging.patches.20130623.mingw (10.1 KB) - added by Mark Spieth 6 years ago.
mythtv.patches.20130623.mingw-fixes (5.8 KB) - added by Mark Spieth 6 years ago.

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by Mark Spieth

Changed 6 years ago by Mark Spieth

Changed 6 years ago by Mark Spieth

Changed 6 years ago by Mark Spieth

Attachment: run.sh added

Changed 6 years ago by Mark Spieth

Attachment: killdefunctor.pl added

comment:1 Changed 6 years ago by Mark Spieth

Description: modified (diff)

Changed 6 years ago by Mark Spieth

Changed 6 years ago by Mark Spieth

comment:2 Changed 6 years ago by Mark Spieth

Update to patches for mingw32.

mythbuild.sh new opts -q (noask) and -Q (loop qt build until successful, due to VM alloc issues in mingw32)

Built on XP32 with 4G ram and WIN7-64 with 8G ram.

git clone packaging in msys's root (/). The path length is very important for build success for some env or cmd line length reason.

Does not build correctly with 2G ram. Not sure about which combos work.

before qt build, rename or ln -s in patches qt-everywhere-opensource-src-4.8.1 to qt-everywhere-opensource-src-4.8.4 after untarred in another window while the build is still running. Note ln -s on msys does a copy, it is not really linked.

As before, apply mingw patches manually on a unpatched tree.

Last edited 6 years ago by Mark Spieth (previous) (diff)

comment:3 Changed 3 years ago by Karl Egly

Component: MythTV - GeneralPorts - Windows
Note: See TracTickets for help on using tickets.