Modify

Opened 2 years ago

Closed 2 years ago

#20529 closed defect (fixed)

Trunk r46890 fails to build

Reported by: anonymous Owned by: developers
Priority: response-needed Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

Looks like a typo caused this:

/home/ted/openwrt/trunk/staging_dir/host/bin/tar: unrecognized option '--sort=name'

more detail below.

make[3]: Entering directory '/home/ted/openwrt/trunk/package/libs/toolchain'
mkdir -p /home/ted/openwrt/trunk/bin/brcm63xx/packages /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc/CONTROL /home/ted/openwrt/trunk/staging_dir/target-mips_mips32_musl-1.1.11/pkginfo
install -d -m0755 /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc/lib
cp -fpR /home/ted/openwrt/trunk/staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_musl-1.1.11/lib/libgcc_s.so.* /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc/lib/
find /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mips-openwrt-linux-musl-" NO_RENAME=1 ; NM="mips-openwrt-linux-musl-nm" STRIP="/home/ted/openwrt/trunk/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/ted/openwrt/trunk/scripts/strip-kmod.sh" PATCHELF="/home/ted/openwrt/trunk/staging_dir/host/bin/patchelf" /home/ted/openwrt/trunk/scripts/rstrip.sh /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc
rstrip.sh: /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc/lib/libgcc_s.so.1: shared object
(cd /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc/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 ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; )
install -d -m0755 /home/ted/openwrt/trunk/bin/brcm63xx/packages/base
/home/ted/openwrt/trunk/scripts/ipkg-build -c -o 0 -g 0 /home/ted/openwrt/trunk/build_dir/target-mips_mips32_musl-1.1.11/toolchain/ipkg-brcm63xx/libgcc /home/ted/openwrt/trunk/bin/brcm63xx/packages/base
/home/ted/openwrt/trunk/staging_dir/host/bin/tar: unrecognized option '--sort=name'
Try 'tar --help' or 'tar --usage' for more information.
Makefile:637: recipe for target '/home/ted/openwrt/trunk/bin/brcm63xx/packages/base/libgcc_4.8-linaro-1_brcm63xx.ipk' failed
make[3]: * /home/ted/openwrt/trunk/bin/brcm63xx/packages/base/libgcc_4.8-linaro-1_brcm63xx.ipk Error 64
make[3]: Leaving directory '/home/ted/openwrt/trunk/package/libs/toolchain'
package/Makefile:191: recipe for target 'package/libs/toolchain/compile' failed
make[2]:
* [package/libs/toolchain/compile] Error 2
make[2]: Leaving directory '/home/ted/openwrt/trunk'
package/Makefile:188: recipe for target '/home/ted/openwrt/trunk/staging_dir/target-mips_mips32_musl-1.1.11/stamp/.package_compile' failed
make[1]: * /home/ted/openwrt/trunk/staging_dir/target-mips_mips32_musl-1.1.11/stamp/.package_compile Error 2
make[1]: Leaving directory '/home/ted/openwrt/trunk'
/home/ted/openwrt/trunk/include/toplevel.mk:179: recipe for target 'world' failed
make:
* [world] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by jow

It seems your "tar" is too old. The "--sort" option was introduced with GNU tar v1.28

comment:2 Changed 2 years ago by jow

  • Priority changed from normal to response-needed

Trunk ships a host tar build now which should be used. Please retry after a git pull / svn up and "make tools/install".

comment:3 Changed 2 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r46982
if you had this issue, please run make tools/tar/{clean,install} after updating.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.