|
各位大佬,编译原版openwrt出现这样的状况怎么解决啊!
make[7]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core”
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core”
Making all in po
make[6]: 进入目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/po”
make[6]: 对“all”无需做任何事。
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/po”
Making all in docs
make[6]: 进入目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/docs”
make[6]: 对“all”无需做任何事。
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/docs”
Making all in util/bash-completion.d
make[6]: 进入目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/util/bash-completion.d”
../../config.status --file=grub:grub-completion.bash.in
config.status: creating grub
make[6]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/util/bash-completion.d”
make[5]: 离开目录“/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04”
make[4]: Leaving directory '/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04'
touch /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.built
mkdir -p /home/canmeng/openwrt/bin/targets/x86/64/packages /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi/CONTROL /home/canmeng/openwrt/staging_dir/target-x86_64_musl/pkginfo
sed 's#msdos1#gpt1#g' ./files/grub-early.cfg >/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/bootx64.efi at_keyboard boot chain configfile fat linux ls part_gpt reboot serial efi_gop efi_uga
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c ./files/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/iso-bootx64.efi at_keyboard boot chain configfile fat iso9660 linux ls part_msdos part_gpt reboot serial test efi_gop efi_uga
find /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi -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/canmeng/openwrt/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/canmeng/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/canmeng/openwrt/staging_dir/host/bin/patchelf" /home/canmeng/openwrt/scripts/rstrip.sh /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi
(cd /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi/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 "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${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/canmeng/openwrt/bin/targets/x86/64/packages
/home/canmeng/openwrt/scripts/ipkg-build -c -o 0 -g 0 /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi /home/canmeng/openwrt/bin/targets/x86/64/packages
Packaged contents of /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/ipkg-x86_64/grub2-efi into /home/canmeng/openwrt/bin/targets/x86/64/packages/grub2-efi_2.04-3_x86_64.ipk
rm -rf /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi.installed /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi
mkdir -p /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi
sed 's#msdos1#gpt1#g' ./files/grub-early.cfg >/home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/bootx64.efi at_keyboard boot chain configfile fat linux ls part_gpt reboot serial efi_gop efi_uga
/home/canmeng/openwrt/staging_dir/host/bin/grub-mkimage -d /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/grub-core -p /boot/grub -O "x86_64"-efi -c ./files/grub-early.cfg -o /home/canmeng/openwrt/staging_dir/target-x86_64_musl/image/grub2/iso-bootx64.efi at_keyboard boot chain configfile fat iso9660 linux ls part_msdos part_gpt reboot serial test efi_gop efi_uga
touch /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi.installed
mkdir -p /home/canmeng/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /home/canmeng/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/canmeng/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-efi/grub-2.04/.pkgdir/grub2-efi/. /home/canmeng/openwrt/staging_dir/target-x86_64_musl/root-x86/'
touch /home/canmeng/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.grub2-efi_installed
echo "grub2-efi" >> /home/canmeng/openwrt/staging_dir/target-x86_64_musl/pkginfo/grub2.efi.install
make[3]: Leaving directory '/home/canmeng/openwrt/package/boot/grub2'
time: package/boot/grub2/efi/compile#126.90#39.25#152.83
make[2]: Leaving directory '/home/canmeng/openwrt'
make[1]: *** [package/Makefile:107: /home/canmeng/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/canmeng/openwrt'
make: *** [/home/canmeng/openwrt/include/toplevel.mk:235:world] 错误 2
|
|