Date: Mon, 24 Oct 2005 16:24:07 GMT From: Igor Roshchin <str@komkon.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/87933: p5-Mail-SpamAssassin-3.1.0_3 missing dependencies: p5-Mail-SPF-Query and LWP/UserAgent.pm Message-ID: <200510241624.j9OGO73U047715@www.freebsd.org> Resent-Message-ID: <200510241630.j9OGUGEF012476@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87933 >Category: ports >Synopsis: p5-Mail-SpamAssassin-3.1.0_3 missing dependencies: p5-Mail-SPF-Query and LWP/UserAgent.pm >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 24 16:30:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Igor Roshchin >Release: 5.4-RELEASE >Organization: Komkon >Environment: FreeBSD MyHost 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Tue Jul 12 16:03:42 EDT 2005 root@MyHost:/usr/obj/usr/src/sys/NEW i386 >Description: p5-Mail-SpamAssassin-3.1.0_3 is upgraded from some 2.5 using portsnap with the subsequent portupgrade (build from ports). (I don't remember if the original installation was done from a package or not, probably it was). Some options and utilities are missing dependencies. I was able to identify two: p5-Mail-SPF-Query and LWP::UserAgent One might check if any other dependency is missing as well. Installing p5-Mail-SPF-Query-1.997 cleared the first problem. >From /var/log/maillog: spamd[51714]: Can't locate Mail/SPF/Query.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6) at /usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/SPF.pm line 272, <GEN344> line 102. # sa-update --updatedir /usr/local/etc/mail/spamassassin/ Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6) at /usr/local/bin/sa-update line 73. BEGIN failed--compilation aborted at /usr/local/bin/sa-update line 73. >How-To-Repeat: On a clean-build machine install p5-Mail-SpamAssassin-3.1.0_3 and spamass-milter-0.3.0. Use the config (local.cf) below. For repeating the second problem - start sa-update # SpamAssassin config file for version 3.x # NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6 # See http://www.yrex.com/spam/spamconfig25.php for earlier versions # Generated by http://www.yrex.com/spam/spamconfig.php (version 1.50) # How many hits before a message is considered spam. required_score 5.0 # Change the subject of suspected spam rewrite_header subject [SPAM] # Encapsulate spam in an attachment (0=no, 1=yes, 2=safe) report_safe 0 # Enable the Bayes system use_bayes 1 # Enable Bayes auto-learning bayes_auto_learn 1 # Enable or disable network checks skip_rbl_checks 0 use_razor2 1 use_dcc 0 use_pyzor 1 # Mail using languages used in these country codes will not be marked # as being possibly spam in a foreign language. ok_languages all # Mail using locales used in these country codes will not be marked # as being possibly spam in a foreign language. ok_locales all >Fix: Add p5-Mail-SPF-Query and LWP::UserAgent (I am not sure what port includes that, suspect p5-libwww) as dependencies. Check if any other dependencies are missing. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510241624.j9OGO73U047715>