Modify

Opened 3 years ago

Closed 3 years ago

#17917 closed defect (duplicate)

build fails with jffs2 / wndr3700v4

Reported by: syzop@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

With trunk from Sep 17 building squashfs all goes well, but as soon as I enable build jffs2 then the build process fails in a cryptic way:

# append the fake rootfs image to the kernel, it will reside in the last
# erase block of the kernel partition
cat /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/tmp/fakeroot-wndr4300.uImage >> /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/tmp/vmlinux-wndr4300.uImage
# FIXME: removing this line will cause strange behaviour in the foreach loop below
/root/wifi/dev/openwrt/staging_dir/host/bin/mkfs.jffs2 --big-endian --squash-uids -v -X rtime -X lzma --compression-mode=size -x zlib -D /root/wifi/dev/openwrt/include/device_table.txt --pad -e 64KiB -o /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/root.jffs2-64k -d /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx -v 2>&1 1>/dev/null | awk '/^.+$/'
Compression mode: size
Compressors:
      none             compr: 77 blocks (49880)  decompr: 0 blocks
      zlib (prio:80) - compr: 0 blocks (0/0)  decompr: 0 blocks
      lzma (prio:70) + compr: 1622 blocks (2576882/5426626)  decompr: 0 blocks
     rtime (prio:50) + compr: 6 blocks (4260/5556)  decompr: 0 blocks
Compression errors: 0
/root/wifi/dev/openwrt/staging_dir/host/bin/mkfs.jffs2 --big-endian --squash-uids -v -X rtime -X lzma --compression-mode=size -x zlib -D /root/wifi/dev/openwrt/include/device_table.txt -e 64KiB -o /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/root.jffs2-64k-raw -d /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx -v 2>&1 1>/dev/null | awk '/^.+$/'
Compression mode: size
Compressors:
      none             compr: 77 blocks (49880)  decompr: 0 blocks
      zlib (prio:80) - compr: 0 blocks (0/0)  decompr: 0 blocks
      lzma (prio:70) + compr: 1622 blocks (2576882/5426626)  decompr: 0 blocks
     rtime (prio:50) + compr: 6 blocks (4260/5556)  decompr: 0 blocks
Compression errors: 0
echo -ne '\xde\xad\xc0\xde' >> /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/root.jffs2-64k
dd if=/root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/root.jffs2-64k of=/root/wifi/dev/openwrt/bin/ar71xx/openwrt-ar71xx-nand-root.jffs2-64k bs=128k conv=sync
21+1 records in
22+0 records out
2883584 bytes (2.9 MB) copied, 0.00157473 s, 1.8 GB/s
cp -fpR /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/root.squashfs-raw /root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/tmp/root.squashfs
cp: cannot stat `/root/wifi/dev/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_nand/root.squashfs-raw': No such file or directory
make[5]: *** [install] Error 1
make[5]: Leaving directory `/root/wifi/dev/openwrt/target/linux/ar71xx/image'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/root/wifi/dev/openwrt/target/linux/ar71xx'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/root/wifi/dev/openwrt/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/root/wifi/dev/openwrt'
make[1]: *** [/root/wifi/dev/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.target_install] Error 2
make[1]: Leaving directory `/root/wifi/dev/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by nbd

  • Resolution set to duplicate
  • 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.