Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

出现循环引用 #22

Closed
ricksuzade-maker opened this issue Apr 3, 2021 · 4 comments
Closed

出现循环引用 #22

ricksuzade-maker opened this issue Apr 3, 2021 · 4 comments
Labels
upstream issues This issue is caused by upstream

Comments

@ricksuzade-maker
Copy link

1806-k5.4,dee4f72版本,下载后准备编译,在defconfig的时候出现如下错误提示:
~/scripts/immortal/r2s/immortalwrt$ make defconfig
tmp/.config-package.in:110028:error: recursive dependency detected!
tmp/.config-package.in:110028: symbol PACKAGE_ocserv depends on OCSERV_SECCOMP
feeds/packages/net/ocserv/Config.in:10: symbol OCSERV_SECCOMP depends on PACKAGE_ocserv
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

configuration written to .config

删除ocserv/Config.in里面对应段落后正常,不再出现以上错误,可是我担心这样会引起其他错误。

@1715173329
Copy link
Member

1715173329 commented Apr 3, 2021

@ricksuzade-maker

删除ocserv/Config.in里面对应段落后正常,不再出现以上错误,可是我担心这样会引起其他错误。

无需担心

该问题出自 openwrt 上游,请静候修复。

@aiamadeus aiamadeus transferred this issue from immortalwrt/immortalwrt Apr 3, 2021
@aiamadeus aiamadeus added the upstream issues This issue is caused by upstream label Apr 3, 2021
@zxlhhyccc
Copy link
Contributor

1806-k5.4,dee4f72版本,下载后准备编译,在defconfig的时候出现如下错误提示:
~/scripts/immortal/r2s/immortalwrt$ make defconfig
tmp/.config-package.in:110028:error: recursive dependency detected!
tmp/.config-package.in:110028: symbol PACKAGE_ocserv depends on OCSERV_SECCOMP
feeds/packages/net/ocserv/Config.in:10: symbol OCSERV_SECCOMP depends on PACKAGE_ocserv
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

configuration written to .config

删除ocserv/Config.in里面对应段落后正常,不再出现以上错误,可是我担心这样会引起其他错误。
feeds/packages/libs/libseccomp/Makefile中将此行删除即可解决你的问题:
image

@1715173329
Copy link
Member

目前的一个 workaround:

diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile
index ed05a3a..c9c4d65 100644
--- a/net/ocserv/Makefile
+++ b/net/ocserv/Makefile
@@ -39,7 +39,7 @@ define Package/ocserv
   TITLE:=OpenConnect VPN server
   URL:=http://www.infradead.org/ocserv/
   MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
-  DEPENDS:= +OCSERV_RADIUS:libradcli +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +libev +kmod-tun
+  DEPENDS:= +OCSERV_RADIUS:libradcli +OCSERV_HTTP_PARSER:libhttp-parser +(!arc&&OCSERV_SECCOMP):libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +libev +kmod-tun
   USERID:=ocserv=72:ocserv=72
 endef

@1715173329
Copy link
Member

Fixed in b0e621c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream issues This issue is caused by upstream
Projects
None yet
Development

No branches or pull requests

4 participants