On Tue, Apr 19, 2016 at 11:18:31AM +0200, Petr Pisar wrote: > On Tue, Apr 19, 2016 at 08:28:47AM +0200, Jan Pazdziora wrote: > > koschei reported failed builds on f25 on numerous packages last night. > > They all seem to have the common cause > > > > fatal error: EXTERN.h: No such file or directory > > #include "EXTERN.h" > > ^ > > compilation terminated. > > > > The build logs I look at are: > > > > https://kojipkgs.fedoraproject.org/work/tasks/1435/13701435/build.log > > I removed some stray dependencies on perl-devel from a few packages yesterday > (see <https://bugzilla.redhat.com/show_bug.cgi?id=1129443>). > > Especially from perl-ExtUtils-ParseXS with the grounding that > ExtUtils::ParseXS does not need Perl header files. It's the ExtUtils::ParseXS > output that needs them. > > I wonder why the builds fail because perl-ExtUtils-MakeMaker should still pull > in perl-devel via CBuilder. It least my local repositories behave so. I will > look on it. > The reason why I did not catch this issue with my tests is I forgot to add the new perl-ExtUtils-ParseXS without the depepdency on perl-devel into my local repository and I still was persuaded perl-ExtUtils-MakeMaker requires ExtUtils::CBuilder somehow.
So the result is that the perl-devel removal from perl-ExtUtils-ParseXS caused
removing perl-devel from build roots.
Koschei registers 235 failed Perl packages now. F25 has 493 packages linked to
libperl.so, 417 packages out of them start with perl- prefix.
ExtUtils::MakeMaker genererates this code for XS packages:
.xs$(OBJ_EXT):
$(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
Module::Build is not affected because perl-Module-Build requires
Module::CBuilder.
I will add perl-devel dependency into perl-ExtUtils-MakeMaker to hotfix
building the XS packages. However, I'd like to weaken the dependency after
proper discussion and announcement in the future.
-- Petr
signature.asc
Description: PGP signature
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list [email protected] http://lists.fedoraproject.org/admin/lists/[email protected]
