I: pbuilder: network access will be disabled during build I: Current time: Mon Apr 13 00:59:19 +14 2020 I: pbuilder-time-stamp: 1586689159 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-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: using eatmydata during job I: Copying source file I: copying [libhtml-truncate-perl_0.20-2.dsc] I: copying [./libhtml-truncate-perl_0.20.orig.tar.gz] I: copying [./libhtml-truncate-perl_0.20-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Aug 1 22:00:35 2017 +14 gpgv: using RSA key 76A28E42C9811D91E88FBA5E2EC0FFB3B7301B1F gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./libhtml-truncate-perl_0.20-2.dsc dpkg-source: info: extracting libhtml-truncate-perl in libhtml-truncate-perl-0.20 dpkg-source: info: unpacking libhtml-truncate-perl_0.20.orig.tar.gz dpkg-source: info: unpacking libhtml-truncate-perl_0.20-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying autopkgtest.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/8149/tmp/hooks/D01_modify_environment starting disorder-fs debug: Running on profitbricks-build2-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 Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/8149/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 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: debhelper (>= 10), libhtml-parser-perl, libhtml-tagset-perl, perl dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19231 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 debhelper (>= 10); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libhtml-parser-perl; however: Package libhtml-parser-perl is not installed. pbuilder-satisfydepends-dummy depends on libhtml-tagset-perl; however: Package libhtml-tagset-perl 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} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libhtml-parser-perl{a} libhtml-tagset-perl{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} liburi-perl{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libhttp-message-perl libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 36 newly installed, 0 to remove and 0 not upgraded. Need to get 19.6 MB of archives. After unpacking 70.8 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4+deb10u1 [242 kB] Get: 9 http://deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4+deb10u1 [124 kB] Get: 10 http://deb.debian.org/debian buster/main i386 file i386 1:5.35-4+deb10u1 [66.3 kB] Get: 11 http://deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 12 http://deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 13 http://deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 14 http://deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 24 http://deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 25 http://deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2+deb10u2 [1334 kB] Get: 26 http://deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6 [8443 kB] Get: 27 http://deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 28 http://deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 29 http://deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2+deb10u2 [109 kB] Get: 30 http://deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 31 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 34 http://deb.debian.org/debian buster/main i386 libhtml-tagset-perl all 3.20-3 [12.7 kB] Get: 35 http://deb.debian.org/debian buster/main i386 liburi-perl all 1.76-1 [89.9 kB] Get: 36 http://deb.debian.org/debian buster/main i386 libhtml-parser-perl i386 3.72-3+b3 [106 kB] Fetched 19.6 MB in 4s (5537 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19231 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_i386.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../11-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../22-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../25-libicu63_63.1-6_i386.deb ... Unpacking libicu63:i386 (63.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../27-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... 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_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../33-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../34-liburi-perl_1.76-1_all.deb ... Unpacking liburi-perl (1.76-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../35-libhtml-parser-perl_3.72-3+b3_i386.deb ... Unpacking libhtml-parser-perl (3.72-3+b3) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libhtml-tagset-perl (3.20-3) ... Setting up libmagic1:i386 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libicu63:i386 (63.1-6) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:i386 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up liburi-perl (1.76-1) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up libhtml-parser-perl (3.72-3+b3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... 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 Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/libhtml-truncate-perl-0.20/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package libhtml-truncate-perl dpkg-buildpackage: info: source version 0.20-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Niko Tyni dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -ffile-prefix-map=/build/libhtml-truncate-perl-0.20=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=i686-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libhtml-truncate-perl-0.20=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - Encode ...loaded. (2.97 >= 2) - Test::More ...loaded. (1.302133 >= 0.5) - File::Spec ...loaded. (3.74 >= 3) - HTML::Tagset ...loaded. (3.20 >= 3) - HTML::TokeParser ...loaded. (3.69 >= 2) - List::Util ...loaded. (1.5 >= 1) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Warning: the following files are missing in your kit: lib/HTML/Truncate.pm.orig Please inform the author. Generating a Unix-style Makefile Writing Makefile for HTML::Truncate Writing MYMETA.yml and MYMETA.json dh_auto_build make -j10 make[1]: Entering directory '/build/libhtml-truncate-perl-0.20' cp lib/HTML/Truncate.pm blib/lib/HTML/Truncate.pm Manifying 1 pod document make[1]: Leaving directory '/build/libhtml-truncate-perl-0.20' dh_auto_test make -j10 test TEST_VERBOSE=1 make[1]: Entering directory '/build/libhtml-truncate-perl-0.20' PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/countdown-dirty.t t/countdown.t t/linked-readmore.t t/on-space.t t/pre.t t/repair.t t/synopsis.t t/truncate-html.t # Testing HTML::Truncate 0.20, Perl 5.028001, /usr/bin/perl t/00-load.t .......... 1..1 ok 1 - use HTML::Truncate; ok t/countdown-dirty.t .. 1..28 0.20 ok 1 - Turn off cleanly() ok 2 -

W...

ok 3 -

We...

ok 4 -

We ...

ok 5 -

We h...

ok 6 -

We ha...

ok 7 -

We hav...

ok 8 -

We have...

ok 9 -

We have ...

ok 10 -

We have t...

ok 11 -

We have to...

ok 12 -

We have to ...

ok 13 -

We have to t...

ok 14 -

We have to te...

ok 15 -

We have to tes...

ok 16 -

We have to test...

ok 17 -

We have to test ...

ok 18 -

We have to test s...

ok 19 -

We have to test so...

ok 20 -

We have to test som...

ok 21 -

We have to test some...

ok 22 -

We have to test somet...

ok 23 -

We have to test someth...

ok 24 -

We have to test somethi...

ok 25 -

We have to test somethin...

ok 26 -

We have to test something...

ok 27 -

We have to test something....

ok 28 -

We have to test something.

ok t/countdown.t ........ 1..27 0.20 ok 1 -

W...

ok 2 -

We...

ok 3 -

We...

ok 4 -

We h...

ok 5 -

We ha...

ok 6 -

We hav...

ok 7 -

We have...

ok 8 -

We have...

ok 9 -

We have t...

ok 10 -

We have to...

ok 11 -

We have to...

ok 12 -

We have to t...

ok 13 -

We have to te...

ok 14 -

We have to tes...

ok 15 -

We have to test...

ok 16 -

We have to test...

ok 17 -

We have to test s...

ok 18 -

We have to test so...

ok 19 -

We have to test som...

ok 20 -

We have to test some...

ok 21 -

We have to test somet...

ok 22 -

We have to test someth...

ok 23 -

We have to test somethi...

ok 24 -

We have to test somethin...

ok 25 -

We have to test something...

ok 26 -

We have to test something...

ok 27 -

We have to test something.

ok t/linked-readmore.t .. 1..1 not ok 1 - Output properly closes before appending ellipsis # TODO Known bug: treating ellipsis as element not yet supported # Failed (TODO) test 'Output properly closes before appending ellipsis' # at t/linked-readmore.t line 28. # got: '
#
A simple feed aggregator with modern Perl - part 4…[more]
' # expected: '
#
A simple feed aggregator with modern Perl - part 4…[more]
# ' ok t/on-space.t ......... 1..28 0.20 ok 1 - Setting on_space(1) ok 2 -

...

ok 3 -

We...

ok 4 -

We...

ok 5 -

We...

ok 6 -

We...

ok 7 -

We...

ok 8 -

We have...

ok 9 -

We have...

ok 10 -

We have...

ok 11 -

We have to...

ok 12 -

We have to...

ok 13 -

We have to...

ok 14 -

We have to...

ok 15 -

We have to...

ok 16 -

We have to test...

ok 17 -

We have to test...

ok 18 -

We have to test ...

ok 19 -

We have to test ...

ok 20 -

We have to test ...

ok 21 -

We have to test ...

ok 22 -

We have to test ...

ok 23 -

We have to test ...

ok 24 -

We have to test ...

ok 25 -

We have to test ...

ok 26 -

We have to test something...

ok 27 -

We have to test something...

ok 28 -

We have to test something.

ok t/pre.t .............. 1..5 ok 1 - Chars is reset to 50 ok 2 - Truncating HTML ok 3 - Truncation of
 version matches expectations
ok 4 - Truncating HTML
ok 5 - Truncation of 

version matches expectations ok t/repair.t ........... 1..14 ok 1 - HTML::Truncate->new() ok 2 - An object of class 'HTML::Truncate' isa 'HTML::Truncate' ok 3 - $ht->repair defaults properly ok 4 - $ht->repair(1) ok 5 - No change ok 6 - $ht->repair(0) ok 7 - Repaired case 1 ok 8 - Repaired case 2 ok 9 - Repaired case 3 ok 10 - Repaired case 4 ok 11 - Repaired case 5 ok 12 - Repaired case 6 ok 13 - Repaired case 7 ok 14 - Repaired case 8 ok # # use strict; # use HTML::Truncate; # # my $html = '

We have to test something.

'; # my $readmore = '... [readmore]'; # # my $html_truncate = HTML::Truncate->new(); # $html_truncate->chars(20); # $html_truncate->ellipsis($readmore); # print $html_truncate->truncate($html); # # # or # # use Encode; # my $ht = HTML::Truncate->new( utf8_mode => 1, # chars => 1_000, # ); # print Encode::encode_utf8( $ht->truncate($html) ); # t/synopsis.t ......... 1..2 ok 1 - Got code out of the SYNOPSIS space to evaluate

We have to test some... [readmore]

We have to test something.

ok 2 - Synopsis eval'd ok # Ellipsis: "…" # Ellipsis: "…" # Length of original corpus is 974 # TRUNCATED: # Whatever # #
# #

About the …

# STRIPPED: # About the … # TRUNCATED: # Whatever # #
# #

About the “author”

# #
#

# # 11/20/2003 # # Tags to test and check and such. #

# #

I think we can do this in a pretty st…

# STRIPPED: # About the .author. 11/20/2003 Tags to test and check and such. I think we can do this in a pretty st… t/truncate-html.t .... 1..23 ok 1 - HTML::Truncate->new() ok 2 - An object of class 'HTML::Truncate' isa 'HTML::Truncate' ok 3 - Ellipsis defaults properly ok 4 - Set utf8_mode ok 5 - Get utf8_mode ok 6 - Ellipsis defaults properly ok 7 - Unset utf8_mode ok 8 - Check utf8_mode is 'off' ok 9 - Test HTML is expected length ok 10 - Chars is defaulting properly ok 11 - Setting chars to 10 ok 12 - Chars is reset to 10 ok 13 - Setting utf8_mode ok 14 - Turning off cleanly ok 15 - Truncating HTML ok 16 - Length from character count matches expectation ok 17 - Setting chars to 100 ok 18 - Chars is reset to 100 ok 19 - Setting utf8_mode ok 20 - Truncating HTML ok 21 - Length from character count matches expectation ok 22 - Setting percentage to 52% ok 23 - Truncating ok All tests successful. Files=9, Tests=129, 1 wallclock secs ( 0.06 usr 0.03 sys + 0.88 cusr 0.17 csys = 1.14 CPU) Result: PASS make[1]: Leaving directory '/build/libhtml-truncate-perl-0.20' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_auto_install make -j10 install DESTDIR=/build/libhtml-truncate-perl-0.20/debian/libhtml-truncate-perl AM_UPDATE_INFO_DIR=no PREFIX=/usr make[1]: Entering directory '/build/libhtml-truncate-perl-0.20' Manifying 1 pod document Installing /build/libhtml-truncate-perl-0.20/debian/libhtml-truncate-perl/usr/share/perl5/HTML/Truncate.pm Installing /build/libhtml-truncate-perl-0.20/debian/libhtml-truncate-perl/usr/share/man/man3/HTML::Truncate.3pm make[1]: Leaving directory '/build/libhtml-truncate-perl-0.20' 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 'libhtml-truncate-perl' in '../libhtml-truncate-perl_0.20-2_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../libhtml-truncate-perl_0.20-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/8149/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/8149/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/8149 and its subdirectories I: Current time: Mon Apr 13 01:02:46 +14 2020 I: pbuilder-time-stamp: 1586689366