Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译工具链时报错 #3787

Closed
cjkzwe opened this issue Mar 13, 2020 · 4 comments
Closed

编译工具链时报错 #3787

cjkzwe opened this issue Mar 13, 2020 · 4 comments

Comments

@cjkzwe
Copy link

cjkzwe commented Mar 13, 2020

+馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [ x] 没有类似的issue

2. 详细叙述

编译交叉编译工具时编译报错

(1) 具体问题

在Centos 9.9 Linux izx112aj3x4ytpz 3.10.0-1062.12.1.el7.x86_64 x86_64 GNU/Linux 上编译 ,
使用make menuconfig只选择 [*] Package the OpenWrt-based Toolchain
编译命令: make V=99
环境:/root/lede-master
user:root
注:已忽略root编译报警
报错如下:
......

Applying /root/lede-master/target/linux/generic/pending-4.9/680-NET-skip-GRO-for-foreign-MAC-addresses.patch using plaintext:
patching file include/linux/netdevice.h
patching file include/linux/skbuff.h
Hunk #1 succeeded at 747 with fuzz 2 (offset -10 lines).
patching file net/core/dev.c
Hunk #1 succeeded at 4572 (offset -10 lines).
Hunk #2 succeeded at 5870 (offset -10 lines).
patch: **** malformed patch at line 104: @@ -6075,6 +6121,7 @@ void netdev_upper_dev_unlink(struct net_

Patch failed! Please fix /root/lede-master/target/linux/generic/pending-4.9/680-NET-skip-GRO-for-foreign-MAC-addresses.patch!
make[3]: *** [/root/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/linux-4.9.215/.prepared] Error 1
make[3]: Leaving directory /root/lede-master/toolchain/kernel-headers' time: toolchain/kernel-headers/compile#9.15#3.28#14.20 make[2]: *** [toolchain/kernel-headers/compile] Error 2 make[2]: Leaving directory /root/lede-master'
make[1]: *** [/root/lede-master/staging_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory `/root/lede-master'
make: *** [world] Error 2

(2) 路由器型号和固件版本

(3) 详细日志

A:WARNING: Makefile 'package/lean/trojan/Makefile' has a dependency on 'boost-system', which does not exist
WARNING: Makefile 'package/lean/trojan/Makefile' has a dependency on 'boost-program_options', which does not exist
WARNING: Makefile 'package/lean/trojan/Makefile' has a dependency on 'boost-date_time', which does not exist
WARNING: Makefile 'package/lean/UnblockNeteaseMusic/Makefile' has a dependency on 'node', which does not exist
WARNING: Makefile 'package/lean/UnblockNeteaseMusicGo/Makefile' has a build dependency on 'golang/host', which does not exist
WARNING: Makefile 'package/lean/v2ray/Makefile' has a build dependency on 'golang/host', which does not exist
WARNING: Makefile 'package/lean/v2ray-plugin/Makefile' has a build dependency on 'golang/host', which does not exist
WARNING: Makefile 'package/lean/wxbase/Makefile' has a dependency on 'libexpat', which does not exist
make[1]: Entering directory /root/lede-master' make[2]: Entering directory /root/lede-master'

  • mkdir -p /root/lede-master/staging_dir/target-mipsel_mips32_musl
  • cd /root/lede-master/staging_dir/target-mipsel_mips32_musl
  • mkdir -p bin lib include stamp
    mkdir -p /root/lede-master/build_dir/target-mipsel_mips32_musl/stamp
    touch /root/lede-master/staging_dir/target-mipsel_mips32_musl/.prepared
    make[3]: Entering directory /root/lede-master/toolchain/gdb' make[3]: Nothing to be done for compile'.
    make[3]: Leaving directory /root/lede-master/toolchain/gdb' time: toolchain/gdb/compile#0.00#0.00#0.01 make[3]: Entering directory /root/lede-master/toolchain/binutils'
    make[3]: Nothing to be done for compile'. make[3]: Leaving directory /root/lede-master/toolchain/binutils'
    time: toolchain/binutils/compile#0.00#0.00#0.01
    make[3]: Entering directory /root/lede-master/toolchain/gcc/initial' make[3]: Nothing to be done for compile'.
    make[3]: Leaving directory /root/lede-master/toolchain/gcc/initial' time: toolchain/gcc/initial/compile#0.00#0.00#0.01 make[3]: Entering directory /root/lede-master/toolchain/kernel-headers'
    rm -rf /root/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/linux-*
    xzcat /root/lede-master/dl/linux-4.9.215.tar.xz | tar -C /root/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl -xf -
    cp -fpR "/root/lede-master/target/linux/generic/files"/. /root/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/linux-4.9.215/
    find /root/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/linux-4.9.215/ -name *.rej -or -name *.orig | xargs -r rm -f
    if [ -d /root/lede-master/target/linux/generic/patches ]; then echo "generic patches directory is present. please move your patches to the pending directory" ; exit 1; fi

Applying /root/lede-master/target/linux/generic/backport-4.9/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch using plaintext:
patching file scripts/ld-version.sh

Applying /root/lede-master/target/linux/generic/backport-4.9/011-kbuild-export-SUBARCH.patch using plaintext:
patching file Makefile

Applying /root/lede-master/target/linux/generic/backport-4.9/012-kbuild-add-macro-for-controlling-warnings-to-linux-c.patch using plaintext:
patching file include/linux/compiler-gcc.h
patching file include/linux/compiler.h

Applying /root/lede-master/target/linux/generic/backport-4.9/013-disable-Wattribute-alias-warning-for-SYSCALL_DEFINEx.patch using plaintext:
patching file include/linux/compat.h
patching file include/linux/syscalls.h

Applying /root/lede-master/target/linux/generic/backport-4.9/020-backport_netfilter_rtcache.patch using plaintext:
patching file include/net/netfilter/nf_conntrack_extend.h
patching file include/net/netfilter/nf_conntrack_rtcache.h
patching file net/netfilter/Kconfig
patching file net/netfilter/Makefile
patching file net/netfilter/nf_conntrack_rtcache.c

Applying /root/lede-master/target/linux/generic/backport-4.9/021-bridge-multicast-to-unicast.patch using plaintext:
patching file include/linux/if_bridge.h
patching file include/uapi/linux/if_link.h
patching file net/bridge/br_forward.c
patching file net/bridge/br_mdb.c
patching file net/bridge/br_multicast.c
patching file net/bridge/br_netlink.c
patching file net/bridge/br_private.h
patching file net/bridge/br_sysfs_if.c

Applying /root/lede-master/target/linux/generic/backport-4.9/022-net-add-devm-version-of-alloc_etherdev_mqs-function.patch using plaintext:
patching file include/linux/etherdevice.h
patching file net/ethernet/eth.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch using plaintext:
patching file include/linux/tcp.h
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-2-tcp-tsq-remove-one-locked-operation-in-tcp_wfree.patch using plaintext:
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-3-tcp-tsq-add-shortcut-in-tcp_tasklet_func.patch using plaintext:
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-4-tcp-tsq-avoid-one-atomic-in-tcp_wfree.patch using plaintext:
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-5-tcp-tsq-add-a-shortcut-in-tcp_small_queue_check.patch using plaintext:
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-6-tcp-tcp_mtu_probe-is-likely-to-exit-early.patch using plaintext:
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-7-net-reorganize-struct-sock-for-better-data-locality.patch using plaintext:
patching file include/net/sock.h

Applying /root/lede-master/target/linux/generic/backport-4.9/024-8-tcp-tsq-move-tsq_flags-close-to-sk_wmem_alloc.patch using plaintext:
patching file include/linux/tcp.h
patching file net/ipv4/tcp.c
patching file net/ipv4/tcp_ipv4.c
patching file net/ipv4/tcp_output.c
patching file net/ipv4/tcp_timer.c
patching file net/ipv6/tcp_ipv6.c

Applying /root/lede-master/target/linux/generic/backport-4.9/024-9-tcp-add-a-missing-barrier-in-tcp_tasklet_func.patch using plaintext:
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch using plaintext:
patching file include/net/sock.h
patching file net/core/sock.c
patching file net/ipv4/tcp_output.c

Applying /root/lede-master/target/linux/generic/backport-4.9/030-01-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch using plaintext:
patching file fs/ubifs/io.c
patching file fs/ubifs/ubifs.h

Applying /root/lede-master/target/linux/generic/backport-4.9/030-02-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch using plaintext:
patching file fs/ubifs/io.c
patching file fs/ubifs/ubifs.h

Applying /root/lede-master/target/linux/generic/backport-4.9/040-mm-add-support-for-releasing-multiple-instances-of-a.patch using plaintext:
patching file include/linux/gfp.h
patching file mm/page_alloc.c

Applying /root/lede-master/target/linux/generic/backport-4.9/041-mm-rename-__alloc_page_frag-to-page_frag_alloc-and-_.patch using plaintext:
patching file include/linux/gfp.h
patching file include/linux/skbuff.h
patching file mm/page_alloc.c
patching file net/core/skbuff.c

Applying /root/lede-master/target/linux/generic/backport-4.9/042-mm-rename-__page_frag-functions-to-__page_frag_cache.patch using plaintext:
patching file include/linux/gfp.h
patching file mm/page_alloc.c

Applying /root/lede-master/target/linux/generic/backport-4.9/060-0002-mtd-bcm47xxsflash-use-platform_-set-get-_drvdata.patch using plaintext:
patching file drivers/mtd/devices/bcm47xxsflash.c
patching file include/linux/bcma/bcma_driver_chipcommon.h

Applying /root/lede-master/target/linux/generic/backport-4.9/060-0003-mtd-bcm47xxsflash-support-reading-flash-out-of-mappi.patch using plaintext:
patching file drivers/mtd/devices/bcm47xxsflash.c
patching file drivers/mtd/devices/bcm47xxsflash.h

Applying /root/lede-master/target/linux/generic/backport-4.9/060-0004-mtd-bcm47xxpart-move-TRX-parsing-code-to-separated-f.patch using plaintext:
patching file drivers/mtd/bcm47xxpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/060-0005-mtd-bcm47xxpart-support-layouts-with-multiple-TRX-pa.patch using plaintext:
patching file drivers/mtd/bcm47xxpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/061-v4.10-0001-mtd-spi-nor-add-Macronix-mx25u25635f-to-list-of-know.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/061-v4.10-0002-mtd-spi-nor-fix-spansion-quad-enable.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/061-v4.10-0003-mtd-spi-nor-fix-flags-for-s25fl128s.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/061-v4.10-0004-mtd-spi-nor-add-support-for-s25fl208k.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/061-v4.10-0005-mtd-spi-nor-Add-at25df321-spi-nor-flash-support.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/061-v4.10-0006-mtd-spi-nor-Add-support-for-N25Q016A.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/061-v4.10-0007-mtd-spi-nor-Add-support-for-mr25h40.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0001-mtd-spi-nor-Add-support-for-S3AN-spi-nor-devices.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c
patching file include/linux/mtd/spi-nor.h

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0002-mtd-spi-nor-improve-macronix_quad_enable.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0003-mtd-spi-nor-remove-WARN_ONCE-message-in-spi_nor_writ.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0004-mtd-spi-nor-rename-SPINOR_OP_-macros-of-the-4-byte-a.patch using plaintext:
patching file drivers/mtd/devices/serial_flash_cmds.h
patching file drivers/mtd/devices/st_spi_fsm.c
patching file drivers/mtd/spi-nor/spi-nor.c
patching file drivers/spi/spi-bcm-qspi.c
patching file include/linux/mtd/spi-nor.h

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0005-mtd-spi-nor-add-a-stateless-method-to-support-memory.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0006-mtd-spi-nor-Add-lock-unlock-support-for-f25l32pa.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0007-mtd-spi-nor-Fix-S3AN-addressing-calculation.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/062-v4.11-0008-mtd-spi-nor-Add-support-for-gd25q16.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/063-v4.11-0001-mtd-nand-Add-Winbond-manufacturer-id.patch using plaintext:
patching file drivers/mtd/nand/nand_ids.c
patching file include/linux/mtd/nand.h

Applying /root/lede-master/target/linux/generic/backport-4.9/063-v4.11-0002-mtd-introduce-function-max_bad_blocks.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/mtd.h

Applying /root/lede-master/target/linux/generic/backport-4.9/063-v4.11-0003-mtd-Add-partition-device-node-to-mtd-partition-devic.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file drivers/mtd/ofpart.c
patching file include/linux/mtd/partitions.h

Applying /root/lede-master/target/linux/generic/backport-4.9/064-v4.12-mtd-spi-nor-enable-stateless-4b-op-codes-for-mx25u25.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0001-mtd-handle-partitioning-on-devices-with-0-erasesize.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0002-mtd-partitions-factor-out-code-calling-parser.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0003-mtd-partitions-add-helper-for-deleting-partition.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0004-mtd-partitions-remove-sysfs-files-when-deleting-all-.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0005-mtd-partitions-rename-master-to-the-parent-where-app.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0006-mtd-partitions-add-support-for-subpartitions.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0007-mtd-partitions-add-support-for-partition-parsers.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/partitions.h

Applying /root/lede-master/target/linux/generic/backport-4.9/065-v4.13-0008-mtd-extract-TRX-parser-out-of-bcm47xxpart-into-a-sep.patch using plaintext:
patching file drivers/mtd/Kconfig
patching file drivers/mtd/Makefile
patching file drivers/mtd/bcm47xxpart.c
patching file drivers/mtd/parsers/Kconfig
patching file drivers/mtd/parsers/Makefile
patching file drivers/mtd/parsers/parser_trx.c

Applying /root/lede-master/target/linux/generic/backport-4.9/066-v4.17-0001-mtd-move-code-adding-master-MTD-out-of-mtd_add_devic.patch using plaintext:
patching file drivers/mtd/mtdcore.c

Applying /root/lede-master/target/linux/generic/backport-4.9/066-v4.17-0002-mtd-get-rid-of-the-mtd_add_device_partitions.patch using plaintext:
patching file drivers/mtd/mtdcore.c

Applying /root/lede-master/target/linux/generic/backport-4.9/067-v4.17-0001-mtd-partitions-add-of_match_table-parser-matching-fo.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/partitions.h

Applying /root/lede-master/target/linux/generic/backport-4.9/067-v4.17-0002-mtd-rename-ofpart-parser-to-fixed-partitions-as-it-f.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file drivers/mtd/ofpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/067-v4.17-0003-mtd-ofpart-add-of_match_table-with-fixed-partitions.patch using plaintext:
patching file drivers/mtd/ofpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/068-v4.18-0001-mtd-move-code-adding-registering-partitions-to-the-p.patch using plaintext:
patching file drivers/mtd/mtdcore.c
patching file drivers/mtd/mtdcore.h
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/069-v4.18-mtd-bcm47xxpart-improve-handling-TRX-partition-size.patch using plaintext:
patching file drivers/mtd/bcm47xxpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/070-bcma-from-4.11.patch using plaintext:
patching file drivers/bcma/main.c

Applying /root/lede-master/target/linux/generic/backport-4.9/071-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch using plaintext:
patching file drivers/net/ethernet/broadcom/bgmac-bcma.c
patching file drivers/net/ethernet/broadcom/bgmac-platform.c
patching file drivers/net/ethernet/broadcom/bgmac.c
patching file drivers/net/ethernet/broadcom/bgmac.h

Applying /root/lede-master/target/linux/generic/backport-4.9/071-v4.10-0002-net-bgmac-drop-struct-bcma_mdio-we-don-t-need-anymor.patch using plaintext:
patching file drivers/net/ethernet/broadcom/bgmac-bcma.c
patching file drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c
patching file drivers/net/ethernet/broadcom/bgmac.h

Applying /root/lede-master/target/linux/generic/backport-4.9/071-v4.10-0003-net-bgmac-use-PHY-subsystem-for-initializing-PHY.patch using plaintext:
patching file drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c

Applying /root/lede-master/target/linux/generic/backport-4.9/071-v4.15-0001-net-bgmac-enable-master-mode-for-BCM54210E-and-B5021.patch using plaintext:
patching file drivers/net/ethernet/broadcom/bgmac-bcma.c

Applying /root/lede-master/target/linux/generic/backport-4.9/072-bcma-from-4.12.patch using plaintext:
patching file drivers/bcma/driver_gpio.c
patching file drivers/bcma/main.c

Applying /root/lede-master/target/linux/generic/backport-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch using plaintext:
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/075-v4.10-0002-net-phy-broadcom-Add-support-for-BCM54612E.patch using plaintext:
patching file drivers/net/phy/broadcom.c
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/075-v4.10-0003-net-phy-broadcom-add-bcm54xx_auxctl_read.patch using plaintext:
patching file drivers/net/phy/broadcom.c
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/075-v4.10-0004-net-phy-broadcom-Add-BCM54810-PHY-entry.patch using plaintext:
patching file drivers/net/phy/broadcom.c
patching file drivers/net/phy/Kconfig
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/075-v4.10-0005-net-phy-broadcom-Move-bcm54xx_auxctl_-read-write-to-.patch using plaintext:
patching file drivers/net/phy/bcm-phy-lib.c
patching file drivers/net/phy/bcm-phy-lib.h
patching file drivers/net/phy/broadcom.c

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.11-0001-net-phy-broadcom-Allow-enabling-or-disabling-of-EEE.patch using plaintext:
patching file drivers/net/phy/bcm7xxx.c
patching file drivers/net/phy/bcm-cygnus.c
patching file drivers/net/phy/bcm-phy-lib.c
patching file drivers/net/phy/bcm-phy-lib.h

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.11-0002-net-phy-broadcom-Add-support-code-for-reading-PHY-co.patch using plaintext:
patching file drivers/net/phy/bcm-phy-lib.c
patching file drivers/net/phy/bcm-phy-lib.h
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.11-0003-net-phy-bcm7xxx-Add-entry-for-BCM7278.patch using plaintext:
patching file drivers/net/phy/bcm7xxx.c
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.11-0004-net-phy-bcm7xxx-Implement-EGPHY-workaround-for-7278.patch using plaintext:
patching file drivers/net/phy/bcm7xxx.c

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.11-0005-net-phy-broadcom-use-auxctl-reading-helper-in-BCM546.patch using plaintext:
patching file drivers/net/phy/broadcom.c
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.11-0006-net-phy-broadcom-add-support-for-BCM54210E.patch using plaintext:
patching file drivers/net/phy/broadcom.c
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.11-0007-net-phy-broadcom-rehook-BCM54612E-specific-init.patch using plaintext:
patching file drivers/net/phy/broadcom.c

Applying /root/lede-master/target/linux/generic/backport-4.9/076-v4.15-0001-net-phy-broadcom-support-new-device-flag-for-setting.patch using plaintext:
patching file drivers/net/phy/broadcom.c
patching file include/linux/brcmphy.h

Applying /root/lede-master/target/linux/generic/backport-4.9/080-0001-leds-core-add-OF-variants-of-LED-registering-functio.patch using plaintext:
patching file drivers/leds/led-class.c
patching file include/linux/leds.h

Applying /root/lede-master/target/linux/generic/backport-4.9/080-0002-leds-gpio-use-OF-variant-of-LED-registering-function.patch using plaintext:
patching file drivers/leds/leds-gpio.c

Applying /root/lede-master/target/linux/generic/backport-4.9/081-0001-thermal-bcm2835-add-thermal-driver-for-bcm2835-SoC.patch using plaintext:
patching file drivers/thermal/Kconfig
patching file drivers/thermal/Makefile
patching file drivers/thermal/bcm2835_thermal.c

Applying /root/lede-master/target/linux/generic/backport-4.9/081-0002-thermal-broadcom-add-Northstar-thermal-driver.patch using plaintext:
patching file drivers/thermal/Kconfig
patching file drivers/thermal/Makefile
patching file drivers/thermal/broadcom/Kconfig
patching file drivers/thermal/broadcom/Makefile
patching file drivers/thermal/broadcom/ns-thermal.c

Applying /root/lede-master/target/linux/generic/backport-4.9/082-0001-usb-core-read-USB-ports-from-DT-in-the-usbport-LED-t.patch using plaintext:
patching file drivers/usb/core/ledtrig-usbport.c

Applying /root/lede-master/target/linux/generic/backport-4.9/085-v4.16-0001-i2c-gpio-Enable-working-over-slow-can_sleep-GPIOs.patch using plaintext:
patching file drivers/i2c/busses/i2c-gpio.c

Applying /root/lede-master/target/linux/generic/backport-4.9/087-regmap-make-LZO-cache-optional.patch using plaintext:
patching file drivers/base/regmap/Kconfig
patching file drivers/base/regmap/Makefile
patching file drivers/base/regmap/regcache.c

Applying /root/lede-master/target/linux/generic/backport-4.9/090-net-generalize-napi_complete_done.patch using plaintext:
patching file drivers/net/can/at91_can.c
patching file drivers/net/can/c_can/c_can.c
patching file drivers/net/can/flexcan.c
patching file drivers/net/can/ifi_canfd/ifi_canfd.c
patching file drivers/net/can/janz-ican3.c
patching file drivers/net/can/m_can/m_can.c
patching file drivers/net/can/rcar/rcar_can.c
patching file drivers/net/can/rcar/rcar_canfd.c
patching file drivers/net/can/xilinx_can.c
patching file drivers/net/ethernet/3com/typhoon.c
patching file drivers/net/ethernet/adi/bfin_mac.c
patching file drivers/net/ethernet/agere/et131x.c
patching file drivers/net/ethernet/altera/altera_tse_main.c
patching file drivers/net/ethernet/apm/xgene/xgene_enet_main.c
patching file drivers/net/ethernet/arc/emac_main.c
patching file drivers/net/ethernet/atheros/alx/main.c
patching file drivers/net/ethernet/atheros/atl1c/atl1c_main.c
patching file drivers/net/ethernet/atheros/atl1e/atl1e_main.c
patching file drivers/net/ethernet/atheros/atlx/atl1.c
patching file drivers/net/ethernet/broadcom/b44.c
patching file drivers/net/ethernet/broadcom/bcm63xx_enet.c
patching file drivers/net/ethernet/broadcom/bgmac.c
patching file drivers/net/ethernet/broadcom/bnx2.c
patching file drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
patching file drivers/net/ethernet/broadcom/bnxt/bnxt.c
patching file drivers/net/ethernet/broadcom/sb1250-mac.c
patching file drivers/net/ethernet/brocade/bna/bnad.c
patching file drivers/net/ethernet/cadence/macb.c
patching file drivers/net/ethernet/calxeda/xgmac.c
patching file drivers/net/ethernet/cavium/liquidio/lio_main.c
patching file drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
patching file drivers/net/ethernet/cavium/thunder/nicvf_main.c
patching file drivers/net/ethernet/chelsio/cxgb/sge.c
patching file drivers/net/ethernet/chelsio/cxgb3/sge.c
patching file drivers/net/ethernet/chelsio/cxgb4vf/sge.c
patching file drivers/net/ethernet/cisco/enic/enic_main.c
patching file drivers/net/ethernet/dec/tulip/interrupt.c
patching file drivers/net/ethernet/dnet.c
patching file drivers/net/ethernet/emulex/benet/be_main.c
patching file drivers/net/ethernet/ethoc.c
patching file drivers/net/ethernet/ezchip/nps_enet.c
patching file drivers/net/ethernet/freescale/fec_main.c
patching file drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
patching file drivers/net/ethernet/freescale/gianfar.c
patching file drivers/net/ethernet/freescale/ucc_geth.c
patching file drivers/net/ethernet/hisilicon/hip04_eth.c
patching file drivers/net/ethernet/hisilicon/hisi_femac.c
patching file drivers/net/ethernet/hisilicon/hix5hd2_gmac.c
patching file drivers/net/ethernet/ibm/ibmveth.c
patching file drivers/net/ethernet/ibm/ibmvnic.c
patching file drivers/net/ethernet/intel/e100.c
patching file drivers/net/ethernet/intel/ixgb/ixgb_main.c
patching file drivers/net/ethernet/korina.c
patching file drivers/net/ethernet/lantiq_etop.c
patching file drivers/net/ethernet/marvell/mv643xx_eth.c
patching file drivers/net/ethernet/marvell/mvneta.c
patching file drivers/net/ethernet/marvell/mvpp2.c
patching file drivers/net/ethernet/marvell/pxa168_eth.c
patching file drivers/net/ethernet/moxa/moxart_ether.c
patching file drivers/net/ethernet/myricom/myri10ge/myri10ge.c
patching file drivers/net/ethernet/natsemi/natsemi.c
patching file drivers/net/ethernet/neterion/s2io.c
patching file drivers/net/ethernet/neterion/vxge/vxge-main.c
patching file drivers/net/ethernet/nvidia/forcedeth.c
patching file drivers/net/ethernet/nxp/lpc_eth.c
patching file drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
patching file drivers/net/ethernet/pasemi/pasemi_mac.c
patching file drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
patching file drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
patching file drivers/net/ethernet/qlogic/qlge/qlge_main.c
patching file drivers/net/ethernet/qualcomm/emac/emac.c
patching file drivers/net/ethernet/realtek/r8169.c
patching file drivers/net/ethernet/rocker/rocker_main.c
patching file drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
patching file drivers/net/ethernet/sfc/efx.c
patching file drivers/net/ethernet/smsc/smsc9420.c
patching file drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
patching file drivers/net/ethernet/sun/niu.c
patching file drivers/net/ethernet/sun/sungem.c
patching file drivers/net/ethernet/sun/sunvnet_common.c
patching file drivers/net/ethernet/tehuti/tehuti.c
patching file drivers/net/ethernet/ti/cpsw.c
patching file drivers/net/ethernet/ti/davinci_emac.c
patching file drivers/net/ethernet/ti/netcp_core.c
patching file drivers/net/ethernet/tile/tilegx.c
patching file drivers/net/ethernet/tile/tilepro.c
patching file drivers/net/ethernet/toshiba/ps3_gelic_net.c
patching file drivers/net/ethernet/toshiba/spider_net.c
patching file drivers/net/ethernet/toshiba/tc35815.c
patching file drivers/net/ethernet/tundra/tsi108_eth.c
patching file drivers/net/ethernet/via/via-rhine.c
patching file drivers/net/ethernet/via/via-velocity.c
patching file drivers/net/ethernet/wiznet/w5100.c
patching file drivers/net/ethernet/wiznet/w5300.c
patching file drivers/net/fjes/fjes_main.c
patching file drivers/net/vmxnet3/vmxnet3_drv.c
patching file drivers/net/wan/fsl_ucc_hdlc.c
patching file drivers/net/wan/hd64572.c
patching file drivers/net/wireless/ath/ath10k/pci.c
patching file drivers/net/wireless/ath/wil6210/netdev.c
patching file drivers/net/xen-netback/interface.c
patching file drivers/net/xen-netfront.c
patching file drivers/staging/octeon/ethernet-rx.c
patching file drivers/staging/unisys/visornic/visornic_main.c

Applying /root/lede-master/target/linux/generic/backport-4.9/094-v4.12-0001-ip6_tunnel-Fix-missing-tunnel-encapsulation-limit-op.patch using plaintext:
patching file net/ipv6/ip6_tunnel.c

Applying /root/lede-master/target/linux/generic/backport-4.9/094-v4.12-0002-ipv6-Need-to-export-ipv6_push_frag_opts-for-tunnelin.patch using plaintext:
patching file net/ipv6/exthdrs.c

Applying /root/lede-master/target/linux/generic/backport-4.9/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch using plaintext:
patching file include/uapi/linux/in.h
patching file net/ipv4/devinet.c
patching file net/ipv4/ipconfig.c

Applying /root/lede-master/target/linux/generic/backport-4.9/095-v4.13-0001-rtc-ds1307-add-ds1308-variant.patch using plaintext:
patching file drivers/rtc/rtc-ds1307.c

Applying /root/lede-master/target/linux/generic/backport-4.9/096-v4.20-netfilter-ipv6-Preserve-link-scope-traffic-original-.patch using plaintext:
patching file net/ipv6/netfilter.c

Applying /root/lede-master/target/linux/generic/backport-4.9/101-arm-cns3xxx-use-actual-size-reads-for-PCIe.patch using plaintext:
patching file arch/arm/mach-cns3xxx/pcie.c

Applying /root/lede-master/target/linux/generic/backport-4.9/400-v4.16-leds-trigger-Introduce-a-NETDEV-trigger.patch using plaintext:
patching file Documentation/ABI/testing/sysfs-class-led-trigger-netdev
patching file drivers/leds/trigger/Kconfig
patching file drivers/leds/trigger/Makefile
patching file drivers/leds/trigger/ledtrig-netdev.c

Applying /root/lede-master/target/linux/generic/backport-4.9/400-v4.18-mtd-bcm47xxpart-add-of_match_table-with-a-new-DT-bin.patch using plaintext:
patching file drivers/mtd/bcm47xxpart.c

Applying /root/lede-master/target/linux/generic/backport-4.9/401-v4.19-mtd-parsers-trx-add-of_match_table-with-the-new-DT-b.patch using plaintext:
patching file drivers/mtd/parsers/parser_trx.c

Applying /root/lede-master/target/linux/generic/backport-4.9/402-v4.19-mtd-partitions-use-DT-info-for-parsing-partitions-wi.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/pending-4.9/100-MIPS-fix-cache-flushing-for-highmem-pages.patch using plaintext:
patching file arch/mips/mm/cache.c

Applying /root/lede-master/target/linux/generic/pending-4.9/110-ehci_hcd_ignore_oc.patch using plaintext:
patching file drivers/usb/host/ehci-hcd.c
patching file drivers/usb/host/ehci-hub.c
patching file drivers/usb/host/ehci-platform.c
patching file drivers/usb/host/ehci.h
patching file include/linux/usb/ehci_pdriver.h

Applying /root/lede-master/target/linux/generic/pending-4.9/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch using plaintext:
patching file mm/page_alloc.c

Applying /root/lede-master/target/linux/generic/pending-4.9/130-add-linux-spidev-compatible-si3210.patch using plaintext:
patching file drivers/spi/spidev.c

Applying /root/lede-master/target/linux/generic/pending-4.9/131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch using plaintext:
patching file drivers/spi/spi.c

Applying /root/lede-master/target/linux/generic/pending-4.9/140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch using plaintext:
patching file fs/jffs2/dir.c

Applying /root/lede-master/target/linux/generic/pending-4.9/141-jffs2-add-RENAME_EXCHANGE-support.patch using plaintext:
patching file fs/jffs2/dir.c

Applying /root/lede-master/target/linux/generic/pending-4.9/150-bridge_allow_receiption_on_disabled_port.patch using plaintext:
patching file net/bridge/br_input.c

Applying /root/lede-master/target/linux/generic/pending-4.9/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch using plaintext:
patching file Documentation/devicetree/bindings/mtd/nand.txt
patching file drivers/mtd/maps/physmap_of.c
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/pending-4.9/170-MIPS-PCI-add-controllers-before-the-specified-head.patch using plaintext:
patching file arch/mips/pci/pci-legacy.c

Applying /root/lede-master/target/linux/generic/pending-4.9/180-net-phy-at803x-add-support-for-AT8032.patch using plaintext:
patching file drivers/net/phy/at803x.c

Applying /root/lede-master/target/linux/generic/pending-4.9/190-2-5-e1000e-Fix-wrong-comment-related-to-link-detection.patch using plaintext:
patching file drivers/net/ethernet/intel/e1000e/netdev.c

Applying /root/lede-master/target/linux/generic/pending-4.9/201-extra_optimization.patch using plaintext:
patching file Makefile

Applying /root/lede-master/target/linux/generic/pending-4.9/203-kallsyms_uncompressed.patch using plaintext:
patching file init/Kconfig
patching file kernel/kallsyms.c
patching file scripts/kallsyms.c
patching file scripts/link-vmlinux.sh

Applying /root/lede-master/target/linux/generic/pending-4.9/205-backtrace_module_info.patch using plaintext:
patching file lib/vsprintf.c

Applying /root/lede-master/target/linux/generic/pending-4.9/220-optimize_inlining.patch using plaintext:
patching file arch/x86/Kconfig.debug
patching file lib/Kconfig.debug
patching file arch/x86/Kconfig
patching file include/linux/compiler-gcc.h

Applying /root/lede-master/target/linux/generic/pending-4.9/240-remove-unsane-filenames-from-deps_initramfs-list.patch using plaintext:
patching file usr/Makefile

Applying /root/lede-master/target/linux/generic/pending-4.9/261-enable_wilink_platform_without_drivers.patch using plaintext:
patching file drivers/net/wireless/ti/Kconfig

Applying /root/lede-master/target/linux/generic/pending-4.9/300-mips_expose_boot_raw.patch using plaintext:
patching file arch/mips/Kconfig

Applying /root/lede-master/target/linux/generic/pending-4.9/302-mips_no_branch_likely.patch using plaintext:
patching file arch/mips/Makefile

Applying /root/lede-master/target/linux/generic/pending-4.9/304-mips_disable_fpu.patch using plaintext:
patching file arch/mips/Kconfig
patching file arch/mips/Makefile
patching file arch/mips/include/asm/fpu.h
patching file arch/mips/include/asm/fpu_emulator.h
patching file arch/mips/include/asm/dsemul.h

Applying /root/lede-master/target/linux/generic/pending-4.9/305-mips_module_reloc.patch using plaintext:
patching file arch/mips/Makefile
patching file arch/mips/include/asm/module.h
patching file arch/mips/kernel/module.c

Applying /root/lede-master/target/linux/generic/pending-4.9/306-mips_mem_functions_performance.patch using plaintext:
patching file arch/mips/boot/compressed/Makefile
patching file arch/mips/include/asm/string.h
patching file arch/mips/lib/Makefile
patching file arch/mips/lib/memcmp.c

Applying /root/lede-master/target/linux/generic/pending-4.9/307-mips_highmem_offset.patch using plaintext:
patching file arch/mips/include/asm/mach-generic/spaces.h

Applying /root/lede-master/target/linux/generic/pending-4.9/308-mips32r2_tune.patch using plaintext:
patching file arch/mips/Makefile

Applying /root/lede-master/target/linux/generic/pending-4.9/309-MIPS-Add-CPU-option-reporting-to-proc-cpuinfo.patch using plaintext:
patching file arch/mips/kernel/proc.c

Applying /root/lede-master/target/linux/generic/pending-4.9/310-arm_module_unresolved_weak_sym.patch using plaintext:
patching file arch/arm/kernel/module.c

Applying /root/lede-master/target/linux/generic/pending-4.9/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch using plaintext:
patching file arch/mips/kernel/machine_kexec.c
patching file arch/mips/kernel/machine_kexec.h
patching file arch/mips/kernel/relocate_kernel.S

Applying /root/lede-master/target/linux/generic/pending-4.9/332-arc-add-OWRTDTB-section.patch using plaintext:
patching file arch/arc/kernel/head.S
patching file arch/arc/kernel/setup.c
patching file arch/arc/kernel/vmlinux.lds.S

Applying /root/lede-master/target/linux/generic/pending-4.9/333-arc-enable-unaligned-access-in-kernel-mode.patch using plaintext:
patching file arch/arc/kernel/unaligned.c

Applying /root/lede-master/target/linux/generic/pending-4.9/340-MIPS-mm-remove-mips_dma_mapping_error.patch using plaintext:
patching file arch/mips/mm/dma-default.c

Applying /root/lede-master/target/linux/generic/pending-4.9/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch using plaintext:
patching file arch/mips/Kconfig
patching file arch/mips/mm/dma-default.c

Applying /root/lede-master/target/linux/generic/pending-4.9/343-MIPS-ath79-Fix-potentially-missed-IRQ-handling-durin.patch using plaintext:
patching file arch/mips/ath79/irq.c

Applying /root/lede-master/target/linux/generic/pending-4.9/400-mtd-add-rootfs-split-support.patch using plaintext:
patching file drivers/mtd/Kconfig
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/partitions.h

Applying /root/lede-master/target/linux/generic/pending-4.9/401-mtd-add-support-for-different-partition-parser-types.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/partitions.h

Applying /root/lede-master/target/linux/generic/pending-4.9/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/partitions.h

Applying /root/lede-master/target/linux/generic/pending-4.9/403-mtd-hook-mtdsplit-to-Kbuild.patch using plaintext:
patching file drivers/mtd/Kconfig
patching file drivers/mtd/Makefile

Applying /root/lede-master/target/linux/generic/pending-4.9/404-mtd-add-more-helper-functions.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/mtd.h
patching file include/linux/mtd/partitions.h

Applying /root/lede-master/target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch using plaintext:
patching file drivers/mtd/mtdpart.c
patching file include/linux/mtd/mtd.h

Applying /root/lede-master/target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch using plaintext:
patching file drivers/mtd/mtdpart.c

Applying /root/lede-master/target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch using plaintext:
patching file drivers/mtd/redboot.c

Applying /root/lede-master/target/linux/generic/pending-4.9/420-mtd-redboot_space.patch using plaintext:
patching file drivers/mtd/redboot.c
Hunk #1 succeeded at 266 (offset 1 line).

Applying /root/lede-master/target/linux/generic/pending-4.9/430-mtd-add-myloader-partition-parser.patch using plaintext:
patching file drivers/mtd/Kconfig
patching file drivers/mtd/Makefile

Applying /root/lede-master/target/linux/generic/pending-4.9/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch using plaintext:
patching file drivers/mtd/parsers/parser_trx.c

Applying /root/lede-master/target/linux/generic/pending-4.9/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch using plaintext:
patching file drivers/mtd/bcm47xxpart.c

Applying /root/lede-master/target/linux/generic/pending-4.9/440-block2mtd_init.patch using plaintext:
patching file drivers/mtd/devices/block2mtd.c

Applying /root/lede-master/target/linux/generic/pending-4.9/441-block2mtd_probe.patch using plaintext:
patching file drivers/mtd/devices/block2mtd.c

Applying /root/lede-master/target/linux/generic/pending-4.9/450-mtd-m25p80-allow-fallback-from-spi_flash_read-to-reg.patch using plaintext:
patching file drivers/mtd/devices/m25p80.c

Applying /root/lede-master/target/linux/generic/pending-4.9/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch using plaintext:
patching file drivers/mtd/chips/cfi_cmdset_0002.c

Applying /root/lede-master/target/linux/generic/pending-4.9/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch using plaintext:
patching file drivers/mtd/chips/cfi_cmdset_0002.c

Applying /root/lede-master/target/linux/generic/pending-4.9/465-m25p80-mx-disable-software-protection.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/466-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch using plaintext:
patching file drivers/mtd/spi-nor/Kconfig
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/475-mtd-spi-nor-Add-Winbond-w25q128jv-support.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/476-mtd-spi-nor-add-eon-en25q128.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/477-mtd-add-spi-nor-add-mx25u3235f.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/478-mtd-spi-nor-Add-support-for-XM25QH64A-and-XM25QH128A.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/479-mtd-spi-nor-add-eon-en25qh32.patch using plaintext:
patching file drivers/mtd/spi-nor/spi-nor.c

Applying /root/lede-master/target/linux/generic/pending-4.9/480-mtd-set-rootfs-to-be-root-dev.patch using plaintext:
patching file drivers/mtd/mtdcore.c

Applying /root/lede-master/target/linux/generic/pending-4.9/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch using plaintext:
patching file drivers/mtd/ubi/build.c

Applying /root/lede-master/target/linux/generic/pending-4.9/491-ubi-auto-create-ubiblock-device-for-rootfs.patch using plaintext:
patching file drivers/mtd/ubi/block.c

Applying /root/lede-master/target/linux/generic/pending-4.9/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch using plaintext:
patching file init/do_mounts.c

Applying /root/lede-master/target/linux/generic/pending-4.9/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch using plaintext:
patching file drivers/mtd/ubi/block.c

Applying /root/lede-master/target/linux/generic/pending-4.9/494-mtd-ubi-add-EOF-marker-support.patch using plaintext:
patching file drivers/mtd/ubi/attach.c
patching file drivers/mtd/ubi/ubi.h

Applying /root/lede-master/target/linux/generic/pending-4.9/530-jffs2_make_lzma_available.patch using plaintext:
patching file fs/jffs2/Kconfig
patching file fs/jffs2/Makefile
patching file fs/jffs2/compr.c
patching file fs/jffs2/compr.h
patching file fs/jffs2/compr_lzma.c
patching file fs/jffs2/super.c
patching file include/linux/lzma.h
patching file include/linux/lzma/LzFind.h
patching file include/linux/lzma/LzHash.h
patching file include/linux/lzma/LzmaDec.h
patching file include/linux/lzma/LzmaEnc.h
patching file include/linux/lzma/Types.h
patching file include/uapi/linux/jffs2.h
patching file lib/Kconfig
patching file lib/Makefile
patching file lib/lzma/LzFind.c
patching file lib/lzma/LzmaDec.c
patching file lib/lzma/LzmaEnc.c
patching file lib/lzma/Makefile

Applying /root/lede-master/target/linux/generic/pending-4.9/532-jffs2_eofdetect.patch using plaintext:
patching file fs/jffs2/build.c
patching file fs/jffs2/scan.c

Applying /root/lede-master/target/linux/generic/pending-4.9/551-ubifs-fix-default-compression-selection.patch using plaintext:
patching file fs/ubifs/sb.c

Applying /root/lede-master/target/linux/generic/pending-4.9/600-netfilter_conntrack_flush.patch using plaintext:
patching file net/netfilter/nf_conntrack_standalone.c

Applying /root/lede-master/target/linux/generic/pending-4.9/610-netfilter_match_bypass_default_checks.patch using plaintext:
patching file include/uapi/linux/netfilter_ipv4/ip_tables.h
patching file net/ipv4/netfilter/ip_tables.c

Applying /root/lede-master/target/linux/generic/pending-4.9/611-netfilter_match_bypass_default_table.patch using plaintext:
patching file net/ipv4/netfilter/ip_tables.c

Applying /root/lede-master/target/linux/generic/pending-4.9/612-netfilter_match_reduce_memory_access.patch using plaintext:
patching file net/ipv4/netfilter/ip_tables.c

Applying /root/lede-master/target/linux/generic/pending-4.9/613-netfilter_optional_tcp_window_check.patch using plaintext:
patching file net/netfilter/nf_conntrack_proto_tcp.c

Applying /root/lede-master/target/linux/generic/pending-4.9/616-net_optimize_xfrm_calls.patch using plaintext:
patching file net/netfilter/nf_nat_core.c

Applying /root/lede-master/target/linux/generic/pending-4.9/620-net_sched-codel-do-not-defer-queue-length-update.patch using plaintext:
patching file net/sched/sch_codel.c
patching file net/sched/sch_fq_codel.c

Applying /root/lede-master/target/linux/generic/pending-4.9/630-packet_socket_type.patch using plaintext:
patching file include/uapi/linux/if_packet.h
patching file net/packet/af_packet.c
patching file net/packet/internal.h

Applying /root/lede-master/target/linux/generic/pending-4.9/655-increase_skb_pad.patch using plaintext:
patching file include/linux/skbuff.h

Applying /root/lede-master/target/linux/generic/pending-4.9/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch using plaintext:
patching file include/net/ip6_tunnel.h
patching file include/uapi/linux/if_tunnel.h
patching file net/ipv6/ip6_tunnel.c

Applying /root/lede-master/target/linux/generic/pending-4.9/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch using plaintext:
patching file include/net/netns/ipv6.h
patching file include/uapi/linux/fib_rules.h
patching file include/uapi/linux/rtnetlink.h
patching file net/ipv4/fib_semantics.c
patching file net/ipv4/fib_trie.c
patching file net/ipv4/ipmr.c
patching file net/ipv6/fib6_rules.c
patching file net/ipv6/ip6mr.c
patching file net/ipv6/route.c

Applying /root/lede-master/target/linux/generic/pending-4.9/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch using plaintext:
patching file include/uapi/linux/fib_rules.h
patching file include/uapi/linux/icmpv6.h
patching file include/uapi/linux/rtnetlink.h

Applying /root/lede-master/target/linux/generic/pending-4.9/680-NET-skip-GRO-for-foreign-MAC-addresses.patch using plaintext:
patching file include/linux/netdevice.h
patching file include/linux/skbuff.h
Hunk #1 succeeded at 747 with fuzz 2 (offset -10 lines).
patching file net/core/dev.c
Hunk #1 succeeded at 4572 (offset -10 lines).
Hunk #2 succeeded at 5870 (offset -10 lines).
patch: **** malformed patch at line 104: @@ -6075,6 +6121,7 @@ void netdev_upper_dev_unlink(struct net_

Patch failed! Please fix /root/lede-master/target/linux/generic/pending-4.9/680-NET-skip-GRO-for-foreign-MAC-addresses.patch!
make[3]: *** [/root/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/linux-4.9.215/.prepared] Error 1
make[3]: Leaving directory /root/lede-master/toolchain/kernel-headers' time: toolchain/kernel-headers/compile#9.15#3.28#14.20 make[2]: *** [toolchain/kernel-headers/compile] Error 2 make[2]: Leaving directory /root/lede-master'
make[1]: *** [/root/lede-master/staging_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory `/root/lede-master'
make: *** [world] Error 2

@cjkzwe
Copy link
Author

cjkzwe commented Mar 13, 2020

补充:恩山论坛也有类似情况:https://www.right.com.cn/forum/thread-265852-2-1.html

@SharerMax
Copy link
Contributor

你可能需要更新一下代码 #3776 已修复

@cjkzwe
Copy link
Author

cjkzwe commented Mar 17, 2020

依然有patch错误:

Applying /home/cjk/lede-master/target/linux/generic/hack-4.9/930-crashlog.patch using plaintext:
patching file include/linux/crashlog.h
patching file init/Kconfig
patching file kernel/Makefile
patching file kernel/crashlog.c
patching file kernel/module.c
patching file mm/bootmem.c
patching file mm/memblock.c

Applying /home/cjk/lede-master/target/linux/generic/hack-4.9/950-net-patch-linux-kernel-to-support-shortcut-fe.patch using plaintext:
patching file include/linux/skbuff.h
Hunk #1 succeeded at 743 (offset -10 lines).
patching file net/Kconfig
patching file net/core/dev.c
Hunk #1 FAILED at 2972.
Hunk #2 succeeded at 2971 with fuzz 2 (offset -8 lines).
Hunk #3 succeeded at 4123 (offset -10 lines).
Hunk #4 succeeded at 4175 (offset -10 lines).
Hunk #5 succeeded at 4204 (offset -10 lines).
1 out of 5 hunks FAILED -- saving rejects to file net/core/dev.c.rej
patching file net/netfilter/nf_conntrack_proto_tcp.c
Patch failed! Please fix /home/cjk/lede-master/target/linux/generic/hack-4.9/950-net-patch-linux-kernel-to-support-shortcut-fe.patch!
Makefile:104: recipe for target '/home/cjk/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/linux-4.9.215/.prepared' failed
make[3]: *** [/home/cjk/lede-master/build_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/linux-4.9.215/.prepared] Error 1
make[3]: Leaving directory '/home/cjk/lede-master/toolchain/kernel-headers'
time: toolchain/kernel-headers/compile#7.12#2.61#39.52
toolchain/Makefile:98: recipe for target 'toolchain/kernel-headers/compile' failed
make[2]: *** [toolchain/kernel-headers/compile] Error 2
make[2]: Leaving directory '/home/cjk/lede-master'
toolchain/Makefile:96: recipe for target '/home/cjk/lede-master/staging_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/stamp/.toolchain_compile' failed
make[1]: *** [/home/cjk/lede-master/staging_dir/toolchain-mipsel_mips32_gcc-7.5.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/home/cjk/lede-master'
/home/cjk/lede-master/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2

@SharerMax
Copy link
Contributor

SharerMax commented Mar 17, 2020

代码是最新的么?能否对比一下你出错的文件和最新的文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants