Control-T during poudriere: sed: 1: "s, ^\[( *[0-9]+%|[0-9]+/ ...": RE error: repetition-operator operand invalid

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Mon, 4 Mar 2019 08:49:05 +0000
Recently I sometimes get the effect below when keying Control-T during a 
run of poudriere.

Google found a few matches but (unless I'm missing something) nothing 
that might explain this effect with poudriere.

----

…
[00:02:30] Hit CTRL+t at any time to see build progress and stats
[00:02:30] [01] [00:00:00] Building graphics/gpu-firmware-kmod | 
gpu-firmware-kmod-g20190219
[00:02:30] [02] [00:00:00] Building emulators/virtualbox-ose-kmod | 
virtualbox-ose-kmod-5.2.26
[00:03:44] [02] [00:01:14] Finished emulators/virtualbox-ose-kmod | 
virtualbox-ose-kmod-5.2.26: Success
[00:06:20] [01] [00:03:50] Finished graphics/gpu-firmware-kmod | 
gpu-firmware-kmod-g20190219: Success
[00:06:20] [01] [00:00:00] Building graphics/drm-current-kmod | 
drm-current-kmod-4.16.g20190213
[00:06:20] [02] [00:00:00] Building graphics/drm-legacy-kmod | 
drm-legacy-kmod-g20190213
load: 4.44  cmd: sh 11013 [piperd] 379.44r 0.00u 0.00s 0% 4112k
[head-default] [2019-03-04_08h29m28s] [parallel_build:] Queued: 5 Built: 
2  Failed: 0  Skipped: 0  Ignored: 0  Tobuild: 3   Time: 00:06:55
sed: 1: "s,^\[( *[0-9]+%|[0-9]+/ ...": RE error: repetition-operator 
operand invalid
tail: stdout
         [01]: graphics/drm-current-kmod | 
drm-current-kmod-4.16.g20190213 build            (00:02:27 / 00:02:30)
sed: 1: "s,^\[( *[0-9]+%|[0-9]+/ ...": RE error: repetition-operator 
operand invalid
tail: stdout
         [02]: graphics/drm-legacy-kmod  | drm-legacy-kmod-g20190213 
build            (00:02:28 / 00:02:30)
[00:08:50] Logs: 
/usr/local/poudriere/data/logs/bulk/head-default/2019-03-04_08h29m28s

----

If it helps to guess a cause:

- the behaviour might have begun after I installed ccache (2019-02-26)

- I didn't notice the behaviour yesterday

- the behaviour is present today following an update to the system
   (and the jail that's used for poudriere).

grahamperrin_at_momh167-gjp4-8570p:~ % date ; uname -v
Mon  4 Mar 2019 08:44:30 GMT
FreeBSD 13.0-CURRENT r344742 GENERIC-NODEBUG
grahamperrin_at_momh167-gjp4-8570p:~ % poudriere jail -i -j head | grep -i 
version
Jail version:      13.0-CURRENT 1300013
grahamperrin_at_momh167-gjp4-8570p:~ % bectl list | sort
20190131-0125 -      -          8K    2019-01-31 01:25
BE            Active Mountpoint Space Created
default       -      -          1.09M 2018-12-22 05:01
r342466       -      -          1.13M 2019-01-07 07:53
r343308       -      -          1.15M 2019-01-22 18:51
r343663       -      -          35.8G 2019-02-01 18:04
r343747       -      -          5.62G 2019-02-04 18:04
r343843       -      -          5.89G 2019-02-06 19:59
r343883       -      -          6.90G 2019-02-07 23:11
r343931       -      -          804K  2019-02-09 11:44
r344013       -      -          716K  2019-02-11 16:17
r344230       -      -          1.03M 2019-02-17 14:18
r344231       -      -          2.97G 2019-02-17 16:38
r344269       -      -          8K    2019-02-19 01:42
r344270       -      -          796K  2019-02-19 03:17
r344443       -      -          1.55M 2019-02-21 18:24
r344742       NR     /          42.7G 2019-03-04 00:04
grahamperrin_at_momh167-gjp4-8570p:~ % sudo ccache -s
grahamperrin's password:
cache directory                     /var/cache/ccache
primary config                      /root/.ccache/ccache.conf
secondary config      (readonly)    /usr/local/etc/ccache.conf
stats zero time                     Fri Mar  1 16:22:26 2019
cache hit (direct)                  4383
cache hit (preprocessed)             502
cache miss                         21111
cache hit rate                     18.79 %
called for link                     2304
called for preprocessing            5090
compiler produced stdout               1
compile failed                       189
preprocessor error                   175
bad compiler arguments                61
unsupported source language            2
autoconf compile/link                997
unsupported code directive             1
no input file                       2119
cleanups performed                     0
files in cache                     58977
cache size                           1.3 GB
max cache size                       5.0 GB
grahamperrin_at_momh167-gjp4-8570p:~ %
Received on Mon Mar 04 2019 - 07:49:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC