On Thu, Jul 31, 2008 at 01:43:45PM -0400, Joey Hess wrote: > dh_clean removes debian/$packagename. Your log above shows dh_clean > being run, so how can debian/x exist at this point?
I don't know. You can see that dh_clean doesn't remove debian/x in the attached typescript, which just calls "fakeroot dh install" instead of dpkg-buildpackage. > Guess: You have DH_OPTIONS or DH_ALWAYS_EXCLUDE set in your shell's > environment with a value that causes dh_clean to not delete > debian/x.debhelper.log and debian/x. I have no DH_ environment variables set.
x.sh
Description: Bourne shell script
Script started on Fri 01 Aug 2008 10:19:39 EST with-temp-dir: entering directory `/tmp/with-temp-dir.b11487' + mkdir x-0.orig x-0 x-0/debian + cd x-0/debian + echo x (0) UNRELEASED; urgency=low + echo + echo * Stub changelog. + echo + echo -- x <[EMAIL PROTECTED]> Mon, 28 Jul 2008 13:16:01 +1000 + echo Source: x + echo Maintainer: x <[EMAIL PROTECTED]> + echo + echo Package: x + echo Architecture: all + echo 7 + echo #!/usr/bin/make -f + echo %: + echo \tdh $@ + chmod +x rules + cd .. + fakeroot dh install dh_testdir dh_auto_configure dh_auto_build dh_auto_test dh_testroot dh_prep dh_installdirs dh_auto_install dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installcatalogs dh_installcron dh_installdebconf dh_installcatalogs dh_installemacsen dh_installifupdown dh_installinfo dh_installinit dh_installmenu dh_installmime dh_installmodules dh_installlogcheck dh_installlogrotate dh_installpam dh_installppp dh_installudev dh_installwm dh_installxfonts dh_lintian dh_desktop dh_gconf dh_icons dh_perl dh_pysupport dh_scrollkeeper dh_usrlocal dh_link dh_compress dh_fixperms + grep -nH clean debian/x.debhelper.log + : + find . ./debian ./debian/x ./debian/x/DEBIAN ./debian/x/usr ./debian/x/usr/share ./debian/x/usr/share/doc ./debian/x/usr/share/doc/x ./debian/x/usr/share/doc/x/changelog.gz ./debian/x.debhelper.log ./debian/rules ./debian/compat ./debian/control ./debian/changelog + fakeroot dh clean dh_testdir dh_auto_clean dh_clean + find . ./debian ./debian/x ./debian/x/DEBIAN ./debian/x/usr ./debian/x/usr/share ./debian/x/usr/share/doc ./debian/x/usr/share/doc/x ./debian/x/usr/share/doc/x/changelog.gz ./debian/x.debhelper.log ./debian/rules ./debian/compat ./debian/control ./debian/changelog + fakeroot dh clean dh_clean + find . ./debian ./debian/x ./debian/x/DEBIAN ./debian/x/usr ./debian/x/usr/share ./debian/x/usr/share/doc ./debian/x/usr/share/doc/x ./debian/x/usr/share/doc/x/changelog.gz ./debian/x.debhelper.log ./debian/rules ./debian/compat ./debian/control ./debian/changelog + env ALTERNATE_EDITOR=twb-editor USER=twb SSH_AGENT_PID=2162 SHLVL=2 BROWSER=twb-browser HOME=/home/twb OLDPWD=/tmp/with-temp-dir.b11487/x-0/debian ENV=/home/twb/.shrc VISUAL=twb-emacsclient LOGNAME=twb WINDOWID=4194317 _=/home/twb/.bin/with-temp-dir XTERM_SHELL=/bin/bash TERM=screen LC_COLLATE=C WINDOWPATH=2 [EMAIL PROTECTED] PATH=/home/twb/.bin-i686-pc-linux-gnu:/home/twb/.bin:/usr/local/bin:/usr/bin:/bin:/usr/games DISPLAY=:0.0 STY=9750.pts-0.Clio LANG=en_AU.utf8 SSH_AUTH_SOCK=/tmp/ssh-VepRlN2155/agent.2155 RATPOISON=ratpoison SHELL=/bin/bash GPG_AGENT_INFO=/tmp/gpg-OyG7lz/S.gpg-agent:2159:1 VERSION_CONTROL=numbered WINDOW=3 PWD=/tmp/with-temp-dir.b11487/x-0 GPG_TTY=/dev/pts/6 XTERM_LOCALE=en_AU.utf8 TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#40:co#133:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :vb=\Eg:G0:as=\E(0:ae=\E(B:\ :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ :po=\E[5i:pf=\E[4i:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:\ :k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\EO2P:\ :F4=\EO2Q:F5=\EO2R:F6=\EO2S:F7=\E[15;2~:F8=\E[17;2~:\ :F9=\E[18;2~:FA=\E[19;2~:kb=:K2=\EOE:kB=\E[Z:\ :*4=\E[3;2~:*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:\ :%c=\E[6;2~:%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:\ :kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km: XTERM_VERSION=XTerm(235) EDITOR=twb-emacsclient with-temp-dir: leaving directory `/tmp/with-temp-dir.b11487' Script done on Fri 01 Aug 2008 10:19:51 EST
Script started on Fri 01 Aug 2008 10:18:21 EST with-temp-dir: entering directory `/tmp/with-temp-dir.v11199' + mkdir x-0.orig x-0 x-0/debian + cd x-0/debian + echo x (0) UNRELEASED; urgency=low + echo + echo * Stub changelog. + echo + echo -- x <[EMAIL PROTECTED]> Mon, 28 Jul 2008 13:16:01 +1000 + echo Source: x + echo Maintainer: x <[EMAIL PROTECTED]> + echo + echo Package: x + echo Architecture: all + echo 7 + echo #!/usr/bin/make -f + echo %: + echo \tdh $@ + chmod +x rules + cd .. + fakeroot dh install dh_testdir dh_auto_configure dh_auto_build dh_auto_test dh_testroot dh_prep dh_installdirs dh_auto_install dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installcatalogs dh_installcron dh_installdebconf dh_installcatalogs dh_installemacsen dh_installifupdown dh_installinfo dh_installinit dh_installmenu dh_installmime dh_installmodules dh_installlogcheck dh_installlogrotate dh_installpam dh_installppp dh_installudev dh_installwm dh_installxfonts dh_lintian dh_desktop dh_gconf dh_icons dh_perl dh_pysupport dh_scrollkeeper dh_usrlocal dh_link dh_compress dh_fixperms + grep -nH clean debian/x.debhelper.log + : + find . ./debian ./debian/x ./debian/x/DEBIAN ./debian/x/usr ./debian/x/usr/share ./debian/x/usr/share/doc ./debian/x/usr/share/doc/x ./debian/x/usr/share/doc/x/changelog.gz ./debian/x.debhelper.log ./debian/rules ./debian/compat ./debian/control ./debian/changelog + fakeroot dh clean dh_testdir dh_auto_clean dh_clean + find . ./debian ./debian/x ./debian/x/DEBIAN ./debian/x/usr ./debian/x/usr/share ./debian/x/usr/share/doc ./debian/x/usr/share/doc/x ./debian/x/usr/share/doc/x/changelog.gz ./debian/x.debhelper.log ./debian/rules ./debian/compat ./debian/control ./debian/changelog + fakeroot dh clean dh_clean + find . ./debian ./debian/x ./debian/x/DEBIAN ./debian/x/usr ./debian/x/usr/share ./debian/x/usr/share/doc ./debian/x/usr/share/doc/x ./debian/x/usr/share/doc/x/changelog.gz ./debian/x.debhelper.log ./debian/rules ./debian/compat ./debian/control ./debian/changelog + env SUDO_GID=2000 USER=root SHLVL=2 HOME=/root OLDPWD=/tmp/with-temp-dir.v11199/x-0/debian SUDO_UID=1187 LOGNAME=root _=/home/twb/.bin/with-temp-dir TERM=screen USERNAME=root LC_COLLATE=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DISPLAY=:0.0 LANG=en_AU.utf8 SUDO_COMMAND=/bin/bash SHELL=/bin/bash SUDO_USER=twb PWD=/tmp/with-temp-dir.v11199/x-0 with-temp-dir: leaving directory `/tmp/with-temp-dir.v11199' Script done on Fri 01 Aug 2008 10:18:32 EST