Package: emacs-snapshot
Version: 1:20060524-1
Severity: serious
Tags: patch

There was a problem building this week's snapshot.  From the end of the
`debuild' log (sorry for the German, but the problem should be clear
anyway):

# save binary from deletion
mv src/emacs src/nox-emacs
touch emacs-nox-stamp
dh_testdir
touch build-stamp
fakeroot debian/rules binary
dh_testdir
touch build-stamp
cd debian && csplit -s -f README. README.in '/@@PATCH_LIST_HERE@@/'
cp debian/README.00 debian/README.tmp
dpatch-list-patch | tail +2 | grep -v -e '^debian/patches/' | \
                sed '[EMAIL PROTECTED]  [EMAIL PROTECTED]@' >> debian/README.tmp
tail: „+2“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht 
gefunden
tail +2 < debian/README.01 >> debian/README.tmp
tail: „+2“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht 
gefunden
make: *** [debian/README.Debian] Fehler 1
debuild: fatal error at line 1224:
fakeroot debian/rules binary failed


The reason is a change in the coreutils package, which as of version
5.96-1 conforms to the POSIX 2001 standard by default; that standard
disallows the `program +k file' syntax.  The following patch fixes the
problem:

--- debian/rules~       2006-05-25 12:46:42.000000000 +0200
+++ debian/rules        2006-05-25 13:45:29.000000000 +0200
@@ -317,9 +317,9 @@
debian/README.Debian: debian/README.in debian/patches/*.dpatch
        cd debian && csplit -s -f README. README.in '/@@PATCH_LIST_HERE@@/'
        cp debian/README.00 debian/README.tmp
-       dpatch-list-patch | tail +2 | grep -v -e '^debian/patches/' | \
+       dpatch-list-patch | tail -n +2 | grep -v -e '^debian/patches/' | \
                sed '[EMAIL PROTECTED]  [EMAIL PROTECTED]@' >> debian/README.tmp
-       tail +2 < debian/README.01 >> debian/README.tmp
+       tail -n +2 < debian/README.01 >> debian/README.tmp
        mv debian/README.tmp debian/README.Debian
.PHONY: debian/README.Debian
DEB_TRASH += debian/README.tmp debian/README.00 debian/README.01


-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)


Reply via email to