LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 07-11-2012, 12:38 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
rox-lib fails to compile with emerge


When emerging rox for the rox file manager, I get these really ugly errors that tells me either rox-lib didn't compile, or something is not going to work right later on.


Code:
bullshark@beastlinux ~ $ sudo emerge -av rox-lib
Password:

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


 * IMPORTANT: config file '/etc/portage/package.use' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

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

Calculating dependencies... done!
[ebuild   R    ] rox-base/rox-lib-2.0.6  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] Y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) rox-base/rox-lib-2.0.6
 * rox-lib2-2.0.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                       [ ok ]
>>> Unpacking source...
>>> Unpacking rox-lib2-2.0.6.tar.bz2 to /var/tmp/portage/rox-base/rox-lib-2.0.6/work
 * Applying rox-lib-nosvg.patch ...                                                             [ ok ]
>>> Source unpacked in /var/tmp/portage/rox-base/rox-lib-2.0.6/work
>>> Compiling source in /var/tmp/portage/rox-base/rox-lib-2.0.6/work/rox-lib2-2.0.6 ...
>>> Source compiled.
>>> Test phase [not enabled]: rox-base/rox-lib-2.0.6

>>> Install rox-lib-2.0.6 into /var/tmp/portage/rox-base/rox-lib-2.0.6/image/ category rox-base
>>> Completed installing rox-lib-2.0.6 into /var/tmp/portage/rox-base/rox-lib-2.0.6/image/


>>> Installing (1 of 1) rox-base/rox-lib-2.0.6
 * checking 113 files for package collisions
>>> Merging rox-base/rox-lib-2.0.6 to /
--- /var/
--- /var/cache/
--- /var/cache/0install.net/
--- /var/cache/0install.net/interface_icons/
>>> /var/cache/0install.net/interface_icons/http%3a%2f%2frox.sourceforge.net%2f2005%2finterfaces%2fROX-Lib -> /usr/lib/ROX-Lib2/.DirIcon
--- /usr/
--- /usr/lib/
--- /usr/lib/ROX-Lib2/
--- /usr/lib/ROX-Lib2/python/
>>> /usr/lib/ROX-Lib2/python/make_docs.py
>>> /usr/lib/ROX-Lib2/python/check.sh
--- /usr/lib/ROX-Lib2/python/rox/
>>> /usr/lib/ROX-Lib2/python/rox/InfoWin.py
>>> /usr/lib/ROX-Lib2/python/rox/mime.py
>>> /usr/lib/ROX-Lib2/python/rox/su.py
>>> /usr/lib/ROX-Lib2/python/rox/settings.py
>>> /usr/lib/ROX-Lib2/python/rox/fileutils.py
>>> /usr/lib/ROX-Lib2/python/rox/suchild.py
>>> /usr/lib/ROX-Lib2/python/rox/launch.py
>>> /usr/lib/ROX-Lib2/python/rox/applet.py
>>> /usr/lib/ROX-Lib2/python/rox/uri_handler.py
>>> /usr/lib/ROX-Lib2/python/rox/options.py
>>> /usr/lib/ROX-Lib2/python/rox/saving.py
>>> /usr/lib/ROX-Lib2/python/rox/debug.py
>>> /usr/lib/ROX-Lib2/python/rox/thumbnail.py
>>> /usr/lib/ROX-Lib2/python/rox/AppInfo.py
>>> /usr/lib/ROX-Lib2/python/rox/suchild.sh
>>> /usr/lib/ROX-Lib2/python/rox/loading.py
>>> /usr/lib/ROX-Lib2/python/rox/Menu.py
>>> /usr/lib/ROX-Lib2/python/rox/basedir.py
>>> /usr/lib/ROX-Lib2/python/rox/choices.py
>>> /usr/lib/ROX-Lib2/python/rox/master_proxy.py
>>> /usr/lib/ROX-Lib2/python/rox/filer.py
>>> /usr/lib/ROX-Lib2/python/rox/icon_theme.py
>>> /usr/lib/ROX-Lib2/python/rox/processes.py
>>> /usr/lib/ROX-Lib2/python/rox/i18n.py
>>> /usr/lib/ROX-Lib2/python/rox/singleton.py
>>> /usr/lib/ROX-Lib2/python/rox/templates.py
>>> /usr/lib/ROX-Lib2/python/rox/xattr.py
>>> /usr/lib/ROX-Lib2/python/rox/session.py
>>> /usr/lib/ROX-Lib2/python/rox/__init__.py
>>> /usr/lib/ROX-Lib2/python/rox/OptionsBox.py
>>> /usr/lib/ROX-Lib2/python/rox/mime_handler.py
>>> /usr/lib/ROX-Lib2/python/rox/xxmlrpc.py
>>> /usr/lib/ROX-Lib2/python/rox/tasks.py
>>> /usr/lib/ROX-Lib2/python/rox/proxy.py
>>> /usr/lib/ROX-Lib2/AppRun
>>> /usr/lib/ROX-Lib2/.DirIcon
>>> /usr/lib/ROX-Lib2/AppInfo.xml
>>> /usr/lib/ROX-Lib2/ROX-Lib2.xml
--- /usr/lib/ROX-Lib2/tests/
--- /usr/lib/ROX-Lib2/tests/python/
>>> /usr/lib/ROX-Lib2/tests/python/testicon_theme.py
>>> /usr/lib/ROX-Lib2/tests/python/testoptions.py
>>> /usr/lib/ROX-Lib2/tests/python/testchoices.py
>>> /usr/lib/ROX-Lib2/tests/python/testbasedir.py
>>> /usr/lib/ROX-Lib2/tests/python/testproxy.py
>>> /usr/lib/ROX-Lib2/tests/python/testprocesses.py
>>> /usr/lib/ROX-Lib2/tests/python/testxxmlrpc.py
>>> /usr/lib/ROX-Lib2/tests/python/testsu.py
>>> /usr/lib/ROX-Lib2/tests/python/testall.py
>>> /usr/lib/ROX-Lib2/tests/python/testtasks.py
>>> /usr/lib/ROX-Lib2/tests/python/testrox.py
>>> /usr/lib/ROX-Lib2/tests/python/testmenu.py
--- /usr/lib/ROX-Lib2/Messages/
>>> /usr/lib/ROX-Lib2/Messages/pt_BR.po
>>> /usr/lib/ROX-Lib2/Messages/fr.gmo
>>> /usr/lib/ROX-Lib2/Messages/zh_CN.po
>>> /usr/lib/ROX-Lib2/Messages/dist
>>> /usr/lib/ROX-Lib2/Messages/pt_BR.gmo
>>> /usr/lib/ROX-Lib2/Messages/zh_CN.gmo
>>> /usr/lib/ROX-Lib2/Messages/zh_TW.gmo
>>> /usr/lib/ROX-Lib2/Messages/it.gmo
>>> /usr/lib/ROX-Lib2/Messages/es.gmo
>>> /usr/lib/ROX-Lib2/Messages/zh_TW.po
>>> /usr/lib/ROX-Lib2/Messages/de.po
>>> /usr/lib/ROX-Lib2/Messages/fr.po
>>> /usr/lib/ROX-Lib2/Messages/update-po
>>> /usr/lib/ROX-Lib2/Messages/de.gmo
>>> /usr/lib/ROX-Lib2/Messages/hu.po
>>> /usr/lib/ROX-Lib2/Messages/it.po
>>> /usr/lib/ROX-Lib2/Messages/pl.gmo
>>> /usr/lib/ROX-Lib2/Messages/es.po
>>> /usr/lib/ROX-Lib2/Messages/hu.gmo
>>> /usr/lib/ROX-Lib2/Messages/pl.po
--- /usr/lib/ROX-Lib2/Help/
--- /usr/lib/ROX-Lib2/Help/python/
>>> /usr/lib/ROX-Lib2/Help/python/rox.su.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.templates.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.OptionsBox.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.tasks.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.basedir.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.mime.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.choices.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.mime_handler.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.loading.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.uri_handler.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.fileutils.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.settings.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.singleton.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.thumbnail.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.launch.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.xattr.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.icon_theme.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.options.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.xxmlrpc.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.processes.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.session.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.suchild.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.InfoWin.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.debug.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.master_proxy.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.applet.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.saving.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.proxy.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.AppInfo.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.filer.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.i18n.html
>>> /usr/lib/ROX-Lib2/Help/python/rox.Menu.html
>>> /usr/lib/ROX-Lib2/Help/findrox.py
>>> /usr/lib/ROX-Lib2/Help/README
>>> /usr/lib/ROX-Lib2/Help/Errors
>>> /usr/lib/ROX-Lib2/Help/COPYING
>>> /usr/lib/ROX-Lib2/Help/Changes
>>> /usr/lib/ROX-Lib2/Help/TODO
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/rox-lib-2.0.6 -> /usr/lib/ROX-Lib2/Help
--- /usr/share/0install.net/
--- /usr/share/0install.net/native_feeds/
>>> /usr/share/0install.net/native_feeds/http:##rox.sourceforge.net#2005#interfaces#ROX-Lib -> /usr/lib/ROX-Lib2/ROX-Lib2.xml
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced sym /var/cache/0install.net/interface_icons/http%3a%2f%2frox.sourceforge.net%2f2005%2finterfaces%2fROX-Lib
--- replaced dir /var/cache/0install.net/interface_icons
--- replaced dir /var/cache/0install.net
--- replaced dir /var/cache
--- replaced dir /var
--- replaced sym /usr/share/doc/rox-lib-2.0.6
--- replaced dir /usr/share/doc
--- replaced sym /usr/share/0install.net/native_feeds/http:##rox.sourceforge.net#2005#interfaces#ROX-Lib
--- replaced dir /usr/share/0install.net/native_feeds
--- replaced dir /usr/share/0install.net
--- replaced dir /usr/share
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testxxmlrpc.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testtasks.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testsu.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testrox.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testproxy.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testprocesses.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testoptions.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testmenu.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testicon_theme.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testchoices.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testbasedir.py
--- replaced obj /usr/lib/ROX-Lib2/tests/python/testall.py
--- replaced dir /usr/lib/ROX-Lib2/tests/python
--- replaced dir /usr/lib/ROX-Lib2/tests
--- replaced obj /usr/lib/ROX-Lib2/python/rox/xxmlrpc.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/xattr.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/uri_handler.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/thumbnail.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/templates.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/tasks.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/suchild.sh
--- replaced obj /usr/lib/ROX-Lib2/python/rox/suchild.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/su.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/singleton.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/settings.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/session.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/saving.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/proxy.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/processes.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/options.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/mime_handler.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/mime.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/master_proxy.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/loading.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/launch.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/icon_theme.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/i18n.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/fileutils.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/filer.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/debug.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/choices.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/basedir.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/applet.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/__init__.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/OptionsBox.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/Menu.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/InfoWin.py
--- replaced obj /usr/lib/ROX-Lib2/python/rox/AppInfo.py
--- replaced dir /usr/lib/ROX-Lib2/python/rox
--- replaced obj /usr/lib/ROX-Lib2/python/make_docs.py
--- replaced obj /usr/lib/ROX-Lib2/python/check.sh
--- replaced dir /usr/lib/ROX-Lib2/python
--- replaced obj /usr/lib/ROX-Lib2/ROX-Lib2.xml
--- replaced obj /usr/lib/ROX-Lib2/Messages/zh_TW.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/zh_TW.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/zh_CN.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/zh_CN.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/update-po
--- replaced obj /usr/lib/ROX-Lib2/Messages/pt_BR.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/pt_BR.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/pl.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/pl.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/it.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/it.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/hu.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/hu.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/fr.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/fr.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/es.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/es.gmo
--- replaced obj /usr/lib/ROX-Lib2/Messages/dist
--- replaced obj /usr/lib/ROX-Lib2/Messages/de.po
--- replaced obj /usr/lib/ROX-Lib2/Messages/de.gmo
--- replaced dir /usr/lib/ROX-Lib2/Messages
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.xxmlrpc.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.xattr.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.uri_handler.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.thumbnail.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.templates.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.tasks.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.suchild.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.su.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.singleton.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.settings.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.session.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.saving.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.proxy.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.processes.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.options.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.mime_handler.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.mime.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.master_proxy.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.loading.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.launch.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.icon_theme.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.i18n.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.fileutils.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.filer.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.debug.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.choices.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.basedir.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.applet.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.OptionsBox.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.Menu.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.InfoWin.html
--- replaced obj /usr/lib/ROX-Lib2/Help/python/rox.AppInfo.html
--- replaced dir /usr/lib/ROX-Lib2/Help/python
--- replaced obj /usr/lib/ROX-Lib2/Help/findrox.py
--- replaced obj /usr/lib/ROX-Lib2/Help/TODO
--- replaced obj /usr/lib/ROX-Lib2/Help/README
--- replaced obj /usr/lib/ROX-Lib2/Help/Errors
--- replaced obj /usr/lib/ROX-Lib2/Help/Changes
--- replaced obj /usr/lib/ROX-Lib2/Help/COPYING
--- replaced dir /usr/lib/ROX-Lib2/Help
--- replaced obj /usr/lib/ROX-Lib2/AppRun
--- replaced obj /usr/lib/ROX-Lib2/AppInfo.xml
--- replaced obj /usr/lib/ROX-Lib2/.DirIcon
--- replaced dir /usr/lib/ROX-Lib2
--- replaced dir /usr/lib
--- replaced dir /usr
 *
 * Deprecation Warning: Usage of python_mod_cleanup() in packages not supporting installation
 * for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01.
 * Use EAPI >=3 and call python_mod_cleanup() with paths having appropriate syntax.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 *
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 *
 * Deprecation Warning: Usage of python_mod_optimize() in packages not supporting installation
 * for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01.
 * Use EAPI >=3 and call python_mod_optimize() with paths having appropriate syntax.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 *
 * Compilation and optimization of Python modules for CPython 3.2 ...
*** Error compiling '/usr/lib/ROX-Lib2/python/make_docs.py'...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (make_docs.py, line 76)
*** Error compiling '/usr/lib/ROX-Lib2/python/rox/AppInfo.py'...
  File "/usr/lib/ROX-Lib2/python/rox/AppInfo.py", line 238
    print _getlangs(None)
                  ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/Menu.py'...
  File "/usr/lib/ROX-Lib2/python/rox/Menu.py", line 198
    print "Error saving keybindings to", path
                                      ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/OptionsBox.py'...
  File "/usr/lib/ROX-Lib2/python/rox/OptionsBox.py", line 149
    print "Unknown section", section
                          ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/__init__.py'...
  File "/usr/lib/ROX-Lib2/python/rox/__init__.py", line 49
    __builtin__.False = 0
                    ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/basedir.py'...
  File "/usr/lib/ROX-Lib2/python/rox/basedir.py", line 49
    os.makedirs(path, 0700)
                         ^
SyntaxError: invalid token

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/debug.py'...
  File "/usr/lib/ROX-Lib2/python/rox/debug.py", line 191
    value = `v`
            ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/filer.py'...
  File "/usr/lib/ROX-Lib2/python/rox/filer.py", line 19
    print "Warning: exec('%s') failed!" % argv[0]
                                      ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/fileutils.py'...
  File "/usr/lib/ROX-Lib2/python/rox/fileutils.py", line 43
    raise OSError, message
                 ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/i18n.py'...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (i18n.py, line 80)
*** Error compiling '/usr/lib/ROX-Lib2/python/rox/mime.py'...
  File "/usr/lib/ROX-Lib2/python/rox/mime.py", line 121
    print "Error loading MIME icon"
                                  ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/mime_handler.py'...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (mime_handler.py, line 60)
*** Error compiling '/usr/lib/ROX-Lib2/python/rox/options.py'...
  File "/usr/lib/ROX-Lib2/python/rox/options.py", line 178
    print "Warning: Non Option element", o
                                      ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/processes.py'...
  File "/usr/lib/ROX-Lib2/python/rox/processes.py", line 278
    except Exception, e:
                    ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/proxy.py'...
  File "/usr/lib/ROX-Lib2/python/rox/proxy.py", line 53
    print "Not ready for writing"
                                ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/saving.py'...
  File "/usr/lib/ROX-Lib2/python/rox/saving.py", line 23
    except OSError, ex:
                  ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/session.py'...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (session.py, line 105)
*** Error compiling '/usr/lib/ROX-Lib2/python/rox/settings.py'...
  File "/usr/lib/ROX-Lib2/python/rox/settings.py", line 186
    print 'object=', setobj
                  ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/templates.py'...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (templates.py, line 62)
*** Error compiling '/usr/lib/ROX-Lib2/python/rox/thumbnail.py'...
Sorry: TabError: inconsistent use of tabs and spaces in indentation (thumbnail.py, line 54)
*** Error compiling '/usr/lib/ROX-Lib2/python/rox/uri_handler.py'...
  File "/usr/lib/ROX-Lib2/python/rox/uri_handler.py", line 63
    print get('file')
            ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/xattr.py'...
  File "/usr/lib/ROX-Lib2/python/rox/xattr.py", line 145
    fd=libc.attropen(path, attr, os.O_WRONLY|os.O_CREAT, 0644)
                                                            ^
SyntaxError: invalid token

*** Error compiling '/usr/lib/ROX-Lib2/python/rox/xxmlrpc.py'...
  File "/usr/lib/ROX-Lib2/python/rox/xxmlrpc.py", line 98
    except Exception, ex:
                    ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/tests/python/testall.py'...
  File "/usr/lib/ROX-Lib2/tests/python/testall.py", line 7
    print "Running from", my_dir
                       ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/tests/python/testprocesses.py'...
  File "/usr/lib/ROX-Lib2/tests/python/testprocesses.py", line 33
    except processes.ChildError, ex:
                               ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/tests/python/testproxy.py'...
  File "/usr/lib/ROX-Lib2/tests/python/testproxy.py", line 194
    os.chmod(tmp_file, 0700)
                          ^
SyntaxError: invalid token

*** Error compiling '/usr/lib/ROX-Lib2/tests/python/testrox.py'...
  File "/usr/lib/ROX-Lib2/tests/python/testrox.py", line 12
    print arg
            ^
SyntaxError: invalid syntax

*** Error compiling '/usr/lib/ROX-Lib2/tests/python/testxxmlrpc.py'...
  File "/usr/lib/ROX-Lib2/tests/python/testxxmlrpc.py", line 40
    except xmlrpclib.Fault, ex:
                          ^
SyntaxError: invalid syntax
                                                                                                [ !! ]
>>> rox-base/rox-lib-2.0.6 merged.

>>> Recording rox-base/rox-lib in "world" favorites file...

 * Messages for package rox-base/rox-lib-2.0.6:

 *
 * Deprecation Warning: Usage of python_mod_cleanup() in packages not supporting installation
 * for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01.
 * Use EAPI >=3 and call python_mod_cleanup() with paths having appropriate syntax.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 *

 * Messages for package rox-base/rox-lib-2.0.6:

 *
 * Deprecation Warning: Usage of python_mod_optimize() in packages not supporting installation
 * for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01.
 * Use EAPI >=3 and call python_mod_optimize() with paths having appropriate syntax.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 *
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: 2 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

bullshark@beastlinux ~ $
 
Old 07-11-2012, 06:00 AM   #2
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 54
First of all, I would suggest updating those /etc files. You can do that with "dispatch-conf" or "etc-update". Read the man pages of those 2 tools.
Second, this looks like a python issue. Did you update your python version recently? You can post the output of
Code:
$ eselect python list
Also you could first run "python-updater" and then try to emerge again.
 
Old 07-13-2012, 09:21 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Original Poster
Rep: Reputation: 80
Code:
bullshark@beastlinux ~ % eselect python list 
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *
bullshark@beastlinux ~ %
I had to change the first lines in uzbl-tabbed and uzbl-event-manager to:

Code:
#!/usr/bin/env python
to

Code:
#!/usr/bin/env python2.7
And now it works. I don't know how I ended up with 2 versions of python. My guess is that I should use eselect to set the default version to 2.7.

What do you think?
 
Old 07-13-2012, 11:09 AM   #4
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 54
Having these two versions is normal, because not all programs are compatible with version 3 yet. On my systems I have 2.7 as default, but I have also seen systems running 3 as default. Whichever you choose, I suggest running python-updater right after.
 
Old 07-13-2012, 02:23 PM   #5
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Original Poster
Rep: Reputation: 80
I did run python-updater. That did not resolve the issue. Setting 2.7 as the system's default did resolve the issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Netbeans fails to emerge segmentation_fault Gentoo 1 11-11-2011 07:05 AM
Emerge fails almost 50% of the time Connery Linux - Newbie 5 07-23-2009 10:05 PM
GCC fails to compile - Chapter 6.14 - C preprocessor "/lib/cpp" fails sanity check jaydoc Linux From Scratch 1 01-28-2009 05:17 PM
Fluxbox emerge fails..need some help GUIPenguin Linux - General 1 02-14-2006 08:31 AM
Emerge xine-ui fails richcm Linux - Software 2 10-18-2005 11:13 AM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration