Package: dpkg-dev
Version: 1.20.5

/usr/share/dpkg/architecture.mk is very slow:

  $ time printf 'include /usr/share/dpkg/architecture.mk\nall:\n\ttrue\n' | make 
-f - > /dev/null

  real    0m1.161s
  user    0m1.009s
  sys     0m0.127s

strace tells me this is because it spawns dpkg-architecture 33(!) times.

Please speed this up.


-- System Information:
Architecture: i386

Versions of packages dpkg-dev depends on:
ii  perl          5.30.3-4
ii  libdpkg-perl  1.20.5
ii  tar           1.30+dfsg-7
ii  bzip2         1.0.8-4
ii  xz-utils      5.2.4-1+b1
ii  patch         2.7.6-6
ii  make          4.3-4
ii  binutils      2.35-2

--
Jakub Wilk

Reply via email to