Diff of the two buildlogs: -- --- b1/build.log 2025-08-20 23:21:05.069729422 +0000 +++ b2/build.log 2025-08-20 23:16:13.689369832 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 20 11:16:15 -12 2025 -I: pbuilder-time-stamp: 1755731775 +I: Current time: Wed Sep 23 19:28:44 +14 2026 +I: pbuilder-time-stamp: 1790141324 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,53 +26,85 @@ dpkg-source: info: applying 0003-ext-re2-extconf.rb-build-in-a-fixed-directory.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1626480/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3680045/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Sep 23 05:29 /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/3680045/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3680045/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d605d4b03a5846709d3cfa865fda1e26' - 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='1626480' - PS1='# ' - PS2='> ' + INVOCATION_ID=39e5c6da288043e69c592945034f0a66 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=3680045 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.XKzTMfVf/pbuilderrc_LUy1 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XKzTMfVf/b1 --logfile b1/build.log ruby-re2_2.7.0-3.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.XKzTMfVf/pbuilderrc_6unb --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XKzTMfVf/b2 --logfile b2/build.log ruby-re2_2.7.0-3.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1626480/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3680045/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -284,7 +316,7 @@ Get: 160 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 161 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 162 http://deb.debian.org/debian unstable/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 57.8 MB in 13s (4515 kB/s) +Fetched 57.8 MB in 9s (6548 kB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19855 files and directories currently installed.) @@ -823,8 +855,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Aug 20 23:17:40 UTC 2025. -Universal Time is now: Wed Aug 20 23:17:40 UTC 2025. +Local time is now: Wed Sep 23 05:30:11 UTC 2026. +Universal Time is now: Wed Sep 23 05:30:11 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-3) ... @@ -967,7 +999,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-re2-2.7.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 > ../ruby-re2_2.7.0-3_source.changes +I: user script /srv/workspace/pbuilder/3680045/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3680045/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-re2-2.7.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 > ../ruby-re2_2.7.0-3_source.changes dpkg-buildpackage: info: source package ruby-re2 dpkg-buildpackage: info: source version 2.7.0-3 dpkg-buildpackage: info: source distribution unstable @@ -1044,27 +1080,27 @@ checking for RE2::Set::Match() with error information... yes creating Makefile current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20250820-1647934-cfnk5l", "sitelibdir=./.gem.20250820-1647934-cfnk5l", "clean"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20260923-3692007-jb0u2d", "sitelibdir=./.gem.20260923-3692007-jb0u2d", "clean"] make[1]: Entering directory '/build/reproducible-path/ruby-re2-2.7.0/ext/re2' rm -f rm -fr re2.so false re2.o *.bak mkmf.log .*.time make[1]: Leaving directory '/build/reproducible-path/ruby-re2-2.7.0/ext/re2' current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20250820-1647934-cfnk5l", "sitelibdir=./.gem.20250820-1647934-cfnk5l"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20260923-3692007-jb0u2d", "sitelibdir=./.gem.20260923-3692007-jb0u2d"] make[1]: Entering directory '/build/reproducible-path/ruby-re2-2.7.0/ext/re2' g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=. -I. -I/usr/include/x86_64-linux-gnu/ruby-3.3.0 -I/usr/include/ruby-3.3.0/ruby/backward -I/usr/include/ruby-3.3.0 -I. -DHAVE_STDINT_H -DHAVE_RB_GC_MARK_MOVABLE -DHAVE_ENDPOS_ARGUMENT -DHAVE_ERROR_INFO_ARGUMENT -I/build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/include -I/build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/libre2/2023-11-01/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-register -fPIC -g -O2 -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o re2.o -c re2.cc rm -f re2.so g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=. -shared -o re2.so re2.o -L. -L/usr/lib/x86_64-linux-gnu -L/build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib -L/build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/libre2/2023-11-01/lib -L. -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -pthread /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/libre2/2023-11-01/lib/libre2.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_marshalling.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_reflection.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_private_handle_accessor.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_commandlineflag.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_commandlineflag_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_config.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_flags_program_name.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_cord.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_cordz_info.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_cord_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_cordz_functions.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_cordz_handle.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_crc_cord_state.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_crc32c.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_crc_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_crc_cpu_detect.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_raw_hash_set.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_hash.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_city.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_bad_variant_access.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_low_level_hash.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_hashtablez_sampler.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_exponential_biased.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_bad_optional_access.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_str_format_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_synchronization.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_graphcycles_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_kernel_timeout_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_stacktrace.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_symbolize.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_debugging_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_demangle_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_malloc_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_time.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_civil_time.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_strings.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_string_view.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_strings_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_base.a -lrt /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_spinlock_wait.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_int128.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_throw_delegate.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_raw_logging_internal.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_log_severity.a /build/reproducible-path/ruby-re2-2.7.0/ports/x86_64-linux-gnu/abseil/20230802.1/lib/libabsl_time_zone.a -Wl,-z,relro -Wl,-z,now -lruby-3.3 -lstdc++ -lm -lpthread -lc make[1]: Leaving directory '/build/reproducible-path/ruby-re2-2.7.0/ext/re2' current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20250820-1647934-cfnk5l", "sitelibdir=./.gem.20250820-1647934-cfnk5l", "install"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20260923-3692007-jb0u2d", "sitelibdir=./.gem.20260923-3692007-jb0u2d", "install"] make[1]: Entering directory '/build/reproducible-path/ruby-re2-2.7.0/ext/re2' -/bin/mkdir -p . ./.gem.20250820-1647934-cfnk5l +/bin/mkdir -p . ./.gem.20260923-3692007-jb0u2d exit > .sitearchdir.time -/usr/bin/install -c -m 0755 re2.so ./.gem.20250820-1647934-cfnk5l +/usr/bin/install -c -m 0755 re2.so ./.gem.20260923-3692007-jb0u2d make[1]: Leaving directory '/build/reproducible-path/ruby-re2-2.7.0/ext/re2' current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20250820-1647934-cfnk5l", "sitelibdir=./.gem.20250820-1647934-cfnk5l", "clean"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-re2-2.7.0=.", "DESTDIR=", "sitearchdir=./.gem.20260923-3692007-jb0u2d", "sitelibdir=./.gem.20260923-3692007-jb0u2d", "clean"] make[1]: Entering directory '/build/reproducible-path/ruby-re2-2.7.0/ext/re2' rm -f rm -fr re2.so false re2.o *.bak mkmf.log .*.time @@ -1072,13 +1108,13 @@ current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 /usr/bin/ruby3.3 -I/usr/lib/ruby/vendor_ruby extconf.rb current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20250820-1647934-cfnk5l sitelibdir\=./.gem.20250820-1647934-cfnk5l clean +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20260923-3692007-jb0u2d sitelibdir\=./.gem.20260923-3692007-jb0u2d clean current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20250820-1647934-cfnk5l sitelibdir\=./.gem.20250820-1647934-cfnk5l +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20260923-3692007-jb0u2d sitelibdir\=./.gem.20260923-3692007-jb0u2d current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20250820-1647934-cfnk5l sitelibdir\=./.gem.20250820-1647934-cfnk5l install +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20260923-3692007-jb0u2d sitelibdir\=./.gem.20260923-3692007-jb0u2d install current directory: /build/reproducible-path/ruby-re2-2.7.0/ext/re2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20250820-1647934-cfnk5l sitelibdir\=./.gem.20250820-1647934-cfnk5l clean +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-re2-2.7.0\=. DESTDIR\= sitearchdir\=./.gem.20260923-3692007-jb0u2d sitelibdir\=./.gem.20260923-3692007-jb0u2d clean rm -f /build/reproducible-path/ruby-re2-2.7.0/debian/ruby-re2/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.3.0/mkmf.log ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1104,408 +1140,408 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 44750 - -RE2::String - #re2_match - supports limiting the number of matches - delegates to RE2::Regexp#match to perform matches - #re2_sub - delegates to RE2.Replace to perform replacement - doesn't perform an in-place replacement - #re2_escape - escapes the string for use in regular expressions - #re2_quote - escapes the string for use in regular expressions - #re2_gsub - doesn't perform an in-place replacement - delegates to RE2.GlobalReplace to perform replacement - -Kernel - .RE2 - returns an RE2::Regexp instance given a pattern - accepts patterns containing null bytes - supports passing something that can be coerced to a String as input - raises an error if given an inappropriate type - allows invalid patterns to be created - returns an RE2::Regexp instance given a pattern and options - -RE2::Set - #compile - compiles the set without error - #add - accepts a pattern that can be coerced to a String - raises an error if called after #compile - raises an error if given a pattern that can't be coerced to a String - truncates error messages to 100 characters - allows multiple patterns to be added - rejects invalid patterns when added - #match - returns an empty array if there is no match when :exception is true - raises a Type Error if given input that can't be coerced to a String - supports matching null bytes - accepts input if it can be coerced to a String - raises an error if :exception is true and RE2 does not support it (PENDING: Underlying RE2::Set::Match outputs error information) - raises an error if called before #compile by default - returns an empty array if there is no match - raises an error if given non-hash options - raises an error if called before #compile when :exception is true - matches against multiple patterns - returns an empty array if called before #compile when :exception is false - #initialize - returns an instance given no args - raises an error if given an invalid anchor and options - returns an instance given an anchor and options - returns an instance given only an anchor of :anchor_start - returns an instance given only an anchor of :anchor_both - returns an instance given only an anchor of :unanchored - raises an error if given an invalid anchor - raises an error if given an inappropriate type - -RE2::MatchData - reports a larger consuming memory size when it has more matches - #deconstruct - returns all capturing groups - includes optional capturing groups as nil - #to_a - returns ISO-8859-1 strings if the pattern is not UTF-8 - returns UTF-8 strings if the pattern is UTF-8 - populates optional capturing groups with nil if they are missing - is populated with the match and capturing groups - #size - returns the number of capturing groups plus the matching string - #length - returns the number of capturing groups plus the matching string - #regexp - returns the original RE2::Regexp used - #to_s - returns the matching part of the original string - #deconstruct_keys - raises an error if given a non-array of keys - raises an error if given keys as non-symbols - returns an empty hash if given more capture names than exist - returns only named captures if given names - returns an empty hash if there are no named capturing groups - returns all named captures if given nil - returns named captures up until an invalid name is given - #end - returns the offset of a match by symbol name - returns nil for non-existent numerical matches - returns the offset of a match by something that can be coerced to a String - returns the offset of the character following the end of a match - returns the offset despite multibyte characters - returns nil for non-existent named matches - returns nil for non-existent symbol named matches - returns nil for negative numerical matches - raises a type error if given an invalid name or number - returns the offset of a match by string name - #begin - returns nil for non-existent named matches - returns the offset despite multibyte characters - returns the offset of the start of a match by something that can be coerced to a String - raises a type error if given an invalid name or number - returns the offset of the start of a match by symbol name - returns the offset of the start of a match by index - returns the offset of the start of a match by string name - returns nil for non-existent symbol named matches - returns nil for non-existent numerical matches - returns nil for negative numerical matches - #to_ary - allows the object to be expanded with an asterisk - #[] - returns nil if attempting to access non-existent capturing groups by index - raises an error if given an inappropriate index - returns Latin 1 strings encoding when utf-8 is false - returns a ISO-8859-1 string by numerical index if the pattern is not UTF-8 - accesses capturing groups by numerical index - has the whole match as the 0th item - returns a UTF-8 string by numerical index if the pattern is UTF-8 - returns nil if no such named group exists - allows access by string names when there are named groups - returns UTF-8 encoded strings by default - allows access by symbol names when there are named groups - allows access by names and indices with mixed groups - supports access by numerical ranges - supports slicing - #string - returns a copy, not the actual original - returns the original string to match against - returns a frozen string - does not copy the string if it was already frozen - #inspect - represents missing matches as nil - supports matches with null bytes - returns a text representation of the object and indices +Randomized with seed 21308 RE2::Regexp - #number_of_capturing_groups - returns the number of groups in a pattern - returns -1 for an invalid pattern - #perl_classes? + #ok? + returns true for valid patterns + returns false for invalid patterns + #max_mem can be overridden on initialization - returns false by default + returns the default max memory + #log_errors? + returns true by default + can be overridden on initialization + .compile + returns an instance given a pattern and options + allows invalid patterns to be created + supports passing something that can be coerced to a String as input + returns an instance given only a pattern + raises an error if given an inappropriate type + accepts patterns containing null bytes #full_match? - supports matching against text containing null bytes returns only true or false even if there are capturing groups + supports matching against text containing null bytes returns false if the pattern is invalid raises an exception if text cannot be coerced to a string - .quote - transforms a string into a regexp - #utf8? - can be overridden on initialization - returns true by default - #never_nl? - returns false by default - can be overridden on initialization - #to_str - returns the pattern even if invalid - returns the original pattern - .escape - transforms a string into a regexp - #longest_match? - can be overridden on initialization - returns false by default #=~ - returns false if the pattern is invalid raises an exception if text cannot be coerced to a string returns only true or false even if there are capturing groups supports matching against text containing null bytes + returns false if the pattern is invalid + #pattern + returns the pattern even if invalid + returns the original pattern #word_boundary? + can be overridden on initialization returns false by default + #utf8? can be overridden on initialization + returns true by default #match? returns only true or false even if there are capturing groups + raises an exception if text cannot be coerced to a string returns false if the pattern is invalid + #case_sensitive? + can be overridden on initialization + returns true by default + #number_of_capturing_groups + returns the number of groups in a pattern + returns -1 for an invalid pattern + #perl_classes? + can be overridden on initialization + returns false by default + #=== + returns false if the pattern is invalid + returns only true or false even if there are capturing groups + raises an exception if text cannot be coerced to a string + #partial_match? + supports matching against text containing null bytes + returns only true or false even if there are capturing groups raises an exception if text cannot be coerced to a string + returns false if the pattern is invalid + #case_insensitive? + returns false by default + can be overridden on initialization + #options + is populated with default options when nothing has been set + is populated with overridden options when specified + returns a hash of options + #one_line? + can be overridden on initialization + returns false by default + #named_capturing_groups + returns an empty hash for an invalid regexp + maps names to indices with several groups + returns a hash of names to indices + maps names to indices with only one group + .quote + transforms a string into a regexp + #to_str + returns the original pattern + returns the pattern even if invalid #match + accepts passing the number of submatches instead of options for backward compatibility + does not anchor matches by default when extracting submatches + raises an exception when given a non-symbol anchor + accepts an offset at which to start matching + raises an error if given an ending offset and RE2 does not support it (PENDING: Underlying RE2::Match has endpos argument) + returns match data given only text if the pattern has capturing groups + pads submatches with nil when requesting more than the number of capturing groups + extracts all submatches by default + returns nil with an invalid pattern and options + returns nil if using a starting offset past the end of the text can anchor matches at both ends when extracting submatches - raises an exception when given a negative number of submatches raises an exception when given a non-numeric number of submatches - extracts a specific number of submatches + accepts an offset at which to end matching + returns nil if using a ending offset at the start of the text + can anchor matches at the start when extracting submatches + raises an exception when given text that cannot be coerced to a string + returns nil with an invalid pattern + accepts anything that can be coerced to a hash as options supports matching against text containing null bytes - pads submatches with nil when requesting more than the number of capturing groups + raises an exception when given a negative starting offset raises an exception when given a negative ending offset - returns match data given only text if the pattern has capturing groups - can anchor matches at the start without extracting submatches - does not anchor matches by default when extracting submatches - extracts all submatches by default - returns nil if the text does not match the pattern - does not anchor matches when given a nil anchor raises an exception when given invalid options - raises an exception when given a starting offset past the default ending offset - can anchor matches at the start when extracting submatches - accepts anything that can be coerced to a hash as options - returns only true or false given only text if the pattern has no capturing groups - returns nil with an invalid pattern and options - raises an exception when given text that cannot be coerced to a string + does not anchor matches when given a nil anchor + raises an exception when given a negative number of submatches + extracts a specific number of submatches + accepts text that can be coerced to a string supports extracting submatches containing null bytes - accepts an offset at which to end matching - returns nil if using a starting offset past the end of the text - raises an error if given an ending offset and RE2 does not support it (PENDING: Underlying RE2::Match has endpos argument) - raises an exception when given a negative starting offset - returns nil if using a ending offset at the start of the text - raises an exception when given an invalid anchor + can anchor matches at the start without extracting submatches can explicitly match without anchoring when extracting submatches - accepts an offset at which to start matching + raises an exception when given a starting offset past the default ending offset raises an exception when given an ending offset before the starting offset + raises an exception when given an invalid anchor + returns only true or false given only text if the pattern has no capturing groups + can explicitly match with neither anchoring nor extracting submatches defaults to extracting all submatches when given nil does not anchor matches by default without extracting submatches - accepts passing the number of submatches instead of options for backward compatibility - can explicitly match with neither anchoring nor extracting submatches - raises an exception when given a non-symbol anchor - returns nil with an invalid pattern - accepts text that can be coerced to a string - #ok? - returns false for invalid patterns - returns true for valid patterns - #one_line? - returns false by default - can be overridden on initialization + returns nil if the text does not match the pattern #error contains the error string if there is an error returns nil if there is no error - #max_mem - can be overridden on initialization - returns the default max memory - #error_arg - returns nil if there is no error - returns the offending portion of the pattern if there is an error - #partial_match - matches the pattern anywhere within the given text - can set the number of submatches to extract - accepts anything that can be coerced to a string - returns true or false if there are no capturing groups - accepts options that can be coerced to a hash - raises an error if given non-hash options - does not allow the anchor to be overridden - #log_errors? - can be overridden on initialization - returns true by default + .escape + transforms a string into a regexp #full_match - does not allow the anchor to be overridden raises an error if given non-hash options + accepts anything that can be coerced to a string returns true or false if there are no capturing groups can set the number of submatches to extract - accepts anything that can be coerced to a string - only matches the pattern if all of the given text matches accepts options that can be coerced to a hash - #named_capturing_groups - maps names to indices with several groups - returns a hash of names to indices - maps names to indices with only one group - returns an empty hash for an invalid regexp - #scan - returns a scanner - raises a type error if given invalid input + does not allow the anchor to be overridden + only matches the pattern if all of the given text matches #casefold? returns true by default can be overridden on initialization - .compile - allows invalid patterns to be created - returns an instance given only a pattern - returns an instance given a pattern and options - accepts patterns containing null bytes - raises an error if given an inappropriate type - supports passing something that can be coerced to a String as input - #=== - returns false if the pattern is invalid - raises an exception if text cannot be coerced to a string - returns only true or false even if there are capturing groups - #program_size - returns -1 for an invalid pattern - returns a numeric value - #partial_match? - raises an exception if text cannot be coerced to a string - returns only true or false even if there are capturing groups - supports matching against text containing null bytes - returns false if the pattern is invalid - #posix_syntax? + #longest_match? + returns false by default can be overridden on initialization + #scan + raises a type error if given invalid input + returns a scanner + #never_nl? returns false by default - #options - returns a hash of options - is populated with default options when nothing has been set - is populated with overridden options when specified - #case_insensitive? + can be overridden on initialization + #posix_syntax? + can be overridden on initialization returns false by default + #program_size + returns a numeric value + returns -1 for an invalid pattern + #literal? can be overridden on initialization - #pattern - returns the pattern even if invalid - returns the original pattern + returns false by default + #inspect + shows the class name and original pattern + respects the pattern's original encoding + #error_arg + returns the offending portion of the pattern if there is an error + returns nil if there is no error + #partial_match + accepts options that can be coerced to a hash + returns true or false if there are no capturing groups + raises an error if given non-hash options + accepts anything that can be coerced to a string + matches the pattern anywhere within the given text + does not allow the anchor to be overridden + can set the number of submatches to extract #initialize - accepts patterns containing null bytes returns an instance given only a pattern - supports passing something that can be coerced to a String as input - returns an instance given a pattern and options + accepts patterns containing null bytes raises an error if given an inappropriate type allows invalid patterns to be created + returns an instance given a pattern and options + supports passing something that can be coerced to a String as input + +RE2::MatchData + reports a larger consuming memory size when it has more matches + #length + returns the number of capturing groups plus the matching string #inspect - shows the class name and original pattern - respects the pattern's original encoding - #case_sensitive? - returns true by default - can be overridden on initialization - #literal? - can be overridden on initialization - returns false by default + returns a text representation of the object and indices + represents missing matches as nil + supports matches with null bytes + #[] + returns nil if attempting to access non-existent capturing groups by index + accesses capturing groups by numerical index + returns nil if no such named group exists + has the whole match as the 0th item + returns UTF-8 encoded strings by default + raises an error if given an inappropriate index + returns Latin 1 strings encoding when utf-8 is false + supports slicing + allows access by names and indices with mixed groups + returns a UTF-8 string by numerical index if the pattern is UTF-8 + allows access by symbol names when there are named groups + returns a ISO-8859-1 string by numerical index if the pattern is not UTF-8 + allows access by string names when there are named groups + supports access by numerical ranges + #deconstruct + returns all capturing groups + includes optional capturing groups as nil + #to_ary + allows the object to be expanded with an asterisk + #deconstruct_keys + raises an error if given a non-array of keys + returns all named captures if given nil + raises an error if given keys as non-symbols + returns only named captures if given names + returns an empty hash if there are no named capturing groups + returns an empty hash if given more capture names than exist + returns named captures up until an invalid name is given + #begin + returns nil for non-existent named matches + returns the offset of the start of a match by index + returns the offset of the start of a match by something that can be coerced to a String + returns the offset of the start of a match by string name + returns nil for non-existent symbol named matches + returns the offset of the start of a match by symbol name + returns nil for negative numerical matches + raises a type error if given an invalid name or number + returns the offset despite multibyte characters + returns nil for non-existent numerical matches + #size + returns the number of capturing groups plus the matching string + #regexp + returns the original RE2::Regexp used + #to_a + is populated with the match and capturing groups + returns ISO-8859-1 strings if the pattern is not UTF-8 + returns UTF-8 strings if the pattern is UTF-8 + populates optional capturing groups with nil if they are missing + #end + raises a type error if given an invalid name or number + returns nil for non-existent numerical matches + returns nil for negative numerical matches + returns nil for non-existent symbol named matches + returns nil for non-existent named matches + returns the offset of a match by symbol name + returns the offset of a match by string name + returns the offset of the character following the end of a match + returns the offset of a match by something that can be coerced to a String + returns the offset despite multibyte characters + #string + returns a copy, not the actual original + returns the original string to match against + returns a frozen string + does not copy the string if it was already frozen + #to_s + returns the matching part of the original string + +Kernel + .RE2 + returns an RE2::Regexp instance given a pattern and options + allows invalid patterns to be created + raises an error if given an inappropriate type + supports passing something that can be coerced to a String as input + accepts patterns containing null bytes + returns an RE2::Regexp instance given a pattern + +RE2::Set + #initialize + raises an error if given an invalid anchor + returns an instance given only an anchor of :unanchored + raises an error if given an invalid anchor and options + returns an instance given an anchor and options + raises an error if given an inappropriate type + returns an instance given no args + returns an instance given only an anchor of :anchor_start + returns an instance given only an anchor of :anchor_both + #compile + compiles the set without error + #match + raises an error if :exception is true and RE2 does not support it (PENDING: Underlying RE2::Set::Match outputs error information) + returns an empty array if there is no match when :exception is true + returns an empty array if called before #compile when :exception is false + raises an error if given non-hash options + raises an error if called before #compile when :exception is true + raises an error if called before #compile by default + returns an empty array if there is no match + supports matching null bytes + matches against multiple patterns + accepts input if it can be coerced to a String + raises a Type Error if given input that can't be coerced to a String + #add + truncates error messages to 100 characters + raises an error if given a pattern that can't be coerced to a String + rejects invalid patterns when added + allows multiple patterns to be added + raises an error if called after #compile + accepts a pattern that can be coerced to a String + +RE2::Scanner + is enumerable + #string + returns the original text for the scanner + #rewind + supports inputs with null bytes + resets any consumption + resets the eof? check + #each + yields each match + returns an enumerator when not given a block + #scan + returns ISO-8859-1 matches if the pattern is not UTF-8 + returns an empty array if there are no capturing groups + returns the next array of matches + accepts input that can be coerced to a String + supports scanning inputs with null bytes + returns nil if there is no match + returns array of nils with multiple empty capturing groups + returns an array of nil if the pattern is an empty capturing group + returns an array of nil with an empty input and capture + returns an empty array for every match if the pattern is empty + raises a Type Error if given input that can't be coerced to a String + returns multiple capturing groups at a time + returns UTF-8 matches if the pattern is UTF-8 + returns an empty array if the input is empty + returns nil if the regexp is invalid + supports empty groups with multibyte characters + #regexp + returns the original pattern for the scanner + #eof? + returns true if the input has been consumed + returns true with an empty input that has been matched + returns false with an empty input that has not been matched + returns false if no match is made + returns false if the input has not been consumed + returns false with an empty input that has not been scanned RE2 .Replace - does not perform replacements in-place - returns UTF-8 strings if the pattern is UTF-8 - returns ISO-8859-1 strings if the pattern is not UTF-8 - returns UTF-8 strings when given a String pattern - supports passing something that can be coerced to a String as a pattern - supports inputs with null bytes + supports passing an RE2::Regexp as the pattern supports patterns with null bytes raises a Type Error for a non-RE2::Regexp pattern that can't be converted to String - supports passing an RE2::Regexp as the pattern - supports flags in patterns - respects any passed RE2::Regexp's flags + supports inputs with null bytes + supports passing something that can be coerced to a String as input raises a Type Error for a replacement that can't be converted to String + returns UTF-8 strings when given a String pattern + supports flags in patterns + returns UTF-8 strings if the pattern is UTF-8 + supports passing something that can be coerced to a String as a replacement supports replacements with null bytes + supports passing something that can be coerced to a String as a pattern performs replacement based on regular expressions + respects any passed RE2::Regexp's flags + returns ISO-8859-1 strings if the pattern is not UTF-8 raises a Type Error for input that can't be converted to String + does not perform replacements in-place only replaces the first occurrence of the pattern - supports passing something that can be coerced to a String as a replacement - supports passing something that can be coerced to a String as input - #QuoteMeta - supports passing something that can be coerced to a String as input - raises a Type Error for input that can't be converted to String - supports strings containing null bytes - escapes a string so it can be used as a regular expression .GlobalReplace returns ISO-8859-1 strings if the pattern is not UTF-8 - supports flags in patterns - respects any passed RE2::Regexp's flags - supports passing an RE2::Regexp as the pattern - supports replacements with null bytes - supports passing something that can be coerced to a String as a replacement - supports passing something that can be coerced to a String as input - raises a Type Error for a non-RE2::Regexp pattern that can't be converted to String - supports patterns with null bytes does not perform replacement in-place - supports inputs with null bytes + supports passing something that can be coerced to a String as a pattern + supports patterns with null bytes returns UTF-8 strings if the pattern is UTF-8 raises a Type Error for input that can't be converted to String - raises a Type Error for a replacement that can't be converted to String - returns UTF-8 strings when given a String pattern - supports passing something that can be coerced to a String as a pattern + supports passing an RE2::Regexp as the pattern replaces every occurrence of a pattern + supports passing something that can be coerced to a String as input performs replacement based on regular expressions - -RE2::Scanner - is enumerable - #scan - returns array of nils with multiple empty capturing groups - returns multiple capturing groups at a time - returns nil if the regexp is invalid - returns nil if there is no match - accepts input that can be coerced to a String - supports scanning inputs with null bytes - returns an array of nil if the pattern is an empty capturing group - returns ISO-8859-1 matches if the pattern is not UTF-8 - supports empty groups with multibyte characters - returns UTF-8 matches if the pattern is UTF-8 - returns an array of nil with an empty input and capture - returns an empty array if the input is empty - raises a Type Error if given input that can't be coerced to a String - returns the next array of matches - returns an empty array for every match if the pattern is empty - returns an empty array if there are no capturing groups - #string - returns the original text for the scanner - #each - returns an enumerator when not given a block - yields each match - #rewind - resets the eof? check - resets any consumption + supports flags in patterns + respects any passed RE2::Regexp's flags + supports passing something that can be coerced to a String as a replacement + supports replacements with null bytes supports inputs with null bytes - #eof? - returns false with an empty input that has not been matched - returns false if no match is made - returns false if the input has not been consumed - returns true with an empty input that has been matched - returns true if the input has been consumed - returns false with an empty input that has not been scanned - #regexp - returns the original pattern for the scanner + returns UTF-8 strings when given a String pattern + raises a Type Error for a non-RE2::Regexp pattern that can't be converted to String + raises a Type Error for a replacement that can't be converted to String + #QuoteMeta + escapes a string so it can be used as a regular expression + supports passing something that can be coerced to a String as input + supports strings containing null bytes + raises a Type Error for input that can't be converted to String -Pending: (Failures listed here are expected and do not affect your suite's status) +RE2::String + #re2_sub + doesn't perform an in-place replacement + delegates to RE2.Replace to perform replacement + #re2_match + supports limiting the number of matches + delegates to RE2::Regexp#match to perform matches + #re2_escape + escapes the string for use in regular expressions + #re2_quote + escapes the string for use in regular expressions + #re2_gsub + delegates to RE2.GlobalReplace to perform replacement + doesn't perform an in-place replacement - 1) RE2::Set#match raises an error if :exception is true and RE2 does not support it - # Underlying RE2::Set::Match outputs error information - # ./spec/re2/set_spec.rb:172 +Pending: (Failures listed here are expected and do not affect your suite's status) - 2) RE2::Regexp#match raises an error if given an ending offset and RE2 does not support it + 1) RE2::Regexp#match raises an error if given an ending offset and RE2 does not support it # Underlying RE2::Match has endpos argument # ./spec/re2/regexp_spec.rb:452 -Finished in 0.1149 seconds (files took 0.14359 seconds to load) + 2) RE2::Set#match raises an error if :exception is true and RE2 does not support it + # Underlying RE2::Set::Match outputs error information + # ./spec/re2/set_spec.rb:172 + +Finished in 0.21585 seconds (files took 0.56009 seconds to load) 304 examples, 0 failures, 2 pending -Randomized with seed 44750 +Randomized with seed 21308 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1535,8 +1571,8 @@ dh_gencontrol -O--buildsystem=ruby dh_md5sums -O--buildsystem=ruby dh_builddeb -O--buildsystem=ruby -dpkg-deb: building package 'ruby-re2' in '../ruby-re2_2.7.0-3_amd64.deb'. dpkg-deb: building package 'ruby-re2-dbgsym' in '../ruby-re2-dbgsym_2.7.0-3_amd64.deb'. +dpkg-deb: building package 'ruby-re2' in '../ruby-re2_2.7.0-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ruby-re2_2.7.0-3_amd64.buildinfo dpkg-genchanges --build=binary -O../ruby-re2_2.7.0-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1544,12 +1580,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3680045/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3680045/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/1626480 and its subdirectories -I: Current time: Wed Aug 20 11:21:04 -12 2025 -I: pbuilder-time-stamp: 1755732064 +I: removing directory /srv/workspace/pbuilder/3680045 and its subdirectories +I: Current time: Wed Sep 23 19:39:13 +14 2026 +I: pbuilder-time-stamp: 1790141953