[gtk-osx-users] Crash of jhbuild at install phase



Hi all,
I am getting crash when building my own program using custom moduleset.
configure, build and install steps all are OK, however, jhbuild fails at final move of build files to ~/gtk/inst/.
The traceback is
W: Ignoring uninstalled package: bluefish
Traceback (most recent call last):
  File "/Users/andrius/.new_local/libexec/run_jhbuild.py", line 17, in <module>
    jhbuild.main.main(sys.argv[1:])
  File "/Users/andrius/Source/jhbuild/jhbuild/main.py", line 120, in main
    rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
  File "/Users/andrius/Source/jhbuild/jhbuild/commands/__init__.py", line 188, in run
    return cmd.execute(config, args, help)
  File "/Users/andrius/Source/jhbuild/jhbuild/commands/__init__.py", line 56, in execute
    return self.run(config, options, args, help)
  File "/Users/andrius/Source/jhbuild/jhbuild/commands/base.py", line 341, in run
    return build.build()
  File "/Users/andrius/Source/jhbuild/jhbuild/frontends/buildscript.py", line 172, in build
    error, altphases = module.run_phase(self, phase)
  File "/Users/andrius/Source/jhbuild/jhbuild/modtypes/__init__.py", line 420, in run_phase
    method(buildscript)
  File "/Users/andrius/Source/jhbuild/jhbuild/modtypes/autotools.py", line 320, in do_install
    self.process_install(buildscript, self.get_revision())
  File "/Users/andrius/Source/jhbuild/jhbuild/modtypes/__init__.py", line 317, in process_install
    new_contents = fileutils.accumulate_dirtree_contents(destdir_prefix)
  File "/Users/andrius/Source/jhbuild/jhbuild/utils/fileutils.py", line 44, in accumulate_dirtree_contents
    _accumulate_dirtree_contents_recurse(path, contents)
  File "/Users/andrius/Source/jhbuild/jhbuild/utils/fileutils.py", line 26, in _accumulate_dirtree_contents_recurse
    names = os.listdir(path)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/andrius/gtk/inst/_jhbuild/root-bluefish/Users/andrius/gtk/inst'

I looks strange that it appends prefix at the end of path, however, as far as I can see this is done fileutils.accumulate_dirtree_contents(destdir_prefix), it is intended.
I am not sure if this is gtk-osx or jhbuild related bug, however, it seems that there are no such a n errors reported on jhbuild bug tracker.
I can see all build files located in '/Users/andrius/gtk/inst/_jhbuild/root-bluefish, so why there is extra part added is hard to say. From the other hand, I have build complete gkt+ stack without any issues, just one particular program fails without apparent reason.
Another strange thing is that it says "W: Ignoring uninstalled package: bluefish", while package is not uninstalled, it stays in source three. However, since it was installed via svn type repo, there is no package in pkgs folder.
Any hints what to look for would be useful!
Andrius




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]