Skip to content

编译报错 #417

@free-diy

Description

@free-diy

Gemini 说
这次的日志非常清晰,错误原因已经锁定了。

❌ 错误原因:逻辑死循环
关键报错行:

cp: cannot copy a directory, '.../package/rtp2httpd/../../build_dir', into itself, '.../build_dir/target-x86_64_musl/rtp2httpd-20260318/build_dir'

通俗点说:
rtp2httpd 这个包的 Makefile 写错了。它试图把整个 OpenWrt 的大工程目录(../../)拷贝到它自己的编译目录(build_dir)里。因为 build_dir 本身就在工程目录里,这就形成了一个“我拷贝我自己”的无限递归/死循环,最终导致编译崩溃。

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions