Parag N(पराग़) wrote:
Hi,
On 7/14/06, Ralf Corsepius <rc040203@xxxxxxxxxx> wrote:
On Fri, 2006-07-14 at 09:39 +0200, Thorsten Leemhuis wrote:
> Not that it matters much, but:
>
> Paul Howarth schrieb:
> > On Fri, 2006-07-14 at 18:57 +1200, Michael J. Knox wrote:
> >> Ralf Corsepius wrote:
> > In virtually all of these cases, the right thing to add as a
buildreq is
> > actually intltool really, since XML::Parser is being checked for
in the
> > configure script to ensure that intltool will work.
>
> Yes. But intltool is included in some (a lot of?) packages so...
>
> > Adding intltool as a
> > buildreq will automatically pull in XML::Parser.
>
> ...will add a package as buildreq that's not used at all during build.
>From the OP's original posting:
..
checking for intltool >= 0.18... 0.34.1 found
..
# rpm -ql intltool | xargs grep XML | grep require
/usr/bin/intltool-extract: my $ret = eval 'require XML::Parser';
/usr/bin/intltool-merge: my $ret = eval 'require XML::Parser';
/usr/bin/intltool-merge: my $ret = eval 'require XML::Parser';
/usr/bin/intltool-update:"xml(?:\\.in)*|". #
http://www.w3.org/XML/ (Note: .in is not required)
/usr/share/aclocal/intltool.m4: if `$INTLTOOL_PERL -e "require
XML::Parser" 2>/dev/null`; then
/usr/share/aclocal/intltool.m4: AC_MSG_ERROR([XML::Parser perl
module is required for intltool])
/usr/share/doc/intltool-0.34.2/ChangeLog: of intltool that
require the XML::Parser perl module
/usr/share/doc/intltool-0.34.2/ChangeLog: needed to merge XML
files, so do not require it when building
/usr/share/intltool/intltool-extract.in: my $ret = eval 'require
XML::Parser';
/usr/share/intltool/intltool-merge.in: my $ret = eval 'require
XML::Parser';
/usr/share/intltool/intltool-merge.in: my $ret = eval 'require
XML::Parser';
/usr/share/intltool/intltool-update.in:"xml(?:\\.in)*|". #
http://www.w3.org/XML/ (Note: .in is not required)
=> intltool uses perl(XML::Parser) as a mandatory plugin all over the
place (Note the AC_MSG_ERROR).
Thanks to all for replying. Don't know how but error solved this
time by adding
BuildRequires: perl-XML-Parser
which i did similarly for some packages last week while doing their
reviews but besides that they failed. I have reported this problem in
one of BUG to Paul Howarth (dont remember BUG number). Anyway if i
face again that problem will report back here.
Please note that the buildreq should be perl(XML::Parser) rather than
perl-XML-Parser as discussed earlier in this thread.
Paul.
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list