Cyclic dependency prevents installation of python39 (also python3)

Ronan Le Gallic via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <GV0P278MB0388052BFCB5E11C92D617C799AAA@GV0P278MB0388.CHEP278.PROD.OUTLOOK.COM>
Hi Marco,

Please find more details about the issue:

Host:
- Windows_NT Windows 11 (24H2) [Server 2025] amd64 AMD64 Family 23 Model 1 Stepping 2 MS/Windows
- setup-x86_64.exe v 2.934


Default command: nothing is installed
```
> setup-x86_64.exe --arch x86_64 --root C:/cygwin64 --symlink-type native --quiet-mode --no-desktop --packages clang

solving: 1 tasks, update: no, use test packages: no
solving: 0 tasks, update: no, use test packages: no
Augmented Transaction List: is empty
```

Verbose command: 'Conflict.level1' are detected with ANALYZE UNSOLVABLE
```
> setup-x86_64.exe --arch x86_64 --root C:/cygwin64 --symlink-type native --quiet-mode --no-desktop --verbose --packages clang

Added manual package clang
solving: 1 tasks, update: no, use test packages: no
libsolv: solver started
libsolv: dosplitprovides=0, noupdateprovide=0, noinfarchcheck=0
libsolv: allowuninstall=0, allowdowngrade=0, allownamechange=1, allowarchchange=0, allowvendorchange=1
libsolv: dupallowdowngrade=1, dupallownamechange=1, dupallowarchchange=1, dupallowvendorchange=1
libsolv: promoteepoch=0, forbidselfconflicts=0
libsolv: obsoleteusesprovides=0, implicitobsoleteusesprovides=0, obsoleteusescolors=0, implicitobsoleteusescolors=0
libsolv: dontinstallrecommended=0, addalreadyrecommended=0 onlynamespacerecommended=0
libsolv: number of solvables: 828, memory used: 45 K
libsolv: number of ids: 1270 + 617
libsolv: string memory used: 4 K array + 14 K data,  rel memory used: 7 K array
libsolv: string hash memory: 32 K, rel hash memory : 16 K
libsolv: provide ids: 622
libsolv: provide space needed: 1554 + 1234
libsolv: shrunk whatprovidesdata from 1554 to 1390
libsolv: shrunk whatprovidesauxdata from 1554 to 929
libsolv: whatprovides memory used: 11 K id array, 10 K data
libsolv: whatprovidesaux memory used: 4 K id array, 3 K data
libsolv: WARNING: pool_addfileprovides was not called, this may result in slow operation
libsolv: lazywhatprovidesq size: 0 entries
libsolv: createwhatprovides took 0 ms
libsolv: obsoletes data: 1 entries
libsolv: added 1689 pkg rules for installed solvables
libsolv: added 278 pkg rules for updaters of installed solvables
libsolv: added 12 pkg rules for packages involved in a job
libsolv: added 0 pkg rules because of weak dependencies
libsolv: 483 of 827 installable solvables considered for solving
libsolv: pruned rules from 1980 to 1980
libsolv:   binary: 320
libsolv:   normal: 1659, 3384 literals
libsolv: pkg rule memory used: 46 K
libsolv: pkg rule creation took 0 ms
libsolv: choice rule creation took 0 ms
libsolv: 1979 pkg rules, 2 * 221 update rules, 1 job rules, 0 infarch rules, 0 dup rules, 0 choice rules, 0 best rules, 0 yumobs rules
libsolv: 0 black rules, 0 recommends rules, 0 repo priority rules
libsolv: overall rule memory used: 56 K
libsolv: solving...
libsolv: ANALYZE UNSOLVABLE ----------------------
libsolv: Rule #1192:
libsolv:
libsolv:     !python39-3.9.16-1.any [521]
libsolv:  (w1)
libsolv:  Install.level1
libsolv:
libsolv:     python39-pip-25.2-2.any [535]
libsolv:  (w2)
libsolv:  Conflict.level1
libsolv:
libsolv:     next rules: 1193 0
libsolv: Rule #1195:
libsolv:
libsolv:     !python3-3.9.16-1.any [519]
libsolv:  (w1)
libsolv:  Install.level1
libsolv:
libsolv:     python39-3.9.16-1.any [521]
libsolv:  (w2)
libsolv:  Install.level1
libsolv:
libsolv:     next rules: 0 0
libsolv: Rule #1159:
libsolv:
libsolv:     !python39-pip-25.2-2.any [535]
libsolv:  (w1)
libsolv:  Conflict.level1
libsolv:
libsolv:     python39-sphinx-4.4.0-1.any [543]
libsolv:  (w2)
libsolv:  Conflict.level1
libsolv:
libsolv:     next rules: 0 0
libsolv: Rule #1858:
libsolv:
libsolv:     !clang-20.1.8-2.any [43]
libsolv:  (w1)
libsolv:  Install.level1
libsolv:
libsolv:     python3-3.9.16-1.any [519]
libsolv:  (w2)
libsolv:  Install.level1
libsolv:
libsolv:     next rules: 0 0
libsolv: Rule #1124:
libsolv:
libsolv:     !python39-sphinx-4.4.0-1.any [543]
libsolv:  (w1)
libsolv:  Conflict.level1
libsolv:
libsolv:     python39-pygments-2.10.0-1.any [538]
libsolv:  (w2)
libsolv:  Conflict.level1
libsolv:
libsolv:     next rules: 1125 1170
libsolv: JOB
libsolv: Rule #2422:
libsolv:
libsolv:     clang-20.1.8-2.any [43]
libsolv:  (w1)
libsolv:  Install.level1
libsolv:
libsolv:     next rules: 0 0
libsolv: Rule #1149:
libsolv:
libsolv:     !python39-pygments-2.10.0-1.any [538]
libsolv:  (w1)
libsolv:  Conflict.level1
libsolv:
libsolv:     next rules: 0 0
libsolv: resolving job rules
libsolv: resolving installed packages
libsolv: deciding orphaned packages
libsolv: solver statistics: 0 learned rules, 1 unsolvable, 0 minimization steps
libsolv: done solving.

libsolv: solver took 16 ms
libsolv: final solver statistics: 1 problems, 0 learned rules, 1 unsolvable
libsolv: solver_solve took 16 ms

...

libsolv:
libsolv: ordering transaction
libsolv: transaction elements: 0
Augmented Transaction List: is empty
```

Now, if I remove "python39-pip, python39-setuptools" from depends2 in setup.ini file: clang is installed with its dependencies
```
> setup-x86_64.exe --arch x86_64 --root C:/cygwin64 --symlink-type native --quiet-mode --no-desktop --packages clang

solving: 1 tasks, update: no, use test packages: no
solving: 3 tasks, update: no, use test packages: no
Augmented Transaction List:
   0 install python39 3.9.16-1
   1 install python3  3.9.16-1
   2 install clang    20.1.8-2
```

Best Regards
Ronan

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.