From 89176f4b934f55945595ace836f1ba568e869bd8 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Tue, 4 Aug 2015 16:12:20 +0000 Subject: [PATCH] [mips*,alpha,hppa] linux-perf: Add empty Build files for these architectures (fixes FTBFS) svn path=/dists/sid/linux-tools/; revision=22910 --- debian/changelog | 7 +++++ debian/patches/series | 1 + ...uild-files-for-architectures-lacking.patch | 27 +++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 debian/patches/tools-perf-add-empty-build-files-for-architectures-lacking.patch diff --git a/debian/changelog b/debian/changelog index 48280e943..78dfcaef6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +linux-tools (4.1.4-2) unstable; urgency=medium + + * [mips*,alpha,hppa] linux-perf: Add empty Build files for these architectures + (fixes FTBFS) + + -- Ben Hutchings Tue, 04 Aug 2015 17:11:46 +0100 + linux-tools (4.1.4-1) unstable; urgency=medium * New upstream stable update: diff --git a/debian/patches/series b/debian/patches/series index 144996d2d..c4285b581 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ usbip-document-tcp-wrappers.patch kbuild-fix-recordmcount-dependency.patch usbip-include-uninstalled-linux-usbip-h.patch tools-perf-man-date.patch +tools-perf-add-empty-build-files-for-architectures-lacking.patch diff --git a/debian/patches/tools-perf-add-empty-build-files-for-architectures-lacking.patch b/debian/patches/tools-perf-add-empty-build-files-for-architectures-lacking.patch new file mode 100644 index 000000000..f648d5888 --- /dev/null +++ b/debian/patches/tools-perf-add-empty-build-files-for-architectures-lacking.patch @@ -0,0 +1,27 @@ +From: Ben Hutchings +Date: Tue, 04 Aug 2015 16:59:53 +0100 +Subject: tools/perf: Add empty Build files for architectures lacking them +Forwarded: http://mid.gmane.org/1438704627.7315.2.camel@decadent.org.uk + +perf currently fails to build on MIPS as there is no +tools/perf/arch/mips/Build file. Adding an empty file fixes this as +there are no MIPS-specific sources to build. + +It looks like the same is needed for Alpha and PA-RISC, though I +haven't been able to test those. + +Signed-off-by: Ben Hutchings +Fixes: 5e8c0fb6a957 ("perf build: Add arch x86 objects building") +--- +--- /dev/null ++++ b/tools/perf/arch/alpha/Build +@@ -0,0 +1 @@ ++# empty +--- /dev/null ++++ b/tools/perf/arch/mips/Build +@@ -0,0 +1,1 @@ ++# empty +--- /dev/null ++++ b/tools/perf/arch/parisc/Build +@@ -0,0 +1 @@ ++# empty