[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793404: massive waste of CPU time in debian/rules by inline commands



* Eduard Bloch <edi@gmx.de>, 2015-07-23, 19:43:
The problem: I see lots of $(shell ...) stuff. In boost, there are about 12 such calls. And they run dpkg-architecture or dpkg-parsechangelogs or similar commands. When this was done a just couple of times (i.e. before dh(7)), that's acceptable. But now, it looks like debian/rules is called many, many times through dh.

One mistake boost makes is using ":=" instead of plain "=". Contrary to popular belief, the former almost always causes more evaluation of $(shell) stuff, specially when dh is involved.

Anyway, in my packages, I fixed all problems with dh by not using dh. :-)

--
Jakub Wilk


Reply to: