[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#752009: debian-installer: Use -perm /0111 in Makefile as + is deprecated



Package: debian-installer
Version: 20140316
Severity: serious
Tags: d-i patch
Justification: fails to build from source (but built successfully in the past)

The makefile currently uses -perm +0111 to find files which have to be be processed
by mklibs which is deprecated.
findutils 4.5 from experimental doesn't seem to allow using + anymore and finds no
files when using it which causes the d-i build to fail as mklibs can't resolve all
symbols anymore.
Please use -perm /0111 as mentioned in the manpage which works with find
4.4 and 4.5


*** /tmp/Makefile.diff
diff --git a/build/Makefile b/build/Makefile
index e4360e6..2a6a46e 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -517,7 +517,7 @@ ifndef ONLY_KLIBC
 		-L $(TEMP)/udeblibs -v -d $(TREE)/lib --root=$(TREE) \
 		-L $(TREE)/usr/lib/cdebconf/frontend \
 		$(addprefix -l,$(notdir $(wildcard $(TREE)/usr/lib/cdebconf/frontend/*.so))) \
-		`find $(TEMP) -type f -a \( -perm +0111 -o -name '*.so' -o -name '*.so.*' \) | \
+		`find $(TEMP) -type f -a \( -perm /0111 -o -name '*.so' -o -name '*.so.*' \) | \
 		 grep -v udeblibs | grep -v 'usr/lib/xorg/modules/.*\.so'`
 
 ifeq ($(DEB_HOST_ARCH),armhf)


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

Kernel: Linux 3.13.0-29-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash


Reply to: