packit / packit-service

Packit provided as a service
https://packit.dev
MIT License
34 stars 48 forks source link

ValueError: '/tmp/packit-dist-gitirxrs_vj' is not in the subpath of '/tmp/sandcastle' OR one path is relative... #2444

Closed sentry-io[bot] closed 3 months ago

sentry-io[bot] commented 3 months ago

Sentry Issue: PCKT-002-PACKIT-SERVICE-82P

ValueError: '/tmp/packit-dist-gitirxrs_vj' is not in the subpath of '/tmp/sandcastle' OR one path is relative and the other is absolute.
  File "packit_service/worker/helpers/build/build_helper.py", line 565, in _create_srpm
    self.api.create_srpm(
  File "packit/api.py", line 1796, in create_srpm
    self.prepare_sources(
  File "packit/api.py", line 1733, in prepare_sources
    env=self.common_env(),
  File "packit/api.py", line 289, in common_env
    downstream_suffix = Path(self.dg.local_project.working_dir).relative_to(
  File "pathlib.py", line 939, in relative_to
    raise ValueError("{!r} is not in the subpath of {!r}"