perl.module-authors http://www.nntp.perl.org/group/perl.module-authors/ ... Copyright 1998-2008 perl.org Tue, 07 Oct 2008 21:23:13 +0000 ask@perl.org Should CPAN install in the version dependent directory? by Johan Vromans I just did a <br/><br/> % perl -MCPAN -e shell<br/> cpan&gt; install Bundle::CPAN<br/><br/>My config is to install in ~/lib/perl5. So now I have:<br/><br/> lib/perl5/i386-linux-thread-multi/auto/Cwd/Cwd.so<br/> lib/perl5/i386-linux-thread-multi/auto/Digest/SHA/SHA.so<br/> ... etc ...<br/><br/>I share my home between different Fedora systems, some running 5.8.8,<br/>others running 5.10.0. Since 5.8 is not binary compatible with 5.10<br/>the .so files should be placed in<br/><br/> lib/perl5/5.8.8/i386-linux-thread-multi/auto/Cwd/Cwd.so<br/> lib/perl5/5.8.8/i386-linux-thread-multi/auto/Digest/SHA/SHA.so<br/><br/>Or am I overlooking something?<br/><br/>-- Johan<br/><br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6959.html Mon, 06 Oct 2008 07:30:19 +0000 Re: How To Bundle Module::Build (was Re: Module::Build 0.30 is released) by Adam Kennedy I&#39;ll see to it that the pony goes into blead asap.<br/><br/>Adam K<br/><br/>2008/10/4 Nicholas Clark &lt;nick@ccl4.org&gt;:<br/>&gt; On Sat, Oct 04, 2008 at 01:55:50PM +1000, Adam Kennedy wrote:<br/>&gt;<br/>&gt;&gt; The magic ponies will be introduced in 5.8.9 and 5.10.1. You indeed<br/>&gt;&gt; will never have to upgrade.<br/>&gt;<br/>&gt; 5.8.9 will ship, ponies ready or not.<br/>&gt;<br/>&gt; I don&#39;t see stable ponies in blead to merge.<br/>&gt;<br/>&gt; I&#39;m not the only person who can commit to blead, so someone else can deal with<br/>&gt; that part.<br/>&gt;<br/>&gt; Nicholas Clark<br/>&gt;<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6958.html Sun, 05 Oct 2008 19:44:05 +0000 Re: Module::Build 0.30 is released by Craig A. Berry On Wed, Oct 1, 2008 at 1:13 PM, Craig A. Berry &lt;craig.a.berry@gmail.com&gt; wrote:<br/>&gt; On Tue, Sep 30, 2008 at 6:33 AM, Steve Hay &lt;SteveHay@planit.com&gt; wrote:<br/>&gt;<br/>&gt;&gt; Thanks, applied to bleadperl as 34446.<br/>&gt;&gt;<br/>&gt;&gt; Two local changes remain:<br/>&gt;&gt;<br/>&gt;&gt; Change 32357 by craigb@craigb-brianor on 2007/11/17 04:19:47<br/>&gt;&gt;<br/>&gt;&gt; Skip Module::Build ppm test -- not ready for prime time on VMS.<br/>&gt;&gt;<br/>&gt;&gt; (ppm.t)<br/><br/>This is a great deal closer to working than it was, but still not<br/>quite there yet.<br/><br/>&gt;&gt; Change 32351 by craigb@craigb-brianor on 2007/11/16 23:43:46<br/>&gt;&gt;<br/>&gt;&gt; Silence ill-behaved or failing Module::Build tests on VMS.<br/>&gt;&gt;<br/>&gt;&gt; (test_type.t and xs.t parts only--the tilde.t part appears to have been<br/>&gt;&gt; superseded by code in 0.30. Please can you check that, Craig?)<br/><br/>This was ok for now but we have more work to do upstream. I see these<br/>new failures after the integration of 0.30:<br/><br/>lib/Module/Build/t/compat.....................................FAILED at test 13<br/>lib/Module/Build/t/ext........................................FAILED at test 142<br/>lib/Module/Build/t/tilde......................................FAILED at test 3<br/><br/>I think all of those were working last time I tried a CPAN version a<br/>few months ago but I obviously have not kept up on my testing.<br/><br/>test_type.t and xs.t work fine individually but trigger a VMS-specific<br/>bug that causes the harness to see tests out of order. I think some<br/>output from a child process is bleeding through to the parent or<br/>something:<br/><br/>$ perl test [-.lib.module.build.t]test_type.t<br/>lib/module/build/t/test_type....FAILED--expected test 5, saw test 4<br/>Failed 1 test out of 1, 0.00% okay.<br/> [-.lib.module.build.t]test_type.t<br/>### Since not all tests were successful, you may want to run some of<br/>### them individually and examine any diagnostic messages they produce.<br/>### See the INSTALL document&#39;s section on &quot;make test&quot;.<br/>u=6.56 s=0.00 cu=0.00 cs=0.00 scripts=1 tests=9<br/>%SYSTEM-F-ABORT, abort<br/>$ perl test [-.lib.module.build.t]xs.t<br/>lib/module/build/t/xs....FAILED--expected test 12, saw test 11<br/>Failed 1 test out of 1, 0.00% okay.<br/> [-.lib.module.build.t]xs.t<br/>### Since not all tests were successful, you may want to run some of<br/>### them individually and examine any diagnostic messages they produce.<br/>### See the INSTALL document&#39;s section on &quot;make test&quot;.<br/>u=6.97 s=0.00 cu=0.00 cs=0.00 scripts=1 tests=23<br/>%SYSTEM-F-ABORT, abort<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6957.html Sat, 04 Oct 2008 04:19:57 +0000 Re: How To Bundle Module::Build (was Re: Module::Build 0.30 is released) by Nicholas Clark On Sat, Oct 04, 2008 at 01:55:50PM +1000, Adam Kennedy wrote:<br/><br/>&gt; The magic ponies will be introduced in 5.8.9 and 5.10.1. You indeed<br/>&gt; will never have to upgrade.<br/><br/>5.8.9 will ship, ponies ready or not.<br/><br/>I don&#39;t see stable ponies in blead to merge.<br/><br/>I&#39;m not the only person who can commit to blead, so someone else can deal with<br/>that part.<br/><br/>Nicholas Clark<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6956.html Sat, 04 Oct 2008 00:04:51 +0000 Re: How To Bundle Module::Build (was Re: Module::Build 0.30 is released) by Adam Kennedy 2008/10/3 Michael G Schwern &lt;schwern@pobox.com&gt;:<br/>&gt;&gt; 2008/9/30 Matt S Trout &lt;matt-p5p@trout.me.uk&gt;:<br/>&gt;&gt;&gt; If the world upgraded regularly, Module::Build wouldn&#39;t be such a disaster<br/>&gt;&gt;&gt; anyway :)<br/>&gt;<br/>&gt; Adam Kennedy wrote:<br/>&gt;&gt; True, but it&#39;s FAR more palatable to say &quot;Just upgrade ONCE, and<br/>&gt;&gt; you&#39;ll never have to think about it again&quot; compared to upgrading<br/>&gt;&gt; continuously.<br/>&gt;<br/>&gt; As long as we&#39;re talking platitudes, why don&#39;t we just say you never have to<br/>&gt; upgrade! In fact, you never even have to install the software, magic ponies<br/>&gt; inside your computer will just know when you need it and go get it for you. [1]<br/><br/>The magic ponies will be introduced in 5.8.9 and 5.10.1. You indeed<br/>will never have to upgrade.<br/><br/>Adam K<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6955.html Fri, 03 Oct 2008 20:56:00 +0000 Re: how can I building my own cpan server with old modules? by brian d foy In article &lt;5d4beb40810030650tc2430adrd1fa25f0b3d0e0e0@mail.gmail.com&gt;,<br/>David Golden &lt;xdaveg@gmail.com&gt; wrote:<br/><br/>&gt; On Fri, Oct 3, 2008 at 8:48 AM, Gabor Szabo &lt;szabgab@gmail.com&gt; wrote:<br/>&gt; &gt; Along the same lines I am not sure how difficult it would be to build<br/>&gt; &gt; a CPAN::Mini<br/>&gt; &gt; mirror that has the files as they were on any particular date in the past.<br/>&gt; &gt;<br/>&gt; &gt; So I would be able to say myminicpan --date 2006.06.27<br/>&gt; &gt; and it would build a cpan mirror with all the files that were latest<br/>&gt; &gt; on CPAN on that day.<br/>&gt; <br/>&gt; Not terribly difficult as long as you know the logic for finding what<br/>&gt; dists existed on date X and producing a list of distribution names.<br/>&gt; (e.g. DAGOLDEN/Foo-Bar-1.23.tar.gz)<br/><br/>All of that info is part of the information I&#39;m collecting on each<br/>distribution, and one of my use cases is recreating CPAN at any<br/>particular time. The only information I don&#39;t have for that is when<br/>distributions were removed from CPAN.<br/><br/>See, for instance:<br/><br/> http://use.perl.org/~brian_d_foy/journal/37375<br/><br/>Take a look at those data files. Right now I&#39;m just collecting the<br/>data, but once I do that, I&#39;ll start organizing it. If someone is<br/>really motivated, they could do that part for me. :)<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6954.html Fri, 03 Oct 2008 10:17:57 +0000 Re: how can I building my own cpan server with old modules? by Eric Wilhelm # from Gabor Szabo<br/># on Friday 03 October 2008:<br/><br/>&gt;If there was such an easy solution in place, module-authors would need<br/>&gt;to worry less<br/>&gt;about supporting old versions of perl or old versions of the<br/>&gt; toolchain. Users who are stuck with old toolchains or old perl could<br/>&gt; just build an old version of<br/>&gt;CPAN for themself.<br/><br/>You may spend your time how you like, but I think the only case where <br/>users cannot upgrade the toolchain is with perls older than 5.6.x. For <br/>anything older, I recommend that you be getting paid for more than a <br/>10-year support plan ;-)<br/><br/>If you find a case where CPAN, CPANPLUS, Test::Harness, Test::More, or <br/>Module::Build don&#39;t work on a 5.6.x or later perl, please report it.<br/><br/>--Eric<br/>-- <br/>&quot;It works better if you plug it in!&quot;<br/>--Sattinger&#39;s Law<br/>---------------------------------------------------<br/> http://scratchcomputing.com<br/>---------------------------------------------------<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6953.html Fri, 03 Oct 2008 09:50:30 +0000 Re: how can I building my own cpan server with old modules? by David Golden On Fri, Oct 3, 2008 at 8:48 AM, Gabor Szabo &lt;szabgab@gmail.com&gt; wrote:<br/>&gt; Along the same lines I am not sure how difficult it would be to build<br/>&gt; a CPAN::Mini<br/>&gt; mirror that has the files as they were on any particular date in the past.<br/>&gt;<br/>&gt; So I would be able to say myminicpan --date 2006.06.27<br/>&gt; and it would build a cpan mirror with all the files that were latest<br/>&gt; on CPAN on that day.<br/><br/>Not terribly difficult as long as you know the logic for finding what<br/>dists existed on date X and producing a list of distribution names.<br/>(e.g. DAGOLDEN/Foo-Bar-1.23.tar.gz)<br/><br/>Look at the code for CPAN::Mini::Devel [1] -- it replaces the usual<br/>selection logic of CPAN::Mini to include latest devel versions. You<br/>want to do the same kind of thing and override _get_mirror_list().<br/><br/>The one tricky part I can anticipate is that BACKPAN doesn&#39;t have<br/>indices (and you need to create your own anyway) so you&#39;ll need to<br/>override mirror_indices() to do nothing and override<br/>_install_indices() to create the index files for your custom CPAN.<br/><br/>[1] git://echo.dagolden.com/git/CPAN-Mini-Devel<br/><br/>-- David<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6952.html Fri, 03 Oct 2008 06:50:20 +0000 Re: how can I building my own cpan server with old modules? by Gabor Szabo On Fri, Oct 3, 2008 at 1:40 PM, brian d foy &lt;brian.d.foy@gmail.com&gt; wrote:<br/>&gt; In article<br/>&gt; &lt;d8a74af10810030002g612471d1k5a1142f5939c7018@mail.gmail.com&gt;, Gabor<br/>&gt; Szabo &lt;szabgab@gmail.com&gt; wrote:<br/>&gt;<br/>&gt;<br/>&gt;&gt; Now I need a button (I&#39;ll settle with a command line tool)<br/>&gt;&gt; that I can press and that will build my precious CPAN micro that<br/>&gt;&gt; contains exactly those two modules and the index.<br/>&gt;<br/>&gt; MyCPAN::Indexer can do that, which means it is set up to be able to<br/>&gt; handle things like that but I haven&#39;t implemented this particular task.<br/>&gt;<br/>&gt; The latest MyCPAN stuff, which is my name for the BackPAN indexer,<br/>&gt; is now pluggable. You can tell it how to get a list of modules to<br/>&gt; process, how to process them, and how to write the report. If you look<br/>&gt; in the git archive, check out the &quot;test census&quot; example. For that, I<br/>&gt; have the indexer walk through distros, record the Test:: modules used,<br/>&gt; and then write a summary. That&#39;s the same task you have, but you want<br/>&gt; the modules in the dist (it finds that too) and a CPAN::Mini::Inject<br/>&gt; for each one.<br/>&gt;<br/>&gt; I just demonstrated this at Chciago.pm and have the screencast on Vimeo<br/>&gt; (and your exact use case came up too, but not while I was recording):<br/>&gt;<br/>&gt; http://vimeo.com/1808414<br/>&gt;<br/>&gt; I have some other things on my plate right now, but I estimate this is<br/>&gt; about two days of work for me. How fast do you need this? If it&#39;s<br/>&gt; something that someone wants enough to pay some money, I could work on<br/>&gt; it during work hours.<br/><br/><br/>Thanks, great. I hope I&#39;ll be able to to look at all those once I am<br/>back from my vacation.<br/><br/>I personally don&#39;t need it right now.<br/><br/>The question came to me as IMHO this can be a solution for all those people who<br/>cannot upgrade their toolchain. They might not be able to install the latest<br/>and greatest from CPAN as those might need some brand new features of MB or EUMM<br/>but they can go back in time, have a custom built CPAN frozen in ancient times<br/>just as they need it with juts enough of the old stuff they need.<br/><br/>Along the same lines I am not sure how difficult it would be to build<br/>a CPAN::Mini<br/>mirror that has the files as they were on any particular date in the past.<br/><br/>So I would be able to say myminicpan --date 2006.06.27<br/>and it would build a cpan mirror with all the files that were latest<br/>on CPAN on that day.<br/><br/>If there was such an easy solution in place, module-authors would need<br/>to worry less<br/>about supporting old versions of perl or old versions of the toolchain.<br/>Users who are stuck with old toolchains or old perl could just build<br/>an old version of<br/>CPAN for themself.<br/><br/><br/>&gt;&gt; Plus I&#39;d like to<br/>&gt;&gt; get a report what else do I need with the possible version numbers.<br/>&gt;<br/>&gt; You mean dependencies? That&#39;s easy to get it you want to beleive<br/>&gt; Makefile.PL or Build.PL, and slightly harder if you want the real<br/>&gt; answer.<br/><br/>Yes dependencies but it is not enough to know which module I need,<br/>I&#39;d also like to know what version did I possibly use back when I installed<br/>this application.<br/><br/><br/>Gabor<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6951.html Fri, 03 Oct 2008 05:48:35 +0000 Re: how can I building my own cpan server with old modules? by brian d foy In article<br/>&lt;d8a74af10810030002g612471d1k5a1142f5939c7018@mail.gmail.com&gt;, Gabor<br/>Szabo &lt;szabgab@gmail.com&gt; wrote:<br/><br/><br/>&gt; Now I need a button (I&#39;ll settle with a command line tool)<br/>&gt; that I can press and that will build my precious CPAN micro that<br/>&gt; contains exactly those two modules and the index. <br/><br/>MyCPAN::Indexer can do that, which means it is set up to be able to<br/>handle things like that but I haven&#39;t implemented this particular task.<br/><br/>The latest MyCPAN stuff, which is my name for the BackPAN indexer,<br/>is now pluggable. You can tell it how to get a list of modules to<br/>process, how to process them, and how to write the report. If you look<br/>in the git archive, check out the &quot;test census&quot; example. For that, I<br/>have the indexer walk through distros, record the Test:: modules used,<br/>and then write a summary. That&#39;s the same task you have, but you want<br/>the modules in the dist (it finds that too) and a CPAN::Mini::Inject<br/>for each one. <br/><br/>I just demonstrated this at Chciago.pm and have the screencast on Vimeo<br/>(and your exact use case came up too, but not while I was recording):<br/><br/>http://vimeo.com/1808414<br/><br/>I have some other things on my plate right now, but I estimate this is<br/>about two days of work for me. How fast do you need this? If it&#39;s<br/>something that someone wants enough to pay some money, I could work on<br/>it during work hours.<br/><br/><br/>&gt; Plus I&#39;d like to<br/>&gt; get a report what else do I need with the possible version numbers.<br/><br/>You mean dependencies? That&#39;s easy to get it you want to beleive<br/>Makefile.PL or Build.PL, and slightly harder if you want the real<br/>answer.<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6950.html Fri, 03 Oct 2008 03:40:23 +0000 Re: how can I building my own cpan server with old modules? by Gabor Szabo On Fri, Oct 3, 2008 at 4:36 AM, brian d foy &lt;brian.d.foy@gmail.com&gt; wrote:<br/>&gt; In article<br/>&gt; &lt;d8a74af10810020617y104b2f8docc2814f0c9b61de6@mail.gmail.com&gt;, Gabor<br/>&gt; Szabo &lt;szabgab@gmail.com&gt; wrote:<br/>&gt;<br/>&gt;<br/>&gt;&gt; So how can I build such a CPAN mirror along with its index files?<br/>&gt;<br/>&gt; Which part of the process are you hung up on?<br/><br/>I am looking for the button to press. :-)<br/><br/>&gt;<br/>&gt; The only part that&#39;s a pain is getting the list of modules from a<br/>&gt; distribution so you can feed it to CPAN::Mini::Inject. I haven&#39;t hooked<br/>&gt; up my BackPAN indexing stuff to that yet, but all the technology is<br/>&gt; there.<br/>&gt;<br/><br/>I can prepare a file with<br/><br/>Module::Name 3.12<br/>Another::Module 7.28<br/><br/>actually I already have the list in my Build.PL and Makefile.PL<br/><br/>Now I need a button (I&#39;ll settle with a command line tool)<br/>that I can press and that will build my precious CPAN micro that<br/>contains exactly those two modules and the index. Plus I&#39;d like to<br/>get a report what else do I need with the possible version numbers.<br/><br/>Gabor who is supposed to be on vacation right now<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6949.html Fri, 03 Oct 2008 00:02:34 +0000 Re: overriding ~mumble~latest.pm by Eric Wilhelm # from Ricardo SIGNES<br/># on Thursday 02 October 2008:<br/><br/>&gt;&gt; That&#39;s not what latest.pm does. &nbsp;The caller is expected to setup the<br/>&gt;&gt; @INC correctly for &quot;use latest&quot; -- *then* latest::import() figures<br/>&gt;&gt; out where the __THING YOU ACTUALLY WANT TO LOAD__ is.<br/>&gt;&gt;<br/>&gt;&gt; Is that clear? &nbsp;Or, you could just read the code:<br/>&gt;<br/>&gt;That&#39;s what it would do if it was going to use a newer installed<br/>&gt; version, which is what was being discussed.<br/><br/>Until someone demonstrates a reason to put logic about which latest.pm <br/>is loaded in the latest.pm, I think we can skip discussing exactly what <br/>that logic should be.<br/><br/>--Eric<br/>-- <br/>Those who cannot remember the past are condemned to repeat it.<br/>--George Santayana<br/>---------------------------------------------------<br/> http://scratchcomputing.com<br/>---------------------------------------------------<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6948.html Thu, 02 Oct 2008 21:51:49 +0000 Re: overriding ~mumble~latest.pm by Ben Morrow <br/>Quoth scratchcomputing@gmail.com (Eric Wilhelm):<br/>&gt; # from Ben Morrow<br/>&gt; # on Thursday 02 October 2008:<br/>&gt; <br/>&gt; &gt;Being able to install latest.pm[1] and use an installed version<br/>&gt; &gt; doesn&#39;t help, though. If there&#39;s a bug in the section of latest.pm<br/>&gt; &gt; that tries to locate the installed copy of itself and use it instead,<br/>&gt; &gt; you *still* can&#39;t fix it. And since that is the entire functionality<br/>&gt; &gt; of latest.pm, there won&#39;t ever be any bugs you can fix by installing<br/>&gt; &gt; a fixed version.<br/>&gt; <br/>&gt; That&#39;s not what latest.pm does. The caller is expected to setup the <br/>&gt; @INC correctly for &quot;use latest&quot; -- *then* latest::import() figures out <br/>&gt; where the __THING YOU ACTUALLY WANT TO LOAD__ is.<br/><br/>I think we&#39;re in violent agreement here: maybe I wasn&#39;t clear enough.<br/><br/> Ken said: latest.pm is never installed, the bundled version is used<br/> to locate the appropriate copy of M::B to use.<br/><br/> Ricardo said: But what if there&#39;s a bug in the bundled version? Then<br/> we&#39;re back to repackaging everything just like with M::I. To avoid<br/> this latest.pm should defer to the installed version of itself if<br/> it&#39;s newer.<br/><br/> I said: If there is a bug in latest.pm, being able to install a<br/> fixed copy doesn&#39;t help. If the bundled version were capable of<br/> correctly locating and deferring to the installed version, it could<br/> do the same for M::B. If it isn&#39;t, then you&#39;re screwed anyway.<br/><br/>So: I understand that the plan is never to install latest.pm, and I<br/>think this is the only correct solution. Of course, latest.pm must be<br/>written rather carefully, and the temptation to add features must be<br/>resisted: this is bootstrap code only :).<br/><br/>&gt; There is nothing in the latest.pm which prevents it *itself* from being <br/>&gt; superseded by an installed version<br/><br/>I wonder if there should be? If we&#39;re running an installed copy of<br/>latest.pm instead of the bundled copy, then something has gone wrong; it<br/>may be better to let the user know they&#39;ve done something stupid sooner<br/>rather than later.<br/><br/>&gt; &gt;[1] IMHO it *really* ought to be called Module::Build::latest, as<br/>&gt; &gt;otherwise you&#39;re stomping on a top-level pragma namespace for the sake<br/>&gt; &gt;of a module that never gets installed.<br/>&gt; <br/>&gt; If it *were* designed to be installed, then: yes.<br/><br/>I don&#39;t think it makes any difference. The namespace is still taken: if<br/>anyone ever had a latest.pm installed that did something different,<br/>*real* chaos would ensue :).<br/><br/>Ben<br/><br/>-- <br/>For far more marvellous is the truth than any artists of the past imagined!<br/>Why do the poets of the present not speak of it? What men are poets who can<br/>speak of Jupiter if he were like a man, but if he is an immense spinning<br/>sphere of methane and ammonia must be silent? [Feynmann] ben@morrow.me.uk<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6947.html Thu, 02 Oct 2008 20:18:11 +0000 Re: how can I building my own cpan server with old modules? by brian d foy In article<br/>&lt;d8a74af10810020617y104b2f8docc2814f0c9b61de6@mail.gmail.com&gt;, Gabor<br/>Szabo &lt;szabgab@gmail.com&gt; wrote:<br/><br/><br/>&gt; So how can I build such a CPAN mirror along with its index files?<br/><br/>Which part of the process are you hung up on?<br/><br/>The only part that&#39;s a pain is getting the list of modules from a<br/>distribution so you can feed it to CPAN::Mini::Inject. I haven&#39;t hooked<br/>up my BackPAN indexing stuff to that yet, but all the technology is<br/>there.<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6946.html Thu, 02 Oct 2008 18:36:22 +0000 Re: overriding ~mumble~latest.pm by Ricardo SIGNES * Eric Wilhelm &lt;scratchcomputing@gmail.com&gt; [2008-10-02T20:18:46]<br/>&gt; # from Ben Morrow<br/>&gt; # on Thursday 02 October 2008:<br/>&gt; <br/>&gt; &gt;Being able to install latest.pm[1] and use an installed version<br/>&gt; &gt; doesn&#39;t help, though. If there&#39;s a bug in the section of latest.pm<br/>&gt; &gt; that tries to locate the installed copy of itself and use it instead,<br/>&gt; &gt; you *still* can&#39;t fix it. And since that is the entire functionality<br/>&gt; &gt; of latest.pm, there won&#39;t ever be any bugs you can fix by installing<br/>&gt; &gt; a fixed version.<br/>&gt; <br/>&gt; That&#39;s not what latest.pm does. The caller is expected to setup the <br/>&gt; @INC correctly for &quot;use latest&quot; -- *then* latest::import() figures out <br/>&gt; where the __THING YOU ACTUALLY WANT TO LOAD__ is.<br/>&gt;<br/>&gt; Is that clear? Or, you could just read the code:<br/><br/>That&#39;s what it would do if it was going to use a newer installed version, which<br/>is what was being discussed.<br/><br/>There&#39;s no yell or imply that anyone is not paying attention.<br/><br/>-- <br/>rjbs<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6945.html Thu, 02 Oct 2008 17:58:36 +0000 Re: overriding ~mumble~latest.pm by Eric Wilhelm # from Ben Morrow<br/># on Thursday 02 October 2008:<br/><br/>&gt;Being able to install latest.pm[1] and use an installed version<br/>&gt; doesn&#39;t help, though. If there&#39;s a bug in the section of latest.pm<br/>&gt; that tries to locate the installed copy of itself and use it instead,<br/>&gt; you *still* can&#39;t fix it. And since that is the entire functionality<br/>&gt; of latest.pm, there won&#39;t ever be any bugs you can fix by installing<br/>&gt; a fixed version.<br/><br/>That&#39;s not what latest.pm does. The caller is expected to setup the <br/>@INC correctly for &quot;use latest&quot; -- *then* latest::import() figures out <br/>where the __THING YOU ACTUALLY WANT TO LOAD__ is.<br/><br/>Is that clear? Or, you could just read the code:<br/><br/> https://svn.perl.org/modules/Module-Build/trunk/inc/latest.pm<br/><br/>There is nothing in the latest.pm which prevents it *itself* from being <br/>superseded by an installed version (or even has anything to do with <br/>itself for that matter), but &quot;latest.pm&quot; being installed *is not* the <br/>design as it currently stands.<br/><br/>There *is* an issue with exactly what the author puts in their Build.PL, <br/>and I don&#39;t think that has been completely decided:<br/><br/> 1. assume &#39;.&#39; is at the end of @INC:<br/> &quot;use inc::latest &#39;Module::Build&#39;;&quot;<br/> pro - overriding via installation now easy<br/> + only one line in Build.PL<br/> con - assumption might fail<br/> note: would require s/package latest/package inc::latest/<br/><br/> 2. BEGIN {unshift(@INC, &#39;inc&#39;)} aka &quot;use lib &#39;inc&#39;&quot;<br/> pro - no assumptions: you know what you&#39;re getting<br/> con - harder to override<br/> note: but not impossible<br/><br/> 3. BEGIN {push(@INC, &#39;inc&#39;)}<br/> pro - no assumptions + easy to override<br/> con - not pronounced &quot;use lib &#39;inc&#39;&quot;<br/><br/>And yes - #1 is what the Module::Install docs recommend.<br/><br/>&gt;[1] IMHO it *really* ought to be called Module::Build::latest, as<br/>&gt;otherwise you&#39;re stomping on a top-level pragma namespace for the sake<br/>&gt;of a module that never gets installed.<br/><br/>If it *were* designed to be installed, then: yes.<br/><br/>But granted that:<br/><br/> 1. it only has meaning within a Build.PL and <br/> 2. we only need to override/install it on one really bad day<br/><br/>Thus, I&#39;m more inclined to treat it as a much smaller time bomb and <br/>simply plan to issue special emergency crowbars after the fact.<br/><br/>--Eric<br/>-- <br/>Moving pianos is dangerous.<br/>Moving pianos are dangerous.<br/>Buffalo buffalo buffalo buffalo buffalo buffalo buffalo.<br/>---------------------------------------------------<br/> http://scratchcomputing.com<br/>---------------------------------------------------<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6944.html Thu, 02 Oct 2008 17:19:07 +0000 Re: Module::Install is a time bomb by Ben Morrow <br/>Quoth perl.authors@rjbs.manxome.org (Ricardo SIGNES):<br/>&gt; * Ken Williams &lt;kenahoo@gmail.com&gt; [2008-10-01T21:34:28]<br/>&gt; &gt; <br/>&gt; &gt; Ricardo: there&#39;s no such thing as &quot;installed latest.pm&quot;. Please go<br/>&gt; &gt; back and read what I wrote above.<br/>&gt; <br/>&gt; I read and understood what you said.<br/>&gt; <br/>&gt; Perhaps I should&#39;ve said, &quot;presumably it would be better if...&quot;<br/>&gt; <br/>&gt; This thread started with &quot;Module::Install is a time bomb&quot; because, in<br/>&gt; large part, it bundles code that will not use later code found on the<br/>&gt; installing system. Then when there is a bug, every author must<br/>&gt; re-release a dist. That means that a fix to Module::Install means<br/>&gt; that there must be a thousand more upgrades, one for each dist using<br/>&gt; it.<br/>&gt; <br/>&gt; Module::Build is going to fix that by correctly using the latest<br/>&gt; Module::Build -- either the one in ./inc or the one in @INC. It will<br/>&gt; accomplish that by using code that is only found in the dist. That<br/>&gt; means that when there is a bug, every author must re-release a dist.<br/>&gt; That means that a fix to latest.pm means that there must be a thousand<br/>&gt; more upgrades, one for each dist using it.<br/>&gt; <br/>&gt; I will admit that bugs in latest.pm (which I have not seen, but can<br/>&gt; imagine) are less likely than bugs in Module::Install (which I have<br/>&gt; seen, and wish I could not imagine). It still seems sort of bizarre<br/>&gt; to have absolutely no nuclear option by which one can deal with 1,234<br/>&gt; deployed and broken latest.pms.<br/><br/>Being able to install latest.pm[1] and use an installed version doesn&#39;t<br/>help, though. If there&#39;s a bug in the section of latest.pm that tries to<br/>locate the installed copy of itself and use it instead, you *still*<br/>can&#39;t fix it. And since that is the entire functionality of latest.pm,<br/>there won&#39;t ever be any bugs you can fix by installing a fixed version.<br/><br/>[1] IMHO it *really* ought to be called Module::Build::latest, as<br/>otherwise you&#39;re stomping on a top-level pragma namespace for the sake<br/>of a module that never gets installed.<br/><br/>Ben<br/><br/>-- <br/>You poor take courage, you rich take care:<br/>The Earth was made a common treasury for everyone to share<br/>All things in common, all people one.<br/>&#39;We come in peace&#39;---the order came to cut them down. [ben@morrow.me.uk]<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6943.html Thu, 02 Oct 2008 16:12:00 +0000 Re: How To Bundle Module::Build (was Re: Module::Build 0.30 isreleased) by Michael G Schwern Michael G Schwern wrote:<br/>&gt;&gt; 2008/9/30 Matt S Trout &lt;matt-p5p@trout.me.uk&gt;:<br/>&gt;&gt;&gt; If the world upgraded regularly, Module::Build wouldn&#39;t be such a disaster<br/>&gt;&gt;&gt; anyway :)<br/>&gt; <br/>&gt; Adam Kennedy wrote:<br/>&gt;&gt; True, but it&#39;s FAR more palatable to say &quot;Just upgrade ONCE, and<br/>&gt;&gt; you&#39;ll never have to think about it again&quot; compared to upgrading<br/>&gt;&gt; continuously.<br/>&gt; <br/>&gt; As long as we&#39;re talking platitudes, why don&#39;t we just say you never have to<br/>&gt; upgrade! In fact, you never even have to install the software, magic ponies<br/>&gt; inside your computer will just know when you need it and go get it for you. [1]<br/>&gt; <br/>&gt; Also everyone gets a million dollars and a pet dragon.<br/><br/>Sorry, that was a first-thing-in-the-morning post. I&#39;ve totally lost track of<br/>the thread.<br/><br/><br/>-- <br/>191. Our Humvees cannot be assembled into a giant battle-robot.<br/> -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army<br/> http://skippyslist.com/list/<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6942.html Thu, 02 Oct 2008 09:50:08 +0000 Re: Other suggestions for modules that need an updated toolchain? (was latest.pm, Module::Build, etc.) by Ken Williams On Thu, Oct 2, 2008 at 11:23 AM, David Golden &lt;xdaveg@gmail.com&gt; wrote:<br/>&gt;<br/>&gt; Note -- I&#39;m not saying *don&#39;t* do latest.pm and M::B bundling, as some<br/>&gt; authors may prefer that -- I&#39;m all in favor of M::B being everything<br/>&gt; that people want and moving away from make as a Perl build tool.<br/><br/>Absolutely - this is why I&#39;m in full support of both latest.pm and<br/>configure_requires, so authors can choose whichever mechanism they<br/>happen to like.<br/><br/> -Ken<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6941.html Thu, 02 Oct 2008 09:34:59 +0000 Re: Other suggestions for modules that need an updated toolchain? (was latest.pm, Module::Build, etc.) by David Golden On Thu, Oct 2, 2008 at 9:49 AM, Ken Williams &lt;kenahoo@gmail.com&gt; wrote:<br/>&gt; That&#39;s not necessary when using latest.pm either.<br/><br/>Unless latest.pm is buggy. Or unless a new Module::Build fixes some<br/>bug or changes some internal function that some distribution happened<br/>to depend upon. (Leaving aside the argument of the wisdom of using<br/>private functions.) From the author&#39;s perspective, they bundled a<br/>perfectly good Module::Build. But if latest.pm picks up a new one and<br/>things break, then it&#39;s re-release time anyway. latest.pm might<br/>minimize problems, but it doesn&#39;t eliminate them.<br/><br/>I&#39;m suggesting avoiding bundling and just saying &quot;this module has<br/>dependencies and it&#39;s the user&#39;s responsibility to satisfy them to<br/>make it work&quot;. There&#39;s a bootstrap problem in that configure-time<br/>dependencies need to be resolved and we have tools that do that. If<br/>someone doesn&#39;t like CPAN{PLUS}, then it&#39;s still their responsibility<br/>to resolve well-specified dependencies.<br/><br/>I just don&#39;t want to see band-aids on band-aids if we can avoid it. I<br/>say this based on my work on CPAN::Reporter writing heuristics to<br/>detect the various failure modes of the various band-aids in the wild<br/>on CPAN.pm.<br/><br/>Note -- I&#39;m not saying *don&#39;t* do latest.pm and M::B bundling, as some<br/>authors may prefer that -- I&#39;m all in favor of M::B being everything<br/>that people want and moving away from make as a Perl build tool.<br/><br/>Instead, I&#39;m asking about alternatives for those who prefer to avoid bundling.<br/><br/>-- David<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6940.html Thu, 02 Oct 2008 09:23:58 +0000 Re: How To Bundle Module::Build (was Re: Module::Build 0.30 isreleased) by Michael G Schwern &gt; 2008/9/30 Matt S Trout &lt;matt-p5p@trout.me.uk&gt;:<br/>&gt;&gt; If the world upgraded regularly, Module::Build wouldn&#39;t be such a disaster<br/>&gt;&gt; anyway :)<br/><br/>Adam Kennedy wrote:<br/>&gt; True, but it&#39;s FAR more palatable to say &quot;Just upgrade ONCE, and<br/>&gt; you&#39;ll never have to think about it again&quot; compared to upgrading<br/>&gt; continuously.<br/><br/>As long as we&#39;re talking platitudes, why don&#39;t we just say you never have to<br/>upgrade! In fact, you never even have to install the software, magic ponies<br/>inside your computer will just know when you need it and go get it for you. [1]<br/><br/>Also everyone gets a million dollars and a pet dragon.<br/><br/><br/>[1] I anticipate the Acme::Magic::Pony auto-installer on CPAN by Monday.<br/><br/><br/>-- <br/>&#39;All anyone gets in a mirror is themselves,&#39; she said. &#39;But what you<br/>gets in a good gumbo is everything.&#39;<br/> -- &quot;Witches Abroad&quot; by Terry Prachett<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6939.html Thu, 02 Oct 2008 08:04:57 +0000 Re: Other suggestions for modules that need an updated toolchain? (was latest.pm, Module::Build, etc.) by Ken Williams On Thu, Oct 2, 2008 at 8:01 AM, David Golden &lt;xdaveg@gmail.com&gt; wrote:<br/>&gt; As some have noted, CPAN.pm supports &quot;configure_requires&quot; and CPANPLUS<br/>&gt; will soon, so to me it seems like the a better problem to address is<br/>&gt; how to get an end-user to upgrade those.<br/><br/>Not everyone likes to use CPAN{PLUS} to install modules, though.<br/><br/>&gt; If I also put Module::Build 0.30 in configure_requires, then anyone<br/>&gt; with a CPAN or CPANPLUS that supports configure_requires will never<br/>&gt; see the message because M::B 0.30 or better would be installed before<br/>&gt; Build.PL runs. I&#39;d put this at the top of my Build.PL file. I think<br/>&gt; it would also work at the top of a &quot;small&quot; style Makefile.PL created<br/>&gt; with Module::Build::Compat. (I.e. the one that passes everything<br/>&gt; through to Build.PL, but doesn&#39;t try to install M::B.)<br/><br/>That&#39;s true, but there are some people who (quite loudly) don&#39;t like<br/>the &quot;small&quot; style Makefile.PLs, because they impersonate an EU::MM<br/>setup without actually being one.<br/><br/>Note also that the latest.pm approach can just as easily load a<br/>bundled EU::MM distribution.<br/><br/>&gt;<br/>&gt; That seems like a lot less work and maintenance headache to me as an<br/>&gt; author. It avoids me having to re-release my distribution when M::B<br/>&gt; is updated to fix bugs.<br/><br/>That&#39;s not necessary when using latest.pm either.<br/><br/> -Ken<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6938.html Thu, 02 Oct 2008 06:49:13 +0000 how can I building my own cpan server with old modules? by Gabor Szabo I don&#39;t want the latest and breakest of CPAN.<br/><br/>Assuming I have a list of modules with the appropriate<br/>*old* version numbers that I know my application is working with.<br/>I would like to be able to point my *old* CPAN.pm to a CPAN mirror<br/>that carries exactly those modules with exactly those versions.<br/><br/>So how can I build such a CPAN mirror along with its index files?<br/><br/>regards<br/> Gabor<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6937.html Thu, 02 Oct 2008 06:17:56 +0000 Other suggestions for modules that need an updated toolchain? (was latest.pm, Module::Build, etc.) by David Golden I&#39;ve been following the threads here and on p5p about autobundling for<br/>Module::Build, using latest.pm etc., and I have to say that the I find<br/>the growing complexity required to be backward compatible a bit<br/>disturbing.<br/><br/>As some have noted, CPAN.pm supports &quot;configure_requires&quot; and CPANPLUS<br/>will soon, so to me it seems like the a better problem to address is<br/>how to get an end-user to upgrade those.<br/><br/>My first inclination as a module author is something along these lines:<br/><br/> eval &quot;use Module::Build 0.30&quot; or die &lt;&lt; UPGRADE<br/> Installing this module requires an updated CPAN toolchain. Please install<br/> either Bundle::CPAN or Bundle::CPANPLUS as appropriate.<br/> UPGRADE<br/><br/>If I also put Module::Build 0.30 in configure_requires, then anyone<br/>with a CPAN or CPANPLUS that supports configure_requires will never<br/>see the message because M::B 0.30 or better would be installed before<br/>Build.PL runs. I&#39;d put this at the top of my Build.PL file. I think<br/>it would also work at the top of a &quot;small&quot; style Makefile.PL created<br/>with Module::Build::Compat. (I.e. the one that passes everything<br/>through to Build.PL, but doesn&#39;t try to install M::B.)<br/><br/>That seems like a lot less work and maintenance headache to me as an<br/>author. It avoids me having to re-release my distribution when M::B<br/>is updated to fix bugs.<br/><br/>What do people think? And what other suggestions do people have for<br/>ways to encourage toolchain upgrades?<br/><br/>-- David<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6936.html Thu, 02 Oct 2008 06:01:34 +0000 Re: How To Bundle Module::Build (was Re: Module::Build 0.30 is released) by Adam Kennedy True, but it&#39;s FAR more palatable to say &quot;Just upgrade ONCE, and<br/>you&#39;ll never have to think about it again&quot; compared to upgrading<br/>continuously.<br/><br/>Adam K<br/><br/>2008/9/30 Matt S Trout &lt;matt-p5p@trout.me.uk&gt;:<br/>&gt; If the world upgraded regularly, Module::Build wouldn&#39;t be such a disaster<br/>&gt; anyway :)<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6935.html Thu, 02 Oct 2008 04:22:05 +0000 Re: Module::Build 0.30 is released by Craig A. Berry On Tue, Sep 30, 2008 at 6:33 AM, Steve Hay &lt;SteveHay@planit.com&gt; wrote:<br/><br/>&gt; Thanks, applied to bleadperl as 34446.<br/>&gt;<br/>&gt; Two local changes remain:<br/>&gt;<br/>&gt; Change 32357 by craigb@craigb-brianor on 2007/11/17 04:19:47<br/>&gt;<br/>&gt; Skip Module::Build ppm test -- not ready for prime time on VMS.<br/>&gt;<br/>&gt; (ppm.t)<br/>&gt;<br/>&gt; Change 32351 by craigb@craigb-brianor on 2007/11/16 23:43:46<br/>&gt;<br/>&gt; Silence ill-behaved or failing Module::Build tests on VMS.<br/>&gt;<br/>&gt; (test_type.t and xs.t parts only--the tilde.t part appears to have been<br/>&gt; superseded by code in 0.30. Please can you check that, Craig?)<br/><br/>I&#39;ll look into it. I think those were band-aids to expedite getting<br/>5.10.0 out the door and what&#39;s coming from upstream now will fix at<br/>least some of the problems we had then.<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6934.html Thu, 02 Oct 2008 02:06:45 +0000 RE: Module::Build 0.30 is released - ppm.t on VMS depends on Archive::Tar patch. by Steve Hay John E. Malmberg wrote:<br/>&gt; Jos I. Boumans wrote:<br/>&gt;&gt; Hi John,<br/>&gt;&gt; <br/>&gt;&gt; On Oct 1, 2008, at 2:51 AM, John E. Malmberg wrote:<br/>&gt;&gt; <br/>&gt;&gt;&gt; <br/>&gt;&gt;&gt; http://www.nntp.perl.org/group/perl.vmsperl/2008/06/msg14821.html<br/>&gt;&gt;&gt; <br/>&gt;&gt;&gt; The main problem is that Archive::Tar needs a patch to properly be<br/>&gt;&gt;&gt; able to pack a VMS binary into a tarball.<br/>&gt;&gt;&gt; <br/>&gt;&gt;&gt; We were waiting for word from Jos on this.<br/>&gt;&gt; <br/>&gt;&gt; It was my understanding that this was already applied to core, and<br/>&gt;&gt; it&#39;s also part of Archive::Tar 1.39_01:<br/>&gt; <br/>&gt; I just verified that the fix is not in blead perl as of today&#39;s rsync<br/>&gt; copy just now.<br/>&gt; <br/>&gt; To be more specific it is a patch to Archive/Tar/File.pm to fix<br/>&gt; handling of VMS binary executable files. It also fixes setting the<br/>&gt; UID properly when saving the UID is requested.<br/>&gt; <br/>&gt;&gt; http://search.cpan.org/src/KANE/Archive-Tar-1.39_04/CHANGES<br/>&gt; <br/>&gt; Yes I see that the patch is in the changelog.<br/>&gt; <br/>&gt;&gt; A::T 1.39_04 looks stable, so we can promote it to 1.40 shortly.<br/>&gt;&gt; <br/>&gt;&gt; Is there anything specific you need me to do now?<br/>&gt; <br/>&gt; It looks like we need for blead to get more up to date.<br/><br/>Blead is now updated to Archive-Tar-1.39_04 in #34452.<br/><br/>One local change remains in blead:<br/><br/>Change 32352 by craigb@craigb-brianor on 2007/11/16 23:46:13<br/><br/> The new Archive::Tar tests are TODO on VMS for reasons unrelated<br/> to the security issue for which they are testing.<br/><br/>and I&#39;ve just made another local change to fix a test that was failing<br/>after the upgrade:<br/><br/>Change 34453 by steveh@maldoror on 2008/10/01 16:55:42<br/><br/> Fix Archive-Tar&#39;s 02_methods.t when IO::Compress::Bzip2 is<br/>absent<br/><br/>(We haven&#39;t got IO::Compress::Bzip2 in blead, and<br/>can_handle_compressed_files() checks for both IO::Zlib and<br/>IO::Compress::Bzip2, which caused test 1 to fail without this change.<br/>Hmm... Thinking some more (sadly *after* I just hit &quot;submit&quot;, perhaps it<br/>would have been better to change test 1 to check against $ZLIB &amp;&amp; $BZIP,<br/>rather than changing the meaning of $ZLIB?)<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6933.html Thu, 02 Oct 2008 01:33:16 +0000 Re: Module::Build 0.30 is released - ppm.t on VMS depends on Archive::Tar patch. by Craig A. Berry On Wed, Oct 1, 2008 at 12:00 PM, Steve Hay &lt;SteveHay@planit.com&gt; wrote:<br/><br/>&gt; Blead is now updated to Archive-Tar-1.39_04 in #34452.<br/>&gt;<br/>&gt; One local change remains in blead:<br/>&gt;<br/>&gt; Change 32352 by craigb@craigb-brianor on 2007/11/16 23:46:13<br/>&gt;<br/>&gt; The new Archive::Tar tests are TODO on VMS for reasons unrelated<br/>&gt; to the security issue for which they are testing.<br/><br/>Well, that&#39;s a desperate-sounding and evasive commit message if I&#39;ve<br/>ever seen one. And the evidence suggests I have seen this one. I&#39;ll<br/>take a look and see if the evasion is still necessary.<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6932.html Thu, 02 Oct 2008 01:14:04 +0000 Re: Module::Build 0.30 is released - ppm.t on VMS depends onArchive::Tar patch. by John E. Malmberg Jos I. Boumans wrote:<br/>&gt; Hi John,<br/>&gt; <br/>&gt; On Oct 1, 2008, at 2:51 AM, John E. Malmberg wrote:<br/>&gt; <br/>&gt;&gt;<br/>&gt;&gt; http://www.nntp.perl.org/group/perl.vmsperl/2008/06/msg14821.html<br/>&gt;&gt;<br/>&gt;&gt; The main problem is that Archive::Tar needs a patch to properly be <br/>&gt;&gt; able to pack a VMS binary into a tarball.<br/>&gt;&gt;<br/>&gt;&gt; We were waiting for word from Jos on this.<br/>&gt; <br/>&gt; It was my understanding that this was already applied to core, and<br/>&gt; it&#39;s also part of Archive::Tar 1.39_01:<br/><br/>I just verified that the fix is not in blead perl as of today&#39;s rsync <br/>copy just now.<br/><br/>To be more specific it is a patch to Archive/Tar/File.pm to fix handling <br/>of VMS binary executable files. It also fixes setting the UID properly <br/>when saving the UID is requested.<br/><br/>&gt; http://search.cpan.org/src/KANE/Archive-Tar-1.39_04/CHANGES<br/><br/>Yes I see that the patch is in the changelog.<br/><br/>&gt; A::T 1.39_04 looks stable, so we can promote it to 1.40 shortly.<br/>&gt; <br/>&gt; Is there anything specific you need me to do now?<br/><br/>It looks like we need for blead to get more up to date.<br/><br/>I also need to find the time to get the fix into gnu tar, because it is <br/>also mis-handling the VMS file sizes for executable binaries.<br/><br/>Gnu tar also needs a fix for handling VMS GID values on creating an <br/>archive, which I also noticed when debugging this issue.<br/><br/>As it is right now, A::T 1.39_04 is probably the only way to build a <br/>tarball on VMS that includes an executable binary.<br/><br/>-John<br/>wb8tyw@qsl.net<br/>Personal Opinion Only<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6931.html Thu, 02 Oct 2008 01:13:27 +0000 Re: latest.pm by Eric Wilhelm # from Ricardo SIGNES<br/># on Wednesday 01 October 2008:<br/><br/>&gt;I will admit that bugs in latest.pm (which I have not seen, but can<br/>&gt; imagine) are less likely than bugs in Module::Install (which I have<br/>&gt; seen, and wish I could not imagine).<br/><br/>Please see the run-down of usage, and link to sample distribution:<br/><br/> http://www.nntp.perl.org/group/perl.module.build/2008/09/msg1665.html<br/><br/>&gt; It still seems sort of bizarre<br/>&gt; to have absolutely no nuclear option by which one can deal with 1,234<br/>&gt; deployed and broken latest.pms.<br/><br/>Please see the -M switch and some code like:<br/><br/> unshift(@INC, \&amp;fix_the_problem);<br/><br/>The fact that latest.pm is very small makes it rather unlikely to be <br/>needed and potentially an easy fix if it is needed. One could probably <br/>apply that argument to Module::Install too, except for the small bit.<br/><br/>--Eric<br/>-- <br/>Peer&#39;s Law: The solution to the problem changes the problem.<br/>---------------------------------------------------<br/> http://scratchcomputing.com<br/>---------------------------------------------------<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6930.html Wed, 01 Oct 2008 22:15:01 +0000 Re: The problem with auto-installing dependencies by Dave Rolsky On Thu, 2 Oct 2008, Aristotle Pagaltzis wrote:<br/><br/>&gt; * Dave Rolsky &lt;autarch@urth.org&gt; [2008-10-01 17:05]:<br/>&gt;&gt; Installation and dependency chains are an issue best solved in<br/>&gt;&gt; the context of _applications_.<br/>&gt;<br/>&gt; That just moves the problem, though: an that uses modules with<br/>&gt; lots of dependencies will demand more build engineering effort.<br/><br/>Yes, my point is that it moves the problem to the people who are in the <br/>best position to deal with it.<br/><br/>The whole &quot;dependency problem&quot; isn&#39;t a problem for module _authors_ like <br/>us. If we want to depend on stuff, we install it from CPAN, develop the <br/>new module, and release.<br/><br/>It&#39;s a problem if you have an application that needs to be installed in a <br/>system with some sort of constraint. That constraint could be that the app <br/>plays well with other apps, that modules can&#39;t be upgraded, that all code <br/>on the system needs review by someone, etc.<br/><br/>The application is also the place where you can come up with multiple <br/>solutions, like system packages, install in /opt, custom lib dir, PAR, <br/>etc.<br/><br/><br/>-dave<br/><br/>/*==========================<br/>VegGuide.Org<br/>Your guide to all that&#39;s veg<br/>==========================*/<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6929.html Wed, 01 Oct 2008 21:00:31 +0000 Re: Module::Install is a time bomb by Aristotle Pagaltzis * Ken Williams &lt;kenahoo@gmail.com&gt; [2008-10-02 04:10]:<br/>&gt; It&#39;s only executed as part of the build system, not ever<br/>&gt; installed. In this respect it&#39;s just like any code that&#39;s in<br/>&gt; the Build.PL or t/*.t.<br/><br/>But those are written and maintained by the author. Wouldn&rsquo;t it<br/>make more sense to make latest.pm part of Module::Build proper?<br/><br/>Regards,<br/>-- <br/>Aristotle Pagaltzis // &lt;http://plasmasturm.org/&gt;<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6928.html Wed, 01 Oct 2008 20:47:03 +0000 Re: The problem with auto-installing dependencies by Aristotle Pagaltzis * Dave Rolsky &lt;autarch@urth.org&gt; [2008-10-01 17:05]:<br/>&gt; Installation and dependency chains are an issue best solved in<br/>&gt; the context of _applications_.<br/><br/>That just moves the problem, though: an that uses modules with<br/>lots of dependencies will demand more build engineering effort.<br/><br/>Regards,<br/>-- <br/>Aristotle Pagaltzis // &lt;http://plasmasturm.org/&gt;<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6927.html Wed, 01 Oct 2008 20:35:12 +0000 Re: Module::Install is a time bomb by Ricardo SIGNES * Ken Williams &lt;kenahoo@gmail.com&gt; [2008-10-01T21:34:28]<br/>&gt; On Wed, Oct 1, 2008 at 12:02 PM, Ricardo SIGNES<br/>&gt; &gt;&gt; latest.pm doesn&#39;t ever get installed on anyone&#39;s computer. If you<br/>&gt; &gt;&gt; install it, we have a backup plan for that too - the guys in black<br/>&gt; &gt;&gt; coats will come and take your computer away.<br/>&gt; &gt;<br/>&gt; &gt; Well, at this point we&#39;re back to &quot;everybody must upgrade everything.&quot;<br/>&gt; &gt; Presumably latest.pm knows to use the installed latest.pm if it&#39;s later,<br/>&gt; &gt; even if this is rarely true and even more rarely needed.<br/>&gt; <br/>&gt; Ricardo: there&#39;s no such thing as &quot;installed latest.pm&quot;. Please go<br/>&gt; back and read what I wrote above.<br/><br/>I read and understood what you said.<br/><br/>Perhaps I should&#39;ve said, &quot;presumably it would be better if...&quot;<br/><br/>This thread started with &quot;Module::Install is a time bomb&quot; because, in large<br/>part, it bundles code that will not use later code found on the installing<br/>system. Then when there is a bug, every author must re-release a dist. That<br/>means that a fix to Module::Install means that there must be a thousand more<br/>upgrades, one for each dist using it.<br/><br/>Module::Build is going to fix that by correctly using the latest Module::Build<br/>-- either the one in ./inc or the one in @INC. It will accomplish that by<br/>using code that is only found in the dist. That means that when there is a<br/>bug, every author must re-release a dist. That means that a fix to latest.pm<br/>means that there must be a thousand more upgrades, one for each dist using it.<br/><br/>I will admit that bugs in latest.pm (which I have not seen, but can imagine)<br/>are less likely than bugs in Module::Install (which I have seen, and wish I<br/>could not imagine). It still seems sort of bizarre to have absolutely no<br/>nuclear option by which one can deal with 1,234 deployed and broken latest.pms.<br/><br/>-- <br/>rjbs<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6926.html Wed, 01 Oct 2008 20:26:26 +0000 Re: latest.pm usage by Ken Williams On Wed, Oct 1, 2008 at 12:34 PM, Eric Wilhelm<br/>&lt;scratchcomputing@gmail.com&gt; wrote:<br/>&gt; # from Ken Williams<br/>&gt;&gt; use latest &#39;Module::Build&#39;; # Knows to look in inc/bundled/<br/>&gt;<br/>&gt; Um, isn&#39;t that &#39;inc/inc_*&#39;, or did I miss a memo?<br/><br/>Yeah, latest.pm is currently looking in any inc/inc_* for bundled<br/>stuff, but that strikes me as kind of dumb actually. I don&#39;t know why<br/>I used &quot;_&quot; as a namespace separator when the filesystem already has a<br/>perfectly good &quot;/&quot; (and the like).<br/><br/> -Ken<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6925.html Wed, 01 Oct 2008 19:14:00 +0000 Re: Module::Install is a time bomb by Ken Williams On Wed, Oct 1, 2008 at 8:38 PM, David Golden &lt;xdaveg@gmail.com&gt; wrote:<br/>&gt; If I understand correctly, latest.pm isn&#39;t a module on CPAN, thus is<br/>&gt; never installed only bundled.<br/>&gt;<br/>&gt; I.e. It&#39;s not only::latest (http://search.cpan.org/dist/only-latest)<br/>&gt;<br/>&gt; Correct?<br/><br/>Correct. It&#39;s only executed as part of the build system, not ever<br/>installed. In this respect it&#39;s just like any code that&#39;s in the<br/>Build.PL or t/*.t.<br/><br/> -Ken<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6924.html Wed, 01 Oct 2008 19:07:10 +0000 Re: Module::Install is a time bomb by David Golden On Wed, Oct 1, 2008 at 9:34 PM, Ken Williams &lt;kenahoo@gmail.com&gt; wrote:<br/>&gt; Ricardo: there&#39;s no such thing as &quot;installed latest.pm&quot;. Please go<br/>&gt; back and read what I wrote above.<br/><br/>If I understand correctly, latest.pm isn&#39;t a module on CPAN, thus is<br/>never installed only bundled.<br/><br/>I.e. It&#39;s not only::latest (http://search.cpan.org/dist/only-latest)<br/><br/>Correct?<br/><br/>-- David<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6923.html Wed, 01 Oct 2008 18:38:24 +0000 Re: Module::Install is a time bomb by Ken Williams On Wed, Oct 1, 2008 at 12:02 PM, Ricardo SIGNES<br/>&lt;perl.authors@rjbs.manxome.org&gt; wrote:<br/>&gt; * Ken Williams &lt;kenahoo@gmail.com&gt; [2008-10-01T12:15:04]<br/>&gt;&gt; On Wed, Oct 1, 2008 at 11:12 AM, Smylers &lt;Smylers@stripey.com&gt; wrote:<br/>&gt;&gt; &gt; But what if the bundled version of latest.pm is buggy and I already have<br/>&gt;&gt; &gt; a later latest.pm installed on my system? That will use the wrong one!!<br/>&gt;&gt;<br/>&gt;&gt; latest.pm doesn&#39;t ever get installed on anyone&#39;s computer. If you<br/>&gt;&gt; install it, we have a backup plan for that too - the guys in black<br/>&gt;&gt; coats will come and take your computer away.<br/>&gt;<br/>&gt; Well, at this point we&#39;re back to &quot;everybody must upgrade everything.&quot;<br/>&gt; Presumably latest.pm knows to use the installed latest.pm if it&#39;s later, even<br/>&gt; if this is rarely true and even more rarely needed.<br/><br/>Ricardo: there&#39;s no such thing as &quot;installed latest.pm&quot;. Please go<br/>back and read what I wrote above.<br/><br/> -Ken<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6922.html Wed, 01 Oct 2008 18:34:36 +0000 Re: latest.pm usage by Eric Wilhelm # from Ken Williams<br/># on Wednesday 01 October 2008:<br/><br/>&gt;The semantics we&#39;re working on for people to use are:<br/>&gt;<br/>&gt;&nbsp;use lib &#39;inc&#39;; # Where latest.pm lives<br/>&gt;&nbsp;use latest &#39;Module::Build&#39;; &nbsp;# Knows to look in inc/bundled/<br/><br/>Um, isn&#39;t that &#39;inc/inc_*&#39;, or did I miss a memo?<br/><br/>--Eric<br/>-- <br/>Moving pianos is dangerous.<br/>Moving pianos are dangerous.<br/>Buffalo buffalo buffalo buffalo buffalo buffalo buffalo.<br/>---------------------------------------------------<br/> http://scratchcomputing.com<br/>---------------------------------------------------<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6921.html Wed, 01 Oct 2008 10:35:11 +0000 Re: Module::Install is a time bomb by Ricardo SIGNES * Ken Williams &lt;kenahoo@gmail.com&gt; [2008-10-01T12:15:04]<br/>&gt; On Wed, Oct 1, 2008 at 11:12 AM, Smylers &lt;Smylers@stripey.com&gt; wrote:<br/>&gt; &gt; But what if the bundled version of latest.pm is buggy and I already have<br/>&gt; &gt; a later latest.pm installed on my system? That will use the wrong one!!<br/>&gt; <br/>&gt; latest.pm doesn&#39;t ever get installed on anyone&#39;s computer. If you<br/>&gt; install it, we have a backup plan for that too - the guys in black<br/>&gt; coats will come and take your computer away.<br/><br/>Well, at this point we&#39;re back to &quot;everybody must upgrade everything.&quot;<br/>Presumably latest.pm knows to use the installed latest.pm if it&#39;s later, even<br/>if this is rarely true and even more rarely needed.<br/><br/>-- <br/>rjbs<br/> http://www.nntp.perl.org/group/perl.module-authors/2008/10/msg6920.html Wed, 01 Oct 2008 10:02:17 +0000