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

dev-python/pyyaml-6.0 permission error during emerge

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Important (Ebuild) Important (Ebuild)
    • None
    • None
    • emerge pyyaml
    • Metatools cannot be emerged due to this

      # emerge pyyaml
      Calculating dependencies... done!
      
      >>> Verifying ebuild manifests
      
      >>> Emerging (1 of 1) dev-python/pyyaml-6.0::python-modules-kit
      Process Process-3:
      Traceback (most recent call last):
        File "/usr/lib/python3.9/site-packages/portage/locks.py", line 200, in _lockfile_iteration
          myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
        File "/usr/lib/python3.9/site-packages/portage/__init__.py", line 231, in __call__
          rval = self._func(*wrapped_args, **wrapped_kwargs)
      PermissionError: [Errno 13] Permission denied: b'/var/cache/portage/distfiles/.PyYAML-6.0.tar.gz.portage_lockfile'
      
      The above exception was the direct cause of the following exception:
      
      Traceback (most recent call last):
        File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
          self.run()
        File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
          self._target(*self._args, **self._kwargs)
        File "/usr/lib/python3.9/site-packages/portage/util/_async/ForkProcess.py", line 156, in _bootstrap
          sys.exit(self._run())
        File "/usr/lib/python3.9/site-packages/_emerge/EbuildFetcher.py", line 251, in _run
          if fetch(self._uri_map, self._settings, fetchonly=self.fetchonly,
        File "/usr/lib/python3.9/site-packages/portage/package/ebuild/fetch.py", line 986, in fetch
          file_lock = lockfile(myfile_path,
        File "/usr/lib/python3.9/site-packages/portage/locks.py", line 131, in lockfile
          lock = _lockfile_iteration(mypath, wantnewlockfile=wantnewlockfile,
        File "/usr/lib/python3.9/site-packages/portage/locks.py", line 206, in _lockfile_iteration
          _raise_exc(e)
        File "/usr/lib/python3.9/site-packages/portage/util/install_mask.py", line 150, in _raise_exc
          raise wrapper
      portage.exception.PermissionDenied: [Errno 13] Permission denied: b'/var/cache/portage/distfiles/.PyYAML-6.0.tar.gz.portage_lockfile'
       * Fetch failed for 'dev-python/pyyaml-6.0', Log file:
       *  '/var/tmp/portage/dev-python/pyyaml-6.0/temp/build.log'
      
      >>> Failed to emerge dev-python/pyyaml-6.0, Log file:
      
      >>>  '/var/tmp/portage/dev-python/pyyaml-6.0/temp/build.log'
      
       * Messages for package dev-python/pyyaml-6.0:
      
       * Fetch failed for 'dev-python/pyyaml-6.0', Log file:
       *  '/var/tmp/portage/dev-python/pyyaml-6.0/temp/build.log'
      

            Unassigned Unassigned
            friendlyhamster799 friendlyhamster799
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: