Bug 374385 - Missing debug hints for cross compiled windows builds
Summary: Missing debug hints for cross compiled windows builds
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: documentation (show other bugs)
Version: 2.21.0 (KDE Applications 16.12.0)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-31 09:23 UTC by Ralf Habacker
Modified: 2022-11-29 05:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2016-12-31 09:23:07 UTC
Windows builds are created with the help of the opensuse build service http://build.opensuse.org. With the help of wine https://www.winehq.org/ it is possible to run and/or debug umbrello on a linux host.

The documentation of umbrello does not include any related hint. Here are a few hints:

Running umbrello on a linux host:
1. install wine from your distribution
2. download umbrello binary package 
3. a portable package from http://download.kde.org/stable/umbrello/latest/ 
4. unpack the portable package into a folder e.g. ~/umbrello-portable
5. run DBUS_SESSION_BUS_ADDRESS= wine ~/umbrello-portable/bin/umbrello.exe

for opensuse there is an alternative:
1. install wine from your distribution
2. Add package repository for your distribution from  https://build.opensuse.org/repositories/windows:mingw:win32
3.install the following binary packages mingw32-umbrello 
4. run DBUS_SESSION_BUS_ADDRESS= wine /usr/i686-w64-mingw32/sys-root/mingw/bin/umbrello.exe

Debugging umbrello on supported opensuse distroibution

1. install wine from your distribution
2 Add package repository for your distribution from  https://build.opensuse.org/repositories/windows:mingw:win32
3.install the following binary packages mingw32-umbrello mingw32-umbrello-debug mingw32-gdb
4. run DBUS_SESSION_BUS_ADDRESS= wine /usr/i686-w64-mingw32/sys-root/mingw/bin/umbrello.exe
5. open konsole and run
   DBUS_SESSION_BUS_ADDRESS= wine /usr/i686-w64-mingw32/sys-root/mingw/bin/gdbserver.exe --multi  localhost:60000 
6. open another konsole and run
   gdb
7. enter the following commands into gdb
   target extended-remote localhost:60000
   set remote exec-file /usr/i686-w64-mingw32/sys-root/mingw/bin/umbrello.exe
   file /usr/i686-w64-mingw32/sys-root/mingw/bin/umbrello.exe
   b main
   r

To have access to umbrello source code in gdb the mingw32-umbrello source rpm should be installed with e.g. zypper si mingw32-umbrello and unpacked from /usr/src/packages/SOURCES/umbrello... into the requested location.
Comment 1 Justin Zobel 2022-10-30 00:37:40 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-14 05:15:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-29 05:18:41 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!