FS#75975 - [schroot] Deprecation warnings for the use of egrep

Attached to Project: Community Packages
Opened by Kurt Cancemi (x64architecture) - Thursday, 22 September 2022, 16:50 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 22 December 2022, 00:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With the update of the grep package to 3.8 deprecation warnings are issued for uses of egrep by the schroot program.

A fix has been released under the version in testing "1.6.13-2".

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

Additional info:
* package version(s)
1.6.10-32
* config and/or log files etc.
see above
* link to upstream bug report, if any
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019295

Steps to reproduce:
1. Create schroot
2. schroot -c <nameofschroot>
3. Warnings observed.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 22 December 2022, 00:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  should be fixed in schroot 1.6.13-1
Comment by loqs (loqs) - Friday, 23 September 2022, 07:45 GMT
@x64architecture please try rebuilding schroot with the attached diff applied and see if it fixes the issue.

It updates the pkgver to 1.6.13 which is the upstream release the grep patch is built against. The new release changed build systems to cmake so that involved more chnages in the PKGBUILD.
Dropped lockdev depends  FS#70647 . Replaced e2fsprogs with util-linux / util-linux-libs which provides libuuid. Replaced btrfs-progs-unstable with btrfs-progs. Added makedepends on cmake and po4a for build system change.
check is disabled as it seems to need to be run as root.
Comment by Kurt Cancemi (x64architecture) - Friday, 23 September 2022, 15:44 GMT
@loqs With your patch I was able to successfully build and install 1.6.13. The egrep warnings are no longer present and everything seems to work.
Comment by Simon Thiel (thielsn) - Wednesday, 28 September 2022, 07:58 GMT
For a simple patch it is also sufficient to just replace all currencies of egrep in /etc/schroot by grep -E. (See attached patch.)

Loading...