I: pbuilder: network access will be disabled during build I: Current time: Thu Feb 10 09:12:29 -12 2022 I: pbuilder-time-stamp: 1644527549 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [misspell-fixer_0.4-1.dsc] I: copying [./misspell-fixer_0.4.orig.tar.gz] I: copying [./misspell-fixer_0.4.orig.tar.gz.asc] I: copying [./misspell-fixer_0.4-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.wRoKWxpe/trustedkeys.kbx': General error gpgv: Signature made Thu Jan 14 04:00:07 2021 -12 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./misspell-fixer_0.4-1.dsc dpkg-source: info: extracting misspell-fixer in misspell-fixer-0.4 dpkg-source: info: unpacking misspell-fixer_0.4.orig.tar.gz dpkg-source: info: unpacking misspell-fixer_0.4-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2632074/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' DISTRIBUTION='' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='10427de514294de4952da8800ef69b87' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='2632074' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.skELVAKUtQ/pbuilderrc_R6V6 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.skELVAKUtQ/b1 --logfile b1/build.log misspell-fixer_0.4-1.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos11-amd64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash -rwxr-xr-x 1 root root 113664 Sep 23 2020 date -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd -rwxr-xr-x 1 root root 93936 Sep 23 2020 df -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep -rwxr-xr-x 1 root root 39680 Sep 23 2020 false -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln -rwxr-xr-x 1 root root 56952 Feb 7 2020 login -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp -rwxr-xr-x 1 root root 59632 Jul 28 2021 more -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Feb 6 21:25 sh -> dash -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty -rwsr-xr-x 1 root root 71912 Jul 28 2021 su -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch -rwxr-xr-x 1 root root 39680 Sep 23 2020 true -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew I: user script /srv/workspace/pbuilder/2632074/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: ruby-ronn, shunit2 (>= 2.1.6-1.1), debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19655 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on ruby-ronn; however: Package ruby-ronn is not installed. pbuilder-satisfydepends-dummy depends on shunit2 (>= 2.1.6-1.1); however: Package shunit2 is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libdebhelper-perl{a} libedit2{a} libelf1{a} libfile-stripnondeterminism-perl{a} libice6{a} libicu67{a} libjs-jquery{a} libmagic-mgc{a} libmagic1{a} libmd0{a} libpipeline1{a} libruby2.7{a} libsigsegv2{a} libsm6{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libx11-6{a} libx11-data{a} libxau6{a} libxaw7{a} libxcb1{a} libxdmcp6{a} libxext6{a} libxml2{a} libxmu6{a} libxpm4{a} libxslt1.1{a} libxt6{a} libyaml-0-2{a} m4{a} man-db{a} openssl{a} po-debconf{a} rake{a} ruby{a} ruby-kramdown{a} ruby-minitest{a} ruby-mustache{a} ruby-net-telnet{a} ruby-nokogiri{a} ruby-pkg-config{a} ruby-power-assert{a} ruby-ronn{a} ruby-rubygems{a} ruby-test-unit{a} ruby-xmlrpc{a} ruby2.7{a} rubygems-integration{a} sensible-utils{a} shunit2{a} x11-common{a} The following packages are RECOMMENDED but will NOT be installed: curl fonts-lato ghostscript graphicsmagick-imagemagick-compat imagemagick imagemagick-6.q16 javascript-common libarchive-cpio-perl libltdl-dev libmail-sendmail-perl libpaper1 lynx netpbm psutils ruby-rouge wget zip 0 packages upgraded, 70 newly installed, 0 to remove and 0 not upgraded. Need to get 32.3 MB of archives. After unpacking 113 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main amd64 bsdextrautils amd64 2.36.1-8 [145 kB] Get: 2 http://deb.debian.org/debian bullseye/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 3 http://deb.debian.org/debian bullseye/main amd64 groff-base amd64 1.22.4-6 [936 kB] Get: 4 http://deb.debian.org/debian bullseye/main amd64 libpipeline1 amd64 1.5.3-1 [34.3 kB] Get: 5 http://deb.debian.org/debian bullseye/main amd64 man-db amd64 2.9.4-2 [1354 kB] Get: 6 http://deb.debian.org/debian bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main amd64 openssl amd64 1.1.1k-1+deb11u1 [851 kB] Get: 8 http://deb.debian.org/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB] Get: 9 http://deb.debian.org/debian bullseye/main amd64 libmagic-mgc amd64 1:5.39-3 [273 kB] Get: 10 http://deb.debian.org/debian bullseye/main amd64 libmagic1 amd64 1:5.39-3 [126 kB] Get: 11 http://deb.debian.org/debian bullseye/main amd64 file amd64 1:5.39-3 [69.1 kB] Get: 12 http://deb.debian.org/debian bullseye/main amd64 gettext-base amd64 0.21-4 [175 kB] Get: 13 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB] Get: 14 http://deb.debian.org/debian bullseye/main amd64 m4 amd64 1.4.18-5 [204 kB] Get: 15 http://deb.debian.org/debian bullseye/main amd64 autoconf all 2.69-14 [313 kB] Get: 16 http://deb.debian.org/debian bullseye/main amd64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 17 http://deb.debian.org/debian bullseye/main amd64 automake all 1:1.16.3-2 [814 kB] Get: 18 http://deb.debian.org/debian bullseye/main amd64 autopoint all 0.21-4 [510 kB] Get: 19 http://deb.debian.org/debian bullseye/main amd64 libdebhelper-perl all 13.3.4 [189 kB] Get: 20 http://deb.debian.org/debian bullseye/main amd64 libtool all 2.4.6-15 [513 kB] Get: 21 http://deb.debian.org/debian bullseye/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 22 http://deb.debian.org/debian bullseye/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 23 http://deb.debian.org/debian bullseye/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 24 http://deb.debian.org/debian bullseye/main amd64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 25 http://deb.debian.org/debian bullseye/main amd64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 26 http://deb.debian.org/debian bullseye/main amd64 libelf1 amd64 0.183-1 [165 kB] Get: 27 http://deb.debian.org/debian bullseye/main amd64 dwz amd64 0.13+20210201-1 [175 kB] Get: 28 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB] Get: 29 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7 [693 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 gettext amd64 0.21-4 [1311 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 33 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] Get: 34 http://deb.debian.org/debian bullseye/main amd64 libxau6 amd64 1:1.0.9-1 [19.7 kB] Get: 35 http://deb.debian.org/debian bullseye/main amd64 libmd0 amd64 1.0.3-3 [28.0 kB] Get: 36 http://deb.debian.org/debian bullseye/main amd64 libbsd0 amd64 0.11.3-1 [108 kB] Get: 37 http://deb.debian.org/debian bullseye/main amd64 libxdmcp6 amd64 1:1.1.2-3 [26.3 kB] Get: 38 http://deb.debian.org/debian bullseye/main amd64 libxcb1 amd64 1.14-3 [140 kB] Get: 39 http://deb.debian.org/debian bullseye/main amd64 libx11-data all 2:1.7.2-1 [311 kB] Get: 40 http://deb.debian.org/debian bullseye/main amd64 libx11-6 amd64 2:1.7.2-1 [772 kB] Get: 41 http://deb.debian.org/debian bullseye/main amd64 libxext6 amd64 2:1.3.3-1.1 [52.7 kB] Get: 42 http://deb.debian.org/debian bullseye/main amd64 x11-common all 1:7.7+22 [252 kB] Get: 43 http://deb.debian.org/debian bullseye/main amd64 libice6 amd64 2:1.0.10-1 [58.5 kB] Get: 44 http://deb.debian.org/debian bullseye/main amd64 libsm6 amd64 2:1.2.3-1 [35.1 kB] Get: 45 http://deb.debian.org/debian bullseye/main amd64 libxt6 amd64 1:1.2.0-1 [189 kB] Get: 46 http://deb.debian.org/debian bullseye/main amd64 libxmu6 amd64 2:1.1.2-2+b3 [60.8 kB] Get: 47 http://deb.debian.org/debian bullseye/main amd64 libxpm4 amd64 1:3.5.12-1 [49.1 kB] Get: 48 http://deb.debian.org/debian bullseye/main amd64 libxaw7 amd64 2:1.0.13-1.1 [202 kB] Get: 49 http://deb.debian.org/debian bullseye/main amd64 groff amd64 1.22.4-6 [3984 kB] Get: 50 http://deb.debian.org/debian bullseye/main amd64 libedit2 amd64 3.1-20191231-2+b1 [96.7 kB] Get: 51 http://deb.debian.org/debian bullseye/main amd64 libjs-jquery all 3.5.1+dfsg+~3.5.5-7 [315 kB] Get: 52 http://deb.debian.org/debian bullseye/main amd64 rubygems-integration all 1.18 [6704 B] Get: 53 http://deb.debian.org/debian bullseye/main amd64 ruby2.7 amd64 2.7.4-1 [747 kB] Get: 54 http://deb.debian.org/debian bullseye/main amd64 ruby-rubygems all 3.2.5-2 [281 kB] Get: 55 http://deb.debian.org/debian bullseye/main amd64 ruby amd64 1:2.7+2 [11.7 kB] Get: 56 http://deb.debian.org/debian bullseye/main amd64 rake all 13.0.3-1 [84.7 kB] Get: 57 http://deb.debian.org/debian bullseye/main amd64 ruby-minitest all 5.13.0-1 [57.3 kB] Get: 58 http://deb.debian.org/debian bullseye/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB] Get: 59 http://deb.debian.org/debian bullseye/main amd64 ruby-power-assert all 1.1.7-2 [11.5 kB] Get: 60 http://deb.debian.org/debian bullseye/main amd64 ruby-test-unit all 3.3.9-1 [86.1 kB] Get: 61 http://deb.debian.org/debian bullseye/main amd64 ruby-xmlrpc all 0.3.0-2 [23.7 kB] Get: 62 http://deb.debian.org/debian bullseye/main amd64 libyaml-0-2 amd64 0.2.2-1 [49.6 kB] Get: 63 http://deb.debian.org/debian bullseye/main amd64 libruby2.7 amd64 2.7.4-1 [4200 kB] Get: 64 http://deb.debian.org/debian bullseye/main amd64 libxslt1.1 amd64 1.1.34-4 [239 kB] Get: 65 http://deb.debian.org/debian bullseye/main amd64 ruby-kramdown all 2.3.0-5 [238 kB] Get: 66 http://deb.debian.org/debian bullseye/main amd64 ruby-mustache all 1.1.1-2 [26.6 kB] Get: 67 http://deb.debian.org/debian bullseye/main amd64 ruby-pkg-config all 1.4.4-1 [9276 B] Get: 68 http://deb.debian.org/debian bullseye/main amd64 ruby-nokogiri amd64 1.11.1+dfsg-2 [130 kB] Get: 69 http://deb.debian.org/debian bullseye/main amd64 ruby-ronn all 0.9.1-2 [27.9 kB] Get: 70 http://deb.debian.org/debian bullseye/main amd64 shunit2 all 2.1.6-1.2 [39.7 kB] Fetched 32.3 MB in 1s (28.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8_amd64.deb ... Unpacking bsdextrautils (2.36.1-8) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../01-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_amd64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../03-libpipeline1_1.5.3-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_amd64.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package openssl. Preparing to unpack .../06-openssl_1.1.1k-1+deb11u1_amd64.deb ... Unpacking openssl (1.1.1k-1+deb11u1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../07-ca-certificates_20210119_all.deb ... Unpacking ca-certificates (20210119) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../08-libmagic-mgc_1%3a5.39-3_amd64.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../09-libmagic1_1%3a5.39-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../10-file_1%3a5.39-3_amd64.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../11-gettext-base_0.21-4_amd64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../12-libsigsegv2_2.13-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.18-5_amd64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../18-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../22-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../25-libelf1_0.183-1_amd64.deb ... Unpacking libelf1:amd64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.13+20210201-1_amd64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:amd64. Preparing to unpack .../27-libicu67_67.1-7_amd64.deb ... Unpacking libicu67:amd64 (67.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../28-libxml2_2.9.10+dfsg-6.7_amd64.deb ... Unpacking libxml2:amd64 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.21-4_amd64.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package libxau6:amd64. Preparing to unpack .../33-libxau6_1%3a1.0.9-1_amd64.deb ... Unpacking libxau6:amd64 (1:1.0.9-1) ... Selecting previously unselected package libmd0:amd64. Preparing to unpack .../34-libmd0_1.0.3-3_amd64.deb ... Unpacking libmd0:amd64 (1.0.3-3) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../35-libbsd0_0.11.3-1_amd64.deb ... Unpacking libbsd0:amd64 (0.11.3-1) ... Selecting previously unselected package libxdmcp6:amd64. Preparing to unpack .../36-libxdmcp6_1%3a1.1.2-3_amd64.deb ... Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:amd64. Preparing to unpack .../37-libxcb1_1.14-3_amd64.deb ... Unpacking libxcb1:amd64 (1.14-3) ... Selecting previously unselected package libx11-data. Preparing to unpack .../38-libx11-data_2%3a1.7.2-1_all.deb ... Unpacking libx11-data (2:1.7.2-1) ... Selecting previously unselected package libx11-6:amd64. Preparing to unpack .../39-libx11-6_2%3a1.7.2-1_amd64.deb ... Unpacking libx11-6:amd64 (2:1.7.2-1) ... Selecting previously unselected package libxext6:amd64. Preparing to unpack .../40-libxext6_2%3a1.3.3-1.1_amd64.deb ... Unpacking libxext6:amd64 (2:1.3.3-1.1) ... Selecting previously unselected package x11-common. Preparing to unpack .../41-x11-common_1%3a7.7+22_all.deb ... Unpacking x11-common (1:7.7+22) ... Selecting previously unselected package libice6:amd64. Preparing to unpack .../42-libice6_2%3a1.0.10-1_amd64.deb ... Unpacking libice6:amd64 (2:1.0.10-1) ... Selecting previously unselected package libsm6:amd64. Preparing to unpack .../43-libsm6_2%3a1.2.3-1_amd64.deb ... Unpacking libsm6:amd64 (2:1.2.3-1) ... Selecting previously unselected package libxt6:amd64. Preparing to unpack .../44-libxt6_1%3a1.2.0-1_amd64.deb ... Unpacking libxt6:amd64 (1:1.2.0-1) ... Selecting previously unselected package libxmu6:amd64. Preparing to unpack .../45-libxmu6_2%3a1.1.2-2+b3_amd64.deb ... Unpacking libxmu6:amd64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm4:amd64. Preparing to unpack .../46-libxpm4_1%3a3.5.12-1_amd64.deb ... Unpacking libxpm4:amd64 (1:3.5.12-1) ... Selecting previously unselected package libxaw7:amd64. Preparing to unpack .../47-libxaw7_2%3a1.0.13-1.1_amd64.deb ... Unpacking libxaw7:amd64 (2:1.0.13-1.1) ... Selecting previously unselected package groff. Preparing to unpack .../48-groff_1.22.4-6_amd64.deb ... Unpacking groff (1.22.4-6) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../49-libedit2_3.1-20191231-2+b1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20191231-2+b1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../50-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ... Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../51-rubygems-integration_1.18_all.deb ... Unpacking rubygems-integration (1.18) ... Selecting previously unselected package ruby2.7. Preparing to unpack .../52-ruby2.7_2.7.4-1_amd64.deb ... Unpacking ruby2.7 (2.7.4-1) ... Selecting previously unselected package ruby-rubygems. Preparing to unpack .../53-ruby-rubygems_3.2.5-2_all.deb ... Unpacking ruby-rubygems (3.2.5-2) ... Selecting previously unselected package ruby. Preparing to unpack .../54-ruby_1%3a2.7+2_amd64.deb ... Unpacking ruby (1:2.7+2) ... Selecting previously unselected package rake. Preparing to unpack .../55-rake_13.0.3-1_all.deb ... Unpacking rake (13.0.3-1) ... Selecting previously unselected package ruby-minitest. Preparing to unpack .../56-ruby-minitest_5.13.0-1_all.deb ... Unpacking ruby-minitest (5.13.0-1) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../57-ruby-net-telnet_0.1.1-2_all.deb ... Unpacking ruby-net-telnet (0.1.1-2) ... Selecting previously unselected package ruby-power-assert. Preparing to unpack .../58-ruby-power-assert_1.1.7-2_all.deb ... Unpacking ruby-power-assert (1.1.7-2) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../59-ruby-test-unit_3.3.9-1_all.deb ... Unpacking ruby-test-unit (3.3.9-1) ... Selecting previously unselected package ruby-xmlrpc. Preparing to unpack .../60-ruby-xmlrpc_0.3.0-2_all.deb ... Unpacking ruby-xmlrpc (0.3.0-2) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../61-libyaml-0-2_0.2.2-1_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.2.2-1) ... Selecting previously unselected package libruby2.7:amd64. Preparing to unpack .../62-libruby2.7_2.7.4-1_amd64.deb ... Unpacking libruby2.7:amd64 (2.7.4-1) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../63-libxslt1.1_1.1.34-4_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.34-4) ... Selecting previously unselected package ruby-kramdown. Preparing to unpack .../64-ruby-kramdown_2.3.0-5_all.deb ... Unpacking ruby-kramdown (2.3.0-5) ... Selecting previously unselected package ruby-mustache. Preparing to unpack .../65-ruby-mustache_1.1.1-2_all.deb ... Unpacking ruby-mustache (1.1.1-2) ... Selecting previously unselected package ruby-pkg-config. Preparing to unpack .../66-ruby-pkg-config_1.4.4-1_all.deb ... Unpacking ruby-pkg-config (1.4.4-1) ... Selecting previously unselected package ruby-nokogiri. Preparing to unpack .../67-ruby-nokogiri_1.11.1+dfsg-2_amd64.deb ... Unpacking ruby-nokogiri (1.11.1+dfsg-2) ... Selecting previously unselected package ruby-ronn. Preparing to unpack .../68-ruby-ronn_0.9.1-2_all.deb ... Unpacking ruby-ronn (0.9.1-2) ... Selecting previously unselected package shunit2. Preparing to unpack .../69-shunit2_2.1.6-1.2_all.deb ... Unpacking shunit2 (2.1.6-1.2) ... Setting up libpipeline1:amd64 (1.5.3-1) ... Setting up libxau6:amd64 (1:1.0.9-1) ... Setting up bsdextrautils (2.36.1-8) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up shunit2 (2.1.6-1.2) ... Setting up libicu67:amd64 (67.1-7) ... Setting up ruby-power-assert (1.1.7-2) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libyaml-0-2:amd64 (0.2.2-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up x11-common (1:7.7+22) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libmagic1:amd64 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up ruby-minitest (5.13.0-1) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up ruby-test-unit (3.3.9-1) ... Setting up libx11-data (2:1.7.2-1) ... Setting up ruby-net-telnet (0.1.1-2) ... Setting up libsigsegv2:amd64 (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up libmd0:amd64 (1.0.3-3) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Setting up openssl (1.1.1k-1+deb11u1) ... Setting up libbsd0:amd64 (0.11.3-1) ... Setting up libelf1:amd64 (0.183-1) ... Setting up ruby-xmlrpc (0.3.0-2) ... Setting up libxml2:amd64 (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up libice6:amd64 (2:1.0.10-1) ... Setting up libxdmcp6:amd64 (1:1.1.2-3) ... Setting up libxcb1:amd64 (1.14-3) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up libedit2:amd64 (3.1-20191231-2+b1) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up ca-certificates (20210119) ... Updating certificates in /etc/ssl/certs... 129 added, 0 removed; done. Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up libxslt1.1:amd64 (1.1.34-4) ... Setting up libx11-6:amd64 (2:1.7.2-1) ... Setting up libsm6:amd64 (2:1.2.3-1) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libxpm4:amd64 (1:3.5.12-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libxext6:amd64 (2:1.3.3-1.1) ... Setting up rubygems-integration (1.18) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up libxt6:amd64 (1:1.2.0-1) ... Setting up libxmu6:amd64 (2:1.1.2-2+b3) ... Setting up debhelper (13.3.4) ... Setting up libxaw7:amd64 (2:1.0.13-1.1) ... Setting up groff (1.22.4-6) ... Setting up rake (13.0.3-1) ... Setting up ruby-rubygems (3.2.5-2) ... Setting up libruby2.7:amd64 (2.7.4-1) ... Setting up ruby-kramdown (2.3.0-5) ... Setting up ruby2.7 (2.7.4-1) ... Setting up ruby (1:2.7+2) ... Setting up ruby-pkg-config (1.4.4-1) ... Setting up ruby-mustache (1.1.1-2) ... Setting up ruby-nokogiri (1.11.1+dfsg-2) ... Setting up ruby-ronn (0.9.1-2) ... Processing triggers for libc-bin (2.31-13+deb11u2) ... Processing triggers for ca-certificates (20210119) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/misspell-fixer-0.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../misspell-fixer_0.4-1_source.changes dpkg-buildpackage: info: source package misspell-fixer dpkg-buildpackage: info: source version 0.4-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Lajos Veres dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j15 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/misspell-fixer-0.4' ./util/lint-dicts.sh + sort -u dict/safe.0.dict + cp /tmp/already-processed.dict dict/safe.0.dict + for i in safe.1 safe.2 safe.3 not-so-safe gb-to-us + remove_duplications safe.1 + export actual=safe.1 + actual=safe.1 + sort -u /tmp/already-processed.dict + sort -u dict/safe.1.dict + comm -23 dict/safe.1.dict.su /tmp/already-processed.dict.su + mv /tmp/already-processed.dict.su /tmp/already-processed.dict + rm dict/safe.1.dict.su + for i in safe.1 safe.2 safe.3 not-so-safe gb-to-us + remove_duplications safe.2 + export actual=safe.2 + actual=safe.2 + sort -u /tmp/already-processed.dict + sort -u dict/safe.2.dict + comm -23 dict/safe.2.dict.su /tmp/already-processed.dict.su + mv /tmp/already-processed.dict.su /tmp/already-processed.dict + rm dict/safe.2.dict.su + for i in safe.1 safe.2 safe.3 not-so-safe gb-to-us + remove_duplications safe.3 + export actual=safe.3 + actual=safe.3 + sort -u /tmp/already-processed.dict + sort -u dict/safe.3.dict + comm -23 dict/safe.3.dict.su /tmp/already-processed.dict.su + mv /tmp/already-processed.dict.su /tmp/already-processed.dict + rm dict/safe.3.dict.su + for i in safe.1 safe.2 safe.3 not-so-safe gb-to-us + remove_duplications not-so-safe + export actual=not-so-safe + actual=not-so-safe + sort -u /tmp/already-processed.dict + sort -u dict/not-so-safe.dict + comm -23 dict/not-so-safe.dict.su /tmp/already-processed.dict.su + mv /tmp/already-processed.dict.su /tmp/already-processed.dict + rm dict/not-so-safe.dict.su + for i in safe.1 safe.2 safe.3 not-so-safe gb-to-us + remove_duplications gb-to-us + export actual=gb-to-us + actual=gb-to-us + sort -u /tmp/already-processed.dict + sort -u dict/gb-to-us.dict + comm -23 dict/gb-to-us.dict.su /tmp/already-processed.dict.su + mv /tmp/already-processed.dict.su /tmp/already-processed.dict + rm dict/gb-to-us.dict.su make[1]: Leaving directory '/build/misspell-fixer-0.4' dh_auto_test make -j15 test make[1]: Entering directory '/build/misspell-fixer-0.4' /bin/bash -c 'source test/tests.sh' Git is not available so we do not test .gitignore related functionality. testWhitelist misspell-fixer: -W Save found misspelled file entries into .misspell-fixer.ignore instead of fixing them. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Saving found misspells into .misspell-fixer.ignore. misspell-fixer: Iteration 0: done. /build/misspell-fixer-0.4 misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Skipping whitelisted entries based on .misspell-fixer.ignore. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Skipping whitelisted entries based on .misspell-fixer.ignore. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 /build/misspell-fixer-0.4 testWhitelistWithFileNameOverride misspell-fixer: -W Save found misspelled file entries into .misspell-fixer.ignore instead of fixing them. misspell-fixer: -w Use .misspell-fixer.ignore.override as white list file instead of .misspell-fixer.ignore. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Saving found misspells into .misspell-fixer.ignore.override. misspell-fixer: Iteration 0: done. /build/misspell-fixer-0.4 misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -w Use .misspell-fixer.ignore.override as white list file instead of .misspell-fixer.ignore. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Skipping whitelisted entries based on .misspell-fixer.ignore.override. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Skipping whitelisted entries based on .misspell-fixer.ignore.override. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 /build/misspell-fixer-0.4 testWhitelistConflictWithRealRun /build/misspell-fixer-0.4 testWhitelistConflictWithDoubleWhitelist /build/misspell-fixer-0.4 misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: Target directories: . misspell-fixer: We found both .github/.misspell-fixer.ignore and .misspell-fixer.ignore. We can handle only one at the moment. /build/misspell-fixer-0.4 testShowDiff /build/misspell-fixer-0.4 testErrors # Misspell Fixer [![Build Status](https://travis-ci.org/vlajos/misspell-fixer.svg?branch=master)](https://travis-ci.org/vlajos/misspell-fixer) [![Coverage Status](https://img.shields.io/coveralls/vlajos/misspell-fixer.svg)](https://coveralls.io/r/vlajos/misspell-fixer?branch=master) [![Circle CI Build Status](https://circleci.com/gh/vlajos/misspell-fixer.svg?style=svg)](https://circleci.com/gh/vlajos/misspell-fixer) [![Issue Count](https://codeclimate.com/github/vlajos/misspell-fixer/badges/issue_count.svg)](https://codeclimate.com/github/vlajos/misspell-fixer) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/vlajos/misspell-fixer.svg)](https://isitmaintained.com/project/vlajos/misspell-fixer "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/vlajos/misspell-fixer.svg)](https://isitmaintained.com/project/vlajos/misspell-fixer "Percentage of issues still open") Utility to fix common misspellings, typos in source code. There are lots of typical misspellings in program code. Typically they are more eye-catching in the living code but they can easily hide in comments, examples, samples, notes and documentation. With this utility you can fix a large number of them very quickly. Be aware that the utility does not check or fix file names. It could easily happen that a misspelled word is fixed in a file name in a program's code, but the file itself will not be renamed by this utility. It is also important to be very careful when fixing public APIs! A manual review is always needed to verify that nothing has been broken. [Jump to docker notes](#with-docker) ### Synopsis misspell-fixer [OPTION] target[s] ### Options, Arguments `target[s]` can be any file[s] or directory/ies. Main options: * `-r` Real run mode: Overwrites the original files with the fixed one. Without this option the originals will be untouched. * `-n` Disable backups. (By default the modified files' originals will be saved with the `.$$.BAK` suffix.) * `-P n` Enable processing on `n` forks. For example: `-P 4` processes the files in 4 threads. (`-s` option is not supported) * `-f` Fast mode. (Equivalent with `-P4`) * `-h` Help. Performance note: `-s`, `-v` or the lack of `-n` or `-r` use a slower processing internal loop. So usually `-frn` without `-s` and `-v` are the highest performing combination. Output control options: * `-s` Shows diffs of changes. * `-v` Verbose mode: shows the iterated files. (Without the prefiltering step) * `-o` Verbose mode: shows progress (prints a dot for each file scanned, a comma for each file fix iteration/file.) * `-d` Debug mode: shows all steps of the core logic. By default only a subset of rules are enabled (around 100). You can enable more rules with the following options: * `-u` Enable less safe rules. (Manual review's importance is more significant...) (Around ten rules.) * `-g` Enable rules to convert British English to US English. (These rules aren't exactly typos but sometimes they can be useful.) (Around ten rules.) * `-R` Enable rare rules. (Few hundred rules.) * `-V` Enable very rare rules. (Mostly from the wikipedia article.) (More than four thousand rules.) * `-D` Enable rules based on lintian.debian.org ( git:ebac9a7, ~2300 ) The processing speed decreases as you activate more rules. But with newer greps this is much less significant. File filtering options: * `-G` Respect `.gitignore` files. (Requires executable `git` command.) (experimental) * `-N` Enable file name filtering. For example: `-N '*.cpp' -N '*.h'` * `-i` Walk through source code management system's internal directories. (do not ignore `.git`, `.svn`, `.hg`, `CVS`) * `-b` Process binary, generated files. (do not ignore `*.gif`, `*.jpg`, `*.jpeg`, `*.png`, `*.zip`, `*.gz`, `*.bz2`, `*.xz`, `*.rar`, `*.po`, `*.pdf`, `*.woff`, `yarn.lock`, `package-lock.json`, `composer.lock`, `*.mo`, `*.mov`, `*.mp4`, `*.jar`) * `-m` Disable file size checks. Default is to ignore files > 1MB. (usually csv, compressed JS, ..) Whitelisting files/entries: Misspell-fixer automatically ignores the issues matching to the patterns listed in `.misspell-fixer.ignore` or `.github/.misspell-fixer.ignore`. The format of this file follows the prefiltering's temporary result format: `^filename:line number:matched word` * `-W` can be used to append the found issues instead of fixing them based on the other settings. * `-w filename` can be used to override the ignore file's name. The ignore file is interpreted as a `grep` exclusion list. It is applied after the prefiltering step as a set of grep expression. So it is possible to exclude any prefixes or more specifically whole files with keeping only their file names: `^filename` Or a directory: `^directory` The entries are listed/matched with the paths based on the current invocation. Reaching the same target with different path from the same working directory will not apply the whitelisted entries generated from the other invocation. In directory `x` the whitelist entries generated with target `.` will not be applied for target `../x`, although they are the same. There is a workaround for this with manually editing the whitelist to your needs. (Patches are welcome for a more general solution...) ### Return values Generally the script tries to return with `0` if there were no typos or errors found/fixed. * `0` No typos found, * `1-5` Typos found. The return value shows the number of iterations executed. * `10` Help successfully printed. * `11` Whitelist successfully saved. * `100-` Parameter errors. (invalid, missing, conflicting) ### Sample usage Without arguments, the script will not change anything and its output is minimal. Its return value can be used to detect whether it found any typos or not. $ misspell-fixer target Fixing the files with displaying each fixed file: $ misspell-fixer -rv target Showing only the diffs without modifying the originals: $ misspell-fixer -sv target Showing the diffs with progress and fixing the found typos: $ misspell-fixer -rsv target Fast mode example, no backups: (highest performance) $ misspell-fixer -frn target The previous with all rules enabled: $ misspell-fixer -frunRVD target It is based on the following sources for common misspellings: * https://en.wikipedia.org/wiki/Commonly_misspelled_words * https://github.com/neleai/stylepp * https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines * https://anonscm.debian.org/git/lintian/lintian.git/tree/data/spelling/corrections * http://www.how-do-you-spell.com/ * http://www.wrongspelled.com/ ### With Docker In some environments the dependencies may cause some trouble. (Mac, Windows, older linux versions.) In this case, you can use misspell-fixer as a docker container image. Pull the latest version: $ docker pull vlajos/misspell-fixer And fix `targetdir`'s content: $ docker run -ti --rm -v targetdir:/work vlajos/misspell-fixer -frunRVD . #### Some other different use cases, examples: General execution directly with docker: $ docker run -ti --rm -v targetdir:/work vlajos/misspell-fixer [arguments] `targetdir` becomes the current working directory in the container, so you can reference it as `.` in the arguments list. You can also use the `dockered-fixer` wrapper from the source repository: $ dockered-fixer [arguments] In case your shell supports functions, you can define a function to make the command a little shorter: $ function misspell-fixer { docker run -ti --rm -v $(pwd):/work vlajos/misspell-fixer "$@"; } And fixing with the function: $ misspell-fixer [arguments] Through the wrapper and the function it can access only the folders below the current working directory as it is the only one passed to the container as a volume. You can build the container locally, although this should not be really needed: $ docker build . -t misspell-fixer ### With GitHub Actions There's a [GitHub Action](https://github.com/sobolevn/misspell-fixer-action) to run `misspell-fixer` as well. It can even send PRs automatically with the fixes. ### Dependencies - "On the shoulders of giants" The script itself is just a misspelling database and some glue in `bash` between `grep` and `sed`. `grep`'s `-F` combined with `sed`'s line targeting makes the script quite efficient. `-F` enables parallel pattern matching with the [Aho–Corasick algorithm](https://en.wikipedia.org/wiki/Aho%E2%80%93Corasick_algorithm) . Unfortunately only the newer (2.28+) versions of grep supports `-w` properly. A little more comprehensive list: * bash * find * sed * grep * diff * sort * tee * cut * rm, cp, mv * xargs * git (for respecting .gitignore files) ### Authors * Veres Lajos * ka7 ### Original source https://github.com/vlajos/misspell-fixer Feel free to use! misspell-fixer: Invalid option: -p misspell-fixer: Option -P requires an argument. misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -s Enable showing of diffs. misspell-fixer: Target directories: /dev/null misspell-fixer: Real run (-r) has not been enabled. Files will not be changed. Use -r to override this. misspell-fixer: Parallel mode cannot show diffs. Showing diffs is turned on. => Exiting. testOnlyDir misspell-fixer: Target directories: work misspell-fixer: Real run (-r) has not been enabled. Files will not be changed. Use -r to override this. misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. /build/misspell-fixer-0.4 testSpaceInFileName misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMultipleFileNames misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: Target directories: work/0.txt work/1.txt misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testParallel misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -P Enable parallelism: 4 misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testBackup misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testSCMdirsuntouched misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testSCMdirstouched misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -i Disable scm dir ignoring. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testNamefilter misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -i Disable scm dir ignoring. misspell-fixer: -N Enable name filter: *.aaa misspell-fixer: -N Enable name filter: *.yyy misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 --- test/expecteds/0.txt 2021-01-13 07:01:21.000000000 -1200 +++ /tmp/misspell-fixer-test/2636054/work/0.zzz 2022-02-10 09:14:01.911770623 -1200 @@ -1,3 +1,3 @@ -successful -successfully -lower than \ No newline at end of file +succesful +succesfully +lower then \ No newline at end of file testKeepPermissionsNormal misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -n Disable backups. misspell-fixer: -u Enable unsafe rules. misspell-fixer: -V Enable very-rare rules. misspell-fixer: Target directories: work misspell-fixer: Real run (-r) has not been enabled. Files will not be changed. Use -r to override this. misspell-fixer: Iteration 0: prefiltering. grep: work/0.txt: Permission denied grep: work/V.txt: Permission denied grep: work/R.txt: Permission denied grep: work/0.txt: Permission denied grep: work/V.txt: Permission denied grep: work/R.txt: Permission denied misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. /build/misspell-fixer-0.4 testKeepPermissionsFast misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -u Enable unsafe rules. misspell-fixer: -V Enable very-rare rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. grep: work/0.txt: Permission denied grep: work/V.txt: Permission denied grep: work/R.txt: Permission denied grep: work/0.txt: Permission denied grep: work/V.txt: Permission denied grep: work/R.txt: Permission denied misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testIgnoreBinary misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -i Disable binary ignoring. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testVerbose /build/misspell-fixer-0.4 testDots /build/misspell-fixer-0.4 testMNoChange misspell-fixer: -m Disable max-size check. Default is to ignore files > 1MB. misspell-fixer: -v Enable verbose mode. misspell-fixer: -R Enable rare rules. misspell-fixer: -V Enable very-rare rules. misspell-fixer: Target directories: work misspell-fixer: Real run (-r) has not been enabled. Files will not be changed. Use -r to override this. misspell-fixer: Your grep version is 3.6 which is at least the optimal: 2.28. misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Results of prefiltering: (filename:line:pattern) work/0.txt:1:succesful work/0.txt:2:succesful work/0.txt:3:lower then work/R.txt:1:truely work/V.txt:1:retore work/V.txt:2:initilized work/V.txt:3:a'ready work/nochange.txt:1:carefull misspell-fixer: Iteration 0: processing. misspell-fixer: actual file: work/0.txt misspell-fixer: temp file: work/0.txt.2637909 misspell-fixer: actual file: work/R.txt misspell-fixer: temp file: work/R.txt.2637911 misspell-fixer: actual file: work/V.txt misspell-fixer: temp file: work/V.txt.2637915 misspell-fixer: actual file: work/nochange.txt misspell-fixer: temp file: work/nochange.txt.2637922 misspell-fixer: nothing changed misspell-fixer: Iteration 0: done. /build/misspell-fixer-0.4 testMainNormal misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainFast misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainNormalR misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -R Enable rare rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainFastR misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -R Enable rare rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainNormalV misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -V Enable very-rare rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainFastV misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -V Enable very-rare rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainNormalu misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -u Enable unsafe rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainFastu misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -u Enable unsafe rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainNormalg misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -g Enable GB to US rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainFastg misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -g Enable GB to US rules. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainNormalRVD misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -R Enable rare rules. misspell-fixer: -V Enable very-rare rules. misspell-fixer: -D Enable rules from lintian.debian.org / spelling. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainFastRVD misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -R Enable rare rules. misspell-fixer: -V Enable very-rare rules. misspell-fixer: -D Enable rules from lintian.debian.org / spelling. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainNormalRVugD misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -R Enable rare rules. misspell-fixer: -V Enable very-rare rules. misspell-fixer: -u Enable unsafe rules. misspell-fixer: -g Enable GB to US rules. misspell-fixer: -D Enable rules from lintian.debian.org / spelling. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testMainFastRVugD misspell-fixer: -f Enable fast mode. (Equivalent with -P4) misspell-fixer: -r Enable real run. Overwrite original files! misspell-fixer: -n Disable backups. misspell-fixer: -R Enable rare rules. misspell-fixer: -V Enable very-rare rules. misspell-fixer: -u Enable unsafe rules. misspell-fixer: -g Enable GB to US rules. misspell-fixer: -D Enable rules from lintian.debian.org / spelling. misspell-fixer: Target directories: work misspell-fixer: Iteration 0: prefiltering. misspell-fixer: Iteration 0: processing. misspell-fixer: Iteration 0: done. misspell-fixer: Iteration 1: prefiltering. misspell-fixer: Iteration 1: nothing to replace. misspell-fixer: Iteration 1: done. /build/misspell-fixer-0.4 testDebug /build/misspell-fixer-0.4 Ran 35 tests. OK make[1]: Leaving directory '/build/misspell-fixer-0.4' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'misspell-fixer' in '../misspell-fixer_0.4-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../misspell-fixer_0.4-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2632074 and its subdirectories I: Current time: Thu Feb 10 09:14:34 -12 2022 I: pbuilder-time-stamp: 1644527674