I tried to build xml-parser-pm581-2.34-10 on 10.3 (stable tree, but the same is true AFAIK for the unstable tree). xml-parser-pm581-2.34-10 depends on libwww-pm, which pulls in libwww-pm580. libwww-pm580 depends itself on unversioned perl modules:
Depends: perl581-core | system-perl581, compress-zlib-pm, uri-pm, mime-base64-pm, html-parser-pm, libnet-pm, digest-md5-pm
BuildDepends: fink (>= 0.17.0-1), test-harness-pm, compress-zlib-pm, uri-pm, mime-base64-pm, html-parser-pm, libnet-pm, digest-md5-pm
Thus I end up with the following choices when installing xml-parser-pm581-2.34-10. I just stupidly pick the first choice (AKA fink --yes):
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) compress-zlib-pm560: Part of the info-zip zlib compression library
(2) compress-zlib-pm581: Part of the info-zip zlib compression library
Pick one: [1] (assuming default)
WARNING: While resolving dependency "perl580-core" for package "uri-pm-1.23-2", package "perl580-core" was not found.
WARNING: While resolving dependency "perl580-core" for package "uri-pm-1.23-2", package "perl580-core" was not found.
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) mime-base64-pm560: Perl module that contains a base64 enc/dec (2) mime-base64-pm581: Perl module that contains a base64 enc/dec
Pick one: [1] (assuming default)
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) html-parser-pm560: Perl modules that parse and extract info (2) html-parser-pm581: Perl modules that parse and extract info
Pick one: [1] (assuming default) The following package will be rebuilt: xml-parser-pm581 The following 13 additional packages will be installed: compress-zlib-pm compress-zlib-pm560 digest-md5-pm expat expat-shlibs html-parser-pm html-parser-pm560 html-tagset-pm libnet-pm libwww-pm mime-base64-pm mime-base64-pm560 uri-pm
Thus I end up with a mixture of 560 and 581 perl modules. Of course the test at the end fails in this setup.
make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/astress.........ok
t/cdata...........ok
t/decl............ok
t/defaulted.......ok
t/encoding........"my" variable $p masks earlier declaration in same scope at t/encoding.t line 94.
ok
t/external_ent....
501 Protocol scheme 'file' is not supported file:/sw/src/xml-parser-pm581-2.34-10/XML-Parser-2.34/a.ent
Handler couldn't resolve external entity at line 7, column 5, byte 117
error in processing external entity reference at line 7, column 5, byte 117 at /sw/src/xml-parser-pm581-2.34-10/XML-Parser-2.34/blib/lib/XML/Parser.pm line 187
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
t/file............ok
t/finish..........ok
t/namespaces......ok
t/parament........
501 Protocol scheme 'file' is not supported file:/sw/src/xml-parser-pm581-2.34-10/XML-Parser-2.34/t/foo.dtd
Handler couldn't resolve external entity at line 8, column 0, byte 173
error in processing external entity reference at line 8, column 0, byte 173:
<!ENTITY more SYSTEM "t/ext2.ent">
]
>
^
<foo>Happy, happy
<bar>&joy;, &joy;</bar>
at /sw/src/xml-parser-pm581-2.34-10/XML-Parser-2.34/blib/lib/XML/Parser.pm line 187
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-12
Failed 11/12 tests, 8.33% okay
t/partial.........ok
t/skip............ok
t/stream..........ok
t/styles..........ok
Failed 2/14 test scripts, 85.71% okay. 15/130 subtests failed, 88.46% okay.
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------ -------
t/external_ent.t 255 65280 5 8 160.00% 2-5
t/parament.t 255 65280 12 22 183.33% 2-12
make: *** [test_dynamic] Error 25
### execution of make failed, exit code 2
Failed: compiling xml-parser-pm581-2.34-10 failed
I need to explicitly pick the pm581 modules to make it work.
I'm not sure about the versioned perl modules business. I guess that all versioned perl modules must depend explicitly on versioned perl modules. But why do we need the placeholders (unversioned) modules then?
Cheers,
Remi
--------------------------------------------------------------------- Progress in high energy physics: particles discovered yesterday are used for calibration today, and will be the background tomorrow.
********************************************************************* Remigius K. Mommsen e-mail: [EMAIL PROTECTED] University of California, Irvine URL: http://cern.ch/mommsen c/o SLAC voice: ++1 (650) 926-3595 2575 Sand Hill Road #35 fax: ++1 (650) 926-3882 Menlo Park, CA 94025, US home: ++1 (650) 233-9041 *********************************************************************
------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
