Koji build problems with swig package on F11

Jesse Keating jkeating at j2solutions.net
Fri Jul 31 18:16:02 UTC 2009


On Fri, 2009-07-31 at 13:35 -0400, Seth Vidal wrote:
> I think swig has a bug in its packaging.
> 
> specifically
> 
> perl(ExtUtils::MakeMaker)
> perl(argv)
> perl(example)
> perl(it)
> perl(the)
> 
> I think those last 4 are an error.
> 
> at least I hope so.
> 

They are.  They come from the file Doc/Manual/Perl5.html, that has the
following lines:

use ExtUtils::MakeMaker;
<snip>
use it without success, you can build a new version of the Perl
<snip>
use example; 
(multiple itmes)
<snip>
use the use command as normal. For example :
<snip>
(more use example)
<snip>
use argv;
<snip>
use of Perl code might be to supply a high-level interface to certain
functions.
<snip>

Each of those are going to trigger the perl require checker to think
those are perl modules if it is ran on this html file.

The spec has:

cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-doc-%{version}\S
+||'`
EOF

%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
chmod +x %{__perl_requires}


which is going to go through the doc dir, where this html file is found,
and scour it for requires.  Does the same for provides which may also
screw things up.

So where is the bug?  That the provider/require script is being ran on
html files, that the script is reading html files and treating them like
perl files?

We'll need to get a new version of swig built to fix this, however it
needs to be fixed.



-- 
Jesse Keating RHCE      (http://jkeating.livejournal.com)
Fedora Project          (http://fedoraproject.org/wiki/JesseKeating)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)
identi.ca               (http://identi.ca/jkeating)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20090731/ee3da092/attachment.bin 


More information about the devel mailing list