Below are the transcripts you requested. In the cpan session I
reinstalled version.pm (0.7203) from CPAN.
Then I checked whether or not there was a newer version of the module
Toolkit.pm, it was reported as true (0.2) instead of 0.0.2. Infact the
newest version is 0.0.2. When I upgraded it, the upgrade process
insisted in overwriting the cpan installed version.pm, with it's own
copy from Active State's Repository, which give's the error message.
After installing the newer :) version of Toolkit, I again checked
whether or not there was an upgrade, and the process can begin alll
over again. I noticed that this happens with a number of other modules
that use version.pm.
I feel that there are two separate issues involved.
1. that the vxs.bundle available on the Active State Repository has some flaw???
2. that the version numbers reported on the ppm upgrade request are
not consistent.
After all this I reinstalled the CPAN copy and all is OK again. Except
for the next time I wish to install or upgrade a package from Active
State.
I hope that is OK.
Brían
+++++++++++++++++++++ Begin transcript of cpan session +++++++++++++++++++
Running install for module version
Running make for J/JP/JPEACOCK/version-0.7203.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /Users/riar/.cpan/sources/authors/id/J/JP/JPEACOCK/version-0.7203.tar.gz
ok
Scanning cache /Users/riar/.cpan/build for sizes
version-0.7203/
version-0.7203/t/
version-0.7203/t/02derived.t
version-0.7203/t/coretests.pm
version-0.7203/t/03require.t
version-0.7203/t/01base.t
version-0.7203/lib/
version-0.7203/lib/version.pod
version-0.7203/lib/version/
version-0.7203/lib/version/typemap
version-0.7203/lib/version.pm
version-0.7203/vperl/
version-0.7203/vperl/vpp.pm
version-0.7203/vutil/
version-0.7203/vutil/lib/
version-0.7203/vutil/lib/version/
version-0.7203/vutil/lib/version/vxs.pm
version-0.7203/vutil/ppport.h
version-0.7203/vutil/vxs.xs
version-0.7203/vutil/vutil.c
version-0.7203/vutil/vutil.h
version-0.7203/README
version-0.7203/Changes
version-0.7203/Build.PL
version-0.7203/MANIFEST.SKIP
version-0.7203/Makefile.PL
version-0.7203/META.yml
version-0.7203/MANIFEST
Removing previously used /Users/riar/.cpan/build/version-0.7203
CPAN.pm: Going to build J/JP/JPEACOCK/version-0.7203.tar.gz
Testing if you have a C compiler
Checking if your kit is complete...
Looks good
Writing Makefile for version::vxs
Writing Makefile for version
cp lib/version.pm blib/lib/version.pm
cp lib/version.pod blib/lib/version.pod
cp lib/version/vxs.pm ../blib/lib/version/vxs.pm
gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DUSE_SITECUSTOMIZE
-DNO_HASH_SEED -fno-strict-aliasing -pipe -Os -DVERSION=\"0.7203\"
-DXS_VERSION=\"0.7203\"
"-I/usr/local/ActivePerl-5.8/lib/5.8.7/darwin-thread-multi-2level/CORE"
vutil.c
/usr/local/ap_bin/perl-dynamic
/usr/local/ActivePerl-5.8/lib/5.8.7/ExtUtils/xsubpp -typemap
/usr/local/ActivePerl-5.8/lib/5.8.7/ExtUtils/typemap -typemap
../lib/version/typemap vxs.xs > vxs.xsc && mv vxs.xsc vxs.c
gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DUSE_SITECUSTOMIZE
-DNO_HASH_SEED -fno-strict-aliasing -pipe -Os -DVERSION=\"0.7203\"
-DXS_VERSION=\"0.7203\"
"-I/usr/local/ActivePerl-5.8/lib/5.8.7/darwin-thread-multi-2level/CORE"
vxs.c
Running Mkbootstrap for version::vxs ()
chmod 644 vxs.bs
rm -f ../blib/arch/auto/version/vxs/vxs.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle
-undefined dynamic_lookup vutil.o vxs.o -o
../blib/arch/auto/version/vxs/vxs.bundle
chmod 755 ../blib/arch/auto/version/vxs/vxs.bundle
cp vxs.bs ../blib/arch/auto/version/vxs/vxs.bs
chmod 644 ../blib/arch/auto/version/vxs/vxs.bs
Manifying blib/man3/version.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/ap_bin/perl-dynamic
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/01base.......ok
t/02derived....ok
t/03require....ok
4/124 skipped: version require'd instead of use'd, cannot test qv
All tests successful, 4 subtests skipped.
Files=3, Tests=381, 2 wallclock secs ( 1.24 cusr + 0.25 csys = 1.49 CPU)
No tests defined for version::vxs extension.
/usr/bin/make test -- OK
Running make install
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/auto/version/vxs/vxs.bundle
Installing /usr/local/ActivePerl-5.8/html/site/lib/version.html
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/version.pm
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/version.pod
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/version/vxs.pm
Installing /usr/local/ActivePerl-5.8/man/man3/version.3
Appending installation info to
/usr/local/ActivePerl-5.8/lib/5.8.7/darwin-thread-multi-2level/perllocal.pod
/usr/bin/make install -- OK
+++++++++++++++++++++ End transcript of ppm session +++++++++++++++++++
+++++++++++++++++++++ Begin transcript of ppm session +++++++++++++++++++
Show quoted textppm> query Toolkit
Querying target 1 (ActivePerl 5.8.7.815)
1. Toolkit [0.0.2] Keep your handy modules organized
Show quoted textppm> query version
Querying target 1 (ActivePerl 5.8.7.815)
1. version [0.7203] Structured version objects
Show quoted textppm> describe Toolkit
====================
Name: Toolkit
Version: 0.2
Author: Damian Conway (damian@conway.org)
Title: Toolkit
Abstract: Keep your handy modules organized
Location: ActiveState Package Repository
Available Platforms:
1. darwin-thread-multi-2level-5.8
====================
Show quoted text ppm> describe version
====================
Name: version
Version: 0.7203
Author: John Peacock (jpeacock@rowman.com)
Title: version
Abstract: Structured version objects
Location: ActiveState Package Repository
Available Platforms:
1. darwin-thread-multi-2level-5.8
====================
Show quoted textppm> upgrade Toolkit
Toolkit 0.0.2: new version 0.2 available in ActiveState Package Repository
Show quoted textppm> upgrade version
version 0.7203: up to date.
Show quoted textppm> upgrade -install Toolkit
Toolkit 0.0.2: new version 0.2 available in ActiveState Package Repository
====================
Upgrade 'version' version 0.7203 in ActivePerl 5.8.7.815.
====================
Downloaded 42273 bytes.
Extracting 18/18: blib/script/.exists
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/auto/version/vxs/vxs.bundle
Installing /usr/local/ActivePerl-5.8/html/site/lib/version.html
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/version.pm
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/version.pod
Installing /usr/local/ActivePerl-5.8/lib/site_perl/5.8.7/darwin-thread-multi-2level/version/vxs.pm
Installing /usr/local/ActivePerl-5.8/man/man3/version.3
Successfully upgraded version version 0.7203 in ActivePerl 5.8.7.815.
====================
Upgrade 'Toolkit' version 0.0.2 in ActivePerl 5.8.7.815.
====================
Downloaded 8451 bytes.
Extracting 7/7: blib/man3/Toolkit.3
Successfully upgraded Toolkit version 0.0.2 in ActivePerl 5.8.7.815.
Show quoted textppm> upgrade Toolkit
Toolkit 0.0.2: new version 0.2 available in ActiveState Package Repository
+++++++++++++++++++++ End transcript of ppm session +++++++++++++++++++
On 8/19/07, via RT <bug-version@rt.cpan.org> wrote:
Show quoted text>
> <URL:
http://rt.cpan.org/Ticket/Display.html?id=28801 >
>
> On Thu Aug 16 14:05:58 2007, moghroth@gmail.com wrote:
> > the CPAN version of Version works fine, however if you try to download
> > modules using Active States PPM, that use the Version module, it will
> > overwrite the installed CPAN version, again, with it's own binaries
> > which don't work. From what I can gather there is a little bug on
> > Active State with the way it uses your version module.
>
> I don't understand, though, how that is possible. The version.pm on
> CPAN is the newest available, so PPM shouldn't install its own copy if
> you have already installed the CPAN release.
>
> I don't have access to an O/S X machine for testing, so I'm not sure how
> I can debug this. It would appear to be a problem with building a
> binary for Darwin, but the version.pm tests are clear for that distro:
>
>
http://ppm.activestate.com/BuildStatus/5.8-darwin/darwin-5.8/version-0.7203.txt
>
> Is it possible for you to give me a full transcript of you installing
> the CPAN version.pm release and then using ppm to install some other
> module where you get the failure? Is there some specific module you are
> trying to install using PPM that is failing or is it everything?
>
> John
>