packages
packages copied to clipboard
ERROR: package/feeds/packages/ruby [host] failed to build. ruby 3.3.4
Describe the bug
Operating System: Ubuntu 22.04.5 Memory: 16GB Space: 90GB
compiling through github action, will report this error, ruby cannot be compiled. Same process.
The error log in github action is as follows:
Applying /workdir/openwrt/feeds/helloworld/lua-neturl/patches/010-userinfo-regex.patch using plaintext:
x86_64-openwrt-linux-musl-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I../libebl -I../libasm -I../libelf -I../libdw -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Wuse-after-free=3 -Werror -Wunused -Wextra -Wstack-usage=262144 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/workdir/openwrt/build_dir/target-x86_64_musl/elfutils-0.191=elfutils-0.191 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -Wno-error=use-after-free -c -o arm_retval.o arm_retval.c
patching file lib/net/url.lua
touch /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.prepared_5dbe9ef94015a441adb6e523f2881a91_6664517399ebbbc92a37c5bb081b5c53
rm -f /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.configured_*
rm -f /workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.lua-neturl_installed
(cd /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/./; if [ -x ./configure ]; then find /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ -name config.guess | xargs -r chmod u+w; find /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ -name config.guess | xargs -r -n1 cp --remove-destination /workdir/openwrt/scripts/config.guess; find /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ -name config.sub | xargs -r chmod u+w; find /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ -name config.sub | xargs -r -n1 cp --remove-destination /workdir/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=/workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1=neturl-1.1-1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD="x86_64-openwrt-linux-musl-ld.bfd" 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=/workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1=neturl-1.1-1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1=neturl-1.1-1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify " LDFLAGS="-L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/lib -L/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro " ./configure --target=x86_64-openwrt-linux --host=x86_64-openwrt-linux --build=x86_64-pc-linux-gnu --disable-dependency-tracking --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 ; fi; )
touch /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.built
touch /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.built_check
touch /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.built
rm -rf /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.pkgdir/lua-neturl.installed /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.pkgdir/lua-neturl
mkdir -p /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.pkgdir/lua-neturl
install -d -m0755 /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.pkgdir/lua-neturl/usr/lib/lua
cp -fpR /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/lib/net/url.lua /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.pkgdir/lua-neturl/usr/lib/lua/
touch /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.pkgdir/lua-neturl.installed
mkdir -p /workdir/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
x86_64-openwrt-linux-musl-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I../libebl -I../libasm -I../libelf -I../libdw -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Wuse-after-free=3 -Werror -Wunused -Wextra -Wstack-usage=262144 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/workdir/openwrt/build_dir/target-x86_64_musl/elfutils-0.191=elfutils-0.191 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -Wno-error=use-after-free -c -o arm_cfi.o arm_cfi.c
SHELL= flock /workdir/openwrt/tmp/.root-copy.flock -c 'cp -fpR /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/.pkgdir/lua-neturl/. /workdir/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /workdir/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.lua-neturl_installed
rm -rf /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ipkg-all/lua-neturl
mkdir -p /workdir/openwrt/bin/targets/x86/64/packages /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ipkg-all/lua-neturl /workdir/openwrt/staging_dir/target-x86_64_musl/pkginfo
install -d -m0755 /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ipkg-all/lua-neturl/usr/lib/lua
cp -fpR /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/lib/net/url.lua /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ipkg-all/lua-neturl/usr/lib/lua/
find /workdir/openwrt/build_dir/target-x86_64_musl/neturl-1.1-1/ipkg-all/lua-neturl -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
x86_64-openwrt-linux-musl-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I../libebl -I../libasm -I../libelf -I../libdw -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/workdir/openwrt/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Wuse-after-free=3 -Werror -Wunused -Wextra -Wstack-usage=262144 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/workdir/openwrt/build_dir/target-x86_64_musl/elfutils-0.191=elfutils-0.191 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -Wno-error=use-after-free -c -o arm_initreg.o arm_initreg.c
make[4]: *** [Makefile:318: libruby-static.a] Aborted (core dumped)
make[4]: *** Deleting file 'libruby-static.a'
make[3]: *** [Makefile:1189: /workdir/openwrt/build_dir/hostpkg/ruby-3.3.4/.built] Error 2
make[4]: Leaving directory '/workdir/openwrt/build_dir/hostpkg/ruby-3.3.4'
make[3]: Leaving directory '/workdir/openwrt/feeds/packages/lang/ruby'
time: package/feeds/packages/ruby/host-compile#167.75#25.40#201.85
ERROR: package/feeds/packages/ruby [host] failed to build.
make[2]: *** [package/Makefile:175: package/feeds/packages/ruby/host/compile] Error 1