- **Patch**: review --> needs_work
- **Comment**:

Fails make.

~~~

..
out/lexer.cc:6476:21: warning: conversion to 'int' from 'std::streamsize {aka 
long int}' may alter its value [-Wconversion]
   return yyin.gcount();
          ~~~~~~~~~~~^~
./out/parser.cc: In function 'int yyparse(Lily_parser*, scm_unused_struct**)':
./out/parser.cc:2917:12: warning: conversion to 'yytype_int16 {aka short int}' 
from 'int' may alter its value [-Wconversion]
   *yyssp = yystate;
            ^~~~~~~
Making lily/out/lilypond 
Making lily/out/lilypond.1 
Making mf/out/mf2pt1.mem < mp
Making mf/out/emmentaler-11.genpe 
Making mf/out/emmentaler-13.genpe 
Making mf/out/emmentaler-14.genpe 
Making mf/out/emmentaler-16.genpe 
Making mf/out/emmentaler-18.genpe 
Making mf/out/feta18.pfb < mf
Making mf/out/feta-noteheads18.pfb < mf
Making mf/out/feta-flags18.pfb < mf
Making mf/out/feta-alphabet18.pfb < mf
Making mf/out/parmesan18.pfb < mf
Traceback (most recent call last):
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 49, in <module>
    print("%s: %s" % (target, ' '.join(scan_mf(args[0]))))
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 39, in scan_mf
    input_re.sub(lambda m: deps.append(m.group(1)), f.read())
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
Traceback (most recent call last):
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 49, in <module>
    print("%s: %s" % (target, ' '.join(scan_mf(args[0]))))
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 39, in scan_mf
    input_re.sub(lambda m: deps.append(m.group(1)), f.read())
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3337: 
ordinal not in range(128)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3337: 
ordinal not in range(128)
Traceback (most recent call last):
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 49, in <module>
    print("%s: %s" % (target, ' '.join(scan_mf(args[0]))))
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 39, in scan_mf
    input_re.sub(lambda m: deps.append(m.group(1)), f.read())
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3337: 
ordinal not in range(128)
/home/james/lilypond-git/build/.././mf/GNUmakefile:36: recipe for target 
'out/feta-noteheads18.pfb' failed
make[1]: *** [out/feta-noteheads18.pfb] Error 1
make[1]: *** Waiting for unfinished jobs....
/home/james/lilypond-git/build/.././mf/GNUmakefile:36: recipe for target 
'out/feta-alphabet18.pfb' failed
make[1]: *** [out/feta-alphabet18.pfb] Error 1
Traceback (most recent call last):
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 49, in <module>
    print("%s: %s" % (target, ' '.join(scan_mf(args[0]))))
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 39, in scan_mf
    input_re.sub(lambda m: deps.append(m.group(1)), f.read())
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3337: 
ordinal not in range(128)
/home/james/lilypond-git/build/.././mf/GNUmakefile:36: recipe for target 
'out/parmesan18.pfb' failed
make[1]: *** [out/parmesan18.pfb] Error 1
Traceback (most recent call last):
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 49, in <module>
    print("%s: %s" % (target, ' '.join(scan_mf(args[0]))))
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 45, in scan_mf
    total += scan_mf(full_path)
  File "/home/james/lilypond-git/mf/scan-mf-deps.py", line 39, in scan_mf
    input_re.sub(lambda m: deps.append(m.group(1)), f.read())
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3337: 
ordinal not in range(128)
/home/james/lilypond-git/build/.././mf/GNUmakefile:36: recipe for target 
'out/feta18.pfb' failed
make[1]: *** [out/feta18.pfb] Error 1
/home/james/lilypond-git/build/.././mf/GNUmakefile:36: recipe for target 
'out/feta-flags18.pfb' failed
make[1]: *** [out/feta-flags18.pfb] Error 1
/home/james/lilypond-git/build/../stepmake/stepmake/generic-targets.make:6: 
recipe for target 'all' failed
make: *** [all] Error 2

~~~



---

** [issues:#5844] scripts/build/scan-mf-deps: script to generate MF 
dependencies**

**Status:** Started
**Created:** Sat Mar 14, 2020 07:46 PM UTC by Han-Wen Nienhuys
**Last Updated:** Sat Mar 14, 2020 08:46 PM UTC
**Owner:** Han-Wen Nienhuys


Metafont dependency scanning uses advanced GNU Make scripting. By
putting the logic in a Python script, we have a better chance of
moving away from GNU make as a build system.

https://codereview.appspot.com/553700043


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development
    • ... Auto mailings of changes to Lily Issues via Testlilyissues-auto via Automated messages for lilypond development

Reply via email to