Bug 6266 - MakeMaker: SYSCONFDIR/CONTACT_ADDRESS/BUILD_SPAMC/... is not a known MakeMaker parameter name.
Summary: MakeMaker: SYSCONFDIR/CONTACT_ADDRESS/BUILD_SPAMC/... is not a known MakeMake...
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC Linux
: P2 minor
Target Milestone: 3.4.2
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
: 6298 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-29 02:22 UTC by Jens Schleusener
Modified: 2018-09-04 15:34 UTC (History)
5 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Schleusener 2009-12-29 02:22:29 UTC
Sorry for the long desription of a probably harmless fact:

To install the Mail-SpamAssassin SVN versions (now nearly Mail-SpamAssassin
3.3.0) I use always the command

 perl Makefile.PL PREFIX=~/sausr_svn SYSCONFDIR=~/saetc_svn

but I detect all the last months the following output lines after that command
is claiming about some missing only optional modules:

 warning: some functionality may not be available,
 please read the above report before continuing!

 Checking if your kit is complete...
 Looks good
 'SYSCONFDIR' is not a known MakeMaker parameter name.
 Writing Makefile for Mail::SpamAssassin
 Makefile written by ExtUtils::MakeMaker 6.42

But after the successive "make" and "make install" all seems to work fine
(using openSUSE 11.2 with perl v5.10.0).

In the generated Makefile I found according lines like

 #   MakeMaker ARGV: (q[PREFIX=~/sausr_svn], q[SYSCONFDIR=~/saetc_svn])

 PREFIX = /home/my_account/sausr_svn

 cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "PREFIX=~/sausr_svn"
"SYSCONFDIR=~/saetc_svn"

 $(PERLRUN) Makefile.PL "PREFIX=~/sausr_svn" "SYSCONFDIR=~/saetc_svn"

 $(NOECHO) $(PERLRUNINST) \
                Makefile.PL DIR= \
                MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
                MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \
                PREFIX=~/sausr_svn \
                SYSCONFDIR=~/saetc_svn

respectively

 #   MakeMaker ARGV: (q[PREFIX=~/sausr_svn], q[SYSCONFDIR=~/saetc_svn])

 SYSCONFDIR = /home/my_account/saetc_svn

 cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "PREFIX=~/sausr_svn" \
                                              "SYSCONFDIR=~/saetc_svn"

 $(NOECHO) $(PERLRUNINST) \
                Makefile.PL DIR= \
                MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
                MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \
                PREFIX=~/sausr_svn \
                SYSCONFDIR=~/saetc_svn

So the above "error" line

 'SYSCONFDIR' is not a known MakeMaker parameter name.

is probably a harmless but ugly flaw.
Comment 1 Jens Schleusener 2010-01-19 08:03:23 UTC
Within the Perl module ExtUtils::MakeMaker (I used now version 6.56) in the file
   ./lib/ExtUtils/MakeMaker.pm
an array named @attrib_help is defined.

Adding there (between the definition lines 236-270) "experimentally" the element SYSCONFDIR let the irritating described message vanish (diagnosis message only?). 

The resulting Makefile was independent from this small "patch".
Comment 2 Mark Martinec 2010-01-21 10:07:46 UTC
See also Bug 6298.
Comment 3 Justin Mason 2010-01-27 02:20:50 UTC
moving most remaining 3.3.0 bugs to 3.3.1 milestone
Comment 4 Justin Mason 2010-01-27 03:16:34 UTC
reassigning, too
Comment 5 Mark Martinec 2010-02-15 18:20:39 UTC
The 3.3.0 is now in FreeBSD ports. The resulting installation seems fine,
although the following warnings are a bit worrying:

'BUILD_SPAMC' is not a known MakeMaker parameter name.
'CONTACT_ADDRESS' is not a known MakeMaker parameter name.
'ENABLE_SSL' is not a known MakeMaker parameter name.     
'LOCALSTATEDIR' is not a known MakeMaker parameter name.  
'SYSCONFDIR' is not a known MakeMaker parameter name.     

I'm not sure where the problem lies: in the upgraded MakeMaker,
or in SpamAssassin's use of it, or is it the admin/ports/package
usage error.
Comment 6 Mark Martinec 2010-02-15 18:21:31 UTC
*** Bug 6298 has been marked as a duplicate of this bug. ***
Comment 7 Justin Mason 2010-03-23 16:33:48 UTC
moving all open 3.3.1 bugs to 3.3.2
Comment 8 Karsten Bräckelmann 2010-03-23 17:42:52 UTC
Moving back off of Security, which got changed by accident during the mass Target Milestone move.
Comment 9 Darxus 2011-06-23 21:47:23 UTC
"Those harmless but worrying messages come from ExtUtils::MakeMaker
(included in the Perl base distribution). The file Makefile.PL in
SpamAssassin accepts some parameters for the module ExtUtils::MakeMaker
as well as some for its own use. SpamAssassin included a hack to prevent
those messages by using some private variables of ExtUtils::MakeMaker.
Since version 6.43 of ExtUtils::MakeMaker this hack is no longer working,
thus leading to the messages you see." 
- Klaus Heinz, http://mail-index.netbsd.org/pkgsrc-users/2010/03/28/msg011986.html

Did that private variable change in MakeMaker v6.43 from @ATT_KEYS to @attrib_help?
Comment 10 Kevin A. McGrail 2011-10-28 21:37:55 UTC
These errors can be ignored.  They have to do with extra parameters that SpamAssassin uses.  Retargeting to a future release so that 3.4.0 can be released.
Comment 11 Kevin A. McGrail 2015-04-13 22:21:37 UTC
pushing to 3.4.2
Comment 12 Kevin A. McGrail 2018-09-04 15:34:17 UTC
These warnings can be ignored.  Resolving as wontfix