Svar: Re: 4.25-14 or 4.26.6 & SuSE 9.0: perl-Net-CIDR fails

Julian Field mailscanner at ecs.soton.ac.uk
Mon Feb 9 20:03:25 GMT 2004


You can use the "--nodeps" command-line option with "./install.sh" to get 
around this.
I'm going to get time to install a SuSE 9 box soon (hopefully later this 
week, but the day job is busy right now) and will get all the SuSE 9 
niggles sorted out.

At 14:38 09/02/2004, you wrote:
>Hi
>
>I am trying to install mailscanner 4.26.8-1 on suse 9.0 and I get some 
>"Failed build dependencies"
>
>Attempting to build and install perl-MIME-tools-5.411-pl4.2
>Installing perl-MIME-tools-5.411-pl4.2.src.rpm
>error: Failed build dependencies:
>         perl >= 0:5.00503 is needed by perl-MIME-tools-5.411-pl4.2
>
>My perl version is: 5.8.1
>
>Where do I put:
>BuildRequires: perl >= 0:5.5.3 or 0:5.8.1
>
>/Jan Elmqvist Nielsen
>
>
> >>> Heinz.Knutzen at DATAPORT.DE 30-01-2004 17:34:03 >>>
>It doesn't help to install perl-Net-CIDR manually,
>because the package doesn't build at all:
>"ERROR: EMPTY FILE LIST"
>
>On a system with SuSE 8.0 perl-Net-CIDR builds nicly.
>I compared the output of rpmbuild at both systems and found
>the underlying problem.
>
>When calling rpmbuild with SuSE 9.0 this results in paths
>where BuildRoot occurs twice:
>Installing 
>/var/tmp/perl-Net-CIDR-root/var/tmp/perl-Net-CIDR-root/usr/share/man/man3/Net::CIDR.3pm
>
>perl-Net-CIDR.spec defines BuildRoot as
>%{_tmppath}/%{name}-%{version}-%{release}-root
>
>The first occurence comes from
>         perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix}
>
>It appears twice, because SuSE defines it's own version
>of the rpm macro %makeinstall in /usr/lib/rpm/suse_macros:
>%makeinstall            make DESTDIR=%{buildroot} install
>
>The problem didn't occur with SuSE 8.0,
>because it uses an older version of ExtUtils::MakeMaker,
>where the resuting Makefile is ignoring it's parameter
>"DESTDIR" and hence (accidently) successfully creates the package.
>
>A possible solution would be to call "make install" directly
>instead of "%makeinstall" in perl-Net-CIDR.spec.
>
>This would solve the problem for SuSE.
>It shouldn't hurt for other rpm based distributions,
>because the standard definition of %makeinstall effectivly calls
>"make install" with many paramters defining prefixes and directories.
>But these are useless, because PREFIX is already set
>when processing Makefile.PL.
>
>
>I still need --nodeps to build this package.
>If I change "BuildRequires" to
>BuildRequires: perl >= 0:5.5.3
>it works fine for SuSE 8.0 and 9.0 without using --nodeps.
>
>Viele Grüße
>
>Heinz Knutzen
>
>Dataport
>Altenholzer Str 10-14, 24161 Altenholz, Germany
>http://www.dataport.de/
>mailto:Heinz.Knutzen at dataport.de
>Tel: +49.431.3295.6581 Fax: +49.431.3295.410
>
>
>
>-----Ursprüngliche Nachricht-----
>Von: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]Im
>Auftrag von Julian Field
>Gesendet am: Freitag, 30. Januar 2004 10:14
>An: MAILSCANNER at JISCMAIL.AC.UK
>Betreff: Re: 4.25-14 or 4.26.6 & SuSE 9.0: perl-Net-CIDR fails
>
>Try just installing the Net-CIDR module with something like
>rpm -Uvh --nodeps perl-Net-CIDR*
>and then run ./install.sh.
>
>At 16:53 29/01/2004, you wrote:
> >For SuSE 9.0 with MailScanner-4.26.6-1.suse.tar.gz I get:
> >./install.sh
> >...
> >Attempting to build and install perl-Net-CIDR-0.08-2
> >Installiere perl-Net-CIDR-0.08-2.src.rpm
> >Fehler: Failed build dependencies:
> >         perl >= 0:5.00503 is needed by perl-Net-CIDR-0.08-2
> >
> >My perl is:
> ># rpm -q perl
> >perl-5.8.1-46
> ># perl -v
> >This is perl, v5.8.1 built for i586-linux-thread-multi
> >(with 1 registered patch, see perl -V for more detail)
> >
> >I get this message for some perl packages, but nor for all of them.
> >Using "./install.sh nodeps" doesn't help, it gives the same error.
> >
> >Using "rpmbuild --rebuild --nodeps perl-Net-CIDR-0.08-2.src.rpm"
> >does help a bit, but aborts with:
> >"ERROR: EMPTY FILE LIST"
> >
> >This doesn't seem to be a new problem, it occurs with
> >MailScanner-4.25-14.suse.tar.gz as well.
> >
> >
> >Viele Grüße
> >
> >-- Heinz
> >
> >-----Ursprüngliche Nachricht-----
> >Von: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]Im
> >Auftrag von Julian Field
> >Gesendet am: Donnerstag, 29. Januar 2004 16:25
> >An: MAILSCANNER at JISCMAIL.AC.UK
> >Betreff: ANNOUNCE: Beta 4.26.6 released
> >
> >Hi folks,
> >
> >I have just posted 4.26.6 on the website for you all. Download from
> >www.mailscanner.info as usual.
> >
> >This is intended as a final testing release before 4.26 goes stable, which
> >will hopefully be this weekend. If you could test it out and let me know of
> >any problems as soon as possible, I will get them fixed.
> >
> >Thanks folks!
> >
> >Changes this time are:
> >
> >* New Features and Improvements *
> >- Improved configuration engine so that rules can now contain 2 tests
> >    separated by "and".
> >- Added "notify" Spam Action and High Scoring Spam Action. This will cause a
> >    short text notification message to be sent to the recipients of the spam
> >    message. The filename of the report is set with the "Recipient Spam
> > Report"
> >    configuration setting. There is also an MCP equivalent of this
> >    functionality. See the MCP documentation for details of the settings.
> >- Removed the "bounce" spam action.
> >- Added regular rebuild of Bayes database. Has 2 options associated with it
> >    which I haven't included in the conf file yet.
> >- Added "Rebuild Bayes Every" and "Wait During Bayes Rebuild" options to
> >    configure the operation of the regular Bayes database rebuilds.
> >- Added commented "bayes_auto_expire 0" line to spam.assassin.prefs.conf as
> >    you will want to uncomment this line if you are using the regular
> > scheduled
> >    Bayes database expiry feature given above.
> >- Added "Minimum Stars If On Spam List" setting so that people who just 
> filter
> >    on the "Spam Stars" can catch messages which only trigger the "Spam 
> List"
> >    trap.
> >- Added "Log Non Spam" option to allow logging of all non-spam, which can be
> >    coerced into logging SpamAssassin scores of non-spam mail.
> >- Added support for Norman virus scanner (www.norman.de).
> >- Added logging of ids of dropped silent viruses.
> >- Added "Too Many Attachments" error report in a message instead of old
> >    report saying it could not analyse the message.
> >- No longer stops or restarts after RPM upgrade.
> >- Added MCP patches for SpamAssassin 2.61 and 2.63.
> >- Added 'SpamAssassin Site Rules Dir' setting to locate
> >/etc/mail/spamassassin.
> >- Spanish translations of languages.conf updated from Debian translators.
> >- Added Catalan translation of all report files.
> >- Added bogusmx list to supplied spam.lists.conf.
> >- Added spamhaus-XBL and SBL+XBL lists to supplied spam.lists.conf.
> >- Changed the version number scheme from major.minor-teeny to
> >major.minor.teeny.
> >- Forced owner to be root.root in both RPM spec files, so can be re-built by
> >    non-root users.
> >- Added my Amazon.co.uk "wish list" to the donations page.
> >- Detailed spam report now includes auto-learn status if it was auto-learnt.
> >
> >* Fixes *
> >- Fixed creation of MCP quarantine directory bug.
> >- Fix to Postfix message duplication problems. Must find "end of message"
> >    record now.
> >- Fix to duplicate recipient listing in postmaster notices.
> >- Fixed bug so filename/filetype rules configuration setting can be blank.
> >- Exim per-message log files are deleted correctly now.
> >- Fixed recipient duplication problems in sender messages and other reports.
> >- Fixed bug where extra ": " appears in VirusWarning.txt when MailScanner's
> >    own checks find multiple problems with 1 attachment.
> >- Fixed bug where _SCORE_ in subject line modifications is never more 
> than 60.
> >--
> >Julian Field
> >www.MailScanner.info
> >MailScanner thanks transtec Computers for their support
> >
> >PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>--
>Julian Field
>www.MailScanner.info
>MailScanner thanks transtec Computers for their support
>
>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-- 
Julian Field
www.MailScanner.info
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




More information about the MailScanner mailing list