<div dir="ltr">On Mon, Jul 29, 2013 at 10:26 AM, Patrick Dupre <span dir="ltr"><<a href="mailto:pdupre@gmx.com" target="_blank">pdupre@gmx.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Thank for your help.<br>
<div class="im"><br>
><br>
> On Mon, Jul 29, 2013 at 9:35 AM, Patrick Dupre <<a href="mailto:pdupre@gmx.com">pdupre@gmx.com</a>> wrote:<br>
><br>
</div><div class="im">> > RPM build errors:<br>
> > File not found by glob:<br>
> > /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5/vendor_perl/*<br>
> ><br>
><br>
</div><div class="im">> It's saying there's no files there... just cd into there and look around.<br>
> Perhaps the files are not being installed correctly. Another option is to<br>
> just comment out "%{perl_vendorlib}/*" and see if rpmbuild complains about<br>
> unpackaged files.<br>
><br>
</div>Of course, there is not /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5<br>
But where are the files?<br>
<br>
Commenting %{perl_vendorlib}/*<br>
gives:<br>
<br>
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1<br>
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64<br>
error: Installed (but unpackaged) file(s) found:<br>
/usr/lib/debug/.build-id/08/33a58fc0ee04cfa29b0aa6f9c0aaa31f2c6a93<br>
/usr/lib/debug/.build-id/08/33a58fc0ee04cfa29b0aa6f9c0aaa31f2c6a93.debug<br>
/usr/lib/debug/usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.so.debug<br>
/usr/lib64/perl5/vendor_perl/PDL/LAPACK.pm<br>
/usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.bs<br>
/usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.so<br>
/usr/src/debug/PDL-LAPACK-0.12/LAPACK.c<br>
/usr/src/debug/PDL-LAPACK-0.12/LAPACK.xs<br><br></blockquote><div><br></div><div>Look closely and I think you'll find your answer. You've set this up as a "noarch" package but the modules are getting installed into /usr/lib64/perl5 not /usr/share/perl5.</div>
<div><br></div><div>Either the package is installing the files to the wrong directory or your package is not a "noarch" package. There's a different macro to use for arch specific packages[1]</div><div><br></div>
<div>Richard</div><div><br></div><div>[1] <a href="https://fedoraproject.org/wiki/Packaging:Perl?rd=Packaging/Perl#Directory_Ownership">https://fedoraproject.org/wiki/Packaging:Perl?rd=Packaging/Perl#Directory_Ownership</a> </div>
</div><br></div></div>