[bug-notifications] [amavisd_new 0002597]: amavisd-new won\'t start - the \'XS\' version of pm_Scalar::Util is required

Mantis Bug Tracker noreply at opencsw.org
Tue Mar 24 13:30:01 CET 2009


The following issue has been CLOSED 
====================================================================== 
http://opencsw.org/mantis/view.php?id=2597 
====================================================================== 
Reported By:                barrem03
Assigned To:                ihsan
====================================================================== 
Project:                    amavisd_new
Issue ID:                   2597
Category:                   regular use
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2007-09-22 15:12 CEST
Last Modified:              2009-03-24 13:30 CET
====================================================================== 
Summary:                    amavisd-new won\'t start - the \'XS\' version of
pm_Scalar::Util is required
Description: 
New installation of amavisd_new using pkg-get

# ./amavisd-new
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at ./amavisd-new line 159.
# find /opt/csw -name Zlib.pm
/opt/csw/share/perl/csw/IO/Zlib.pm
/opt/csw/share/perl/csw/Compress/Zlib.pm
/opt/csw/lib/perl/csw/Compress/Raw/Zlib.pm

# less /opt/csw/share/perl/csw/Compress/Zlib.pm
...
use Scalar::Util qw(dualvar);
...


vi t.pl
#! /opt/csw/bin/perl
use Compress::Zlib qw(dualvar);
exit;

# ./t.pl
 is only avaliable with the XS version at
/opt/csw/share/perl/csw/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at
/opt/csw/share/perl/csw/Compress/Zlib.pm line 9.
Compilation failed in require at ./t.pl line 2.
BEGIN failed--compilation aborted at ./t.pl line 2


# less /opt/csw/share/perl/5.8.8/Scalar/Util.pm
package Scalar::Util;

use strict;
use vars qw(@ISA @EXPORT_OK $VERSION);
require Exporter;
require List::Util; # List::Util loads the XS

@ISA       = qw(Exporter);
@EXPORT_OK = qw(blessed dualvar reftype weaken isweak tainted readonly
openhandl
e refaddr isvstring looks_like_number set_prototype);
$VERSION    = \"1.19\";
$VERSION   = eval $VERSION;

sub export_fail {
  if (grep { /^(weaken|isweak)$/ } @_ ) {
    require Carp;
    Carp::croak(\"Weak references are not implemented in the version
of perl\");
  }
  if (grep { /^(isvstring)$/ } @_ ) {
    require Carp;
    Carp::croak(\"Vstrings are not implemented in the version of
perl\");
  }
  if (grep { /^(dualvar|set_prototype)$/ } @_ ) {
    require Carp;
    Carp::croak(\"$1 is only avaliable with the XS version\");
  }

  @_;
}


====================================================================== 

---------------------------------------------------------------------- 
 (0004761) barrem03 (reporter) - 2007-09-22 15:18
 http://opencsw.org/mantis/view.php?id=2597#c4761 
---------------------------------------------------------------------- 
Sorry
\"
vi t.pl
#! /opt/csw/bin/perl
use Compress::Zlib qw(dualvar);
exit;

# ./t.pl
is only avaliable with the XS version at
/opt/csw/share/perl/csw/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at
/opt/csw/share/perl/csw/Compress/Zlib.pm line 9.
Compilation failed in require at ./t.pl line 2.
BEGIN failed--compilation aborted at ./t.pl line 2
\"

Should be
\"vi t.pl
#! /opt/csw/bin/perl
use Compress::Zlib;
exit;

# ./t.pl
is only avaliable with the XS version at
/opt/csw/share/perl/csw/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at
/opt/csw/share/perl/csw/Compress/Zlib.pm line 9.
Compilation failed in require at ./t.pl line 2.
BEGIN failed--compilation aborted at ./t.pl line 2

# less /opt/csw/share/perl/csw/Compress/Zlib.pm
...
use Scalar::Util qw(dualvar);
...
\"

Thanks,

 - Mike 

---------------------------------------------------------------------- 
 (0004762) ihsan (manager) - 2007-09-22 16:17
 http://opencsw.org/mantis/view.php?id=2597#c4762 
---------------------------------------------------------------------- 
can you please post the output of \'pkginfo -l CSWamavisdnew\'? 

---------------------------------------------------------------------- 
 (0004763) barrem03 (reporter) - 2007-09-22 17:31
 http://opencsw.org/mantis/view.php?id=2597#c4763 
---------------------------------------------------------------------- 
Thanks for getting on this so quickly Ihsan!

# pkginfo -l CSWamavisdnew
   PKGINST:  CSWamavisdnew
      NAME:  amavisd_new - Interface between MTA and content checkers
  CATEGORY:  application
      ARCH:  all
   VERSION:  2.4.5,REV=2007.03.23
   BASEDIR:  /
    VENDOR:  http://www.ijs.si/software/amavisd/
packaged for CSW by Ihsan Dogan
    PSTAMP:  ra20070323095121
  INSTDATE:  Sep 22 2007 14:31
   HOTLINE:  http://www.blastwave.org/bugtrack/
     EMAIL:  ihsan at blastwave.org
    STATUS:  completely installed
     FILES:       40 installed pathnames
                   5 shared pathnames
                   6 directories
                   2 executables
                3559 blocks used (approx) 

---------------------------------------------------------------------- 
 (0005720) ihsan (manager) - 2009-03-24 13:30
 http://opencsw.org/mantis/view.php?id=2597#c5720 
---------------------------------------------------------------------- 
shold be fixed in the newest version 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-24 13:30 ihsan          Note Added: 0005720                          
2009-03-24 13:30 ihsan          Status                   assigned => closed  
======================================================================




More information about the bug-notifications mailing list