Hi,
I'm facing a bug when trying to install a perl module from CPAN, which
requires the installation of Module::Build first.
This bug is apparently not new:
http://rt.cpan.org/Public/Bug/Display.html?id=19406. And until now, I
was not able to find a workaround. Setting the environment variables
LANG or LC_ALL to C (tips I could find on internet) did not correct
anything.
The problem is the following: if you type
> cpan Module::Build
... After a while, you get:
Running make test
/usr/bin/perl Build --makefile_env_macros 1 test
t/basic...........ok
t/compat..........ok 2/60Couldn't run Build.PL: Argument list too long
at /root/.cpan/build/Module-Build-0.2801/blib/lib/Module/Build/Compat.pm
line 200.
# Failed test (t/compat.t at line 180)
t/compat..........NOK 3# Failed test (t/compat.t at line 181)
t/compat..........NOK 4make[1]: *** No targets specified and no makefile
found. Stop.
# Failed test (t/compat.t at line 56)
t/compat..........NOK 5make[1]: *** No rule to make target `test'.
Stop.
# Failed test (t/compat.t at line 63)
t/compat..........NOK 6# Failed test (t/compat.t at line 64)
t/compat..........NOK 7# 'MAKE TEST
# MAKE[1]: ENTERING DIRECTORY
`/ROOT/.CPAN/BUILD/MODULE-BUILD-0.2801/T/_TMP/SIMPLE'
# MAKE[1]: LEAVING DIRECTORY
`/ROOT/.CPAN/BUILD/MODULE-BUILD-0.2801/T/_TMP/SIMPLE'
# '
# doesn't match '(?-xism:DONE\.|SUCCESS)'
make[1]: *** No rule to make target `realclean'. Stop.
# Failed test (t/compat.t at line 66)
t/compat..........NOK 8make: *** [test] Interrupt
... And at the end, the module cannot be installed:
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------------------
-------
t/compat.t 30 7680 60 30 3-10 13-20 38 41 43 45-46 48-55 59
3 tests and 31 subtests skipped.
Failed 1/21 test scripts. 30/670 subtests failed.
Files=21, Tests=670, 47 wallclock secs (30.05 cusr + 16.79 csys = 46.84
CPU) Failed 1/21 test programs. 30/670 subtests failed.
make: *** [test] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
This problem is specific to Redhat. I did the same job under FreeBSD 6.1
just before, without any problem.
Does anyone have an idea how I can install this Module? Is there maybe
an RPM package in order to install Module::Build?
Thanks!
----------------------------------
Philippe Lang, Ing. Dipl. EPFL
Attik System
rte de la Fonderie 2
1700 Fribourg
Switzerland
http://www.attiksystem.ch
Tel: +41 (26) 422 13 75
Fax: +41 (26) 422 13 76
I've just started to dabble with packaging RPMs from CPAN modules and
making them available for download (see http://rpm.mag-sol.com/) This
had brought up a number of questions that people on this list would
probably be best placed to answer.
1/ Currently I've been using cpan2rpm to build the RPMs. Are there any
better tools out there? What do you use to create RPMs from CPAN
distributions?
2/ Are there any good tools for building web pages from RPMs. I've
played with rpm2html but I don't want to my web pages to look like
it's still 1998. Something that interfaces with the Template Toolkit
would be great, and I'd be happy to write that if it doesn't already
exist.
3/ I assume there are standards that define how CPAN modules should be
packaged for use with Fedora (I'm largely targeting Fedora - if the
RPMs work with other distributions then that's a bonus). Are they
documented somewhere?
Any advice or recommendations would be much appreciated.
Cheers,
Dave...
--
Site: http://dave.org.uk/
Blog: http://blog.dave.org.uk/
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194772
Summary: spamassassin --exit-code always exits with exit code 0
Product: Fedora Core
Version: fc5
Platform: All
OS/Version: Linux
Status: NEW
Severity: high
Priority: normal
Component: spamassassin
AssignedTo: wtogami(a)redhat.com
ReportedBy: pavel1r(a)gmail.com
CC: fedora-perl-devel-
list@redhat.com,felicity@kluge.net,jm@jmason.org,parkerm
@pobox.com,reg+redhat@sidney.com,wtogami@redhat.com
Description of problem:
running spamassassin --exit-code always exits with 0, even if it marks message
as spam.
Version-Release number of selected component (if applicable):
spamassassin-3.1.3-1.fc5
How reproducible:
Always.
Steps to Reproduce:
1. run, for example following command: "cat
/usr/share/doc/spamassassin-3.1.3/sample-spam.txt | /usr/bin/spamassassin
--exit-code || echo spam". You will see, that header X-Spam-Flag: YES is added
to message, but "echo spam" is not invoked
2.
3.
Actual results:
Expected results:
Additional info:
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194706
Summary: perl-XML-SAX fails to build in mock
Product: Fedora Core
Version: devel
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: normal
Component: perl-XML-SAX
AssignedTo: jvdias(a)redhat.com
ReportedBy: michael(a)knox.net.nz
CC: fedora-perl-devel-list@redhat.com,jkeating@redhat.com
This package fails to build in mock. build.log is attached.
------- Additional Comments From michael(a)knox.net.nz 2006-06-09 17:55 EST -------
Created an attachment (id=130865)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=130865&action=view)
Matt Domsch's build log
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Tracker bug for BuildRequires fixes
Alias: BuildReqBlocker
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191529
michael(a)knox.net.nz changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |194706
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Review Request: perl-Spreadsheet-ParseExcel
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191350
mpeters(a)mac.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |CLOSED
Resolution| |NEXTRELEASE
------- Additional Comments From mpeters(a)mac.com 2006-06-08 01:51 EST -------
imported, owners list updated, branched, built for FC-4/5 and rawhide
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194290
Summary: CVE-2006-2447 spamassassin arbitrary command execution
Product: Fedora Core
Version: fc5
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: normal
Component: spamassassin
AssignedTo: wtogami(a)redhat.com
ReportedBy: bressers(a)redhat.com
CC: fedora-perl-devel-
list@redhat.com,felicity@kluge.net,jm@jmason.org,parkerm
@pobox.com,reg+redhat@sidney.com,security-response-
team@redhat.com,wtogami@redhat.com
+++ This bug was initially created as a clone of Bug #193865 +++
CVE-2006-2447 spamassassin arbitrary command execution
If spamd is run with the
"-v" / "--vpopmail" switch, AND with the "-P" / "--paranoid" switch
It becomes possible to execute arbitrary commands as the user spamd is
running as.
This issue is mitigated by the fact that no imap servers as shipped
with RHEL support vpopmail. These options are also not the default
spamd options when it is started as a service.
This issue should also affect FC4
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169236
Summary: New version of SpamAssassin available (3.1.0)
Product: Fedora Core
Version: fc4
Platform: All
URL: http://svn.apache.org/repos/asf/spamassassin/branches/3.
1/UPGRADE
OS/Version: Linux
Status: NEW
Severity: normal
Priority: normal
Component: spamassassin
AssignedTo: wtogami(a)redhat.com
ReportedBy: milan.kerslager(a)pslib.cz
CC: fedora-perl-devel-
list@redhat.com,felicity@kluge.net,jm@jmason.org,parkerm
@pobox.com,reg+redhat@sidney.com,wtogami@redhat.com
New SpamAssassin 3.1.0 introduces a lot of changes (mostly move to plugins).
Will be there a new fersion for FC4 or 3.1.x is supposed to be in FC5 only? Are
there some issues for FC4?
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178580
Summary: /etc/sysconfig/spamassasin is always modified
Product: Fedora Core
Version: devel
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: normal
Component: spamassassin
AssignedTo: wtogami(a)redhat.com
ReportedBy: wtogami(a)redhat.com
CC: fedora-perl-devel-
list@redhat.com,felicity@kluge.net,jm@jmason.org,parkerm
@pobox.com,reg+redhat@sidney.com,wtogami@redhat.com
QA discovered that /etc/sysconfig/spamassasin is being replaced during every
package intallation or upgrade.
# -a and --auto-whitelist options were removed from 3.0.0
# prevent service startup failure
perl -p -i -e 's/(["\s]-\w+)a/$1/ ; s/(["\s]-)a(\w+)/$1$2/ ; s/(["\s])-a\b/$1/'
/etc/sysconfig/spamassassin
perl -p -i -e 's/ --auto-whitelist//' /etc/sysconfig/spamassassin
Since FC3 spamassassin.spec %post contained this to remove user added options
during an upgrade from pre-3.0 SA that caused the new version to fail. QA
discovered that this perl syntax actually creates another file and deletes the
original file. This means that even if no change happens, the file has a
different timestamp and selinux security context.
Impact:
Not much, but it should be fixed some time in the future.
Fix:
This probably involves testing before doing the modification in order to avoid
an unnecessary replacement. In the replacement case chcon is needed in order to
maintain the correct selinux context.
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194146
Summary: perl fails to build in mock
Product: Fedora Core
Version: devel
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: normal
Component: perl
AssignedTo: jvdias(a)redhat.com
ReportedBy: michael(a)knox.net.nz
QAContact: dkl(a)redhat.com
CC: fedora-perl-devel-list@redhat.com,jkeating@redhat.com
This package fails to build in mock. build.log is attached.
------- Additional Comments From michael(a)knox.net.nz 2006-06-05 18:43 EST -------
Created an attachment (id=130552)
--> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=130552&action=view)
Matt Domsch's build log
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.