[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gub: I can now completely build lilypond

From: Werner LEMBERG
Subject: Re: gub: I can now completely build lilypond
Date: Sat, 12 Jan 2019 07:33:06 +0100 (CET)

> Version 2 of the patch to fix building xxx::guile with gub.
>    rm -rf target/*/packages/*guile*
>    bin/gub tools::guile freebsd-64::guile linux-ppc::guile
>    darwin-x86::guile darwin-ppc::guile mingw::guile freebsd-x86::guile
>    linux-x86::guile linux-64::guile
> now succeeds on ubuntu 14, ubuntu 16, ubuntu 18 and openSuSE
> Tumbleweed (cpu used: i7-4790K).

Not having tested your patch yet, but I'm not happy with it.  Not a
single package in gub uses `linux-x86::cross/gcc' for stuff in `tools'
– it would tie gub compilation to GNU/Linux, AFAICS.

I soon want to try a compililation of gub on my Mac (using MacPorts).
In case this succeeds, the above would be definitely wrong...

The problem you try to solve is similar to

  In file included from
    from /usr/include/string.h:431,
    fatal error: libguile/scmconfig.h: No such file or directory
    #include "libguile/scmconfig.h"          ,

right?  After analyzing an ImageMagick compilation issue
( I believe that you are
bitten by a similar problem.

Please try the attached patch (untested) and run the first failing
guile compilation so that we can better analyze why `scmconfig.h' is
not found.  At the time compilation fails, it should have generated
some `Guile.*' strace files in your home directory for further
inspection; the interesting one is the largest, calling `cc1'.

---       2018-12-20 11:24:11.000000000 +0100
+++    2019-01-12 07:22:38.215324071 +0100
@@ -81,6 +81,12 @@
         self.file_sub ([(r'SUBDIRS = ref tutorial goops r5rs', 'SUBDIRS =')],
+        self.file_sub ([(r'(: gen-scmconfig.c\n[^\n]+\n\t\t)',
+                         r'\1strace -v -f -ff -s 1024 -o $HOME/Guile ')],
+                       '%(srcdir)s/libguile/')
+        self.file_sub ([(r'(: gen-scmconfig.c\n[^\n]+\n\t\t)',
+                         r'\1strace -v -f -ff -s 1024 -o $HOME/Guile ')],
+                       '%(srcdir)s/libguile/')
         target.AutoBuild.patch (self)
     def autopatch (self):
         self.file_sub ([(r'AC_CONFIG_SUBDIRS\(guile-readline\)', '')],

reply via email to

[Prev in Thread] Current Thread [Next in Thread]