def reroot_paths(self):
        if self.toolchain_file:
            self.toolchain_file = os.path.join(self.path, self.toolchain_file)
        if self.sysroot:
            self.sysroot = os.path.join(self.path, self.sysroot)
        if self.cross_gdb:
            self.cross_gdb = os.path.join(self.path, self.cross_gdb)
Make sure all the paths are absolute.
dataset/ETHPy150Open aldebaran/qibuild/python/qitoolchain/qipackage.py/QiPackage.reroot_paths