Source: freedict Severity: minor I have faced this issue myself a couple of times. I am not sure what the official stance is, but having the clean target make the git repo inconsistent looks like a bug to me.
rrs@chutzpah:/media/rrs/EXDATA/rrs-home/Community/Packaging/freedict (master)$ gbp buildpackage dh_testdir rm -f build-stamp timestamp configure-stamp rm -rf config.txt for DICT in lat-eng jpn-eng eng-spa eng-cym deu-fra eng-nld eng-hin eng-gle eng-ell eng-ita ces-eng eng-srp deu-tur fra-nld san-deu isl-eng eng-fra deu-swe lit-eng tur-deu eng-afr eng-ara jpn-fra nld-eng eng-lit eng-tur eng-rom afr-eng hun-eng jpn-deu nld-deu oci-cat pol-gle deu-nld kur-deu cym-eng lat-deu eng-swe ita-deu eng-rus swh-pol gle-pol spa-ast gla-deu fra-bre spa-por nno-nob tur-eng swh-eng deu-eng srp-eng ara-eng dan-eng kha-deu eng-por eng-ces eng-lat deu-ita hrv-eng jpn-rus eng-hun kur-eng deu-kur kur-tur ita-eng eng-hrv por-deu bre-fra eng-swh por-eng ckb-kmr fra-eng spa-eng swe-eng deu-por gle-eng afr-deu eng-pol swe-deu mkd-bul eng-deu slk-eng kha-eng fra-deu nld-fra ; do \ rm -f $DICT/$DICT.index $DICT/$DICT.dict.dz $DICT/$DICT.dict $DICT/$DICT.c5; \ rm -rf debian/dict-freedict-$DICT.docs; \ done dh_clean rm debian/*.dirs debian/*.links debian/*.postinst debian/*.postrm rm: cannot remove 'debian/*.dirs': No such file or directory rm: cannot remove 'debian/*.links': No such file or directory rm: cannot remove 'debian/*.postinst': No such file or directory rm: cannot remove 'debian/*.postrm': No such file or directory debian/rules:45: recipe for target 'clean' failed make: [clean] Error 1 (ignored) # special exception: rm -rf hun-eng/SZOTAR.DBF hun-eng/hun-eng.tei eng-hun/SZOTAR.DBF eng-hun/eng-hun.tei gbp:error: You have uncommitted changes in your source tree: gbp:error: On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) deleted: eng-hun/eng-hun.tei no changes added to commit (use "git add" and/or "git commit -a") gbp:error: Use --git-ignore-new to ignore. -- System Information: Debian Release: 9.0 APT prefers unstable-debug APT policy: (990, 'unstable-debug'), (990, 'testing-debug'), (990, 'unstable'), (990, 'testing'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.9+ (SMP w/4 CPU cores) Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)