|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[Bug 5944] New: RPM builds fail with ExtUtils::MakeMaker >= 6.43https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5944
Summary: RPM builds fail with ExtUtils::MakeMaker >= 6.43 Product: Spamassassin Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: Building & Packaging AssignedTo: dev@... ReportedBy: steve.freegard@... Created an attachment (id=4349) --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4349) diff -uNr of makefiles generated by 6.42 and 6.43_01 With ExtUtils::MakeMaker >= 6.43 an 'rpmbuild -ta ...' yields: Installing /var/tmp/spamassassin-root/usr/bin/spamc Writing /var/tmp/spamassassin-root/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Mail/SpamAssassin/.packlist Appending installation info to /var/tmp/spamassassin-root/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod /usr/bin/perl "-MExtUtils::Command" -e mkpath /etc/mail/spamassassin mkdir /etc/mail/spamassassin: Permission denied at /usr/lib/perl5/5.8.8/ExtUtils/Command.pm line 259 make: [conf__install] Error 13 (ignored) /usr/bin/perl -MFile::Copy -e "copy(q{rules/local.cf}, q{/etc/mail/spamassassin/local.cf}) unless -f q{/etc/mail/spamassassin/local.cf}" /usr/bin/perl -MFile::Copy -e "copy(q{rules/init.pre}, q{/etc/mail/spamassassin/init.pre}) unless -f q{/etc/mail/spamassassin/init.pre}" /usr/bin/perl -MFile::Copy -e "copy(q{rules/v310.pre}, q{/etc/mail/spamassassin/v310.pre}) unless -f q{/etc/mail/spamassassin/v310.pre}" /usr/bin/perl -MFile::Copy -e "copy(q{rules/v312.pre}, q{/etc/mail/spamassassin/v312.pre}) unless -f q{/etc/mail/spamassassin/v312.pre}" /usr/bin/perl -MFile::Copy -e "copy(q{rules/v320.pre}, q{/etc/mail/spamassassin/v320.pre}) unless -f q{/etc/mail/spamassassin/v320.pre}" /usr/bin/perl "-MExtUtils::Command" -e mkpath /usr/share/spamassassin mkdir /usr/share/spamassassin: Permission denied at /usr/lib/perl5/5.8.8/ExtUtils/Command.pm line 259 make: [data__install] Error 13 (ignored) /usr/bin/perl -e "map unlink, </usr/share/spamassassin/*>" /usr/bin/perl build/preprocessor -Mvars -DVERSION="3.002005" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin" -DLOCAL_RULES_DIR="/etc/mail/spamassassin" -DLOCAL_STATE_DIR="/var/lib/spamassassin" -DINSTALLSITELIB="/usr/lib/perl5/site_perl/5.8.8" -DCONTACT_ADDRESS="the administrator of that system" -m644 -Irules -O/usr/share/spamassassin 10_default_prefs.cf 20_advance_fee.cf 20_body_tests.cf 20_compensate.cf 20_dnsbl_tests.cf 20_drugs.cf 20_dynrdns.cf 20_fake_helo_tests.cf 20_head_tests.cf 20_html_tests.cf 20_imageinfo.cf 20_meta_tests.cf 20_net_tests.cf 20_phrases.cf 20_porn.cf 20_ratware.cf 20_uri_tests.cf 20_vbounce.cf 23_bayes.cf 25_accessdb.cf 25_antivirus.cf 25_asn.cf 25_dcc.cf 25_dkim.cf 25_domainkeys.cf 25_hashcash.cf 25_pyzor.cf 25_razor2.cf 25_replace.cf 25_spf.cf 25_textcat.cf 25_uribl.cf 30_text_de.cf 30_text_fr.cf 30_text_it.cf 30_text_nl.cf 30_text_pl.cf 30_text_pt_br.cf 50_scores.cf 60_awl.cf 60_shortcircuit.cf 60_whitelist.cf 60_whitelist_dk.cf 60_whitelist_dkim.cf 60_whitelist_spf.cf 60_whitelist_subject.cf 72_active.cf 72_removed.cf user_prefs.template languages sa-update-pubkey.txt Cannot open /usr/share/spamassassin/10_default_prefs.cf: No such file or directory at build/preprocessor line 127. make: *** [data__install] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.19547 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.19547 (%install) All the paths above do not reference $RPM_BUILD_ROOT. I did some investigation and downgraded ExtUtils::MakeMaker until it started working again. I'll attach a diff of Makefiles generated with 6.42 (which works) and 6.43 (which doesn't). I've no idea if this issue is with MakeMaker or the SA Makefile.PL implementation, but Makefile.PL code appears to think that MakeMaker doesn't support DESTDIR in the newer versions. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
| Free Forum Powered by Nabble | Forum Help |