With the attached patch and building with ABI=32 make lilypond the tools are built and the lilypond binary appears to build. However, the overall build process dies with font-related errors:
... Renaming input to: `/home/lilypond/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/input/regression/predefined-fretboards.ly'] Interpreting music... elapsed time: 0.01 seconds Element count 15 (spanners 5) Preprocessing graphical objects... Grob count 21[sans_4.5966796875][sans_3.25][sans_2.318359375] (process:2929): Pango-WARNING **: Error loading GSUB table 57005 [sans_1.9326171875]GLib: Cannot convert message: Could not open converter from 'UTF-8' to 'ANSI_X3.4-1968' (process:2929): Pango-CRITICAL **: No fonts found: This probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org (process:2929): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='latin' (process:2929): Pango-CRITICAL **: pango_fc_font_lock_face: assertion `PANGO_IS_FC_FONT (font)' failed
diff --git a/gub/cross.py b/gub/cross.py index a0ed756..215f1c3 100644 --- a/gub/cross.py +++ b/gub/cross.py @@ -21,8 +21,9 @@ class AutoBuild (build.AutoBuild): + misc.append_path (os.environ.get ('LIBRARY_PATH', '')), 'CPLUS_INCLUDE_PATH': '%(tools_prefix)s/include' + misc.append_path (os.environ.get ('CPLUS_INCLUDE_PATH', '')), - 'LD_LIBRARY_PATH': '%(tools_prefix)s/lib' - + misc.append_path (os.environ.get ('LD_LIBRARY_PATH', '')), +# appears to break compiling +# 'LD_LIBRARY_PATH': '%(tools_prefix)s/lib' +# + misc.append_path (os.environ.get ('LD_LIBRARY_PATH', '')), 'PATH': '%(cross_prefix)s/bin:%(tools_prefix)s/bin:' + os.environ['PATH'], } dict.update (env) diff --git a/gub/target.py b/gub/target.py index 31a606c..45f0aef 100644 --- a/gub/target.py +++ b/gub/target.py @@ -132,8 +132,9 @@ cd %(builddir)s && chmod +x %(configure_binary)s && %(configure_command_native)s 'LIBRARY_PATH': '', 'LDFLAGS': '', 'LD': '%(toolchain_prefix)sld', - 'LD_LIBRARY_PATH': '%(tools_prefix)s/lib' - + misc.append_path (os.environ.get ('LD_LIBRARY_PATH', '')), +# appears to break compiling +# 'LD_LIBRARY_PATH': '%(tools_prefix)s/lib' +# + misc.append_path (os.environ.get ('LD_LIBRARY_PATH', '')), 'NM': '%(toolchain_prefix)snm', 'PKG_CONFIG_PATH': '%(system_prefix)s/lib/pkgconfig', 'PATH': '%(cross_prefix)s/bin:%(tools_prefix)s/bin:' + os.environ['PATH'], diff --git a/gub/tools.py b/gub/tools.py index 71333e8..1b915b4 100644 --- a/gub/tools.py +++ b/gub/tools.py @@ -28,8 +28,9 @@ class AutoBuild (build.AutoBuild): return misc.join_lines (''' CFLAGS=-I%(system_prefix)s/include LDFLAGS=-L%(system_prefix)s/lib -LD_LIBRARY_PATH=%(system_prefix)s/lib ''') +# appears to break compiling +#LD_LIBRARY_PATH=%(system_prefix)s/lib ## ugh: prefix= will trigger libtool relinks. def install_command (self):
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel