[debhelper-devel] Bug#878427: debhelper: Remove -nocache option from qmake buildsystem

Lisandro Damián Nicanor Pérez Meyer lisandro at debian.org
Fri Oct 13 16:37:35 UTC 2017


Source: debhelper
Version: 10.8
Severity: normal
Tags: patch

Hi! For some reason we don't know, as this files predates our time
packaging Qt, the qmake buildsystem template in
lib/Debian/Debhelper/Buildsystem/qmake.pm include the -nocache option by default.

Truth is that the option should not be there, at least nowadays. Removing
it will help us not only to be able to use the buildsystem to compile Qt itself
(Qt submodules actually) but also is a big step forward into cross compiling
Qt stuff.

Thanks!

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=es_AR:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

-- no debconf information
-------------- next part --------------
diff --git a/lib/Debian/Debhelper/Buildsystem/qmake.pm b/lib/Debian/Debhelper/Buildsystem/qmake.pm
index 8ded4cc..2deda36 100644
--- a/lib/Debian/Debhelper/Buildsystem/qmake.pm
+++ b/lib/Debian/Debhelper/Buildsystem/qmake.pm
@@ -58,7 +58,6 @@ sub configure {
 	my @flags;
 
 	push @options, '-makefile';
-	push @options, '-nocache';
 	if (is_cross_compiling()) {
 		my $host_os = dpkg_architecture_value("DEB_HOST_ARCH_OS");
 


More information about the debhelper-devel mailing list