Jump to content
funtoo forums
  • 0
Sign in to follow this  
adcdam

some problems after update to funtoo 1.2 and gcc 7.3.1

Question

Hi

mpd package fail to compile,

playonlinux doesnt start i get this:

Looking for python... 3.6.5 - skipped
Looking for python2.7... 2.7.14 - wxversion(s): 3.0-gtk2, 2.8-gtk2-unicode
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
selected
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
/usr/share/playonlinux/playonlinux: línea 126:  3866 Violación de segmento  "$POL_PYTHON" mainwindow.py "$@"

Lutris also can not start

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/lutris", line 33, in <module>
    from lutris.gui.application import Application
  File "/usr/lib64/python3.4/site-packages/lutris/gui/application.py", line 26, in <module>
    gi.require_version('Gdk', '3.0')
  File "/usr/lib64/python3.4/site-packages/gi/__init__.py", line 102, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available

any advice,  solution? thanks a lot!!

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
On 8.5.2018 at 4:23 AM, adcdam said:

Lutris also can not start


Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/lutris", line 33, in <module>
    from lutris.gui.application import Application
  File "/usr/lib64/python3.4/site-packages/lutris/gui/application.py", line 26, in <module>
    gi.require_version('Gdk', '3.0')
  File "/usr/lib64/python3.4/site-packages/gi/__init__.py", line 102, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available

Ok, found the solution to this one. The problem is that lutris seems to be looking for a file Gdk-3.0.typelib.

To get this file gtk+ needs to be compiled  with the introspection USE flag set. After that lutris starts and seems to be working.

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, adcdam said:

wxPython/wxWidgets release number mismatch

What is your output of:

'eselect wxwidgets list' and 'emerge -pv wxpython'?

3 hours ago, adcdam said:

mpd package fail to compile

Any error message?

Share this post


Link to post
Share on other sites
  • 0

Hi Jhan

eselect wxwidgets list:
 

Available wxWidgets profiles:
  [1]   gtk2-unicode-release-2.8
  [2]   gtk3-unicode-3.0-gtk3 *

emerge -pv wxpython

 
 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] x11-libs/wxGTK-3.0.3:3.0::desktop-kit [2.8.12.1-r2:2.8::desktop-kit, 3.0.3-r300:3.0-gtk3::desktop-kit] USE="X opengl tiff (-aqua) -debug -doc -gstreamer -libnotify -sdl" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] dev-python/wxpython-3.0.2.0:3.0::python-kit  USE="opengl -cairo -examples -libnotify" PYTHON_TARGETS="python2_7" 0 KiB

Total: 2 packages (1 in new slot, 1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 2 news items need reading for repository 'powerman'.
 * Use eselect news read to view new items.

 

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, adcdam said:

Calculating dependencies... done!

[ebuild NS ] x11-libs/wxGTK-3.0.3:3.0::desktop-kit [2.8.12.1-r2:2.8::desktop-kit, 3.0.3-r300:3.0-gtk3::desktop-kit] USE="X opengl tiff (-aqua) -debug -doc -gstreamer -libnotify -sdl" ABI_X86="32 (64) (-x32)" 0 KiB

[ebuild R ] dev-python/wxpython-3.0.2.0:3.0::python-kit USE="opengl -cairo -examples -libnotify" PYTHON_TARGETS="python2_7" 0 KiB

As you can see in the output of 'emerge -pv wxpython', your system is missing the required version of wxGTK. Try reinstalling wxpython to get wxGTK installed and see if your errors are resolved.

Share this post


Link to post
Share on other sites
  • 0

Hi Jhan i installed wxgtk-3.0.3 and still get the same, can you try to install playonlinux to see if you have a similar problem? 

perhaps i need to rebuild a package i was using gcc 6.4 and changed to 7.3, i also changed my cpu flags

Share this post


Link to post
Share on other sites
  • 0

Installing playonlinux would require for me to go back to a multilib system (I have a pure64 system now). So I can't test that.

You said that you installed wxGTK but did you reinstall wxpython?

Besides that, you stated in your other post 

that there are still several packages that need to be installed. Those python problems there could be a cause for playonlinux not to work. I would suggest that you clear up those problems first, so that it is easier to spot the real problem.

The version mismatch might only be a warning but could also be a reason for this message:

On 8.5.2018 at 4:23 AM, adcdam said:

/usr/share/playonlinux/playonlinux: línea 126: 3866 Violación de segmento "$POL_PYTHON" mainwindow.py "$@"

On the internet I found only old discussions about this segmentaion fault for playonlinux but not a real reason.

Share this post


Link to post
Share on other sites
  • 0

Thank you a lot, Lutris does start now,, using the instrospection Use flag!!!

mpd now compile fine, almost all problems solved, still playonlinux doesnt start i dont know why.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...