Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-7924

metatools: improve merge-kits errors output

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • None

      Sometimes  `merge-kits` finishes with errors similar to

      Traceback (most recent call last):                                                                                                                                                                                                                                                                                             
        ...                                                                                                                                                                                              
          await self.srctree.autogen(src_offset=self.ebuildloc)                                                                                                                                                                                                                                                                      
        File "/var/git/dev/funtoo-metatools/funtoo/merge/tree.py", line 93, in autogen                                                                                                                                                                                                                                               
          raise GitTreeError(f"Autogen failed in {self.root} -- offset {src_offset}.")                                                                                                                                                                                                                                               
      tree.GitTreeError: Autogen failed in /home/sagu/repo_tmp/source-trees/kit-fixups -- offset python-modules-kit/curated.                     
      

      Which means that some autogen has failed.

      Usually then you try to search trough `merge-kits` log (if launched with it).

      But if you have no log or no useful info is found, you  go to particular kit and run `doit`  and try to pin point failing autogen.

      Please improve  `merge-kits` error output so it will always include failed autogen.

       

       

       

       

            Unassigned Unassigned
            s4uliu5 s4uliu5
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: