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

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

 



On Mon, Jan 18, 2010 at 12:36 AM, Chris Weyl <cweyl@xxxxxxxxxxxxxxx> wrote:
> On Fri, Jan 15, 2010 at 5:33 PM, Stepan Kasal <skasal@xxxxxxxxxx> wrote:
[ and some time before that, Chris wrote: ]
>>> Not to put too fine a point on it, is this intentional? :) It appears
>>> to be playing havoc with install_share / Module::Install::Share (hence
>>> the FTBFS), causing share files to be installed under /blib.
>>
>> Let me suppose this is fixable in Module::Install ...
>> I hope I'll get to it eventually; but every bit of help is welcome,
>> of course.  ;-)
>
> I'm pretty sure that if Module::Install is broken here, we're the ones
> that did it :)  It's worth noting too that even if we patch
> Module::Install via our rpm/spec, any dist that uses install_share()
> will contain a bundled Module::Install::Share.  There is at least one
> spec out there that just nukes the /blib directory (perl-Padre); I'm
> not sure if it's significant but there's no comment as to why and a
> build locally shows about 2x as many files under .../dist/Padre/ than
> the rawhide build.

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.

-- 
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