Bug 2364628

Summary: perl-EV-4.34-6.fc43 FTBFS with ExtUtils::ParseXS ≥ 3.57: Unrecognized escape \S passed through at (eval 77)
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-EVAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: carl, emmanuel, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-EV-4.34-7.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-11 08:32:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2339432    

Description Petr Pisar 2025-05-07 06:45:42 UTC
perl-EV-4.34-6.fc43 fails to build in Fedora 43:

+ /usr/bin/make -O -j8 V=1 VERBOSE=1
Running Mkbootstrap for EV ()
chmod 644 "EV.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- EV.bs blib/arch/auto/EV/EV.bs 644
cp EV/MakeMaker.pm blib/lib/EV/MakeMaker.pm
cp libev/ev.pod blib/lib/EV/libev.pod
cp libev/ev.h blib/lib/EV/ev.h
cp EV.pm blib/lib/EV.pm
cp EV/EVAPI.h blib/lib/EV/EVAPI.h
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/test/fedora/perl-EV/perl-EV-4.34-build/EV-4.34/typemap'  EV.xs > EV.xsc
Unrecognized escape \S passed through at (eval 77) line 2, <__ANONIO__> line 868.
Unrecognized escape \S passed through at (eval 77) line 3, <__ANONIO__> line 868.
Unrecognized escape \S passed through at (eval 77) line 4, <__ANONIO__> line 868.
[...]
gcc -c  -Ilibev -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SO
URCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tab
les -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/us
r/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protecti
on -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -DVERSION=\"4.34\" -DXS_VERSION=\"4.34\" -fPIC "-I/usr/lib64/perl5/CORE"  -DEV_USE_REALTIME=0 -DEV_USE_SELECT=1 -DEV_USE_POLL=1 -DEV_
USE_EPOLL=1 -DEV_USE_LINUXAIO=1 -DEV_RECOMMEND_LINUXAIO=0 -DEV_USE_IOURING=1 -DEV_RECOMMEND_IOURING=0 -DEV_USE_KQUEUE=0 -DEV_USE_PORT=0 -DEV_USE_INOTIFY=1 -DEV_USE_EVENTFD=1 -DEV_USE_SIGNALFD=1  EV.c
[..,]
EV.c: In function ‘XS_EV__Watcher_is_active’:
EV.c:1472:45: error: ‘stash_’ undeclared (first use in this function); did you mean ‘stash_io’?
 1472 |               && (SvSTASH (SvRV (ST(0))) == stash_" . (ev_watcher * =~ /ev_(S+)/, "int") . "
      |                                             ^~~~~~
      |                                             stash_io

This is triggered by upgrading perl-ExtUtils-ParseXS from 1:3.51-512.fc42 to 1:3.57-1.fc43. According to <https://github.com/Perl/perl5/issues/22353> it was a deliberate change in ExtUtils::ParseXS and EV should adapt. A proposed fix is quoted there.

Comment 1 Petr Pisar 2025-05-07 06:47:39 UTC
Upstream EV bug report is CPAN RT#156069.

Comment 2 Carl George 🤠 2025-05-08 00:14:08 UTC
https://src.fedoraproject.org/rpms/perl-EV/pull-request/2

Comment 3 Fedora Update System 2025-05-11 08:29:04 UTC
FEDORA-2025-954f3a9b4a (perl-EV-4.34-7.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-954f3a9b4a

Comment 4 Fedora Update System 2025-05-11 08:32:10 UTC
FEDORA-2025-954f3a9b4a (perl-EV-4.34-7.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.