Description of problem: When building attr in rawhide, it fails on the tests with the error "Unescaped left brace in regex is illegal here in regex" This is due to the newer version of Perl changing that error from a warning to an error. Version-Release number of selected component (if applicable): attr-2.4.47-18.fc26 How reproducible: 100% Steps to Reproduce: 1.koji build --scratch rawhide attr-2.4.47-18.fc26.src.rpm 2. 3. Actual results: ... gmake[1]: Entering directory '/builddir/build/BUILD/attr-2.4.47/test' *** attr.test *** Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/%{ <-- HERE (\w+)}/ at run line 87. gmake[1]: Leaving directory '/builddir/build/BUILD/attr-2.4.47/test' gmake[1]: *** [Makefile:40: attr.test] Error 255 make: *** [Makefile:120: tests] Error 2 + exit 2 ... Expected results: rpm to build Additional info: Perl changed from perl-5.24.1 in fedora 26 to perl-5.26.0 in rawhide (f27) Here is a failed scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=20652575
Created attachment 1302558 [details] Patch to fix attr tests Patch to fix acls tests I have attached a patch to fix the tests for the new Perl. Here is a successful rawhide scratch build with the patch applied. https://koji.fedoraproject.org/koji/taskinfo?taskID=20653521
I understand that not everyone has time to work on failed builds. But this failed build is blocking some automated building for the bootstrap and module team. If you are unable to update the rpm within two weeks, we will have a proven packager apply the patch in this bug. If you know you will be too busy and wouldn't mind us applying it sooner, just let us know.
Thanks for the patch! I have submitted it upstream on your behalf: http://lists.nongnu.org/archive/html/acl-devel/2017-07/msg00001.html
downstream commit: https://src.fedoraproject.org/cgit/rpms/attr.git/commit/?id=ad4426d2