Hi! The sgmltools executable (python script) located in /usr/bin after merging app-text/sgmltools-lite-3.0.3-r1.ebuild contains embedded '${prefix}' variables in the path initialization code that cause it to bomb. Haven't found the exact source of the problem yet, however if I edit /usr/bin sgmltools and substitute '/usr' for all the '${prefix}' it then works. ------Example snip------------- # # Setup: check version, and add our modules directory to the # search path. # import sys if sys.version < '1.5': print '%s: need python 1.5 or better' % sys.argv[0] raise SystemExit,1 sys.path.append('${prefix}/share/sgml/misc/sgmltools/python') # # Autoconf edits most of these. # autoconf = { 'prefix': '/usr', 'shrdir': '${prefix}/share/sgml/misc/sgmltools', 'bindir': '/usr/bin', 'etcdir': '/etc/sgml', 'progs' : { 'jade': '/usr/bin/openjade', 'lynx': '/usr/bin/lynx', 'iSilo': 'N/A', 'w3m': 'N/A' }, # # Editable: places where backends can be found. # 'backends' : [ '${prefix}/share/sgml/misc/sgmltools/python/backends', '${prefix}/share/sgml/misc/sgmltools/site-backends' ], }
This has been fixed in the -r3.ebuild. Please test and let me know whether it performs as expected.