You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/10/27 15:48:16 UTC

[Bug 5155] New: "make install" always attempts to write to /usr/local/lib/perl.../.packlist

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5155

           Summary: "make install" always attempts to write to
                    /usr/local/lib/perl.../.packlist
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P5
         Component: Building & Packaging
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jm@jmason.org


ah, the joys of MakeMaker.  this may be perl 5.8.7-specific...

perl Makefile.PL PREFIX=/tmp/sa SYSCONFDIR=/tmp/etc \
  INSTALLSITELIB=/tmp/sa/lib DATADIR=/tmp/sa/rules 
...
make
...
: jm 98...; make install
rm rules/70_inactive.cf
rm: cannot remove `rules/70_inactive.cf': No such file or directory
make: [build_rules] Error 1 (ignored)
[ ! -d rulesrc ] || /usr/bin/perl build/mkrules --src rulesrc --out rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
rulesrc/sandbox/dos/20_uri.cf: 1 active rules, 2 other
rulesrc/sandbox/dos/70_bugs.cf: 0 active rules, 29 other
rulesrc/sandbox/dos/70_other.cf: 7 active rules, 40 other
rulesrc/sandbox/duncf/20_drugs.cf: 1 active rules, 6 other
rulesrc/sandbox/duncf/20_misc.cf: 0 active rules, 6 other
rulesrc/sandbox/duncf/25_replace.cf: 0 active rules, 2 other
rulesrc/sandbox/felicity/70_iadb.cf: 27 active rules, 0 other
rulesrc/sandbox/felicity/70_imageinfo.cf: WARNING: 'rules/ImageInfo.pm' not
listed in manifest file, making 'tryplugin': loadplugin
Mail::SpamAssassin::Plugin::ImageInfo ImageInfo.pm
rulesrc/sandbox/felicity/70_imageinfo.cf: 0 active rules, 20 other
rulesrc/sandbox/felicity/70_other.cf: 47 active rules, 37 other
rulesrc/sandbox/felicity/70_phishing.cf: 13 active rules, 43 other
rulesrc/sandbox/hstern/20_body_tests.cf: 1 active rules, 5 other
rulesrc/sandbox/hstern/20_head_tests.cf: 1 active rules, 0 other
rulesrc/sandbox/hstern/20_meta_tests.cf: 1 active rules, 1 other
rulesrc/sandbox/hstern/20_uri_tests.cf: 2 active rules, 14 other
rulesrc/sandbox/hstern/70_syndicate.cf: 1 active rules, 15 other
rulesrc/sandbox/jgmyers/70_lint.cf: 0 active rules, 8 other
rulesrc/sandbox/jm/20_basic.cf: 22 active rules, 10 other
rulesrc/sandbox/jm/20_dob.cf: 4 active rules, 0 other
rulesrc/sandbox/jm/20_dynrdns.cf: 0 active rules, 24 other
rulesrc/sandbox/jm/20_openwhois.cf: 41 active rules, 1 other
rulesrc/sandbox/jm/20_sendmailid.cf: 0 active rules, 0 other
rulesrc/sandbox/jm/20_vbounce.cf: WARNING: 'rules/VBounce.pm' not listed in
manifest file, making 'tryplugin': loadplugin
Mail::SpamAssassin::Plugin::VBounce VBounce.pm
rulesrc/sandbox/jm/20_vbounce.cf: 0 active rules, 145 other
rulesrc/sandbox/jm/70_dead_rules_bug_5123.cf: 0 active rules, 0 other
rulesrc/sandbox/jm/70_fredt_test.cf: 13 active rules, 22 other
rulesrc/sandbox/jm/70_tt_drugs.cf: 1 active rules, 11 other
rulesrc/sandbox/jm/70_zmi_german.cf: 2 active rules, 350 other
rulesrc/sandbox/jm/99_alex_test.cf: 1 active rules, 0 other
rulesrc/sandbox/kmcgrail/20_number.cf: 0 active rules, 4 other
rulesrc/sandbox/kmcgrail/20_stock.cf: 6 active rules, 24 other
rulesrc/sandbox/kmcgrail/20_urunit.cf: 0 active rules, 9 other
rulesrc/sandbox/kmcgrail/70_phishing.cf: 0 active rules, 1 other
rulesrc/sandbox/maddoc/01_ds_loan.cf: 0 active rules, 7 other
rulesrc/sandbox/mkettler/20_drugs.cf: 1 active rules, 1 other
rulesrc/sandbox/mkettler/25_uribl.cf: 0 active rules, 5 other
/usr/bin/perl build/preprocessor  -Mvars -DVERSION="3.002000" -DPREFIX="/tmp/sa"
-DDEF_RULES_DIR="/tmp/sa/rules" -DLOCAL_RULES_DIR="/tmp/etc/mail/spamassassin"
-DLOCAL_STATE_DIR="/tmp/sa/var/spamassassin" -DINSTALLSITELIB="/tmp/sa/lib"
-DCONTACT_ADDRESS="the administrator of that system" -Msharpbang
-DPERL_BIN="/usr/bin/perl" -DPERL_WARN="" -DPERL_TAINT="" -m755 -isa-update.raw
-osa-update
cp sa-update blib/script/sa-update
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
Manifying blib/man1/sa-update.1p
Warning: You do not have permissions to install into /usr/local/lib/perl/5.8.7
at /usr/share/perl/5.8/ExtUtils/Install.pm line 114.
Installing /tmp/sa/lib/Mail/SpamAssassin.pm
Installing /tmp/sa/man/man1/spamassassin.1p
Installing /tmp/sa/bin/spamc
Installing /tmp/sa/bin/sa-learn
Installing /tmp/sa/bin/spamassassin
Installing /tmp/sa/bin/spamd
Writing /usr/local/lib/perl/5.8.7/auto/Mail/SpamAssassin/.packlist
Can't open file /usr/local/lib/perl/5.8.7/auto/Mail/SpamAssassin/.packlist:
Permission denied at /usr/share/perl/5.8/ExtUtils/Install.pm line 209
make: *** [pure_site_install] Error 13



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5155] "make install" always attempts to write to /usr/local/lib/perl.../.packlist

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5155


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Target Milestone|Undefined                   |3.2.0






------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5155] "make install" always attempts to write to /usr/local/lib/perl.../.packlist

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5155


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From jm@jmason.org  2007-01-05 05:06 -------
perl 5.8.6 on Solaris: works fine
perl 5.6.1 on Linux: fine
perl 5.9.5 (blead) on Linux: fine

I think it's just an ExtUtils::MakeMaker bug in the Ubuntu perl 5.8.7 package.
marking WORKSFORME.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5155] "make install" always attempts to write to /usr/local/lib/perl.../.packlist

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5155


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P1






------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.