libxml-parser-perl seems to need perl-ExtUtils-MakeMaker in order to be built, so it fails to build on boxes which don't have perl-ExtUtils-MakeMaker installed: Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /home/user/instance-0/output/host/usr/lib/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3. Full log in the ${URL} field. Perhaps we should add a new perl-ExtUtils-MakeMaker package to Buildroot?
Created attachment 5858 [details] Add dependency check for ExtUtils::MakeMaker I also had this problem and fixed it by reinstalling ExtUtils module on my host. The attached patch adds a check for this module.
Vicente, saiberion: would you mind sending the proposed patch to the mailing list?
(In reply to comment #2) > Vicente, saiberion: would you mind sending the proposed patch to the mailing > list? Hello Thomas, shouldn't we have an agreement on what would be the solution to this? a) adding the perl-ExtUtils-MakeMaker package to Buildroot b) adding a dependency check as saiberion did I personally don't like the option b), because I like to be able to use Buildroot having the minimum packages installed. And, if we keep doing this, we could end with a loooong list of dependencies to use Buildroot. I think it's better to add the perl-ExtUtils-MakeMaker instead. Maybe Francois Perrad has something to say about this since he seems to be the perl maintaner in Buildroot.
Vicente, do you have a readily available chroot in which we can run Buildroot to reproduce this problem?
(In reply to comment #4) > Vicente, do you have a readily available chroot in which we can run Buildroot > to reproduce this problem? No, I don't. But you can just remove perl-MakeMaker from your host machine and try to build Buildroot using a defconfig which includes libxml-parser-perl.
(In reply to comment #5) > (In reply to comment #4) > > Vicente, do you have a readily available chroot in which we can run Buildroot > > to reproduce this problem? > > No, I don't. But you can just remove perl-MakeMaker from your host machine and > try to build Buildroot using a defconfig which includes libxml-parser-perl. Well, on Debian/Ubuntu, perl-MakeMaker is part of the perl-modules package. If you try to remove it, it also removes perl, and Buildroot won't run without perl: root@build:/# apt-get remove perl-modules [...] The following packages will be REMOVED: cvs git git-core liberror-perl libfile-copy-recursive-perl perl perl-modules sgml-base update-inetd xml-core So it's basically a scenario that isn't possible. On which system do you have this problem?
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > Vicente, do you have a readily available chroot in which we can run Buildroot > > > to reproduce this problem? > > > > No, I don't. But you can just remove perl-MakeMaker from your host machine and > > try to build Buildroot using a defconfig which includes libxml-parser-perl. > > Well, on Debian/Ubuntu, perl-MakeMaker is part of the perl-modules package. If > you try to remove it, it also removes perl, and Buildroot won't run without > perl: > > root@build:/# apt-get remove perl-modules > [...] > The following packages will be REMOVED: > cvs git git-core liberror-perl libfile-copy-recursive-perl perl perl-modules > sgml-base update-inetd xml-core > > So it's basically a scenario that isn't possible. > > On which system do you have this problem? I remember this happened on a minimal Gentoo installation, but that happened 6 months ago... You can close this bug if you want. If this happens again, I will reopen it.
Vicente has suggested that we can close this bug. No-one else reported this issue, as it seems on most distros the ExtUtils/MakeMaker Perl module is part of the standard Perl installation. We can always revise that later if we get more reports about this.