OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002597 [amavisd_new] regular use crash always 2007-09-22 15:12 2009-03-24 13:30
Reporter barrem03 View Status public  
Assigned To ihsan
Priority normal Resolution fixed  
Status closed  
Summary 0002597: 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\");
  }

  @_;
}

Additional Information http://use.perl.org/~Qiang/journal/32464 [^]
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0004761)
barrem03 (reporter)
2007-09-22 15:18

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

can you please post the output of \'pkginfo -l CSWamavisdnew\'?
(0004763)
barrem03 (reporter)
2007-09-22 17:31

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@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

shold be fixed in the newest version


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker