Package: dpkg-dev Version: 1.18.1 Severity: minor Hello,
I am trying to reproduce a build failure of boost1.54 in a m68k emulator. While doing that, I noticed that the startup of each dpkg-buildpackage spends many minutes without any useful task. Looking at the top output or pstree, I see lots of repeating processes running dpkg-architecture: root 1495 0.0 0.2 2272 1612 pts/0 Ss 19:12 0:01 \_ -mksh root 12001 0.9 1.0 8980 8176 pts/0 S+ 21:36 0:04 | \_ /usr/bin/perl /usr/bin/dpkg-buildpackage -us -uc -b root 12412 0.1 0.2 2144 1604 pts/0 S+ 21:42 0:00 | \_ /usr/bin/make -f debian/rules build root 12478 9.2 1.0 8900 8124 pts/0 S+ 21:44 0:05 | \_ /usr/bin/perl -w /usr/bin/dh build --with python2 --with python3 root 12479 0.1 0.3 4192 2372 pts/0 S+ 21:44 0:00 | \_ sh -c LC_ALL=C make -Rrnpsf debian/rules debhelper-fail-me 2>/dev/null root 12480 0.2 0.1 1832 1308 pts/0 S+ 21:44 0:00 | \_ make -Rrnpsf debian/rules debhelper-fail-me root 12511 0.0 0.5 4676 4024 pts/0 R+ 21:45 0:00 | \_ /usr/bin/perl /usr/bin/dpkg-architecture -qDEB_HOST_ARCH The -q string keeps chaning all the time but it seems to be still dpkg-architecture that's called most of the times. This reminds me on my own packages... after adding include /usr/share/dpkg/architecture.mk here and there, it suddenly took 2-3 seconds to start the build without any visible activity. On the main system, that doesn't bother me much, but in the slow emulator every wasted minute is bad. Maybe someone should introduce some workaround to make it run faster, maybe caching the output somewhere? Regards, Eduard. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.2+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: sysvinit (via /sbin/init) Versions of packages dpkg-dev depends on: ii base-files 9.2 ii binutils 2.25-10 ii bzip2 1.0.6-8 ii libdpkg-perl 1.18.1 ii make 4.0-8.1 ii patch 2.7.5-1 ii xz-utils 5.1.1alpha+20120614-2.1 Versions of packages dpkg-dev recommends: ii bcc [c-compiler] 0.16.17-3.1 ii build-essential 11.7 ii clang-3.5 [c-compiler] 1:3.5.2-1 ii clang-3.6 [c-compiler] 1:3.6.1-1 ii clang-3.7 [c-compiler] 1:3.7~svn239806-1+b1 ii fakeroot 1.20.2-1 ii gcc [c-compiler] 4:4.9.2-4 ii gcc-3.3 [c-compiler] 1:3.3.6-15 ii gcc-3.4 [c-compiler] 3.4.6-10 ii gcc-4.0 [c-compiler] 4.0.3-7 ii gcc-4.4 [c-compiler] 4.4.7-8 ii gcc-4.6 [c-compiler] 4.6.4-7 ii gcc-4.7 [c-compiler] 4.7.4-3 ii gcc-4.9 [c-compiler] 4.9.3-2 ii gcc-5 [c-compiler] 5.1.1-21 ii gnupg 1.4.19-3 ii gnupg2 2.0.28-3 ii gpgv 1.4.19-3 ii libalgorithm-merge-perl 0.08-2 Versions of packages dpkg-dev suggests: ii debian-keyring 2015.06.19 -- no debconf information -- <try> kann es sein dass ftp.de.debian.org heut aweng spackt ? <Joey> Ja, ist auf Tauchgang. <istari> try: der steht in dresden <istari> try: 300 meter von der elbe weg <istari> vermutlich mittlerweile _in_ in der elbe /* es hat die letzten Tage ein wenig viel geregnet - 13. Aug 2002 */ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org