Error: tmp/.config-package.in:xxxxxx:error: recursive dependency detected!
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
When generating the .config from a diffconfig file, lots of errors were seen, and the build kept failing randomly at different packages.
$ cp r7800.diffconfig .config && make defconfig
tmp/.config-package.in:2062:error: recursive dependency detected!
tmp/.config-package.in:2062: symbol PACKAGE_schroot depends on PACKAGE_schroot
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:125131:error: recursive dependency detected!
tmp/.config-package.in:125131: symbol PACKAGE_autopart depends on PACKAGE_autopart
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:125689:error: recursive dependency detected!
tmp/.config-package.in:125689: symbol PACKAGE_cryptsetup depends on PACKAGE_cryptsetup
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:125710:error: recursive dependency detected!
tmp/.config-package.in:125710: symbol PACKAGE_cryptsetup-ssh depends on PACKAGE_cryptsetup-ssh
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:125859:error: recursive dependency detected!
tmp/.config-package.in:125859: symbol PACKAGE_integritysetup depends on PACKAGE_integritysetup
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:125930:error: recursive dependency detected!
tmp/.config-package.in:125930: symbol PACKAGE_veritysetup depends on PACKAGE_veritysetup
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
.config:522:warning: override: FRR_INTERNAL changes choice state
.config:523:warning: override: FRR_SNMP changes choice state
#
# configuration written to .config
#
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report with r7800.diffconfig by copying it to .config and running make defconfig. Inspect the generated tmp/.config-package.in entries for schroot, autopart, cryptsetup, cryptsetup-ssh, integritysetup, and veritysetup, then consult Documentation/kbuild/kconfig-language.rst under “Kconfig recursive dependency limitations.” Done means defconfig completes without recursive-dependency errors.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100