Error compiling nginx for v21.02.0-rc2

I always use nginx to replace uhttpd. In v21.02.0-rc2, I use v19.07.7 to configure and compile nginx util errors. Then I use a new environment to compile nginx only(only select X86 and LuCI->Collections->luci-nginx or LuCI->Collections->luci-ssl-nginx), which is still the same error. How can I compile it.
please help me.thk!

Please use the "Preformatted text </>" button for logs, scripts, configs and general console output.
grafik
Please edit your post accordingly. Thank you! :slight_smile:

Help me

CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_64=y
CONFIG_TARGET_x86_64_DEVICE_generic=y
CONFIG_NGINX_HEADERS_MORE=y
CONFIG_NGINX_HTTP_ACCESS=y
CONFIG_NGINX_HTTP_AUTH_BASIC=y
CONFIG_NGINX_HTTP_AUTOINDEX=y
CONFIG_NGINX_HTTP_BROWSER=y
CONFIG_NGINX_HTTP_CACHE=y
CONFIG_NGINX_HTTP_CHARSET=y
CONFIG_NGINX_HTTP_EMPTY_GIF=y
CONFIG_NGINX_HTTP_FASTCGI=y
CONFIG_NGINX_HTTP_GEO=y
CONFIG_NGINX_HTTP_GZIP=y
CONFIG_NGINX_HTTP_LIMIT_CONN=y
CONFIG_NGINX_HTTP_LIMIT_REQ=y
CONFIG_NGINX_HTTP_MAP=y
CONFIG_NGINX_HTTP_MEMCACHED=y
CONFIG_NGINX_HTTP_PROXY=y
CONFIG_NGINX_HTTP_REFERER=y
CONFIG_NGINX_HTTP_REWRITE=y
CONFIG_NGINX_HTTP_SCGI=y
CONFIG_NGINX_HTTP_SPLIT_CLIENTS=y
CONFIG_NGINX_HTTP_SSI=y
CONFIG_NGINX_HTTP_UPSTREAM_HASH=y
CONFIG_NGINX_HTTP_UPSTREAM_IP_HASH=y
CONFIG_NGINX_HTTP_UPSTREAM_KEEPALIVE=y
CONFIG_NGINX_HTTP_UPSTREAM_LEAST_CONN=y
CONFIG_NGINX_HTTP_USERID=y
CONFIG_NGINX_HTTP_UWSGI=y
CONFIG_NGINX_HTTP_V2=y
CONFIG_NGINX_NAXSI=y
CONFIG_NGINX_PCRE=y
CONFIG_NGINX_UBUS=y
CONFIG_OPENSSL_ENGINE=y
CONFIG_OPENSSL_OPTIMIZE_SPEED=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_TLS13=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_libcap=y
CONFIG_PACKAGE_libiwinfo=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libopenssl-conf=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libstdcpp=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-opkg=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-lib-base=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-ssl-nginx=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_nginx=y
CONFIG_PACKAGE_nginx-mod-luci=y
CONFIG_PACKAGE_nginx-mod-luci-ssl=y
CONFIG_PACKAGE_nginx-ssl=y
CONFIG_PACKAGE_nginx-ssl-util=y
CONFIG_PACKAGE_nginx-util=y
CONFIG_PACKAGE_openssl-util=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_uwsgi=y
CONFIG_PACKAGE_uwsgi-cgi-plugin=y
CONFIG_PACKAGE_uwsgi-luci-support=y
CONFIG_PACKAGE_uwsgi-syslog-plugin=y
CONFIG_PACKAGE_zlib=y
CONFIG_PCRE_JIT_ENABLED=y
CONFIG_TARGET_ROOTFS_PARTSIZE=220

...
Making all in docs
make[6]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/docs'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/docs'
Making all in util/bash-completion.d
make[6]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/util/bash-completion.d'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/util/bash-completion.d'
make[5]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04'
make[4]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04'
touch /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.built
removed '/home/ttw/myfile/build-v21.02.0-rc2-x64/bin/targets/x86/64/packages/grub2_2.04-3_x86_64.ipk'
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/bin/targets/x86/64/packages /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2/CONTROL /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/pkginfo
install -d -m0755 /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2/usr/sbin
install -m0755 /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-bios-setup /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2/usr/sbin/
install -d -m0755 /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2
cp -fpR /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core/boot.img /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/
cp -fpR /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core/cdboot.img /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/
sed 's#msdos1#gpt1#g' ./files/grub-early.cfg >/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-early.cfg
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/gpt-core.img at_keyboard biosdisk boot chain configfile fat linux ls part_gpt reboot serial vga
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c ./files/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/generic-core.img at_keyboard biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial vga
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c ./files/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/eltorito.img at_keyboard biosdisk boot chain configfile iso9660 linux ls part_msdos reboot serial test vga
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c ./files/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/legacy-core.img biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial vga
find /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2 -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="x86_64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="x86_64-openwrt-linux-musl-nm" STRIP="/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/ttw/myfile/build-v21.02.0-rc2-x64/scripts/strip-kmod.sh" PATCHELF="/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/patchelf" /home/ttw/myfile/build-v21.02.0-rc2-x64/scripts/rstrip.sh /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2
rstrip.sh: /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2/usr/sbin/grub-bios-setup: executable
(cd /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
install -d -m0755 /home/ttw/myfile/build-v21.02.0-rc2-x64/bin/targets/x86/64/packages
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/fakeroot /home/ttw/myfile/build-v21.02.0-rc2-x64/scripts/ipkg-build -m "" /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2 /home/ttw/myfile/build-v21.02.0-rc2-x64/bin/targets/x86/64/packages
Packaged contents of /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/ipkg-x86_64/grub2 into /home/ttw/myfile/build-v21.02.0-rc2-x64/bin/targets/x86/64/packages/grub2_2.04-3_x86_64.ipk
rm -rf /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.pkgdir/grub2.installed /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.pkgdir/grub2
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.pkgdir/grub2
install -d -m0755 /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.pkgdir/grub2/usr/sbin
install -m0755 /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-bios-setup /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.pkgdir/grub2/usr/sbin/
install -d -m0755 /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2
cp -fpR /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core/boot.img /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/
cp -fpR /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core/cdboot.img /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/
sed 's#msdos1#gpt1#g' ./files/grub-early.cfg >/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-early.cfg
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/gpt-core.img at_keyboard biosdisk boot chain configfile fat linux ls part_gpt reboot serial vga
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c ./files/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/generic-core.img at_keyboard biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial vga
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c ./files/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/eltorito.img at_keyboard biosdisk boot chain configfile iso9660 linux ls part_msdos reboot serial test vga
/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/grub-mkimage -d /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/grub-core -p /boot/grub -O i386-pc -c ./files/grub-early.cfg -o /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/image/grub2/legacy-core.img biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial vga
touch /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.pkgdir/grub2.installed
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/ttw/myfile/build-v21.02.0-rc2-x64/tmp/.root-copy.flock -c 'cp -fpR /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.04/.pkgdir/grub2/. /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/'
touch /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/stamp/.grub2_installed
echo "grub2" >> /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/pkginfo/grub2.pc.install
make[3]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/boot/grub2'
time: package/boot/grub2/pc/compile#1.79#0.12#3.18
make[3]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/boot/grub2'
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/dl
SHELL= flock /home/ttw/myfile/build-v21.02.0-rc2-x64/tmp/.grub-2.04.tar.xz.flock -c '  	/home/ttw/myfile/build-v21.02.0-rc2-x64/scripts/download.pl "/home/ttw/myfile/build-v21.02.0-rc2-x64/dl" "grub-2.04.tar.xz" "e5292496995ad42dabe843a0192cf2a2c502e7ffcc7479398232b10a472df77d" "" "@GNU/grub"    '
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/ttw/myfile/build-v21.02.0-rc2-x64/tmp/.root-copy.flock -c 'cp -fpR /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi/. /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/'
touch /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/stamp/.grub2-efi_installed
echo "grub2-efi" >> /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/pkginfo/grub2.efi.install
make[3]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/boot/grub2'
time: package/boot/grub2/efi/compile#0.26#0.05#0.42
make[3]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/libs/openssl'
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/dl
SHELL= flock /home/ttw/myfile/build-v21.02.0-rc2-x64/tmp/.openssl-1.1.1k.tar.gz.flock -c '  	/home/ttw/myfile/build-v21.02.0-rc2-x64/scripts/download.pl "/home/ttw/myfile/build-v21.02.0-rc2-x64/dl" "openssl-1.1.1k.tar.gz" "892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" "" "http://www.openssl.org/source/" "http://www.openssl.org/source/old/1.1.1/" "http://ftp.fi.muni.cz/pub/openssl/source/" "http://ftp.fi.muni.cz/pub/openssl/source/old/1.1.1/" "ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/" "ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/old/1.1.1/"    '
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/stamp
echo '1.1' | cmp -s - /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/pkginfo/libopenssl.version || { echo '1.1' > /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/pkginfo/libopenssl.version;  } 
SHELL= flock /home/ttw/myfile/build-v21.02.0-rc2-x64/tmp/.root-copy.flock -c 'cp -fpR /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/openssl-1.1.1k/.pkgdir/libopenssl/. /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/'
touch /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/root-x86/stamp/.libopenssl_installed
echo "libopenssl" >> /home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/pkginfo/openssl.default.install
make[3]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/libs/openssl'
time: package/libs/openssl/compile#0.18#0.06#0.33
make[3]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/libs/uclibc++'
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/dl
SHELL= flock /home/ttw/myfile/build-v21.02.0-rc2-x64/tmp/.uClibc++-0.2.5.tar.xz.flock -c '  	/home/ttw/myfile/build-v21.02.0-rc2-x64/scripts/download.pl "/home/ttw/myfile/build-v21.02.0-rc2-x64/dl" "uClibc++-0.2.5.tar.xz" "596fb9ed7295564ce4c70ae6076a18f92e72f70310d70c98520bbca85c77895a" "" "https://cxx.uclibc.org/src/"    '
make[3]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/libs/uclibc++'
time: package/libs/uclibc++/compile#0.13#0.00#0.24
make[3]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/libs/pcre'
mkdir -p /home/ttw/myfile/build-v21.02.0-rc2-x64/dl
SHELL= flock /home/ttw/myfile/build-v21.02.0-rc2-x64/tmp/.pcre-8.44.tar.bz2.flock -c '  	/home/ttw/myfile/build-v21.02.0-rc2-x64/scripts/download.pl "/home/ttw/myfile/build-v21.02.0-rc2-x64/dl" "pcre-8.44.tar.bz2" "19108658b23b3ec5058edc9f66ac545ea19f9537234be1ec62b714c84399366d" "" "@SF/pcre"    '
make[3]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/package/libs/pcre'
time: package/libs/pcre/compile#0.12#0.02#0.26
make[3]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/feeds/packages/net/nginx-util'
rm -f /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/.built
touch /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/.built_check
CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5=nginx-util-1.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5=nginx-util-1.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include " LDFLAGS="-L/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -znow -zrelro " make -j1 -C /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/. 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 -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5=nginx-util-1.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" 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 CROSS="x86_64-openwrt-linux-musl-" ARCH="x86_64" CMAKE_COMMAND='/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/host/bin/cmake' CMAKE_DISABLE_cmake_check_build_system=1 ;
make[4]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
make[5]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
make[6]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
make[6]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
make[6]: Entering directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
[ 25%] Building CXX object CMakeFiles/nginx-ssl-util-nopcre.dir/nginx-util.cpp.o
In file included from /home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-util.cpp:4:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:40: error: attributes at the beginning of statement are ignored [-Werror=attributes]
                 case '^': ret += '\\'; [[fallthrough]];
                                        ^
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:27: error: attributes at the beginning of statement are ignored [-Werror=attributes]
                 case '_': [[fallthrough]];
                           ^
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp: In lambda function:
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:169:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 case '^': ret += '\\'; [[fallthrough]];
                           ~~~~^~~~~~~
/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/nginx-ssl-util.hpp:170:17: note: here
                 case '_': [[fallthrough]];
                 ^~~~
cc1plus: all warnings being treated as errors
CMakeFiles/nginx-ssl-util-nopcre.dir/build.make:81: recipe for target 'CMakeFiles/nginx-ssl-util-nopcre.dir/nginx-util.cpp.o' failed
make[6]: *** [CMakeFiles/nginx-ssl-util-nopcre.dir/nginx-util.cpp.o] Error 1
make[6]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
CMakeFiles/Makefile2:96: recipe for target 'CMakeFiles/nginx-ssl-util-nopcre.dir/all' failed
make[5]: *** [CMakeFiles/nginx-ssl-util-nopcre.dir/all] Error 2
make[5]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
Makefile:148: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5'
Makefile:118: recipe for target '/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/.built' failed
make[3]: *** [/home/ttw/myfile/build-v21.02.0-rc2-x64/build_dir/target-x86_64_musl/nginx-util-1.5/.built] Error 2
make[3]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64/feeds/packages/net/nginx-util'
time: package/feeds/packages/nginx-util/compile#10.30#0.37#10.41
    ERROR: package/feeds/packages/nginx-util failed to build.
package/Makefile:112: recipe for target 'package/feeds/packages/nginx-util/compile' failed
make[2]: *** [package/feeds/packages/nginx-util/compile] Error 1
make[2]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64'
package/Makefile:108: recipe for target '/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/ttw/myfile/build-v21.02.0-rc2-x64/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ttw/myfile/build-v21.02.0-rc2-x64'
/home/ttw/myfile/build-v21.02.0-rc2-x64/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2

PR presumably not picked

Edit: @stadler ping

Thanks for the ping :slight_smile:
The fix was backported 20h ago:

Maybe it takes some time. Can you retry it and write again if it is still not working.

1 Like

Waiting may not help.
If one builds from the 21.02.0-rc2 tag, the feeds are locked to the rc2 date, so the later fixes will not propagate.
See the changes made to feeds.conf.default for rc2:

Packages feed is locked to https://git.openwrt.org/feed/packages.git^920c4f29c55d26d8d602c1357ffd6b23a0df5914
so the later fix to nginx will never get to a "rc2" build...


.

Usually it is much better to build from the HEAD of the release branch 21.02 instead, so that you get the possible later 21.02 branch fixes to the main OpenWrt plus the changes to feeds.

1 Like

I see, thank you for the explanation :slight_smile:
Do you by chance know why the [[fallthrough]]; attribute is not working anymore?

HI,this is my feeds.conf.default by 21.02.0-rc2 tag。Packages feed is locked : 920c4f29c55d26d8d602c1357ffd6b23a0df5914

src-git packages https://git.openwrt.org/feed/packages.git^920c4f29c55d26d8d602c1357ffd6b23a0df5914
src-git luci https://git.openwrt.org/project/luci.git^09329fe7bb6571032570b21541c1991a3443cc07
src-git routing https://git.openwrt.org/feed/routing.git^57533a25e84932a7e50b8483843c840f0924bc0c
src-git telephony https://git.openwrt.org/feed/telephony.git^04e1378baf2b720395d284f661240e6f7f9cab35

iirc:

git checkout openwrt-21.02

should set you to the HEAD of the latest stable rather than the 21.02.x point

1 Like

is ok,by v21.02.0-rc2 tag,thk!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.