Mailscanner + Fedora 3 x86_64 + sendmail
Kyle Krieg
kyle at MLUG.MISSOURI.EDU
Sun Apr 3 20:21:29 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
I used your new install.sh script, and looks like it had a small problem
with perl-Archive-Zip. Here is the output from the install...it's only
failing on this one package....
Attempting to build and install perl-Archive-Zip-1.14-1
Installing perl-Archive-Zip-1.14-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.38076
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf Archive-Zip-1.14
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/Archive-Zip-1.14.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Archive-Zip-1.14
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.38076
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Archive-Zip-1.14
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -m64'
+ perl Makefile.PL PREFIX=/var/tmp/perl-Archive-Zip-1.14-1-root/usr
Checking if your kit is complete...
Looks good
Writing Makefile for Archive::Zip
+ make
cp lib/Archive/Zip.pod blib/lib/Archive/Zip.pod
cp lib/Archive/Zip/Tree.pm blib/lib/Archive/Zip/Tree.pm
cp lib/Archive/Zip/FAQ.pod blib/lib/Archive/Zip/FAQ.pod
cp lib/Archive/Zip.pm blib/lib/Archive/Zip.pm
cp lib/Archive/Zip/MemberRead.pm blib/lib/Archive/Zip/MemberRead.pm
cp lib/Archive/Zip/MockFileHandle.pm
blib/lib/Archive/Zip/MockFileHandle.pm
cp lib/Archive/Zip/BufferedFileHandle.pm
blib/lib/Archive/Zip/BufferedFileHandle.pm
cp crc32 blib/script/crc32
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/crc32
Manifying blib/man3/Archive::Zip::Tree.3pm
Manifying blib/man3/Archive::Zip.3pm
Manifying blib/man3/Archive::Zip::FAQ.3pm
Manifying blib/man3/Archive::Zip::MemberRead.3pm
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
ok 2/123
t/test..............ok 7/1
t
.........ok 14/123
t/test.......
21/123
t/test..............ok 26
.............ok 33/123
t/test...
.ok 40/123
t/test..............o
est..............ok 52/123
t/tes
.....ok 59/123
t/test...........
23
t/test..............ok 71/123
t
.........ok 78/123
t/test.......
85/123
t/test..............ok 90
.............ok 97/123
t/test.
......ok 104/123
t/test......
.ok 111/123
t/test...........
18/123
t/test..............ok
t/test..............ok
t/testex............NOK 1# Test 1 got: "256" (t/testex.t at line 37)
# Expected: "0"
# t/testex.t line 37 is: ok( runPerlCommand( 'examples/copy.pl',
INPUTZIP, OUTPUTZIP ), 0 );
t/testex............NOK 2# Test 2 got: "256" (t/testex.t at line 39)
# Expected: "0"
# t/testex.t line 39 is: ok( runPerlCommand( 'examples/extract.pl',
OUTPUTZIP, ZFILENAME ), 0 );
t/testex............NOK 3# Test 3 got: "256" (t/testex.t at line 41)
# Expected: "0"
# t/testex.t line 41 is: ok( runPerlCommand( 'examples/mfh.pl', INPUTZIP
), 0 );
t/testex............NOK 4# Test 4 got: "256" (t/testex.t at line 43)
# Expected: "0"
# t/testex.t line 43 is: ok( runPerlCommand( 'examples/zip.pl',
OUTPUTZIP, INPUTZIP, FILENAME ), 0 );
t/testex............NOK 5# Test 5 got: "256" (t/testex.t at line 46)
# Expected: "0"
# t/testex.t line 46 is: ok( $status, 0 );
t/testex............NOK 6# Test 6 got: "256" (t/testex.t at line 51)
# Expected: "0"
# t/testex.t line 51 is: ok( $status, 0 );
t/testex............NOK 7# Test 7 got: "256" (t/testex.t at line 56)
# Expected: "0"
# t/testex.t line 56 is: ok( $status, 0 );
t/testex............NOK 8# Test 8 got: "" (t/testex.t at line 57)
# Expected: "testdir/testing.txt:100\n"
# t/testex.t line 57 is: ok( $output, ZFILENAME . ":100\n" );
t/testex............NOK 9# Test 9 got: "256" (t/testex.t at line 66)
# Expected: "0"
# t/testex.t line 66 is: ok( runPerlCommand( 'examples/selfex.pl',
OUTPUTZIP, FILENAME ), 0 );
t/testex............NOK 10# Test 10 got: "256" (t/testex.t at line 68)
# Expected: "0"
# t/testex.t line 68 is: ok( runPerlCommand(OUTPUTZIP), 0 );
t/testex............NOK 11# Test 11 got: <UNDEF> (t/testex.t at line 72)
# Expected: "1" (extracted/testdir/testing.txt exists)
# t/testex.t line 72 is: ok( -f $fn, 1, "$fn exists" );
t/testex............NOK 12# Test 12 got: "256" (t/testex.t at line 81)
# Expected: "0" (updateTree.pl create)
# t/testex.t line 81 is: ok( runPerlCommand( 'examples/updateTree.pl',
OUTPUTZIP, TESTDIR ), 0, "updateTree.pl create" );
t/testex............NOK 13# Test 13 got: <UNDEF> (t/testex.t at line 82)
# Expected: "1" (zip created)
# t/testex.t line 82 is: ok( -f OUTPUTZIP, 1, "zip created" );
t/testex............NOK 14# Test 14 got: "256" (t/testex.t at line 83)
# Expected: "0" (updateTree.pl update)
# t/testex.t line 83 is: ok( runPerlCommand( 'examples/updateTree.pl',
OUTPUTZIP, TESTDIR ), 0, "updateTree.pl update" );
t/testex............NOK 15# Test 15 got: <UNDEF> (t/testex.t at line 84)
# Expected: "1" (zip updated)
# t/testex.t line 84 is: ok( -f OUTPUTZIP, 1, "zip updated" );
t/testex............FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
/7
rRead....ok 7/7
t/testMemberRead....ok
/6
t/testTree..........ok
2/12
stUpdate........ok 7/12
t/testUpdate
t/testUpdate........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/testex.t 15 15 100.00% 1-15
Failed 1/5 test scripts, 80.00% okay. 15/163 subtests failed, 90.80%
okay.
make: *** [test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.38076 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.38076 (%build)
Missing file
/usr/src/redhat/RPMS/noarch/perl-Archive-Zip-1.14-1.noarch.rpm.
Maybe it did not build correctly?
Julian Field wrote:
You have 2 packages installed both called "perl-5.8.5-9".
Just 2
different architectures.
That should break RPM :-(
Please do
rpm -ql perl | grep bin
The install.sh script I just sent you works around this
problem.
Kyle Krieg wrote:
Here is the output from the commands you asked
for. My install was
Fedora 3 base (full install) and the current yum
updates. My yum
updates are pointing to livna server.
Thanks!!
Kyle
[root at skywalker framadmn]# rpm -qi perl
Name : perl
Relocations: (not relocatable)
Version : 5.8.5
Vendor: Red Hat, Inc.
Release : 9 Build
Date: Tue 12 Oct
2004 11:55:57 AM CDT
Install Date: Sun 20 Mar 2005 08:52:50 PM
CST Build Host:
tweety.build.redh at.com
Group : Development/Languages
Source RPM:
perl-5.8.5-9.src.rpm
Size : 28442178
License: Artistic or GPL
Signature : DSA/SHA1, Wed 20 Oct 2004 12:36:33
PM CDT, Key ID
b44269d04f2a6fd2
Packager : Red Hat, Inc. *MailScanner has
detected a possible fraud
attempt from "bugzilla.redhat.com" claiming to be
*
MailScanner has detected a possible fraud attempt
from "bugzilla.redhat.com" claiming to be
<http://bugzilla.redhat.com/bugzilla>
URL : http://www.perl.org/
Summary : The Perl programming language.
Description :
Perl is a high-level programming language with
roots in C, sed, awk
and shell scripting. Perl is good at handling
processes and files,
and is especially good at handling text. Perl's
hallmarks are
practicality and efficiency. While it is used to
do a lot of
different things, Perl's most common applications
are system
administration utilities and web programming. A
large proportion of
the CGI scripts on the web are written in Perl.
You need the perl
package installed on your system so that your
system can handle Perl
scripts.
Install this package if you want to program in
Perl or enable your
system to handle Perl scripts.
Name : perl
Relocations: (not relocatable)
Version : 5.8.5
Vendor: Red Hat, Inc.
Release : 9 Build
Date: Tue 12 Oct
2004 12:01:58 PM CDT
Install Date: Sun 20 Mar 2005 08:52:55 PM
CST Build Host:
dolly.build.redha t.com
Group : Development/Languages
Source RPM:
perl-5.8.5-9.src.rpm
Size : 34190638
License: Artistic or GPL
Signature : DSA/SHA1, Wed 20 Oct 2004 12:36:57
PM CDT, Key ID
b44269d04f2a6fd2
Packager : Red Hat, Inc. *MailScanner has
detected a possible fraud
attempt from "bugzilla.redhat.com" claiming to be
*
MailScanner has detected a possible fraud attempt
from "bugzilla.redhat.com" claiming to be
<http://bugzilla.redhat.com/bugzilla>
URL : http://www.perl.org/
Summary : The Perl programming language.
Description :
Perl is a high-level programming language with
roots in C, sed, awk
and shell scripting. Perl is good at handling
processes and files,
and is especially good at handling text. Perl's
hallmarks are
practicality and efficiency. While it is used to
do a lot of
different things, Perl's most common applications
are system
administration utilities and web programming. A
large proportion of
the CGI scripts on the web are written in Perl.
You need the perl
package installed on your system so that your
system can handle Perl
scripts.
Install this package if you want to program in
Perl or enable your
system to handle Perl scripts.
[root at skywalker framadmn]# rpm -qa | grep '^perl'
perl-LDAP-0.31-5
perl-Compress-Zlib-1.33-6
perl-Net-CIDR-0.10-1
perl-XML-NamespaceSupport-1.08-6
perl-XML-LibXML-1.58-1
perl-RPM-Specfile-1.17-2
perl-Convert-TNEF-0.17-3
perl-5.8.5-9
perl-libwww-perl-5.79-5
perl-Time-HiRes-1.55-3
perl-BSD-Resource-1.23-6
perl-HTML-Tagset-3.03-30
perl-Devel-Symdump-2.03-19
perl-HTML-Parser-3.35-6
perl-Convert-ASN1-0.18-3
perl-XML-LibXML-Common-0.13-7
perl-Convert-BinHex-1.119-2
perl-MailTools-1.66-1
perl-TimeDate-1.1301-3
perl-Bit-Vector-6.3-3
perl-RPM2-0.66-7
perl-5.8.5-9
perl-URI-1.30-4
perl-XML-Dumper-0.71-2
perl-Digest-SHA1-2.07-5
perl-XML-Twig-3.13-6
perl-Filter-Simple-0.79-4
perl-Cyrus-2.2.10-3.fc3
perl-DateManip-5.42a-3
perl-XML-Encoding-1.01-26
perl-XML-Grove-0.46alpha-27
perl-IO-stringy-2.110-1
perl-File-MMagic-1.21-2
perl-TermReadKey-2.20-17
perl-DBD-MySQL-2.9003-5
perl-XML-Parser-2.34-5
perl-Net-DNS-0.48-1
perl-Crypt-SSLeay-0.51-5
perl-NKF-2.04-3
perl-Archive-Tar-1.08-3
perl-Frontier-RPC-0.06-38
perl-Inline-0.44-14
perl-Filter-1.30-6
perl-DBI-1.40-5
perl-libxml-perl-0.07-30
perl-Digest-HMAC-1.01-13
perl-Parse-Yapp-1.05-32
perl-Date-Calc-5.3-9
perl-MIME-tools-5.417-1
perl-Text-Kakasi-1.05-11
perl-DBD-Pg-1.31-6
perl-Parse-RecDescent-1.94-4
perl-PDL-2.4.1-5
perl-libxml-enno-1.02-31
perl-XML-SAX-0.12-7
perl-SGMLSpm-1.03ii-14
perl-suidperl-5.8.5-9.1
[root at skywalker framadmn]# rpm -q
--queryformat='%{NAME} %{VERSION}
%{ARCH}\n' perl
perl 5.8.5 i386
perl 5.8.5 x86_64
[root at skywalker framadmn]# which perl
/usr/bin/perl
[root at skywalker framadmn]# perl -v
This is perl, v5.8.5 built for
x86_64-linux-thread-multi
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either
the Artistic License
or the
GNU General Public License, which may be found in
the Perl 5 source kit.
Complete documentation for Perl, including FAQ
lists, should be found on
this system using `man perl' or `perldoc perl'.
If you have access to the
Internet, point your browser at
http://www.perl.com/, the Perl Home Page.
[root at skywalker framadmn]#
Julian Field wrote:
I think it actually built stuff okay,
but has calculated the
architecture wrongly.
Please can you send me the output of
rpm -qi perl
rpm -qa | grep '^perl'
rpm -q --queryformat='%{NAME}
%{VERSION} %{ARCH}\n' perl
which perl
perl -v
For some reason it is picking up both
i386 and x86_64 as the
architecture, when it should just be
x86_64 (which is what RHEL4
returns).
That bunch of commands should give me
an idea what is happening.
Kyle Krieg wrote:
Below is the output of
the rpmbuild -bc
perl-Archive-Zip.spec.
Thanks for looking into
this Julian. I've been
using Mailscanner for
2 years now on a RH 8.0
machine with no issues.
I've also show the
following errors when
using the install.sh
script.
Looks like to me, the
install scripts it
looking for packages in
the
i386x86_64 directory,
which is not there. All
the packages are in
either
/usr/src/redhat/RPMS/x86_64,
/usr/src/redhat/RPMS/noarch
or
/usr/src/redhat/SPECS for
the perl-Archive-Zip.spec
files.
There are two outputs
below, the first from the
rpmbuild -bc
perl-Archive-Zip.spec and
another from when I try
and reinstall
MailScanner from the
install.sh script. I've
cut out most of it and
only given the errors
that I think are
important, but have the
whole
install log, if you would
like it see it.
Kyle
************************************************
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at
www.MailScanner.info/store
Professional Support Services at
www.MailScanner.biz
MailScanner thanks transtec Computers
for their support
PGP footprint: EE81 D763 3DB0 0BFD
E1DC 7222 11F6 5947 1415 B654
------------------------ MailScanner
list ------------------------
To unsubscribe, email
jiscmail at jiscmail.ac.uk with the
words:
'leave mailscanner' in the body of
the email.
Before posting, read the MAQ
(http://www.mailscanner.biz/maq/) and
the archives
(http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy
the book off the website!
------------------------ MailScanner list
------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk
with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ
(http://www.mailscanner.biz/maq/)
and the archives
(http://www.jiscmail.ac.uk/lists/mailscanner.html).
*Support MailScanner development - buy the book
off the website!*
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415
B654
------------------------ MailScanner list
------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ
(http://www.mailscanner.biz/maq/) and
the archives
(http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the
website!
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list