Bug#1000253: ring: Fails to build twice in a row and in target clean

Bruno Kleinert fuddl at debian.org
Sat Nov 20 07:57:32 GMT 2021


Source: ring
Version: 20201217.1.80217fa~ds1-1
Severity: normal
Tags: patch
X-Debbugs-Cc: fuddl at debian.org

Hi,

while trying to address another issue, I noticed that the package fails to
build twice in a row and in the target clean after a failed build.

Please find attached a patch that fixes both issues.

Cheers,
Bruno


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.utf-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index 74b39bd5..216ebba0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,7 +80,7 @@ override_dh_auto_configure:
 	## libringclient configure ##
 	#############################
 	cd lrc && \
-		mkdir build && \
+		mkdir -p build && \
 		cd build && \
 		cmake  \
 			-DRING_BUILD_DIR=$(CURDIR)/daemon/src \
@@ -92,7 +92,7 @@ override_dh_auto_configure:
 	## gnome client configure ##
 	############################
 	cd client-gnome && \
-		mkdir build && \
+		mkdir -p build && \
 		cd build && \
 		cmake \
 			-DCMAKE_INSTALL_PREFIX=/usr \
@@ -143,6 +143,7 @@ override_dh_auto_clean:
 	########################
 	if [ -f client-gnome/build/Makefile ]; then make -C client-gnome/build clean; fi
 	rm -rfv client-gnome/build
+	mkdir -p daemon/contrib/native/pjproject
 
 override_dh_auto_install:
 	#########################


More information about the Pkg-voip-maintainers mailing list