Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1019295: schroot: Displays a lot of "egrep: warning: egrep is obsolescent; using grep -E"

190 views
Skip to first unread message

Sven-Haegar Koch

unread,
Sep 6, 2022, 8:00:04 PM9/6/22
to
Package: schroot
Version: 1.6.13-1
Severity: normal

Dear Maintainer,

Since update of grep to 3.8-1 using schroot outputs a lot of egrep
warnings:

Examples:

E: 20copyfiles: egrep: warning: egrep is obsolescent; using grep -E
E: 20copyfiles: egrep: warning: egrep is obsolescent; using grep -E
E: 20copyfiles: egrep: warning: egrep is obsolescent; using grep -E
E: 20copyfiles: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E
E: 20nssdatabases: egrep: warning: egrep is obsolescent; using grep -E

Greetings,
Haegar

-- System Information:
Debian Release: bookworm/sid
APT prefers oldoldstable
APT policy: (500, 'oldoldstable'), (500, 'unstable'), (101, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages schroot depends on:
ii debconf [debconf-2.0] 1.5.79
ii libboost-filesystem1.74.0 1.74.0-17
ii libboost-iostreams1.74.0 1.74.0-17
ii libboost-program-options1.74.0 1.74.0-17
ii libc6 2.34-7
ii libgcc-s1 12.2.0-1
ii libpam0g 1.5.2-2
ii libstdc++6 12.2.0-1
ii libuuid1 2.38.1-1
ii lsb-base 11.2
ii schroot-common 1.6.13-1

schroot recommends no packages.

Versions of packages schroot suggests:
pn aufs-tools | unionfs-fuse <none>
ii btrfs-progs 5.19-1
ii bzip2 1.0.8-5
ii debootstrap 1.0.127
ii lvm2 2.03.16-1
pn qemu-user-static <none>
ii xz-utils 5.2.5-2.1
pn zfsutils-linux <none>
ii zstd 1.5.2+dfsg-1

-- Configuration Files:
/etc/default/schroot changed:
STOP_ACTION="end"
START_ACTION="end"

/etc/schroot/default/fstab changed:
/proc /proc none rw,bind 0 0
/sys /sys none rw,bind 0 0
/dev /dev none rw,bind 0 0
/home /home none rw,bind 0 0
/tmp /tmp none rw,bind 0 0

/etc/schroot/schroot.conf changed:
...

-- debconf-show failed

Hilko Bengen

unread,
Sep 7, 2022, 4:30:05 AM9/7/22
to
control: tag -1 patch

Here's a quick patch to get rid of the egrep warnings.

Cheers,
-Hilko

Christoph Biedl

unread,
Sep 7, 2022, 1:10:04 PM9/7/22
to
Control: tags 1019295 pending

Sven-Haegar Koch wrote...

> Since update of grep to 3.8-1 using schroot outputs a lot of egrep
> warnings:
>
> Examples:
>
> E: 20copyfiles: egrep: warning: egrep is obsolescent; using grep -E

Oy, this is going to be a lot of fun:

https://codesearch.debian.net/search?q=egrep&literal=1
https://bugs.debian.org/1019335

Reworking the shell scripts using the input of shellcheck and shfmt was
already on the agenda, so let's speed up things a bit. At least in that
regard.

Christoph

signature.asc
0 new messages