[Bug 1188424] New: windows:mingw:win{32|64}/mingw{32|64}-gdb: 'import site' failed on Windows 10 host

http://bugzilla.opensuse.org/show_bug.cgi?id=1188424 Bug ID: 1188424 Summary: windows:mingw:win{32|64}/mingw{32|64}-gdb: 'import site' failed on Windows 10 host Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: fstrba@suse.com Reporter: ralf.habacker@freenet.de QA Contact: screening-team-bugs@suse.de CC: fridrich.strba@bluewin.ch, hib@hiberis.nl, mkbosmans@gmail.com Found By: --- Blocker: --- How to reproduce 1. Install mingw32-gdb from https://software.opensuse.org/package/mingw32-gdb 2. Make direcory /usr/i686-w64-mingw32/sysroot/mingw accessable by a Windows system (e.g by using samba) or copy the mentioned directory tree to a Windows 10 system 3. On the windows 10 host open a command shell, enter the bin dir of the copied tree and run gdb. What happens gdb prints the following messages: Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'import site' failed; use -v for traceback What is expected The message indicates that gdb could not find some required for the build in python module, which should be fixed. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1188424 http://bugzilla.opensuse.org/show_bug.cgi?id=1188424#c1 --- Comment #1 from Ralf Habacker <ralf.habacker@freenet.de> --- It turned out that this is in real an issue with the mingwxx-python package not detecting the current python home dir, which is k:\, if gdb.exe is located in k:\bin (see getpathp.c:calculate_path() in the python source). A workaround is to set PYTHONHOME=k: for the mentioned case. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1188424 http://bugzilla.opensuse.org/show_bug.cgi?id=1188424#c2 Ralf Habacker <ralf.habacker@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Ralf Habacker <ralf.habacker@freenet.de> --- Fix with request https://build.opensuse.org/request/show/908775 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1188424 http://bugzilla.opensuse.org/show_bug.cgi?id=1188424#c3 --- Comment #3 from Ralf Habacker <ralf.habacker@freenet.de> --- https://build.opensuse.org/request/show/908774 is still open -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com