Skip Menu |

This queue is for tickets about the HTML-Parser CPAN distribution.

Report information
The Basics
Id: 50098
Status: rejected
Priority: 0/
Queue: HTML-Parser

People
Owner: Nobody in particular
Requestors: ovid [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 3.62
Fixed in: (no value)



Subject: Tests fail on Snow Leopard
I recently upgraded to Snow Leopard on OS X and it ate my Perl. I can't install HTML::Parser 3.62 because I get errors like this: t/unbroken-text.t .... Can't load '/Users/ovid/File-HomeDir-0.86/HTML-Parser-3.62/blib/arch/auto/HTML/Parser/Parser.bundle' for module HTML::Parser: dlopen(/Users/ovid/File-HomeDir-0.86/HTML-Parser-3.62/blib/arch/auto/HTML/Parser/Parser.bundle, 2): no suitable image found. Did find: /Users/ovid/File-HomeDir-0.86/HTML-Parser-3.62/blib/arch/auto/HTML/Parser/Parser.bundle: mach-o, but wrong architecture at /usr/local/lib/perl5/5.10.1/darwin-2level/DynaLoader.pm line 204. at t/unbroken-text.t line 2 Compilation failed in require at t/unbroken-text.t line 2. BEGIN failed--compilation aborted at t/unbroken-text.t line 2. HTML-Parser-3.62 $ perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=darwin, osvers=9.8.0, archname=darwin-2level uname='darwin curtis-poes-computer-3.local 9.8.0 darwin kernel version 9.8.0: wed jul 15 16:55:01 pdt 2009; root:xnu-1228.15.4~1release_i386 i386 ' config_args='-des -Duseshrplib -Dperladmin=ovid@cpan.org -Dcf_email=david@kineticode.com' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include', optimize='-O3', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under darwin Compiled at Sep 4 2009 10:02:06 %ENV: PERL5LIB="lib" @INC: lib /usr/local/lib/perl5/5.10.1/darwin-2level /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/darwin-2level /usr/local/lib/perl5/site_perl/5.10.1 Any ideas? Cheers, Ovid
Looks like the problem is on my end I need to do massive reconfiguring. I have incompatible architectures. You can probably close this ticket (unless you can think of a way of detecting this issue and giving the end user a better error message). HTML-Parser-3.62 $ otool -L blib/arch/auto/HTML/Parser/Parser.bundle blib/arch/auto/HTML/Parser/Parser.bundle: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 124.1.1) HTML-Parser-3.62 $ file /usr/lib/libSystem.B.dylib /usr/lib/libSystem.B.dylib: Mach-O universal binary with 3 architectures /usr/lib/libSystem.B.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/lib/libSystem.B.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/libSystem.B.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc HTML-Parser-3.62 $ file blib/arch/auto/HTML/Parser/Parser.bundle blib/arch/auto/HTML/Parser/Parser.bundle: Mach-O 64-bit bundle x86_64 HTML-Parser-3.62 $ file $(which perl) /usr/local/bin/perl: Mach-O executable i386 Cheers, Ovid
I see the same problem here when I try to compile HTML-Parser with ActivePerl 5.10.1.1006 (which is built on a Leopard system). The problem does not show when I build with the perl that's shipped with Snow Leopard (/usr/bin/perl).
No relevant any more.