[Pkg-javascript-devel] Bug#888579: jscommunicator: FTBFS with debhelper/11.1 due to empty build target

Niels Thykier niels at thykier.net
Sat Jan 27 12:10:19 UTC 2018


Source: jscommunicator
Version: 2.1.3-1
Severity: serious
Tags: patch

Hi,

The jscommunicator package FTBFS with debhelper/11.1 as it has an
empty build target.  This is caused by debhelper had a bug in its
handling of "explicitly defined rules targets" that has now been
fixed.

Previously, this happened to work because dpkg-buildpackage would
invoke "debian/rules build" (which would be a no-op) followed by
"fakeroot debian/rules binary".  During the binary target, dh's
suboptimal handling would run the build commands.

The solution for jscommunicator is trivial: Drop the unnecessary
".PHONY: build" line and every thing works.  I have attached a patch
for this.


More details can be found in:
 * #886901 comment #35
 * #887688 comment #37
 * #880840

Apologies for the inconvenience.

Thanks,
~Niels
-------------- next part --------------
>From 34df74369d30bae1914e317b5dd3268e029a0067 Mon Sep 17 00:00:00 2001
From: Niels Thykier <niels at thykier.net>
Date: Sat, 27 Jan 2018 12:07:54 +0000
Subject: [PATCH] Remove redundant .PHONY target

Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/rules | 2 --
 1 file changed, 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 895e954..142d69a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,5 +17,3 @@ override_dh_clean:
 	-rm JSComm.js
 	dh_clean
 
-.PHONY: build
-
-- 
2.15.1



More information about the Pkg-javascript-devel mailing list