After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795590 - building branch 1.15 of gstreamer using cerbero fails at libffi build
building branch 1.15 of gstreamer using cerbero fails at libffi build
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
unspecified
Other Windows
: Normal major
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-26 22:00 UTC by black_13
Modified: 2018-04-30 11:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description black_13 2018-04-26 22:00:59 UTC
$ ./cerbero-uninstalled build gstreamer-1.0
WARNING: Using default configuration because C:/MinGW/msys/1.0/home/james.osburn/.cerbero/cerbero.cbc is missing
Building the following recipes: mingw-runtime gettext libiconv libffi zlib glib gtk-doc-lite gstreamer-1.0
[(1/8) mingw-runtime -> already built ]
[(2/8) gettext -> already built ]
[(3/8) libiconv -> already built ]
[(4/8) libffi -> fetch ]
[(4/8) libffi -> extract ]
[(4/8) libffi -> configure ]
[(4/8) libffi -> compile ]
Running command 'make -j8'
MAKE i686-pc-mingw32 : 0 * all-all
make[1]: Entering directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32'
make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501  -fexceptions' 'CXXFLAGS=-Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501' 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_PROGRAM=/usr/bin/install -c' 'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' 'LDFLAGS=-Lc:/Temp/cerbero/build/dist/windows_x86_64/lib ' 'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=make' 'MAKEINFO=/bin/sh /c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/missing makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' 'exec_prefix=/c/Temp/cerbero/build/dist/windows_x86_64' 'infodir=/c/Temp/cerbero/build/dist/windows_x86_64/share/info' 'libdir=/c/Temp/cerbero/build/dist/windows_x86_64/lib' 'mandir=/c/Temp/cerbero/build/dist/windows_x86_64/share/man' 'prefix=/c/Temp/cerbero/build/dist/windows_x86_64' 'AR=x86_64-w64-mingw32-ar' 'AS=x86_64-w64-mingw32-as' 'CC=x86_64-w64-mingw32-gcc' 'CXX=x86_64-w64-mingw32-g++' 'LD=x86_64-w64-mingw32-ld' 'NM=x86_64-w64-mingw32-nm' 'RANLIB=x86_64-w64-mingw32-ranlib' 'DESTDIR=' all-recursive
make[2]: Entering directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32'
Making all in include
make[3]: Entering directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/include'
Making all in testsuite
make[3]: Entering directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/testsuite'
Making all in man
make[3]: Entering directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/man'
Making all in doc
make[3]: Entering directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/doc'
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd ../../doc && \
        rm -rf $backupdir && mkdir $backupdir && \
        if (/bin/sh /c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/missing makeinfo   --version) >/dev/null 2>&1; then \
          for f in ../../doc/libffi.info ../../doc/libffi.info-[0-9] ../../doc/libffi.info-[0-9][0-9] ../../doc/libffi.i[0-9] ../../doc/libffi.i[0-9][0-9]; do \
            if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
          done; \
        else :; fi && \
        cd "$am__cwd"; \
        if /bin/sh /c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/missing makeinfo     -I ../../doc \
         -o ../../doc/libffi.info ../../doc/libffi.texi; \
        then \
          rc=0; \
          CDPATH="${ZSH_VERSION+.}:" && cd ../../doc; \
        else \
          rc=$?; \
          CDPATH="${ZSH_VERSION+.}:" && cd ../../doc && \
          $restore $backupdir/* `echo "./../../doc/libffi.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
' in @synindex.i.texi:9: Unknown index `fn' and/or `cp
' in @synindex.i.texi:10: Unknown index `vr' and/or `cp
' in @synindex.i.texi:11: Unknown index `ky' and/or `cp
' in @synindex.i.texi:12: Unknown index `pg' and/or `cp
' in @synindex.i.texi:13: Unknown index `tp' and/or `cp
makeinfo: Removing output file `../../doc/libffi.info' due to errors; use --force to preserve.
make[3]: *** [../../doc/libffi.info] Error 1
make[3]: Leaving directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32/doc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/Temp/cerbero/build/sources/windows_x86_64/libffi-3.99999/x86_64-w64-mingw32'
make: *** [all-all] Error 2

Recipe 'libffi' failed at the build step 'compile'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
4
***** Error running 'build' command:
Comment 1 Tim-Philipp Müller 2018-04-29 11:08:02 UTC
Does adding this to recipes/libffi.recipe help?

diff --git a/recipes/libffi.recipe b/recipes/libffi.recipe
index 8d22ee81..52541699 100644
--- a/recipes/libffi.recipe
+++ b/recipes/libffi.recipe
@@ -34,6 +34,8 @@ class Recipe(recipe.Recipe):
     def prepare(self):
         self.libffidir = os.path.join('lib', 'libffi-%s' % self.version)
 
+        self.configure_options += ' --disable-docs '
+
         if needs_xcode8_sdk_workaround(self.config):
             self.append_env['ac_cv_func_mkostemp'] = 'no'
Comment 2 Tim-Philipp Müller 2018-04-30 11:10:35 UTC
commit b596706f4d6d4826e0fac3b9618cb18599fd1e43
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Mon Apr 30 12:09:24 2018 +0100

    libffi: disable docs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795590