OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by f00b4r0 - 28.06.2018
Last edited by Yousong Zhou - 29.06.2018

FS#1621 - 75ab064d2b38e70746af1718ed7cdbafb906249e makes defconfig very slow

commit 75ab064d2b38e70746af1718ed7cdbafb906249e ‘build: download code from github using archive API’ introduces a new script “download.py” which is used during ‘make defconfig’:

26368 pts/0 S+ 0:00 | \_ make V=s defconfig
26464 pts/0 S+ 0:00 | \_ /bin/sh -c export MAKEFLAGS= ;make V=ss -j1 -r -s -f include/scan.mk SCAN_TARGET=”packageinfo” SCAN_DIR=”package” SCAN_NAME=”package” SCAN_DEPS=”/home/user/source/include/pac
26465 pts/0 S+ 0:00 | \_ make V=ss -j1 -r -s -f include/scan.mk SCAN_TARGET=packageinfo SCAN_DIR=package SCAN_NAME=package SCAN_DEPS=/home/user/source/include/package*.mk SCAN_DEPTH=5 SCAN_EXTRA=
26806 pts/0 S+ 0:00 | \_ /bin/sh -c { ?printf “\033[M\rCollecting package info: package/network/utils/arptables” >&2; echo Source-Makefile: package/network/utils/arptables/Makefile; true; make V
26807 pts/0 S+ 0:00 | \_ make V=ss –no-print-dir -r DUMP=1 FEED= -C package/network/utils/arptables
26809 pts/0 R+ 0:00 | \_ python /home/user/source/scripts/download.py dl_method –url https://git.netfilter.org/arptables –proto=git

This commit makes defconfig go from about 10s runtime to approx 3mn, or a ~18x slowdown.

Closed by  Yousong Zhou
29.06.2018 06:00
Reason for closing:  Fixed
Additional comments about closing:  

Fixed by disabling the python script call. http://g it.openwrt.org/e15565a01cea6a61c537f5fb9 1c4e4d27fb7b290

Luis Araneda Mendez commented on 29.06.2018 07:44

Before the problem was fixed, I collected some data, should anyone need it in the future for reference: https://pastebin.com/MLQL9PR9

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing