Package: dpkg-dev Version: 1.17.24 I'm not sure that this is a bug in dpkg-buildpackage, but there's a problem which could perhaps be fixed there, or at least documented in dpkg-buildpackage's man page.
The problem is that when I tried to build a random sample of packages with sbuild -j4 there were quite a lot of failures. I only looked at a couple in detail. For example: apt-get source freecdb cd freecdb-0.75/ dpkg-buildpackage -j4 # fails with something like: directory debian/freecdb missing DEB_BUILD_OPTIONS=parallel=4 dpkg-buildpackage # is fine The same happens with "sgmltools-lite", and perhaps a lot of other packages. It seems that "-j4" causes the top-level makefile debian/rules to be built in parallel, which is unlikely to be useful, and sometimes doesn't work at all, while DEB_BUILD_OPTIONS=parallel=4 only takes effect at lower levels. Could dpkg-buildpackage be modified so that -jN does exactly the same as DEB_BUILD_OPTIONS=parallel=N? Or could there be a warning in dpkg-buildpackages's man page that people probably shouldn't use -jN? Or should we just file bugs against every package that doesn't build with dpkg-buildpackage -jN? -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

