On Sat, Apr 12, 2008 at 09:08:37AM +0200, Dmitry Karasik wrote:
> > Testing Prima v1.25
> > Can't load './auto/Prima/Prima.so' for module Prima: Shared object
> > "libbind.so.4" not found at
> > /tmp/drhyde/perl-5.10.0/lib/5.10.0/alpha-netbsd/DynaLoader.pm line 203.
> >  at test/Tester.pl line 34
> > Compilation failed in require at test/Tester.pl line 34.
> > BEGIN failed--compilation aborted at test/Tester.pl line 34.
> > *** Error code 9
> I'm getting this error report from your netbsd machines for some time

You've got it three times - twice for Prima version 1.24 (one of which
was with a 5.10.0 release candidate and one with the final version of
5.10.0) and once for Prima 1.25 (with the final version of 5.10.0).

Or at least, three times from me.  The other 30-ish failure reports for
various versions of Prima on NetBSD are nothing to do with me.

>                                                                     and am
> curious if it makes any sense to test distributions where perl's Config.pm,
> is, well, misconfigured. Do you think it would be fair to at least not to
> report FAIL where the problem lies in the system, not in the module?

This sort of failure indicates that something is shelling out to perl
and not being careful to use the right build of perl - my perl is not in
the $PATH.  Given that my Config.pm is untouched since perl's build
scripts created it, I very much doubt that it is at fault.

However, I attach it and a copy of what perl -V says so you can take a
look for yourself.

Unfortunately it's not my machine so I can't give you an account for
debugging, but I would be happy to be "remote hands" and apply patches
and so on to help find out where the problem is.

-- 
David Cantrell | Hero of the Information Age

  Sobol's Law of Telecom Utilities:
    Telcos are malicious; cablecos are simply clueless.
# This file was created by configpm when Perl was built. Any changes
# made to this file will be lost the next time perl is built.

package Config;
use strict;
# use warnings; Pulls in Carp
# use vars pulls in Carp
@Config::EXPORT = qw(%Config);
@Config::EXPORT_OK = qw(myconfig config_sh config_vars config_re);

# Need to stub all the functions to make code such as print Config::config_sh
# keep working

sub myconfig;
sub config_sh;
sub config_vars;
sub config_re;

my %Export_Cache = map {($_ => 1)} (@Config::EXPORT, @Config::EXPORT_OK);

our %Config;

# Define our own import method to avoid pulling in the full Exporter:
sub import {
    my $pkg = shift;
    @_ = @Config::EXPORT unless @_;

    my @funcs = grep $_ ne '%Config', @_;
    my $export_Config = @funcs < @_ ? 1 : 0;

    no strict 'refs';
    my $callpkg = caller(0);
    foreach my $func (@funcs) {
	die sprintf qq{"%s" is not exported by the %s module\n},
	    $func, __PACKAGE__ unless $Export_Cache{$func};
	*{$callpkg.'::'.$func} = \&{$func};
    }

    *{"$callpkg\::Config"} = \%Config if $export_Config;
    return;
}

die "Perl lib version (5.10.0) doesn't match executable version ($])"
    unless $^V;

$^V eq 5.10.0
    or die "Perl lib version (5.10.0) doesn't match executable version (" .
	sprintf("v%vd",$^V) . ")";


sub FETCH {
    my($self, $key) = @_;

    # check for cached value (which may be undef so we use exists not defined)
    return $self->{$key} if exists $self->{$key};

    return $self->fetch_string($key);
}
sub TIEHASH {
    bless $_[1], $_[0];
}

sub DESTROY { }

sub AUTOLOAD {
    require 'Config_heavy.pl';
    goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
    die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
}

# tie returns the object, so the value returned to require will be true.
tie %Config, 'Config', {
    archlibexp => '/tmp/drhyde/perl-5.10.0/lib/5.10.0/alpha-netbsd',
    archname => 'alpha-netbsd',
    cc => 'cc',
    d_readlink => 'define',
    d_symlink => 'define',
    dlsrc => 'dl_dlopen.xs',
    dont_use_nlink => undef,
    exe_ext => '',
    inc_version_list => ' ',
    intsize => '4',
    ldlibpthname => 'LD_LIBRARY_PATH',
    libpth => '/usr/pkg/lib /lib /usr/lib',
    osname => 'netbsd',
    osvers => '2.1.0_stable',
    path_sep => ':',
    privlibexp => '/tmp/drhyde/perl-5.10.0/lib/5.10.0',
    scriptdir => '/tmp/drhyde/perl-5.10.0/bin',
    sitearchexp => '/tmp/drhyde/perl-5.10.0/lib/site_perl/5.10.0/alpha-netbsd',
    sitelibexp => '/tmp/drhyde/perl-5.10.0/lib/site_perl/5.10.0',
    useithreads => undef,
    usevendorprefix => undef,
    version => '5.10.0',
};
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=netbsd, osvers=2.1.0_stable, archname=alpha-netbsd
    uname='netbsd sverige 2.1.0_stable netbsd 2.1.0_stable (sdf) #0: tue sep 4 
06:27:41 utc 2007 [EMAIL PROTECTED]:varsrc-2.1archalphacompilesdf alpha '
    config_args='-de -Dprefix=/tmp/drhyde/perl-5.10.0'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/pkg/include',
    optimize='-O',
    cppflags='-fno-strict-aliasing -pipe -I/usr/pkg/include'
    ccversion='', gccversion='3.3.3 (NetBSD nb3 20040520)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib 
-L/usr/pkg/lib'
    libpth=/usr/pkg/lib /lib /usr/lib
    libs=-lbind -lgdbm -lm -lcrypt -lutil -lc -lposix
    perllibs=-lbind -lm -lcrypt -lutil -lc -lposix
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E '
    cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared  
-L/usr/pkg/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: PERL_DONT_CREATE_GVSV USE_64_BIT_ALL USE_64_BIT_INT
                        USE_LARGE_FILES USE_PERLIO
  Built under netbsd
  Compiled at Mar 31 2008 09:12:33
  @INC:
    /tmp/drhyde/perl-5.10.0/lib/5.10.0/alpha-netbsd
    /tmp/drhyde/perl-5.10.0/lib/5.10.0
    /tmp/drhyde/perl-5.10.0/lib/site_perl/5.10.0/alpha-netbsd
    /tmp/drhyde/perl-5.10.0/lib/site_perl/5.10.0
    .

Reply via email to