Package: quilt
Version: 0.48-2a0.mrvn.1
Severity: normal

Hi,

when building as root the build fails [delete.test] with:

[78] $ chmod a-rx .pc/test3/dir -- ok
[80] $ quilt delete "test3" -- failed
Removing patch patches/test3          == Removing patch patches/test3
No patches applied                    != .pc/test3/dir: Permission denied
Removed patch patches/test3           != ~
[84] $ chmod a+rx .pc/test3/dir -- failed
chmod: cannot access `.pc/test3/dir': No such file or directory != ~
[86] $ find .pc/test3 -- failed
find: `.pc/test3': No such file or directory != .pc/test3
~                                     != .pc/test3/dir
~                                     != .pc/test3/dir/file
[91] $ quilt applied -- failed
No patches in series                  != No patches applied
[94] $ quilt series -- failed
~                                     != patches/test3
[97] $ quilt delete -- failed
No patches in series                  != No patches applied
[100] $ quilt delete test3 -- failed
No patches in series                  != Removed patch patches/test3
[103] $ cd .. -- ok
[104] $ rm -rf d -- ok
38 commands (31 passed, 7 failed)
make[1]: *** [test/.delete.ok] Error 7
make[1]: Leaving directory `/tmp/quilt/quilt-0.48'


Building as user succeeds.

MfG
        Goswin


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

Kernel: Linux 2.6.31.5 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages quilt depends on:
ii  bzip2                         1.0.5-3    high-quality block-sorting file co
ii  diffstat                      1.47-1     produces graph of changes introduc
ii  gettext                       0.17-8     GNU Internationalization utilities
ii  patch                         2.5.9-5    Apply a diff file to an original

quilt recommends no packages.

Versions of packages quilt suggests:
ii  graphviz                      2.20.2-4   rich set of graph drawing tools
ii  procmail                      3.22-18    Versatile e-mail processor

-- no debconf information
 dpkg-buildpackage -rfakeroot -D -us -uc -sa
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package quilt
dpkg-buildpackage: source version 0.48-2
dpkg-buildpackage: source changed by Raphaƫl Hertzog <hert...@debian.org>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
BUILD_ROOT=/tmp/quilt/quilt-0.48/debian/tmp LC_ALL=C /usr/bin/make  -C .  -k distclean
make[1]: Entering directory `/tmp/quilt/quilt-0.48'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/tmp/quilt/quilt-0.48'
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-makefile-build
rm -f debian/stamp-makefile-check
dh_clean 
rm -f debian/stamp-autotools-files
rm -rf doc/quilt.txt doc/quilt.html doc/tmp test/.pc test/d
rm -f compat/awk compat/sendmail
rm -f debian/dh_quilt_patch.1 debian/dh_quilt_unpatch.1
 dpkg-source -b quilt-0.48
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building quilt using existing ./quilt_0.48.orig.tar.gz
dpkg-source: info: building quilt in quilt_0.48-2.debian.tar.gz
dpkg-source: info: building quilt in quilt_0.48-2.dsc
 debian/rules build
test -x debian/rules
mkdir -p "."
touch debian/stamp-autotools-files
chmod a+x /tmp/quilt/quilt-0.48/./configure
cd . && CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /tmp/quilt/quilt-0.48/./configure --build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/quilt" --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=.  --with-sendmail=/usr/sbin/sendmail 
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for fchmod... yes
checking for chmod... yes
checking for mkstemp... yes
checking for mkdir... yes
checking for rmdir... yes
checking for strchr... yes
checking for strrchr... yes
checking for strerror... yes
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether #! works in shell scripts... yes
checking for bash... /bin/bash
checking whether /bin/bash quoting works... yes
checking for gcp... no
checking for cp... /bin/cp
checking whether /bin/cp -l works... yes
checking for gdate... no
checking for date... /bin/date
checking whether /bin/date --rfc-822 works... yes
checking for perl... /usr/bin/perl
checking for grep... (cached) /bin/grep
checking whether /bin/grep -q works... yes
checking whether /bin/grep understands (foo|bar)... yes
checking for tail... /usr/bin/tail
checking whether /usr/bin/tail -n works... yes
checking for tr... /usr/bin/tr
checking whether /usr/bin/tr understands a-z ... yes
checking for sed... /bin/sed
checking whether /bin/sed understands (foo|bar)... yes
checking for gawk... /usr/bin/gawk
checking whether /usr/bin/gawk supports sub... yes
checking for pod2man... /usr/bin/pod2man
checking for column... /usr/bin/column
checking for getopt... /usr/bin/getopt
checking for getopt --long syntax... yes
checking for mktemp... /bin/mktemp
checking whether /bin/mktemp -d works... yes
checking for diff... /usr/bin/diff
checking for patch... /usr/bin/patch
checking the version of /usr/bin/diff... 2.8.1
checking the version of /usr/bin/patch... 2.5.9
checking for find... /usr/bin/find
checking whether /usr/bin/find -path works... yes
checking for diffstat... /usr/bin/diffstat
checking for diffstat version... 1.47
checking for sendmail... /usr/sbin/sendmail
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msguniq... /usr/bin/msguniq
checking for msgcat... /usr/bin/msgcat
checking for rpmbuild... /usr/bin/rpmbuild
configure: creating ./config.status
config.status: creating Makefile

quilt version 0.48 configured.

Using '/usr' for installation prefix.

Report bugs to quilt-...@nongnu.org
BUILD_ROOT=/tmp/quilt/quilt-0.48/debian/tmp LC_ALL=C /usr/bin/make  -C .  
make[1]: ./git-desc: Command not found
make[1]: Entering directory `/tmp/quilt/quilt-0.48'
bin/quilt.in -> bin/quilt
bin/guards.in -> bin/guards
quilt/add.in -> quilt/add
quilt/annotate.in -> quilt/annotate
quilt/applied.in -> quilt/applied
quilt/delete.in -> quilt/delete
quilt/diff.in -> quilt/diff
quilt/edit.in -> quilt/edit
quilt/files.in -> quilt/files
quilt/fold.in -> quilt/fold
quilt/fork.in -> quilt/fork
quilt/graph.in -> quilt/graph
quilt/grep.in -> quilt/grep
quilt/header.in -> quilt/header
quilt/import.in -> quilt/import
quilt/mail.in -> quilt/mail
quilt/new.in -> quilt/new
quilt/next.in -> quilt/next
quilt/patches.in -> quilt/patches
quilt/pop.in -> quilt/pop
quilt/previous.in -> quilt/previous
quilt/push.in -> quilt/push
quilt/refresh.in -> quilt/refresh
quilt/rename.in -> quilt/rename
quilt/revert.in -> quilt/revert
quilt/series.in -> quilt/series
quilt/setup.in -> quilt/setup
quilt/shell.in -> quilt/shell
quilt/snapshot.in -> quilt/snapshot
quilt/top.in -> quilt/top
quilt/unapplied.in -> quilt/unapplied
quilt/upgrade.in -> quilt/upgrade
quilt/scripts/patchfns.in -> quilt/scripts/patchfns
quilt/scripts/parse-patch.in -> quilt/scripts/parse-patch
quilt/scripts/inspect.in -> quilt/scripts/inspect
quilt/scripts/dependency-graph.in -> quilt/scripts/dependency-graph
quilt/scripts/edmail.in -> quilt/scripts/edmail
quilt/scripts/remove-trailing-ws.in -> quilt/scripts/remove-trailing-ws
quilt/scripts/backup-files.in -> quilt/scripts/backup-files
bin/patch-wrapper.in -> bin/patch-wrapper
Generating /usr/bin/gawk wrapper
Generating /usr/sbin/sendmail wrapper
README.in -> README
make[2]: ./git-desc: Command not found
quilt.1.in -> quilt.1
while read line; do						\
	  case "$line" in						\
	  '@REFERENCE''@')						\
	    /usr/bin/make -s --no-print-directory reference |       		\
	    /bin/sed -e 's/^quilt \([^ ]*\)\(.*\)/.IP "\\fB\1\\fP\2 " 4/'	\
		   -e $'s/^  \\(-[^\t]*\\)\t\\?/.IP "    \\1" 8\\\n/'	\
		   -e $'s/^  \t\\?//'					\
	    ;;								\
	  *)								\
	    printf "%s\n" "$line"					\
	    ;;								\
	  esac;								\
	done < doc/quilt.1.in > doc/quilt.1
make[2]: ./git-desc: Command not found
/usr/bin/pod2man bin/guards > bin/guards.1
rm -f po/quilt.pot; touch po/quilt.pot
for file in bin/guards.in bin/patch-wrapper.in bin/quilt.in compat/column.in compat/date.in compat/getopt.in compat/mktemp.in compat/sendmail.in quilt/add.in quilt/annotate.in quilt/applied.in quilt/delete.in quilt/diff.in quilt/edit.in quilt/files.in quilt/fold.in quilt/fork.in quilt/graph.in quilt/grep.in quilt/header.in quilt/import.in quilt/mail.in quilt/new.in quilt/next.in quilt/patches.in quilt/pop.in quilt/previous.in quilt/push.in quilt/refresh.in quilt/rename.in quilt/revert.in quilt/series.in quilt/setup.in quilt/shell.in quilt/snapshot.in quilt/top.in quilt/unapplied.in quilt/upgrade.in quilt/scripts/backup-files.in quilt/scripts/dependency-graph.in quilt/scripts/edmail.in quilt/scripts/inspect.in quilt/scripts/parse-patch.in quilt/scripts/patchfns.in quilt/scripts/remove-trailing-ws.in ; do						\
	  if test -n "`/bin/sed -ne '1{ /@BASH''@/p }' $file`"; then	\
	    /bin/bash --dump-po-strings $file ;				\
	  elif test -n "`/bin/sed -ne '1{ /@PERL''@/p }' $file`"; then	\
	    /usr/bin/xgettext --from-code=UTF-8 --omit-header --language=Perl	\
			--keyword=_ -o - $file;			\
	  else								\
	    echo "Don't know how to handle $file" >&2 ;		\
	    exit 1;							\
	  fi								\
	done								\
	|/usr/bin/msguniq							\
	|/usr/bin/msgcat --force-po -F - po/quilt.pot -o po/quilt.pot
/usr/bin/msguniq -o po/fr.po.tmp po/fr.po && mv po/fr.po.tmp po/fr.po
/usr/bin/msgmerge -o po/fr.po po/fr.po po/quilt.pot
...................... done.
/usr/bin/msgfmt --statistics -o po/fr.mo po/fr.po
146 translated messages, 21 fuzzy translations, 2 untranslated messages.
/usr/bin/msguniq -o po/de.po.tmp po/de.po && mv po/de.po.tmp po/de.po
/usr/bin/msgmerge -o po/de.po po/de.po po/quilt.pot
...................... done.
/usr/bin/msgfmt --statistics -o po/de.mo po/de.po
158 translated messages, 9 fuzzy translations, 2 untranslated messages.
/usr/bin/msguniq -o po/ja.po.tmp po/ja.po && mv po/ja.po.tmp po/ja.po
/usr/bin/msgmerge -o po/ja.po po/ja.po po/quilt.pot
...................... done.
/usr/bin/msgfmt --statistics -o po/ja.mo po/ja.po
146 translated messages, 21 fuzzy translations, 2 untranslated messages.
make[1]: Leaving directory `/tmp/quilt/quilt-0.48'
touch debian/stamp-makefile-build
BUILD_ROOT=/tmp/quilt/quilt-0.48/debian/tmp LC_ALL=C /usr/bin/make  -C .  check
make[1]: ./git-desc: Command not found
make[1]: Entering directory `/tmp/quilt/quilt-0.48'
make[1]: Leaving directory `/tmp/quilt/quilt-0.48'
make[1]: ./git-desc: Command not found
make[1]: Entering directory `/tmp/quilt/quilt-0.48'
[add-filename-check.test]
[1] $ rm -rf d -- ok
[2] $ mkdir -p d/patches -- ok
[3] $ cd d -- ok
[4] $ quilt new test.diff -- ok
[7] $ echo foo > foo -- ok
[8] $ quilt add foo -- ok
[11] $ quilt add patches/bar -- ok
[14] $ quilt add .pc/baz -- ok
[17] $ cd .. -- ok
[18] $ rm -rf d -- ok
10 commands (10 passed, 0 failed)
[annotate.test]
[1] $ rm -rf d -- ok
[2] $ mkdir -p d/patches -- ok
[3] $ cd d -- ok
[5] $ cat > foo -- ok
[10] $ quilt new patch -- ok
[13] $ quilt add foo -- ok
[16] $ sed -e 's:b:B:' foo > foo.new -- ok
[17] $ mv foo.new foo -- ok
[18] $ quilt refresh -- ok
[21] $ quilt annotate foo -- ok
[28] $ quilt new patch2 -- ok
[31] $ quilt add foo -- ok
[34] $ sed -e 's:Baz:baz:' foo > foo.new -- ok
[35] $ mv foo.new foo -- ok
[36] $ quilt refresh -- ok
[39] $ quilt annotate foo -- ok
[47] $ quilt new patch3 -- ok
[50] $ quilt add foo -- ok
[53] $ sed -e '/Bar/d' foo > foo.new -- ok
[54] $ mv foo.new foo -- ok
[55] $ quilt refresh -- ok
[58] $ quilt annotate foo -- ok
[66] $ quilt annotate -P patch3 foo -- ok
[74] $ quilt annotate -P patch2 foo -- ok
[82] $ quilt annotate -P patch foo -- ok
[89] $ quilt new patch4 -- ok
[92] $ cat > jkl -- ok
[96] $ quilt add jkl wrz -- ok
[100] $ rm -f jkl -- ok
[101] $ cat > wrz -- ok
[105] $ quilt refresh -- ok
[108] $ quilt annotate jkl -- ok
[112] $ quilt annotate wrz -- ok
[118] $ cd .. -- ok
[119] $ rm -rf d -- ok
35 commands (35 passed, 0 failed)
[applied.test]
[1] $ rm -rf d -- ok
[2] $ mkdir -p d/patches -- ok
[3] $ cd d -- ok
[5] $ echo a > a -- ok
[6] $ echo b > b -- ok
[7] $ diff -u a b > patches/patch -- ok
[8] $ echo patch -p0 > patches/series -- ok
[9] $ rm -f b -- ok
[10] $ quilt push -q -- ok
[14] $ quilt pop -q -- ok
[18] $ patch -s -p0 < patches/patch -- ok
[19] $ quilt push -q -- ok
[24] $ echo patch -p0 -R > patches/series -- ok
[25] $ quilt push -q -- ok
[29] $ quilt pop -q -- ok
[33] $ patch -s -p0 -R < patches/patch -- ok
[34] $ quilt push -q -- ok
[39] $ cd .. -- ok
[40] $ rm -rf d -- ok
19 commands (19 passed, 0 failed)
[comments.test]
[4] $ rm -rf d -- ok
[5] $ mkdir -p d/patches -- ok
[6] $ cd d -- ok
[7] $ echo one > f -- ok
[8] $ cat > patches/test.diff -- ok
[21] $ cat > patches/series -- ok
[24] $ quilt push -- ok
[30] $ quilt refresh -- ok
[32] $ cat patches/test.diff -- ok
[45] $ quilt refresh -c -- ok
[48] $ cat patches/test.diff -- ok
[63] $ quilt refresh -- ok
[66] $ cat patches/test.diff -- ok
[78] $ cd .. -- ok
[79] $ rm -rf d -- ok
15 commands (15 passed, 0 failed)
[conflicts.test]
[5] $ rm -rf d -- ok
[6] $ mkdir -p d/patches -- ok
[7] $ cd d -- ok
[9] $ cat > one.txt -- ok
[26] $ quilt new a.diff -- ok
[29] $ quilt add one.txt -- ok
[32] $ mv one.txt one.orig -- ok
[33] $ sed -e "s/4/4+/" -e 's/d/d+/' one.orig > one.txt -- ok
[34] $ quilt refresh -- ok
[37] $ quilt pop -q -- ok
[42] $ sed -e "s/^\([17]\)$/\1-/" one.orig > one.txt -- ok
[43] $ quilt push -q -- ok
[47] $ quilt pop -q -- ok
[51] $ sed -e "s/^\([1267]\)$/\1-/" one.orig > one.txt -- ok
[52] $ quilt push -q -- ok
[56] $ quilt pop -q -- ok
[61] $ sed -e "s/^\([123567]\)$/\1-/" one.orig > one.txt -- ok
[62] $ quilt push -q -- ok
[67] $ quilt push -qf -- ok
[72] $ mv one.txt one.x -- ok
[73] $ sed -e "s/4/4+/" one.x > one.txt -- ok
[74] $ rm -f one.x -- ok
[75] $ quilt diff -z | grep -v "^\(---\|+++\)" -- ok
[88] $ quilt diff | grep -v "^\(---\|+++\)" -- ok
[110] $ quilt refresh -- ok
[113] $ cat patches/a.diff | grep -v "^\(---\|+++\)" -- ok
[135] $ quilt pop -q -- ok
[139] $ cd .. -- ok
[140] $ rm -rf d -- ok
29 commands (29 passed, 0 failed)
[create-delete.test]
[4] $ rm -rf d -- ok
[5] $ mkdir -p d/patches -- ok
[6] $ cd d -- ok
[8] $ echo delete > delete -- ok
[9] $ quilt new test.diff -- ok
[12] $ quilt add create -- ok
[15] $ echo create > create -- ok
[16] $ quilt refresh -- ok
[19] $ quilt add delete -- ok
[22] $ rm -f delete -- ok
[23] $ quilt refresh -- ok
[26] $ quilt pop -q -- ok
[30] $ echo create > create -- ok
[31] $ rm -f delete -- ok
[32] $ patch -p1 --dry-run < patches/test.diff -- ok
[44] $ cd .. -- ok
[45] $ rm -rf d -- ok
17 commands (17 passed, 0 failed)
[delete.test]
[3] $ rm -rf d -- ok
[4] $ mkdir -p d/patches -- ok
[5] $ cd d -- ok
[7] $ quilt delete -- ok
[10] $ cat > test.txt -- ok
[13] $ quilt new test1 -- ok
[16] $ quilt add test.txt -- ok
[19] $ cat > test.txt -- ok
[22] $ quilt refresh -- ok
[25] $ quilt new test2 -- ok
[28] $ quilt add test.txt -- ok
[31] $ cat > test.txt -- ok
[34] $ quilt refresh -- ok
[37] $ quilt delete test1 -- ok
[40] $ quilt pop -- ok
[46] $ quilt series -- ok
[50] $ quilt delete -n -- ok
[53] $ quilt series -- ok
[56] $ quilt pop -- ok
[62] $ quilt delete test1 -- ok
[65] $ quilt series -- ok
[67] $ echo "test1" > patches/series -- ok
[68] $ quilt delete -n -- ok
[71] $ quilt series -- ok
[74] $ echo "test3" > patches//series -- ok
[75] $ echo "test3" > .pc/applied-patches -- ok
[76] $ mkdir -p .pc/test3/dir -- ok
[77] $ touch .pc/test3/dir/file -- ok
[78] $ chmod a-rx .pc/test3/dir -- ok
[80] $ quilt delete "test3" -- failed
Removing patch patches/test3          == Removing patch patches/test3
No patches applied                    != .pc/test3/dir: Permission denied
Removed patch patches/test3           != ~
[84] $ chmod a+rx .pc/test3/dir -- failed
chmod: cannot access `.pc/test3/dir': No such file or directory != ~
[86] $ find .pc/test3 -- failed
find: `.pc/test3': No such file or directory != .pc/test3
~                                     != .pc/test3/dir
~                                     != .pc/test3/dir/file
[91] $ quilt applied -- failed
No patches in series                  != No patches applied
[94] $ quilt series -- failed
~                                     != patches/test3
[97] $ quilt delete -- failed
No patches in series                  != No patches applied
[100] $ quilt delete test3 -- failed
No patches in series                  != Removed patch patches/test3
[103] $ cd .. -- ok
[104] $ rm -rf d -- ok
38 commands (31 passed, 7 failed)
make[1]: *** [test/.delete.ok] Error 7
make[1]: Leaving directory `/tmp/quilt/quilt-0.48'
make: *** [debian/stamp-makefile-check] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Reply via email to