Package: perl
Version: 5.16.2-2
Severity: normal
Tags: patch

Hi,

trying to build perl 5.16.2-2 in experimental, I got:

[...]
# versioned hardlink for the detached debug symbols
ln debian/build/perl-debug/usr/lib/debug/usr/bin/perl \
                debian/build/perl-debug/usr/lib/debug/usr/bin/perl5.16.2
ln: accessing 'debian/build/perl-debug/usr/lib/debug/usr/bin/perl': No such 
file or directory
make: *** [install-stamp] Error 1
[...]

This is due to the new findutils in experimental. The man page recommends
changing find's "-perm +mode" to "-perm /mode". This fixes the issue. Attaching
the respective patch for debian/rules.

Thanks,

Roland


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.8.0 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages perl depends on:
ii  libbz2-1.0    1.0.6-4
ii  libc6         2.13-37+powerpcspe1
ii  libdb5.1      5.1.29-5
ii  libgdbm3      1.8.3-11
ii  perl-base     5.14.2-16
ii  perl-modules  5.14.2-17
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages perl recommends:
ii  netbase  5.0

Versions of packages perl suggests:
pn  libterm-readline-gnu-perl | libterm-readline-perl-perl  <none>
ii  make                                                    3.81-8.2
pn  perl-doc                                                <none>

-- no debconf information
--- perl-5.16.2/debian/rules.orig	2013-03-08 13:02:22.953160972 +0100
+++ perl-5.16.2/debian/rules	2013-03-08 13:02:39.245146204 +0100
@@ -322,7 +322,7 @@
 ifeq ($(strip),yes)
 	# strip
 	find $(build)/*/usr/bin $(build)/*/usr/lib -type f \
-	    \( -name \*.so\* -o -name \*.a -o -perm +111 \) -print | \
+	    \( -name \*.so\* -o -name \*.a -o -perm /111 \) -print | \
 	    grep -v ^$(build)/perl-debug/ | \
 	    while read f; \
 	    do \
@@ -442,7 +442,7 @@
 	    and /^Package:\s+(.*)/m' debian/control`; \
 	do \
 	    find $(build)/$$p/usr -type f \
-		\( -perm +111 -o -name \*.so\* \) -print | \
+		\( -perm /111 -o -name \*.so\* \) -print | \
 		fgrep -v /usr/lib/debug/ | \
 		xargs -r dpkg-shlibdeps -S$(srcdir)/$(build)/libperl$(version) \
 		                        -S$(srcdir)/$(build)/perl-base 2>&1 | \

Reply via email to