-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/1/11 11:44 AM, my fink ports wrote:
> Hi Alex,
> 
> 
> 
> I was trying to install Octave (Fink package "octave324-3.2.4-701")
> and got the following error: "Failed: can't install package
> xml-sax-expat-pm5123-0.40-4" (below).
> 
> Several installation attempts were made by repeating "fink install 
> octave324-3.2.4-701".
> 
> Each one of them failed with the same error.
> 

That's normal.  You only selfupdated initially, and nothing changed.

> Each time when "fink install octave324-3.2.4-701" was repeated 
> after an unsuccessful installation attempt, installation process 
> managed to move further and install some new packets.
> 
> (I am not familiar with the Fink internals, but this behavior is a
>  bit strange, as if Fink had changed the order of the packet 
> installations every time and failed only when encountered that 
> "xml-sax-expat-pm5123-0.40-4" one. I had "MaxBuildJobs 1" in 
> "fink.conf".)

This can happen when there are a number of packages that all need to
be installed.

> 
> Below is the "final" installation attempt meaning that after it, 
> another "fink install octave324-3.2.4-701" also gave the error 
> without installing new packets.
> 
> (What surprised me during that subsequent installation attempt was
>  that Fink decided to switch libpng3 back to libpng14:: below you 
> will see "dpkg: considering removing libpng14 in favour of libpng3
>  ... dpkg: yes, will remove libpng14 in favour of libpng3.", and 
> the next installation decided vice versa: "dpkg: considering 
> removing libpng3 in favour of libpng14 ... dpkg: yes, will remove 
> libpng3 in favour of libpng14.".  I did not track Fink's 
> preferences about libpng3 vs libpng14 during other installation 
> attempts. This quick change of mind about two versions of the same 
> library looks suspicious...)

This is also normal.  The build engine isn't always smart about
selecting the a header package.

> 
> "Fink selfupdate" was done prior to Octave installation.
> 
> 
> 
> Regards,
> 
> 
> 
> Alex
> 
> 
> 
> """
> 
> ...$ fink install octave324-3.2.4-701
> 
> Password:
> 

<snip>

> 
> Preparing to replace xml-sax-expat-pm5123 0.40-4 (using 
> .../xml-sax-expat-pm5123_0.40-4_darwin-x86_64.deb) ...
> 
> Unpacking replacement xml-sax-expat-pm5123 ...
> 
> Setting up xml-sax-expat-pm5123 (0.40-4) ...
> 
> update-perl5123-sax-parsers: adding Perl SAX parser module info 
> file of XML::SAX::Expat...
> 
> dyld: lazy symbol binding failed: Symbol not found: 
> _Perl_Gthr_key_ptr
> 
> Referenced from: 
> /sw/lib/perl5/5.12.3/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
>
>
>
> 
Expected in: flat namespace
> 
> 
> 
> dyld: Symbol not found: _Perl_Gthr_key_ptr
> 
> Referenced from: 
> /sw/lib/perl5/5.12.3/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
>
>
>
> 
Expected in: flat namespace
> 
> 
> 
> /sw/var/lib/dpkg/info/xml-sax-expat-pm5123.postinst: line 6: 31078 
> Trace/BPT trap: 5       /sw/sbin/update-perl5123-sax-parsers --add 
> XML::SAX::Expat
> 
> /sw/bin/dpkg: error processing xml-sax-expat-pm5123 (--install):
> 
> subprocess post-installation script returned error exit status 133
> 
> Errors were encountered while processing:
> 
> xml-sax-expat-pm5123
> 
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> 
> Failed: can't install package xml-sax-expat-pm5123-0.40-4
> 
> ...$
> 
> """
> 
> 
> 
> 
> 

However, this is not _my_ problem.  Your install failure was for
xml-sax-expat-pm5123.  The fact that you ultimately wanted octave324
is completely irrelevant.

I know that this version-revision of Octave is currently only on 10.7,
as is Perl-5.12.3, but I don't know what Xcode you were using, since
you cut out that text.

Though, actually, your problem isn't even with xml-sax-expat-pm5123.  It
appears to be in
/sw/lib/perl5/5.12.3/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle,
which is installed by xml-parser-pm5123.  I'll cc the proper
maintainer for your issue.


The symbol shows up as undefined here, too, but I don't have the
install problem (10.7 with Xcode 4.2, having just rebuilt
xml-parser-pm5123):

$ nm -o
/sw/lib/perl5/5.12.3/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
| grep _Perl_Gth
/sw/lib/perl5/5.12.3/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle:
                 U _Perl_Gthr_key_ptr

Looking in the list archives, there was a similar problem which was
due to someone having an extra Perl binary in their PATH.  What do you
get if you run

type -a perl5.12

in a terminal window?
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6wHUEACgkQB8UpO3rKjQ+AlgCfb/pcPimSPvep/E+3dY3JXX+A
AoAAmgK1fhz2Tz1V/S07vlx73V18Juc6
=Vvdi
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to