Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

CPAN Testers makefile problem

by ambs (Pilgrim)
on Sep 03, 2008 at 18:33 UTC ( [id://708816]=perlquestion: print w/replies, xml ) Need Help??

ambs has asked for the wisdom of the Perl Monks concerning the following question:

Hello, friends.

I am receiving a lot of CPAN testers reports with failures with something like:

Output from '/usr/bin/make': make: Fatal error in reader: Makefile, line 496: Invalid byte sequence
I think I remember having a similar problem some years ago, but now I can't remember what was the problem.

Any hint?

Thanks,

Alberto Simões

Replies are listed 'Best First'.
Re: CPAN Testers makefile problem
by kyle (Abbot) on Sep 03, 2008 at 18:41 UTC

    Could you provide a link to the makefile in question or a clue about what module it's part of? What's on line 496?

    My guess is that the character encoding of the Makefile does not match the character encoding expected by make (but I don't know what either of those encodings are).

      Hi

      I asked for the makefile to a few of the testers, but couldn't get it. But now that you say it... checked the makefile generated on my system and found out the problem. What the heck. All because of the code generating META.yaml, with my name:

      494: $(NOECHO) $(ECHO) 'license: ~' >> META_new.yml 495: $(NOECHO) $(ECHO) 'author: ' >> META_new.yml 496: $(NOECHO) $(ECHO) ' - Alberto Simões <ambs@cpan.org>' > +> META_new.yml 497: $(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMake +r version 6.44' >> META_new.yml 498: $(NOECHO) $(ECHO) 'distribution_type: module' >> META_ne +w.yml
      And, yes, this fails for just a few systems (mainly VMS and Solaris). Solved, in any case. I need to change my name.

      Thanks

      Alberto Simões

        Five Makefile.PL edited. Five Changes files edited. Five .pm files edited. Five $VERSION variables bumped by 0.01. Five make dists. Five modules uploads.

        Alberto Simões

        Its actually a bug in MakeMaker (similar bug happened before for PPM target)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://708816]
Approved by kyle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found