Re: Weirdness in F-13/rawhide builds...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 19, 2010 at 9:40 AM, Iain Arnell <iarnell@xxxxxxxxx> wrote:
>
> I'm not sure where it should be fixed, but the bad behaviour of
> Module::Install::Share seems to be the result of a change to EU::MM.
> In F12, perl-ExtUtils-MakeMaker-6.36-87.fc12.x86_64, generated
> Makefiles contain things like
>
> pure_site_install ::
>    $(NOECHO) $(MOD_INSTALL) \
>        read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
>        write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
>        ....
>
> Whereas in rawhide, perl-ExtUtils-MakeMaker-6.55-109.fc13.x86_64 is
> generating Makefiles containing things like
>
> pure_site_install :: all
>    $(NOECHO) $(MOD_INSTALL) \
>        read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
>        write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
>        ....
>
> That extra 'all' prerequisite eventually causes the second 'config'
> target (added by M::I::Share) to be run again during install dumping
> the shared files under /blib. They still get installed to the correct
> location under /usr/share/perl5/ later in the install process.  This
> behaviour certainly doesn't seem to be the result of any changes to
> @INC.
>

It's definitely ExtUtils::MakeMaker update that's causing the problem,
not @INC changes. On a standard F-12 box with standard
perl-5.10.0-87.fc12.x86_64,

[ try building perl-DBI-Dumper (or anything else that fails in devel
with stuff "installed" into /blib) ]
fedora-cvs perl-DBI-Dumper
cd perl-DBI-Dumper/F-12
make local
[ works as expected ]

[ manually upgrade ExtUtils::MakeMaker to latest version ]
eval `perl -Mlocal::lib`
perl -MCPAN -e 'install "ExtUtils::MakeMaker"'

[ cleanup environment ]
unset MODULEBUILDRC
unset PERL_MM_OPT

[ try building again ]
make local

[ oops - fails ]
RPM build errors:
    Installed (but unpackaged) file(s) found:
   /home/iarnell/tmp/fc/perl-DBI-Dumper/F-12/DBI-Dumper-2.01/blib/arch/auto/DBI/Dumper/C/C.so


-- 
Iain.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux