Diff of the two buildlogs: -- --- b1/build.log 2024-12-04 02:20:21.628779631 +0000 +++ b2/build.log 2024-12-04 02:22:02.028243412 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 5 20:42:33 -12 2026 -I: pbuilder-time-stamp: 1767688953 +I: Current time: Wed Dec 4 16:20:24 +14 2024 +I: pbuilder-time-stamp: 1733278824 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ dpkg-source: info: unpacking cliphist_0.5.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/130671/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 4 02:20 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='504b9ba0819245f0aecf87de2230d91c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='130671' - PS1='# ' - PS2='> ' + INVOCATION_ID=c054496630074582818e920040bad07c + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=33139 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/r-b-build.EZ4KGoEd/pbuilderrc_tKc4 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EZ4KGoEd/b1 --logfile b1/build.log cliphist_0.5.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.EZ4KGoEd/pbuilderrc_59wA --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EZ4KGoEd/b2 --logfile b2/build.log cliphist_0.5.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/130671/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -175,7 +207,7 @@ Get: 52 http://deb.debian.org/debian trixie/main i386 golang-golang-x-tools-dev all 1:0.23.0+ds-1 [1593 kB] Get: 53 http://deb.debian.org/debian trixie/main i386 golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] Get: 54 http://deb.debian.org/debian trixie/main i386 golang-golang-x-image-dev all 0.18.0-1 [3000 kB] -Fetched 76.7 MB in 2s (39.3 MB/s) +Fetched 76.7 MB in 1s (56.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19950 files and directories currently installed.) @@ -406,7 +438,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/cliphist-0.5.0/ && 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 > ../cliphist_0.5.0-1_source.changes +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/cliphist-0.5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../cliphist_0.5.0-1_source.changes dpkg-buildpackage: info: source package cliphist dpkg-buildpackage: info: source version 0.5.0-1 dpkg-buildpackage: info: source distribution unstable @@ -424,81 +460,81 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 22 github.com/sentriz/cliphist -unicode/utf8 -cmp -internal/goarch -internal/godebugs + cd _build && go install -trimpath -v -p 10 github.com/sentriz/cliphist internal/profilerecord -internal/coverage/rtcov +internal/goarch internal/unsafeheader -internal/itoa -internal/race -image/color -internal/cpu -internal/runtime/syscall +internal/coverage/rtcov +internal/godebugs +internal/goexperiment internal/goos internal/byteorder -sync/atomic -internal/goexperiment -math/bits -internal/msan -unicode -encoding -internal/asan -internal/abi internal/runtime/atomic +internal/cpu +internal/runtime/syscall +internal/race +sync/atomic runtime/internal/math +internal/abi runtime/internal/sys +unicode +unicode/utf8 internal/chacha8rand -image/color/palette +cmp +math/bits +internal/asan +internal/itoa +internal/msan +internal/runtime/exithook +encoding +image/color math internal/bytealg -internal/runtime/exithook +image/color/palette internal/stringslite runtime -iter internal/reflectlite sync +iter slices internal/bisect internal/testlog errors sort -internal/godebug internal/oserror -path io +path strconv syscall -hash -strings +internal/godebug bytes -hash/adler32 +strings +hash hash/fnv +hash/adler32 hash/crc32 reflect bufio image +time internal/syscall/execenv internal/syscall/unix -time image/internal/imageutil image/draw image/jpeg io/fs internal/poll +encoding/binary +internal/fmtsort embed internal/filepathlite os -internal/fmtsort -encoding/binary golang.org/x/image/bmp golang.org/x/sys/unix -path/filepath fmt -encoding/hex +path/filepath flag +encoding/hex compress/lzw compress/flate image/gif @@ -507,7 +543,7 @@ go.etcd.io/bbolt github.com/sentriz/cliphist dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 22 github.com/sentriz/cliphist + cd _build && go test -vet=off -v -p 10 github.com/sentriz/cliphist === RUN TestScripts === RUN TestScripts/clipboard-state-env-clear === PAUSE TestScripts/clipboard-state-env-clear @@ -546,26 +582,21 @@ === RUN TestScripts/wipe === PAUSE TestScripts/wipe === CONT TestScripts/clipboard-state-env-clear +=== CONT TestScripts/wipe === CONT TestScripts/multi-line -=== CONT TestScripts/invalid-usage -=== CONT TestScripts/dedupe -=== CONT TestScripts/test-image-and-preview-jpg -=== CONT TestScripts/clipboard-state-env-sensitive -=== CONT TestScripts/decode-by-argument -=== CONT TestScripts/test-image-and-preview-bmp -=== CONT TestScripts/store-limit === CONT TestScripts/test-image-and-preview-gif -=== CONT TestScripts/no-permission -=== CONT TestScripts/delete +=== CONT TestScripts/test-image-and-preview-png +=== CONT TestScripts/test-image-and-preview-jpg === CONT TestScripts/version -=== CONT TestScripts/wipe +=== CONT TestScripts/store-limit +=== CONT TestScripts/invalid-usage === CONT TestScripts/max-dedupe +=== CONT TestScripts/test-image-and-preview-bmp === CONT TestScripts/multi-line-text-preview -=== CONT TestScripts/test-image-and-preview-png -=== CONT TestScripts/list-order +=== CONT TestScripts/no-permission === NAME TestScripts/version testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -582,9 +613,10 @@ > stderr '^\d+\.\d+\.\d+$' PASS +=== CONT TestScripts/list-order === NAME TestScripts/no-permission testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -599,7 +631,7 @@ > chmod 111 $XDG_CACHE_HOME > exec rand 8 [stdout] - S ET> stdin stdout + f70,> stdin stdout > ! exec cliphist store [stderr] opening db: create cache dir: mkdir $WORK/cliphist: permission denied @@ -608,128 +640,10 @@ > stderr 'permission denied' PASS -=== NAME TestScripts/invalid-usage - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - GOTRACEBACK=system - HOME=$WORK - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - exe= - XDG_CACHE_HOME=$WORK - - > ! exec cliphist - [stderr] - usage: - $ cliphist - options: - -max-dedupe-search (default 100) - maximum number of last items to look through when finding duplicates - -max-items (default 750) - maximum number of items to store - [exit status 1] - > ! stdout . - > stderr '^usage:' - > stderr '^options:' - > ! exec cliphist hello - [stderr] - usage: - $ cliphist - options: - -max-dedupe-search (default 100) - maximum number of last items to look through when finding duplicates - -max-items (default 750) - maximum number of items to store - [exit status 1] - > ! stdout . - > stderr '^usage:' - > stderr '^options:' - > ! exec cliphist -unknown - [stderr] - flag provided but not defined: -unknown - usage: - $ cliphist - options: - -max-dedupe-search (default 100) - maximum number of last items to look through when finding duplicates - -max-items (default 750) - maximum number of items to store - [exit status 1] - > ! stdout . - > stderr '^usage:' - > stderr '^options:' - # should store first (0.148s) - > ! exec cliphist list - [stderr] - opening db: please store something first - [exit status 1] - > stderr 'please store something first' - > exec rand 16 - [stdout] - qL;-y&> exec cliphist store - # delete query (0.002s) - > ! exec cliphist delete-query - [stderr] - please provide a query - [exit status 1] - > ! stdout . - > stderr 'please provide a query' - # decode id check (0.003s) - > ! exec cliphist decode - [stderr] - extracting id: input not prefixed with id - [exit status 1] - > ! stdout . - > stderr 'input not prefixed with id' - # invalid id (0.002s) - > stdin in-invalid-id - > ! exec cliphist decode - [stderr] - extracting id: converting id: strconv.Atoi: parsing "a": invalid syntax - [exit status 1] - > ! stdout . - > stderr 'parsing "a": invalid syntax' - PASS - -=== NAME TestScripts/multi-line-text-preview - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - GOTRACEBACK=system - HOME=$WORK - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - exe= - XDG_CACHE_HOME=$WORK - - > stdin in - > exec cliphist store - # preview should be flat (0.002s) - > exec cliphist list - [stdout] - 1 a b c d e f g h i j - > stdout '^1 a b c d e f g h i j$' - > stdout -count=1 '^.' - # but what's stored should be identical (0.003s) - > stdin query - > exec cliphist decode - [stdout] - a b - c d e f - g h i j - - > cp stdout out - > cmp in out - PASS - +=== CONT TestScripts/dedupe === NAME TestScripts/multi-line testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -742,35 +656,34 @@ > exec rand 2048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: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -791,7 +704,7 @@ $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?((((> cp stdout in.jpg > stdin stdout > exec cliphist store - # check we render preview (0.005s) + # check we render preview (0.071s) > exec cliphist list [stdout] 1 [[ binary data 609 B jpeg 20x20 ]] @@ -809,9 +722,10 @@ > cmp in.jpg out.jpg PASS -=== NAME TestScripts/test-image-and-preview-gif +=== CONT TestScripts/decode-by-argument +=== NAME TestScripts/list-order testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -822,27 +736,23 @@ exe= XDG_CACHE_HOME=$WORK - > exec gif - [stdout] - GIF89aDDDDDDDD̈UUUULILIݓ"""ffffUOUOU333wwww]U]DDDDDDDDDDDDDDDDDDDDDD̈DDUUULIUUUUULLIILLLLIIIIIݓIOfffUOfffffUUOOUUUUOOOOOUUwww]Uwwwww]]UU]]]]UUUÜDDDDD̈D̈D̈̈DLݙLLLLIݙLݓIݓݙUUUUUOUO]]]]]U]UDDDDD̈̈D̈̈D̈DIIIIIݓݓIݓݓIݓIOOOOOOOOUUUUUUUU,"H*\ȰÇ#JHŋ3jh1 ;> cp stdout in.gif - > stdin stdout + > stdin in-1 + > exec cliphist store + > stdin in-2 + > exec cliphist store + > stdin in-3 > exec cliphist store - # check we render preview (0.006s) > exec cliphist list [stdout] - 1 [[ binary data 829 B gif 20x20 ]] - > stdout '\[\[ binary data \d+ B gif 20x20 \]\]' - > stdin query - > exec cliphist decode - [stdout] - GIF89aDDDDDDDD̈UUUULILIݓ"""ffffUOUOU333wwww]U]DDDDDDDDDDDDDDDDDDDDDD̈DDUUULIUUUUULLIILLLLIIIIIݓIOfffUOfffffUUOOUUUUOOOOOUUwww]Uwwwww]]UU]]]]UUUÜDDDDD̈D̈D̈̈DLݙLLLLIݙLݓIݓݙUUUUUOUO]]]]]U]UDDDDD̈̈D̈̈D̈DIIIIIݓݓIݓݓIݓIOOOOOOOOUUUUUUUU,"H*\ȰÇ#JHŋ3jh1 ;> cp stdout out.gif - # check we didn't lose any bytes (0.000s) - > cmp in.gif out.gif + 3 test input 3 + 2 test input 2 + 1 test input 1 + > cmp stdout out PASS -=== NAME TestScripts/test-image-and-preview-png +=== NAME TestScripts/multi-line-text-preview testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -853,31 +763,29 @@ exe= XDG_CACHE_HOME=$WORK - > exec png - [stdout] - PNG -  - IHDR IDATxbb25pQG 5p8)&IENDB`> cp stdout in.png - > stdin stdout + > stdin in > exec cliphist store - # check we render preview (0.007s) + # preview should be flat (0.054s) > exec cliphist list [stdout] - 1 [[ binary data 87 B png 20x20 ]] - > stdout '\[\[ binary data \d+ B png 20x20 \]\]' + 1 a b c d e f g h i j + > stdout '^1 a b c d e f g h i j$' + > stdout -count=1 '^.' + # but what's stored should be identical (0.055s) > stdin query > exec cliphist decode [stdout] - PNG -  - IHDR IDATxbb25pQG 5p8)&IENDB`> cp stdout out.png - # check we didn't lose any bytes (0.000s) - > cmp in.png out.png + a b + c d e f + g h i j + + > cp stdout out + > cmp in out PASS -=== NAME TestScripts/test-image-and-preview-bmp +=== NAME TestScripts/test-image-and-preview-gif testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -888,27 +796,27 @@ exe= XDG_CACHE_HOME=$WORK - > exec bmp + > exec gif [stdout] - BMv6( @> cp stdout in.bmp + GIF89aDDDDDDDD̈UUUULILIݓ"""ffffUOUOU333wwww]U]DDDDDDDDDDDDDDDDDDDDDD̈DDUUULIUUUUULLIILLLLIIIIIݓIOfffUOfffffUUOOUUUUOOOOOUUwww]Uwwwww]]UU]]]]UUUÜDDDDD̈D̈D̈̈DLݙLLLLIݙLݓIݓݙUUUUUOUO]]]]]U]UDDDDD̈̈D̈̈D̈DIIIIIݓݓIݓݓIݓIOOOOOOOOUUUUUUUU,"H*\ȰÇ#JHŋ3jh1 ;> cp stdout in.gif > stdin stdout > exec cliphist store - # check we render preview (0.004s) + # check we render preview (0.096s) > exec cliphist list [stdout] - 1 [[ binary data 2 KiB bmp 20x20 ]] - > stdout '\[\[ binary data \d+ KiB bmp 20x20 \]\]' + 1 [[ binary data 829 B gif 20x20 ]] + > stdout '\[\[ binary data \d+ B gif 20x20 \]\]' > stdin query > exec cliphist decode [stdout] - BMv6( @> cp stdout out.bmp + GIF89aDDDDDDDD̈UUUULILIݓ"""ffffUOUOU333wwww]U]DDDDDDDDDDDDDDDDDDDDDD̈DDUUULIUUUUULLIILLLLIIIIIݓIOfffUOfffffUUOOUUUUOOOOOUUwww]Uwwwww]]UU]]]]UUUÜDDDDD̈D̈D̈̈DLݙLLLLIݙLݓIݓݙUUUUUOUO]]]]]U]UDDDDD̈̈D̈̈D̈DIIIIIݓݓIݓݓIݓIOOOOOOOOUUUUUUUU,"H*\ȰÇ#JHŋ3jh1 ;> cp stdout out.gif # check we didn't lose any bytes (0.000s) - > cmp in.bmp out.bmp + > cmp in.gif out.gif PASS -=== NAME TestScripts/clipboard-state-env-sensitive +=== NAME TestScripts/test-image-and-preview-bmp testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -919,30 +827,28 @@ exe= XDG_CACHE_HOME=$WORK - > env CLIPBOARD_STATE=data - > exec rand 8 + > exec bmp [stdout] - E#3> stdin stdout + BMv6( @> cp stdout in.bmp + > stdin stdout > exec cliphist store - # check 1 item with CLIPBOARD_STATE=data (0.073s) + # check we render preview (0.101s) > exec cliphist list [stdout] - 1 E#3 - > stdout -count=1 '^.' - > exec cliphist wipe - > env CLIPBOARD_STATE=sensitive - > exec rand 8 + 1 [[ binary data 2 KiB bmp 20x20 ]] + > stdout '\[\[ binary data \d+ KiB bmp 20x20 \]\]' + > stdin query + > exec cliphist decode [stdout] - R9?> stdin stdout - > exec cliphist store - # check 0 items with CLIPBOARD_STATE=sensitive (0.002s) - > exec cliphist list - > ! stdout . + BMv6( @> cp stdout out.bmp + # check we didn't lose any bytes (0.000s) + > cmp in.bmp out.bmp PASS -=== NAME TestScripts/decode-by-argument +=== CONT TestScripts/clipboard-state-env-sensitive +=== NAME TestScripts/test-image-and-preview-png testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -953,31 +859,31 @@ exe= XDG_CACHE_HOME=$WORK - > stdin in-a - > exec cliphist store - > stdin in-b + > exec png + [stdout] + PNG +  + IHDR IDATxbb25pQG 5p8)&IENDB`> cp stdout in.png + > stdin stdout > exec cliphist store - > exec cliphist decode 1 + # check we render preview (0.064s) + > exec cliphist list [stdout] - a - - > stdout '^a$' - > exec cliphist decode 2 + 1 [[ binary data 87 B png 20x20 ]] + > stdout '\[\[ binary data \d+ B png 20x20 \]\]' + > stdin query + > exec cliphist decode [stdout] - b - > stdout '^b$' - > exec cliphist decode 3 - > stdout '^$' - > ! exec cliphist decode - [stderr] - extracting id: input not prefixed with id - [exit status 1] - > stderr 'input not prefixed with id' + PNG +  + IHDR IDATxbb25pQG 5p8)&IENDB`> cp stdout out.png + # check we didn't lose any bytes (0.000s) + > cmp in.png out.png PASS === NAME TestScripts/clipboard-state-env-clear testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -1009,9 +915,9 @@ > cmp stdout out-after PASS -=== NAME TestScripts/list-order +=== NAME TestScripts/wipe testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -1022,23 +928,27 @@ exe= XDG_CACHE_HOME=$WORK - > stdin in-1 + > exec rand 16 + [stdout] + J#t!{ҥG> stdin stdout > exec cliphist store - > stdin in-2 + > exec rand 16 + [stdout] + Wa~"ڲ> stdin stdout > exec cliphist store - > stdin in-3 + > exec rand 16 + [stdout] + k^|@%iG ;> stdin stdout > exec cliphist store + > exec cliphist wipe + > ! stdout . > exec cliphist list - [stdout] - 3 test input 3 - 2 test input 2 - 1 test input 1 - > cmp stdout out + > ! stdout . PASS -=== NAME TestScripts/wipe +=== NAME TestScripts/invalid-usage testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -1049,27 +959,82 @@ exe= XDG_CACHE_HOME=$WORK + > ! exec cliphist + [stderr] + usage: + $ cliphist + options: + -max-dedupe-search (default 100) + maximum number of last items to look through when finding duplicates + -max-items (default 750) + maximum number of items to store + [exit status 1] + > ! stdout . + > stderr '^usage:' + > stderr '^options:' + > ! exec cliphist hello + [stderr] + usage: + $ cliphist + options: + -max-dedupe-search (default 100) + maximum number of last items to look through when finding duplicates + -max-items (default 750) + maximum number of items to store + [exit status 1] + > ! stdout . + > stderr '^usage:' + > stderr '^options:' + > ! exec cliphist -unknown + [stderr] + flag provided but not defined: -unknown + usage: + $ cliphist + options: + -max-dedupe-search (default 100) + maximum number of last items to look through when finding duplicates + -max-items (default 750) + maximum number of items to store + [exit status 1] + > ! stdout . + > stderr '^usage:' + > stderr '^options:' + # should store first (0.116s) + > ! exec cliphist list + [stderr] + opening db: please store something first + [exit status 1] + > stderr 'please store something first' > exec rand 16 [stdout] - -s9ӿ۞ > stdin stdout - > exec cliphist store - > exec rand 16 - [stdout] - .F6r'.Wē> stdin stdout - > exec cliphist store - > exec rand 16 - [stdout] - Px0/r=> stdin stdout - > exec cliphist store - > exec cliphist wipe + 4g?w/!F> exec cliphist store + # delete query (0.033s) + > ! exec cliphist delete-query + [stderr] + please provide a query + [exit status 1] > ! stdout . - > exec cliphist list + > stderr 'please provide a query' + # decode id check (0.027s) + > ! exec cliphist decode + [stderr] + extracting id: input not prefixed with id + [exit status 1] + > ! stdout . + > stderr 'input not prefixed with id' + # invalid id (0.013s) + > stdin in-invalid-id + > ! exec cliphist decode + [stderr] + extracting id: converting id: strconv.Atoi: parsing "a": invalid syntax + [exit status 1] > ! stdout . + > stderr 'parsing "a": invalid syntax' PASS === NAME TestScripts/dedupe testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -1095,9 +1060,78 @@ > cmp stdout out PASS +=== NAME TestScripts/decode-by-argument + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + GOTRACEBACK=system + HOME=$WORK + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + exe= + XDG_CACHE_HOME=$WORK + + > stdin in-a + > exec cliphist store + > stdin in-b + > exec cliphist store + > exec cliphist decode 1 + [stdout] + a + + > stdout '^a$' + > exec cliphist decode 2 + [stdout] + b + > stdout '^b$' + > exec cliphist decode 3 + > stdout '^$' + > ! exec cliphist decode + [stderr] + extracting id: input not prefixed with id + [exit status 1] + > stderr 'input not prefixed with id' + PASS + +=== NAME TestScripts/clipboard-state-env-sensitive + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + GOTRACEBACK=system + HOME=$WORK + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + exe= + XDG_CACHE_HOME=$WORK + + > env CLIPBOARD_STATE=data + > exec rand 8 + [stdout] + ?6> stdin stdout + > exec cliphist store + # check 1 item with CLIPBOARD_STATE=data (0.091s) + > exec cliphist list + [stdout] + 1 ?6 + > stdout -count=1 '^.' + > exec cliphist wipe + > env CLIPBOARD_STATE=sensitive + > exec rand 8 + [stdout] + I$> stdin stdout + > exec cliphist store + # check 0 items with CLIPBOARD_STATE=sensitive (0.014s) + > exec cliphist list + > ! stdout . + PASS + === NAME TestScripts/store-limit testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -1110,37 +1144,69 @@ > exec rand 16 [stdout] - ! stdin stdout + ݁{LsGoXy> stdin stdout > exec cliphist -max-items 2 store > exec rand 16 [stdout] - n-$()Ͳ> stdin stdout + SMqf~KAU7> stdin stdout > exec cliphist -max-items 2 store > exec rand 16 [stdout] - P stdin stdout + 5]2%MN + C> stdin stdout > exec cliphist -max-items 2 store - # we only kept 2 (0.078s) + # we only kept 2 (0.082s) > exec cliphist list [stdout] - 3 P ! stdout '^1\t' > stdout '^2\t' > stdout '^3\t' > exec rand 16 [stdout] - b=yE%or+f> stdin stdout + ΜٌS\f > stdin stdout > exec cliphist -max-items 0 store - # 0 clears the lot (0.002s) + # 0 clears the lot (0.032s) > exec cliphist list > ! stdout . > ! stderr . PASS +=== NAME TestScripts/delete + testscript.go:558: WORK=$WORK + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + GOTRACEBACK=system + HOME=$WORK + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + exe= + XDG_CACHE_HOME=$WORK + + > stdin in-good + > exec cliphist store + > stdin in-bad-1 + > exec cliphist store + > stdin in-bad-2 + > exec cliphist store + > stdin in-bad-3 + > exec cliphist store + > stdin delete-query + > exec cliphist delete + > exec cliphist delete-query 'bad-3' + > exec cliphist delete-query 'i dont exist' + > exec cliphist list + [stdout] + 1 im a test + > cmp stdout out + PASS + === NAME TestScripts/max-dedupe testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2237254947/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path GOTRACEBACK=system HOME=$WORK TMPDIR=$WORK/.tmp @@ -1155,88 +1221,57 @@ > exec cliphist store > exec rand 8 [stdout] - p"կV> stdin stdout + uQ)7> stdin stdout > exec cliphist store > stdin in > exec cliphist store > exec cliphist list [stdout] 3 test line - 2 p"կV + 2 uQ)7 > stdout -count=2 '^.' > exec rand 8 [stdout] - \OX> stdin stdout + ooP> stdin stdout > exec cliphist store > exec cliphist list [stdout] - 4 \OX + 4 ooP 3 test line - 2 p"կV + 2 uQ)7 > stdout -count=3 '^.' > stdin in > exec cliphist -max-dedupe-search=0 store > exec cliphist list [stdout] 5 test line - 4 \OX + 4 ooP 3 test line - 2 p"կV + 2 uQ)7 > stdout -count=4 '^.' PASS -=== NAME TestScripts/delete - testscript.go:558: WORK=$WORK - PATH=/tmp/testscript-main4256099431/bin:/usr/lib/go-1.23/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - GOTRACEBACK=system - HOME=$WORK - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - exe= - XDG_CACHE_HOME=$WORK - - > stdin in-good - > exec cliphist store - > stdin in-bad-1 - > exec cliphist store - > stdin in-bad-2 - > exec cliphist store - > stdin in-bad-3 - > exec cliphist store - > stdin delete-query - > exec cliphist delete - > exec cliphist delete-query 'bad-3' - > exec cliphist delete-query 'i dont exist' - > exec cliphist list - [stdout] - 1 im a test - > cmp stdout out - PASS - --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/version (0.13s) - --- PASS: TestScripts/no-permission (0.13s) - --- PASS: TestScripts/invalid-usage (0.28s) - --- PASS: TestScripts/multi-line-text-preview (0.29s) - --- PASS: TestScripts/multi-line (0.32s) - --- PASS: TestScripts/test-image-and-preview-jpg (0.32s) - --- PASS: TestScripts/test-image-and-preview-png (0.32s) - --- PASS: TestScripts/test-image-and-preview-gif (0.32s) - --- PASS: TestScripts/test-image-and-preview-bmp (0.35s) - --- PASS: TestScripts/clipboard-state-env-sensitive (0.37s) - --- PASS: TestScripts/decode-by-argument (0.39s) - --- PASS: TestScripts/clipboard-state-env-clear (0.40s) - --- PASS: TestScripts/list-order (0.31s) - --- PASS: TestScripts/wipe (0.47s) - --- PASS: TestScripts/dedupe (0.49s) - --- PASS: TestScripts/store-limit (0.51s) - --- PASS: TestScripts/max-dedupe (0.62s) - --- PASS: TestScripts/delete (0.91s) + --- PASS: TestScripts/version (0.08s) + --- PASS: TestScripts/no-permission (0.15s) + --- PASS: TestScripts/multi-line (0.19s) + --- PASS: TestScripts/test-image-and-preview-jpg (0.20s) + --- PASS: TestScripts/list-order (0.14s) + --- PASS: TestScripts/multi-line-text-preview (0.24s) + --- PASS: TestScripts/test-image-and-preview-gif (0.24s) + --- PASS: TestScripts/test-image-and-preview-bmp (0.24s) + --- PASS: TestScripts/test-image-and-preview-png (0.25s) + --- PASS: TestScripts/clipboard-state-env-clear (0.30s) + --- PASS: TestScripts/wipe (0.33s) + --- PASS: TestScripts/invalid-usage (0.34s) + --- PASS: TestScripts/dedupe (0.21s) + --- PASS: TestScripts/decode-by-argument (0.19s) + --- PASS: TestScripts/clipboard-state-env-sensitive (0.17s) + --- PASS: TestScripts/store-limit (0.42s) + --- PASS: TestScripts/delete (0.27s) + --- PASS: TestScripts/max-dedupe (0.46s) PASS -ok github.com/sentriz/cliphist 0.910s +ok github.com/sentriz/cliphist 0.479s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1274,12 +1309,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/33139/tmp/hooks/B01_cleanup finished 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/130671 and its subdirectories -I: Current time: Mon Jan 5 20:43:19 -12 2026 -I: pbuilder-time-stamp: 1767688999 +I: removing directory /srv/workspace/pbuilder/33139 and its subdirectories +I: Current time: Wed Dec 4 16:22:01 +14 2024 +I: pbuilder-time-stamp: 1733278921