Modify

Opened 5 years ago

Closed 5 years ago

#12575 closed defect (fixed)

ar71xx/wndr3700 build breaks at image build stage for targz related error

Reported by: hnyman <hannu.nyman@…> Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: image targz Cc:

Description

My ar71xx/wndr3700 build breaks at image build stage for targz related error. Revision 34497, build after make dirclean. Build succeeded yesterday with 34469.

dd: opening `/Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/linux-ar71xx_generic/root.targz': No such file or directory

Full error message context:

cp /Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/linux-ar71xx_generic/loader-generic.elf /Openwrt/tr
unk/bin/ar71xx/openwrt-ar71xx-generic-vmlinux-lzma.elf
mkdir -p /Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/linux-ar71xx_generic/tmp
# Preserve permissions (-p) when building as non-root user
/bin/tar -czpf /Openwrt/trunk/bin/ar71xx/openwrt-ar71xx-generic-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C /Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/root-ar71xx/ .
dd if=/Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/linux-ar71xx_generic/root.targz of=/Openwrt/trunk/bin/ar71xx/openwrt-ar71xx-generic-root.targz bs=128k conv=sync
dd: opening `/Openwrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/linux-ar71xx_generic/root.targz': No such file or directory
make[5]: *** [install] Error 1
make[5]: Leaving directory `/Openwrt/trunk/target/linux/ar71xx/image'
make[4]: *** [install] Error 2

As the reason, I suspect r34473 that changed the handling of the cpio.gz and tar.gz images.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by hnyman <hannu.nyman@…>

Reverting the tar.gz change made by r34473 makes the build to succeed.

perus@ubvb:/Openwrt/trunk/include$ svn diff image.mk 
Index: image.mk
===================================================================
--- image.mk	(revision 34497)
+++ image.mk	(working copy)
@@ -117,7 +117,6 @@
   define Image/mkfs/targz
 		# Preserve permissions (-p) when building as non-root user
 		$(TAR) -czpf $(BIN_DIR)/$(IMG_PREFIX)-rootfs.tar.gz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
-		$(call Image/Build,targz)
   endef
 endif
 

comment:2 Changed 5 years ago by hnyman <hannu.nyman@…>

This ticket could be closed, as r34498 reverted the changes made by r34473.

comment:3 Changed 5 years ago by florian

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

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.