Coder Social home page Coder Social logo

出现循环引用 about packages HOT 4 CLOSED

immortalwrt avatar immortalwrt commented on August 24, 2024
出现循环引用

from packages.

Comments (4)

1715173329 avatar 1715173329 commented on August 24, 2024

@ricksuzade-maker

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

无需担心

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

from packages.

zxlhhyccc avatar zxlhhyccc commented on August 24, 2024

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

from packages.

1715173329 avatar 1715173329 commented on August 24, 2024

目前的一个 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 <[email protected]>
-  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

from packages.

1715173329 avatar 1715173329 commented on August 24, 2024

Fixed in b0e621c.

from packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.