https://bugzilla.redhat.com/show_bug.cgi?id=2264846
Bug ID: 2264846 Summary: perl-Gnome2-VFS-1.084-12.fc41 FTBFS: build/vfs2perl-gtypes.c:28:5: error: ‘GNOME_VFS_DNS_SD_SERVICE_ADDED’ undeclared here Product: Fedora Version: rawhide Status: NEW Component: perl-Gnome2-VFS Assignee: jplesnik@redhat.com Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: jplesnik@redhat.com, perl-devel@lists.fedoraproject.org Blocks: 2260875 (F41FTBFS,RAWHIDEFTBFS) Target Milestone: --- Classification: Fedora
perl-Gnome2-VFS-1.084-12.fc41 fails to build in Fedora 41:
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- VFS.bs blib/arch/auto/Gnome2/VFS/VFS.bs 644 [ CC build/vfs2perl-gtypes.c ] build/vfs2perl-gtypes.c:28:5: error: ‘GNOME_VFS_DNS_SD_SERVICE_ADDED’ undeclared here (not in a function) 28 | { GNOME_VFS_DNS_SD_SERVICE_ADDED, "GNOME_VFS_DNS_SD_SERVICE_ADDED", "added" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/vfs2perl-gtypes.c:29:5: error: ‘GNOME_VFS_DNS_SD_SERVICE_REMOVED’ undeclared here (not in a function) 29 | { GNOME_VFS_DNS_SD_SERVICE_REMOVED, "GNOME_VFS_DNS_SD_SERVICE_REMOVED", "removed" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build/vfs2perl-gtypes.c:399:5: error: ‘GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_PREVIOUS_ATTEMPT_FAILED’ undeclared here (not in a function) 399 | { GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_PREVIOUS_ATTEMPT_FAILED, "GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_PREVIOUS_ATTEMPT_FAILED", "previous-attempt-failed" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [...] make: *** [Makefile:356: build/vfs2perl-gtypes.o] Error 1 make: *** Waiting for unfinished jobs.... [ CC vfs2perl.c ] error: Bad exit status from /var/tmp/rpm-tmp.q4Rk17 (%build)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2260875 [Bug 2260875] Fedora 41 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2264846
--- Comment #1 from Petr Pisar ppisar@redhat.com --- The failure is preceded with:
+ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 'OPTIMIZE=-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=/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-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' Use of uninitialized value $major in numeric lt (<) at Makefile.PL line 44. Use of uninitialized value $minor in modulus (%) at /usr/lib64/perl5/vendor_perl/Glib/MakeHelper.pm line 106. Use of uninitialized value $major in numeric le (<=) at /usr/lib64/perl5/vendor_perl/Glib/MakeHelper.pm line 111. Use of uninitialized value $major in numeric le (<=) at /usr/lib64/perl5/vendor_perl/Glib/MakeHelper.pm line 111. Use of uninitialized value $major in numeric le (<=) at /usr/lib64/perl5/vendor_perl/Glib/MakeHelper.pm line 111. Including generated API documentation...
These lines do not appear in the last perl-Gnome2-VFS-1.084-12.fc40 build in Koji. That Makefile.PL line parses ExtUtils::PkgConfig->find() output. The failure could be triggered with upgrading pkgconf from 1.9.5-4.fc40 to 2.1.0-1.fc40.
https://bugzilla.redhat.com/show_bug.cgi?id=2264846
--- Comment #2 from Petr Pisar ppisar@redhat.com --- It is a regression in pkgconf. "pkg-config --modversion 'gnome-vfs-2.0 >= 2.0.0'" stopped returning gnome-vfs-2.0 version (e.g. 2.24.4).
https://bugzilla.redhat.com/show_bug.cgi?id=2264846
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |2264921
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2264921 [Bug 2264921] pkg-config --modversion 'gnome-vfs-2.0 >= 2' stopped printing a module version
https://bugzilla.redhat.com/show_bug.cgi?id=2264846 Bug 2264846 depends on bug 2264921, which changed state.
Bug 2264921 Summary: pkg-config --modversion 'gnome-vfs-2.0 >= 2' stopped printing a module version https://bugzilla.redhat.com/show_bug.cgi?id=2264921
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA
https://bugzilla.redhat.com/show_bug.cgi?id=2264846
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |pkgconf-2.1.1-1.fc41 Status|NEW |CLOSED Resolution|--- |RAWHIDE Last Closed| |2024-07-03 08:29:01
--- Comment #3 from Petr Pisar ppisar@redhat.com --- pkgconf-2.1.1-1.fc41 delivered the fix, perl-Gnome2-VFS builds again.
perl-devel@lists.fedoraproject.org