make[2]: Entering directory '/workspace/airoha_en7523/builds/package/system/urandom-seed' touch /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.prepared_8f62d5053612d166754705b1ca1d5e95_6664517399ebbbc92a37c5bb081b5c53_check mkdir -p /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed touch /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.prepared_8f62d5053612d166754705b1ca1d5e95_6664517399ebbbc92a37c5bb081b5c53 rm -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.configured_* rm -f /workspace/airoha_en7523/builds/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.urandom-seed_installed (cd /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/./; if [ -x ./configure ]; then find /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ -name config.guess | xargs -r chmod u+w; find /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ -name config.guess | xargs -r -n1 cp --remove-destination /workspace/airoha_en7523/builds/scripts/config.guess; find /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ -name config.sub | xargs -r chmod u+w; find /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ -name config.sub | xargs -r -n1 cp --remove-destination /workspace/airoha_en7523/builds/scripts/config.sub; AR="arm-openwrt-linux-muslgnueabi-gcc-ar" AS="ccache arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -fmacro-prefix-map=/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed=urandom-seed -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD="arm-openwrt-linux-muslgnueabi-ld.bfd" NM="arm-openwrt-linux-muslgnueabi-gcc-nm" CC="ccache arm-openwrt-linux-muslgnueabi-gcc" GCC="ccache arm-openwrt-linux-muslgnueabi-gcc" CXX="ccache arm-openwrt-linux-muslgnueabi-g++" RANLIB="arm-openwrt-linux-muslgnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-muslgnueabi-strip OBJCOPY=arm-openwrt-linux-muslgnueabi-objcopy OBJDUMP=arm-openwrt-linux-muslgnueabi-objdump SIZE=arm-openwrt-linux-muslgnueabi-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -fmacro-prefix-map=/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed=urandom-seed -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 -mfloat-abi=soft -fmacro-prefix-map=/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed=urandom-seed -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/workspace/airoha_en7523/builds/staging_dir/toolchain-arm_cortex-a7_gcc-14.3.0_musl_eabi/usr/include -I/workspace/airoha_en7523/builds/staging_dir/toolchain-arm_cortex-a7_gcc-14.3.0_musl_eabi/include -I/workspace/airoha_en7523/builds/staging_dir/toolchain-arm_cortex-a7_gcc-14.3.0_musl_eabi/include/fortify " LDFLAGS="-L/workspace/airoha_en7523/builds/staging_dir/toolchain-arm_cortex-a7_gcc-14.3.0_musl_eabi/usr/lib -L/workspace/airoha_en7523/builds/staging_dir/toolchain-arm_cortex-a7_gcc-14.3.0_musl_eabi/lib -fuse-ld=bfd -znow -zrelro " ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=aarch64-unknown-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 /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.configured_68b329da9893e34099c7d8ad5cb9c940 rm -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.built touch /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.built_check touch /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.built rm -rf /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed mkdir -p /workspace/airoha_en7523/builds/bin/targets/airoha/en7523/packages /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed /workspace/airoha_en7523/builds/staging_dir/target-arm_cortex-a7_musl_eabi/pkginfo cp -fpR ./files/* /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/ find /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf export CROSS="arm-openwrt-linux-muslgnueabi-" NO_RENAME=1 ; NM="arm-openwrt-linux-muslgnueabi-nm" STRIP="/workspace/airoha_en7523/builds/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/workspace/airoha_en7523/builds/scripts/strip-kmod.sh" PATCHELF="/workspace/airoha_en7523/builds/staging_dir/host/bin/patchelf" /workspace/airoha_en7523/builds/scripts/rstrip.sh /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed install -d -m0755 /workspace/airoha_en7523/builds/bin/packages/arm_cortex-a7/base mkdir -p /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/ mkdir -p /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/ (cd /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed; ) ( 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 'export root="${IPKG_INSTROOT}"'; echo 'export pkgname="urandom-seed"'; echo "add_group_and_user"; echo "default_postinst"; [ ! -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/postinst-pkg ] || sed '/^\s*#!/d' "/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/postinst-pkg"; ) > /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/post-install; ( echo "#!/bin/sh"; echo 'export PKG_UPGRADE=1'; [ ! -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/post-install ] || sed '/^\s*#!/d' "/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/post-install"; ) > /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/post-upgrade; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo 'export root="${IPKG_INSTROOT}"'; echo 'export pkgname="urandom-seed"'; echo "default_prerm"; [ ! -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/prerm-pkg ] || sed '/^\s*#!/d' "/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/prerm-pkg"; ) > /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/pre-deinstall; [ ! -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/postrm ] || sed -zi 's/^\s*#!/#!/' "/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/postrm"; if [ -n "" ]; then echo > /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.rusers; fi; if [ -n "" ]; then echo > /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.alternatives; fi; (cd /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed && find . -type f,l -printf "/%P\n" | sort > /workspace/airoha_en7523/builds/tmp/urandom-seed.list && mv /workspace/airoha_en7523/builds/tmp/urandom-seed.list /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.list) # Move conffiles to IDIR and build conffiles_static with csums if [ -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/conffiles ]; then mv -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/conffiles /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.conffiles; for file in $(cat /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.conffiles); do [ -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/$file ] || continue; csum=$(/workspace/airoha_en7523/builds/staging_dir/host/bin/mkhash sha256 /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/$file); echo $file $csum >> /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.conffiles_static; done; fi # Some package (base-files) manually append stuff to conffiles # Append stuff from it and delete the CONTROL directory since everything else should be migrated if [ -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/CONTROL/conffiles ]; then echo $(IDIR_urandom-seed)/CONTROL/conffiles >> /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.conffiles; for file in $(cat /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/CONTROL/conffiles); do [ -f /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/$file ] || continue; csum=$(/workspace/airoha_en7523/builds/staging_dir/host/bin/mkhash sha256 /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/$file); echo $file $csum >> /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/lib/apk/packages/urandom-seed.conffiles_static; done; rm -rf /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/CONTROL/conffiles; fi if [ -z "$(ls -A /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/CONTROL 2>/dev/null)" ]; then rm -rf /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/CONTROL; else echo "CONTROL directory /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed/CONTROL is not empty! This is not right and should be checked!" >&2; exit 1; fi /workspace/airoha_en7523/builds/staging_dir/host/bin/fakeroot /workspace/airoha_en7523/builds/staging_dir/host/bin/apk mkpkg --info "name:urandom-seed" --info "version:3" --info "description:/etc/urandom.seed handling for OpenWrt" --info "arch:arm_cortex-a7" --info "license:GPL-2.0-only" --info "origin:feeds/base/system/urandom-seed" --info "url:https://openwrt.org/" --info "maintainer:" --info "provides:urandom-seed-any" --script "post-install:/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/post-install" --script "post-upgrade:/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/post-upgrade" --script "pre-deinstall:/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/apk-arm_cortex-a7/urandom-seed/pre-deinstall" --info "depends:libc getrandom" --files "/workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/ipkg-arm_cortex-a7/urandom-seed" --output "/workspace/airoha_en7523/builds/bin/packages/arm_cortex-a7/base/urandom-seed-3.apk" rm -rf /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.pkgdir/urandom-seed.installed /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.pkgdir/urandom-seed mkdir -p /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.pkgdir/urandom-seed cp -fpR ./files/* /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.pkgdir/urandom-seed/ touch /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.pkgdir/urandom-seed.installed mkdir -p /workspace/airoha_en7523/builds/staging_dir/target-arm_cortex-a7_musl_eabi/root-airoha/stamp SHELL= flock /workspace/airoha_en7523/builds/tmp/.root-copy.flock -c 'cp -fpR /workspace/airoha_en7523/builds/build_dir/target-arm_cortex-a7_musl_eabi/urandom-seed/.pkgdir/urandom-seed/. /workspace/airoha_en7523/builds/staging_dir/target-arm_cortex-a7_musl_eabi/root-airoha/' touch /workspace/airoha_en7523/builds/staging_dir/target-arm_cortex-a7_musl_eabi/root-airoha/stamp/.urandom-seed_installed echo "urandom-seed" >> /workspace/airoha_en7523/builds/staging_dir/target-arm_cortex-a7_musl_eabi/pkginfo/urandom-seed.default.install make[2]: Leaving directory '/workspace/airoha_en7523/builds/package/system/urandom-seed' time: package/system/urandom-seed/compile#0.18#0.18#0.73