It seems that on scallywag it works, so it is problem on my computer only. Still it does not explain why and how to fix.

scallywag: running 'cygport all-test test'
>>> Preparing duplicity-3.0.7-2.x86_64
>>> Unpacking source duplicity-rel.3.0.7.tar.gz
*** Info: applying patch 01-docdir.patch (-p2):
patching file setup.py
Hunk #1 succeeded at 113 with fuzz 1 (offset 14 lines).
>>> Preparing working source directory
>>> Compiling duplicity-3.0.7-2.x86_64
Processing /cygdrive/d/a/scallywag/duplicity/duplicity-3.0.7-2.x86_64/build
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: duplicity
  Building wheel for duplicity (pyproject.toml): started
  Building wheel for duplicity (pyproject.toml): finished with status 'done'
Created wheel for duplicity: filename=duplicity-3.0.7-cp312-cp312-cygwin_3_6_6_x86_64.whl size=1078278 sha256=413e755e79294d77aa3365a9f969086d4abb6d464ec548d445a3138dbeecdfbe Stored in directory: /tmp/pip-ephem-wheel-cache-p0wui8k8/wheels/ff/99/0a/4710eab3c8a3e8690280473f0ccdc54f0b5819c3e8f07fd236
Successfully built duplicity


Dne 07.02.2026 v 19:04 Libor Ukropec via Cygwin napsal(a):
I'm trying to move duplicity python package move from python3.9 to 3.12. The cygport file is using python3-wheel.

For python 3.9 it works, for Python 3.12 I have the below error. I tried re-installing python packages, even doing `C:\cygwin64\bin\dash.exe -c /usr/bin/rebaseall`, reboot to make sure there's no stale cygwin.dll. No change. Any tips how to try to find the culprit or fix?


```bash
$ cygport duplicity.cygport download all-test check

 >>> Preparing duplicity-3.0.7-2.x86_64
 >>> Unpacking source duplicity-rel.3.0.7.tar.gz
*** Info: applying patch 01-docdir.patch (-p2):
patching file setup.py
Hunk #1 succeeded at 113 with fuzz 1 (offset 14 lines).
 >>> Preparing working source directory
 >>> Compiling duplicity-3.0.7-2.x86_64
Processing /home/libor/cyg-port/duplicity/duplicity-3.0.7-2.x86_64/build
   Preparing metadata (pyproject.toml): started
      0 [main] python3.12 5948 child_info_fork::abort: address space needed by 'StringIOTree.cpython-312-x86_64-cygwin.dll' (0x6C0000) is already occupied
   Preparing metadata (pyproject.toml): finished with status 'error'
   error: subprocess-exited-with-error

   × Preparing metadata (pyproject.toml) did not run successfully.
   │ exit code: 1
   ╰─> [25 lines of output]
            0 [main] python3.12 5948 child_info_fork::abort: address space needed by 'StringIOTree.cpython-312-x86_64-cygwin.dll' (0x6C0000) is already occupied
       Traceback (most recent call last):
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/ _in_process.py", line 389, in <module>
           main()
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/ _in_process.py", line 373, in main
           json_out["return_val"] = hook(**hook_input["kwargs"])
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/ _in_process.py", line 175, in prepare_metadata_for_build_wheel
           return hook(metadata_directory, config_settings)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 374, in prepare_metadata_for_build_wheel
           self.run_setup()
        File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
           exec(code, locals())
         File "<string>", line 187, in <module>
         File "<string>", line 144, in get_data_files
         File "/usr/lib/python3.12/subprocess.py", line 548, in run
           with Popen(*popenargs, **kwargs) as process:
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
           self._execute_child(args, executable, preexec_fn, close_fds,
         File "/usr/lib/python3.12/subprocess.py", line 1885, in _execute_child
           self.pid = _fork_exec(
                      ^^^^^^^^^^^
       BlockingIOError: [Errno 11] Resource temporarily unavailable
       [end of output]

   note: This error originates from a subprocess, and is likely not a problem 
with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> from file:///home/libor/cyg-port/duplicity/duplicity-3.0.7-2.x86_64/build

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
*** ERROR: pip3.12 wheel failed
```





--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to