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?


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).


      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 <>' > +> 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.


      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)