Skip to content

云编译x64 ERROR: package/feeds/packages/nfs-kernel-server failed to build. #13548

Closed
@ruols

Description

@ruols

详细叙述

一直卡在这步,没搜到解决办法

重复 issue

  • 没有类似的 issue

具体型号

x64

详细日志

2025-06-10T04:47:01.1163050Z time: package/feeds/packages/lvm2/normal/compile#0.10#0.14#0.23
2025-06-10T04:47:01.1270747Z make[3]: Entering directory '/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/feeds/packages/net/nfs-kernel-server'
2025-06-10T04:47:01.3268887Z touch /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/.prepared_168f3b4e826ce118057510179bff0597_6664517399ebbbc92a37c5bb081b5c53_check
2025-06-10T04:47:01.3291931Z . /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/include/shell.sh; xzcat /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/dl/nfs-utils-2.8.3.tar.xz | tar -C /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/.. -xf -
2025-06-10T04:47:01.3737367Z [ ! -d ./src/ ] || cp -fpR ./src/. /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3
2025-06-10T04:47:01.3800070Z
2025-06-10T04:47:01.3800493Z Applying ./patches/100-fix-host-build.patch using plaintext:
2025-06-10T04:47:01.3810842Z patching file configure.ac
2025-06-10T04:47:01.3814141Z
2025-06-10T04:47:01.3814505Z Applying ./patches/101-musl-getservbyport.patch using plaintext:
2025-06-10T04:47:01.3827395Z patching file utils/statd/rmtcall.c
2025-06-10T04:47:01.3830074Z
2025-06-10T04:47:01.3830441Z Applying ./patches/110-move-hardcoded-rundir.patch using plaintext:
2025-06-10T04:47:01.3839984Z patching file utils/blkmapd/device-discovery.c
2025-06-10T04:47:01.3841958Z patching file utils/gssd/gssd.h
2025-06-10T04:47:01.3844346Z patching file utils/statd/sm-notify.c
2025-06-10T04:47:01.3846469Z patching file utils/statd/statd.c
2025-06-10T04:47:01.3849307Z
2025-06-10T04:47:01.3849668Z Applying ./patches/200-fix-macos-build.patch using plaintext:
2025-06-10T04:47:01.3859432Z patching file tools/rpcgen/rpc_main.c
2025-06-10T04:47:01.3862745Z
2025-06-10T04:47:01.3863335Z Applying ./patches/210-nfsdctl.c-add-missing-basename.patch using plaintext:
2025-06-10T04:47:01.3873354Z patching file utils/nfsdctl/nfsdctl.c
2025-06-10T04:47:01.3920067Z touch /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/.prepared_168f3b4e826ce118057510179bff0597_6664517399ebbbc92a37c5bb081b5c53
2025-06-10T04:47:01.3944459Z rm -f /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/.configured_*
2025-06-10T04:47:01.3973723Z rm -f /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/target-x86_64_musl/stamp/.nfs-kernel-server_installed
2025-06-10T04:47:01.4035427Z (cd /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/./; if [ -x ./configure ]; then find /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/ -name config.guess | xargs -r chmod u+w; find /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/ -name config.guess | xargs -r -n1 cp --remove-destination /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/scripts/config.guess; find /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/ -name config.sub | xargs -r chmod u+w; find /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/ -name config.sub | xargs -r -n1 cp --remove-destination /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/scripts/config.sub; AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3=nfs-utils-2.8.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error=implicit-function-declaration -Wno-error=strict-prototypes -Wno-error=incompatible-pointer-types -Wno-error=format-security -Wno-error=undef -Wno-error=missing-include-dirs -D_LARGEFILE64_SOURCE" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3=nfs-utils-2.8.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error=implicit-function-declaration -Wno-error=strict-prototypes -Wno-error=incompatible-pointer-types -Wno-error=format-security -Wno-error=undef -Wno-error=missing-include-dirs -D_LARGEFILE64_SOURCE " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3=nfs-utils-2.8.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error=implicit-function-declaration -Wno-error=strict-prototypes -Wno-error=incompatible-pointer-types -Wno-error=format-security -Wno-error=undef -Wno-error=missing-include-dirs -D_LARGEFILE64_SOURCE " CPPFLAGS="-I/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include " LDFLAGS="-L/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro -L/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/target-x86_64_musl/usr/lib/libevent " libblkid_cv_is_recent=yes ac_cv_lib_resolv___res_querydomain=yes ac_cv_lib_bsd_daemon=no CONFIG_SQLITE3_TRUE="#" CONFIG_NFSDCLD_TRUE="#" ./configure --target=x86_64-openwrt-linux --host=x86_64-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --disable-caps --disable-gss --disable-nfsdcld --disable-nfsdcltrack --enable-shared --enable-static --with-rpcgen=internal --enable-nfsv4 --enable-nfsv41 --enable-nfsv42 ; fi; )
2025-06-10T04:47:01.5164794Z configure: WARNING: unrecognized options: --disable-nls, --enable-nfsv42
2025-06-10T04:47:01.5499503Z configure: loading site script /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/include/site/x86_64
2025-06-10T04:47:01.5624606Z checking build system type... x86_64-pc-linux-gnu
2025-06-10T04:47:01.5688348Z checking host system type... x86_64-openwrt-linux-gnu
2025-06-10T04:47:01.5766843Z checking for a BSD-compatible install... /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/host/bin/install -c
2025-06-10T04:47:01.5794975Z checking whether build environment is sane... yes
2025-06-10T04:47:01.5856942Z checking for x86_64-openwrt-linux-strip... x86_64-openwrt-linux-musl-strip
2025-06-10T04:47:01.5881219Z checking for a race-free mkdir -p... /usr/bin/mkdir -p
2025-06-10T04:47:01.5886810Z checking for gawk... gawk
2025-06-10T04:47:01.5952620Z checking whether make sets $(MAKE)... yes
2025-06-10T04:47:01.6009476Z checking whether make supports nested variables... yes
2025-06-10T04:47:01.6052024Z checking whether to enable maintainer-specific portions of Makefiles... no
2025-06-10T04:47:01.6128013Z checking whether make supports the include directive... yes (GNU style)
2025-06-10T04:47:01.6130310Z checking for x86_64-openwrt-linux-gcc... x86_64-openwrt-linux-musl-gcc
2025-06-10T04:47:01.6586477Z checking whether the C compiler works... yes
2025-06-10T04:47:01.6587057Z checking for C compiler default output file name... a.out
2025-06-10T04:47:01.6785175Z checking for suffix of executables...
2025-06-10T04:47:01.6805821Z checking whether we are cross compiling... yes
2025-06-10T04:47:01.6970227Z checking for suffix of object files... o
2025-06-10T04:47:01.7109893Z checking whether the compiler supports GNU C... yes
2025-06-10T04:47:01.7676589Z checking whether x86_64-openwrt-linux-musl-gcc accepts -g... yes
2025-06-10T04:47:01.8023798Z checking for x86_64-openwrt-linux-musl-gcc option to enable C11 features... none needed
2025-06-10T04:47:01.8283004Z checking whether x86_64-openwrt-linux-musl-gcc understands -c and -o together... yes
2025-06-10T04:47:01.8554094Z checking dependency style of x86_64-openwrt-linux-musl-gcc... gcc3
2025-06-10T04:47:01.8662183Z checking for stdio.h... yes
2025-06-10T04:47:01.8782571Z checking for stdlib.h... yes
2025-06-10T04:47:01.8913024Z checking for string.h... yes
2025-06-10T04:47:01.9051111Z checking for inttypes.h... yes
2025-06-10T04:47:01.9195374Z checking for stdint.h... yes
2025-06-10T04:47:01.9332265Z checking for strings.h... yes
2025-06-10T04:47:01.9476334Z checking for sys/stat.h... yes
2025-06-10T04:47:01.9629931Z checking for sys/types.h... yes
2025-06-10T04:47:01.9796489Z checking for unistd.h... yes
2025-06-10T04:47:01.9982861Z checking for wchar.h... yes
2025-06-10T04:47:02.0193622Z checking for minix/config.h... no
2025-06-10T04:47:02.0404458Z checking for vfork.h... no
2025-06-10T04:47:02.0572105Z checking for sys/select.h... yes
2025-06-10T04:47:02.0748622Z checking for sys/socket.h... yes
2025-06-10T04:47:02.0965074Z checking whether it is safe to define EXTENSIONS... yes
2025-06-10T04:47:02.1146703Z checking whether _XOPEN_SOURCE should be defined... no
2025-06-10T04:47:02.1175722Z checking pkg-config is at least version 0.9.0... yes
2025-06-10T04:47:02.1264903Z checking for mount... yes
2025-06-10T04:47:02.1357974Z checking for libnl-3.0 >= 3.1... yes
2025-06-10T04:47:02.1448724Z checking for libnl-genl-3.0 >= 3.1... yes
2025-06-10T04:47:02.1601356Z checking for readline... no
2025-06-10T04:47:02.1706108Z configure: error: Package requirements (readline) were not met:
2025-06-10T04:47:02.1706561Z
2025-06-10T04:47:02.1706771Z Package 'ncurses', required by 'readline', not found
2025-06-10T04:47:02.1707026Z
2025-06-10T04:47:02.1707200Z Consider adjusting the PKG_CONFIG_PATH environment variable if you
2025-06-10T04:47:02.1707573Z installed software in a non-standard prefix.
2025-06-10T04:47:02.1708164Z
2025-06-10T04:47:02.1708481Z Alternatively, you may set the environment variables LIBREADLINE_CFLAGS
2025-06-10T04:47:02.1711179Z and LIBREADLINE_LIBS to avoid the need to call pkg-config.
2025-06-10T04:47:02.1711522Z See the pkg-config man page for more details.
2025-06-10T04:47:02.2047258Z make[3]: *** [Makefile:226: /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/build_dir/target-x86_64_musl/nfs-utils-2.8.3/.configured_39aa1df90085728a2aeaeaed9a34b9be] Error 1
2025-06-10T04:47:02.2048437Z make[3]: Leaving directory '/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/feeds/packages/net/nfs-kernel-server'
2025-06-10T04:47:02.2052222Z time: package/feeds/packages/nfs-kernel-server/compile#0.59#0.62#1.08
2025-06-10T04:47:02.2059533Z ERROR: package/feeds/packages/nfs-kernel-server failed to build.
2025-06-10T04:47:02.2062835Z make[2]: *** [package/Makefile:116: package/feeds/packages/nfs-kernel-server/compile] Error 1
2025-06-10T04:47:02.2067623Z make[2]: Leaving directory '/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt'
2025-06-10T04:47:02.2071981Z make[1]: *** [package/Makefile:110: /home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
2025-06-10T04:47:02.2077130Z make[1]: Leaving directory '/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt'
2025-06-10T04:47:02.2083605Z make: *** [/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/include/toplevel.mk:231: world] Error 2
2025-06-10T04:47:02.5831104Z ##[error]Process completed with exit code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions