Package: proftpd
Version: 1.2.10-21
Severity: important
Tags: patch
Justification: fails to build from source
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages proftpd depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
ii netbase 4.21 Basic TCP/IP networking system
ii proftpd-common 1.2.10-21 Versatile, virtual-hosting FTP dae
ii ucf 1.17 Update Configuration File: preserv
-- debconf information excluded
When compiling the proftpd package, either sarge or etch, it fails with the
following error :
Applying patch debian/patches/30.response.c.diff ... successful.
Applying patch debian/patches/31.mod_sql.c.diff ... successful.
Applying patch debian/patches//usr/src/proftpd-1.2.10/debian/patches ...
/bin/bash: line 1: stampdir/log/patches//usr/src/proftpd-1.2.10/debian/patches:
Aucun fichier ou répertoire de ce type
cat: debian/patches//usr/src/proftpd-1.2.10/debian/patches: Aucun fichier ou
répertoire de ce type
failed! (check stampdir/log/patches//usr/src/proftpd-1.2.10/debian/patches for
reason)
make: *** [stampdir/patch] Erreur 1
In fact, my $CDPATH was not null, so this line in dbs-build.mk is buggy in that
very special case :
for f in `(cd $(PATCH_DIR); find -type f ! -name 'chk-*' ! -path "./CVS/*") |
sort | \
A patch is included.
--- dbs-build.mk.orig 2005-10-21 12:44:01.732505864 +0200
+++ dbs-build.mk 2005-10-21 12:43:28.527561741 +0200
@@ -26,7 +26,7 @@
test -d $(STAMP_DIR)/patches || mkdir -p $(STAMP_DIR)/patches
@if [ -d "$(PATCH_DIR)" ]; then \
mkdir -p $(STAMP_DIR)/log/patches; \
- for f in `(cd $(PATCH_DIR); find -type f ! -name 'chk-*' ! -path
"./CVS/*") | sort | \
+ for f in `(cd $(PATCH_DIR) >/dev/null; find -type f ! -name 'chk-*' !
-path "./CVS/*") | sort | \
sed s,'\./',,g`; do \
stampfile=$(STAMP_DIR)/patches/$$f; \
log=$(STAMP_DIR)/log/patches/$$f; \