Cerbero Bootstrap fails on OSX

Edward Hervey bilboed at bilboed.com
Fri Jul 4 01:44:58 PDT 2014


Hi,

On Fri, 2014-07-04 at 10:35 +0200, Urs Hofer wrote:
> I guess it is probably because of this issue:
> 
> From: http://kaspermunck.github.io/2014/03/fixing-clang-error/
> 
> > The Apple LLVM compiler in Xcode 5.1 treats unrecognized command-line options as errors. This issue has been seen when building both Python native extensions and Ruby Gems, where some invalid compiler options are currently specified.
> > 
> 
> I worked around by changing 
> 
> arch_cflags += ' -Wno-error '

  Wouldn't it make more sense to detect Xcode 5.1 and add the proposed
flag instead
(-Wno-error=unused-command-line-argument-hard-error-in-future)

   Edward

> 
> in darwin.config
> 
> 
> best
> Urs
> 
> 
> 
> 
> Am 30.06.2014 um 10:32 schrieb Edward Hervey <bilboed at bilboed.com>:
> 
> > Hi,
> > 
> >  For some reason ... it's using -Werror, which is making all
> > compilation warnings fatal.
> >  Are you forcing specific CFLAGS ?
> > 
> >     Edward
> > 
> > On Mon, 2014-06-30 at 10:24 +0200, Urs Hofer wrote:
> >> Thanks, Andoni…
> >> 
> >> 
> >> 
> >> 
> >> Now, compilation stops at the recipe m4:
> >> 
> >> 
> >> 
> >> 
> >>> In file included from regex.c:70:
> >>> ./regex_internal.c:1397:11: warning: comparison of unsigned
> >>> expression < 0 is always false [-Wtautological-compare]
> >>>  if (idx < 0 || idx >= set->nelem)
> >>>      ~~~ ^ ~
> >>> In file included from regex.c:71:
> >>> ./regcomp.c:667:7: warning: expression result unused
> >>> [-Wunused-value]
> >>>      lock_fini (dfa->lock);
> >>>      ^~~~~~~~~~~~~~~~~~~~~
> >>> ./regex_internal.h:62:26: note: expanded from macro 'lock_fini'
> >>> # define lock_fini(lock) glthread_lock_destroy (&(lock))
> >>>                         ^
> >>> ./glthread/lock.h:778:38: note: expanded from macro
> >>> 'glthread_lock_destroy'
> >>> # define glthread_lock_destroy(NAME) 0
> >>>                                     ^
> >>> In file included from regex.c:71:
> >>> ./regcomp.c:812:7: warning: expression result unused
> >>> [-Wunused-value]
> >>>      lock_fini (dfa->lock);
> >>>      ^~~~~~~~~~~~~~~~~~~~~
> >>> ./regex_internal.h:62:26: note: expanded from macro 'lock_fini'
> >>> # define lock_fini(lock) glthread_lock_destroy (&(lock))
> >>>                         ^
> >>> ./glthread/lock.h:778:38: note: expanded from macro
> >>> 'glthread_lock_destroy'
> >>> # define glthread_lock_destroy(NAME) 0
> >>>                                     ^
> >>> In file included from regex.c:71:
> >>> ./regcomp.c:845:7: warning: expression result unused
> >>> [-Wunused-value]
> >>>      lock_fini (dfa->lock);
> >>>      ^~~~~~~~~~~~~~~~~~~~~
> >>> ./regex_internal.h:62:26: note: expanded from macro 'lock_fini'
> >>> # define lock_fini(lock) glthread_lock_destroy (&(lock))
> >>>                         ^
> >>> ./glthread/lock.h:778:38: note: expanded from macro
> >>> 'glthread_lock_destroy'
> >>> # define glthread_lock_destroy(NAME) 0
> >>>                                     ^
> >>> In file included from regex.c:72:
> >>> ./regexec.c:247:3: warning: expression result unused
> >>> [-Wunused-value]
> >>>  lock_lock (dfa->lock);
> >>>  ^~~~~~~~~~~~~~~~~~~~~
> >>> ./regex_internal.h:63:26: note: expanded from macro 'lock_lock'
> >>> # define lock_lock(lock) glthread_lock_lock (&(lock))
> >>>                         ^
> >>> ./glthread/lock.h:776:35: note: expanded from macro
> >>> 'glthread_lock_lock'
> >>> # define glthread_lock_lock(NAME) 0
> >>>                                  ^
> >>> In file included from regex.c:72:
> >>> ./regexec.c:254:3: warning: expression result unused
> >>> [-Wunused-value]
> >>>  lock_unlock (dfa->lock);
> >>>  ^~~~~~~~~~~~~~~~~~~~~~~
> >>> ./regex_internal.h:64:28: note: expanded from macro 'lock_unlock'
> >>> # define lock_unlock(lock) glthread_lock_unlock (&(lock))
> >>>                           ^
> >>> ./glthread/lock.h:777:37: note: expanded from macro
> >>> 'glthread_lock_unlock'
> >>> # define glthread_lock_unlock(NAME) 0
> >>>                                    ^
> >>> In file included from regex.c:72:
> >>> ./regexec.c:231:13: warning: unused variable
> >>> 'dfa' [-Wunused-variable]
> >>>  re_dfa_t *dfa = preg->buffer;
> >>>            ^
> >>> ./regexec.c:433:3: warning: expression result unused
> >>> [-Wunused-value]
> >>>  lock_lock (dfa->lock);
> >>>  ^~~~~~~~~~~~~~~~~~~~~
> >>> ./regex_internal.h:63:26: note: expanded from macro 'lock_lock'
> >>> # define lock_lock(lock) glthread_lock_lock (&(lock))
> >>>                         ^
> >>> ./glthread/lock.h:776:35: note: expanded from macro
> >>> 'glthread_lock_lock'
> >>> # define glthread_lock_lock(NAME) 0
> >>>                                  ^
> >>> In file included from regex.c:72:
> >>> ./regexec.c:497:3: warning: expression result unused
> >>> [-Wunused-value]
> >>>  lock_unlock (dfa->lock);
> >>>  ^~~~~~~~~~~~~~~~~~~~~~~
> >>> ./regex_internal.h:64:28: note: expanded from macro 'lock_unlock'
> >>> # define lock_unlock(lock) glthread_lock_unlock (&(lock))
> >>>                           ^
> >>> ./glthread/lock.h:777:37: note: expanded from macro
> >>> 'glthread_lock_unlock'
> >>> # define glthread_lock_unlock(NAME) 0
> >>>                                    ^
> >>> In file included from regex.c:72:
> >>> ./regexec.c:422:13: warning: unused variable
> >>> 'dfa' [-Wunused-variable]
> >>>  re_dfa_t *dfa = bufp->buffer;
> >>>            ^
> >>> 10 warnings generated.
> >>> depbase=`echo rename.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT rename.o -MD -MP -MF $depbase.Tpo -c -o rename.o rename.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo secure_getenv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT secure_getenv.o -MD -MP -MF $depbase.Tpo -c -o secure_getenv.o secure_getenv.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo stat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT stat.o -MD -MP -MF $depbase.Tpo -c -o stat.o stat.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo strchrnul.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT strchrnul.o -MD -MP -MF $depbase.Tpo -c -o strchrnul.o strchrnul.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo strerror.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT strerror.o -MD -MP -MF $depbase.Tpo -c -o strerror.o strerror.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo strerror-override.o | sed 's|[^/]*$|.deps/&|;s|\.o
> >>> $||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT strerror-override.o -MD -MP -MF $depbase.Tpo -c -o strerror-override.o strerror-override.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo strstr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT strstr.o -MD -MP -MF $depbase.Tpo -c -o strstr.o strstr.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo vasnprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT vasnprintf.o -MD -MP -MF $depbase.Tpo -c -o vasnprintf.o vasnprintf.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> depbase=`echo vasprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang  -I.     -Wall -g -O2 -arch x86_64 -m64
> >>> -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT vasprintf.o -MD -MP -MF $depbase.Tpo -c -o vasprintf.o vasprintf.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> rm -f libm4.a
> >>> ar cru libm4.a gl_avltree_oset.o binary-io.o c-ctype.o c-stack.o
> >>> c-strcasecmp.o c-strncasecmp.o clean-temp.o cloexec.o close-stream.o
> >>> closein.o closeout.o dirname.o basename.o dirname-lgpl.o
> >>> basename-lgpl.o stripslash.o execute.o exitfail.o fatal-signal.o
> >>> fd-hook.o fd-safer-flag.o dup-safer-flag.o filenamecat.o
> >>> filenamecat-lgpl.o fopen-safer.o freading.o gl_linkedhash_list.o
> >>> gl_list.o localcharset.o glthread/lock.o malloca.o math.o memchr2.o
> >>> gl_oset.o pipe2.o pipe2-safer.o printf-frexp.o printf-frexpl.o
> >>> progname.o quotearg.o sig-handler.o spawn-pipe.o mkstemp-safer.o
> >>> tempname.o glthread/threadlib.o glthread/tls.o tmpdir.o unistd.o
> >>> dup-safer.o fd-safer.o pipe-safer.o verror.o version-etc.o
> >>> version-etc-fsf.o wait-process.o wctype-h.o xmalloc.o xalloc-die.o
> >>> gl_xlist.o xmalloca.o gl_xoset.o xprintf.o xsize.o xstrndup.o
> >>> xvasprintf.o xasprintf.o asnprintf.o asprintf.o canonicalize-lgpl.o
> >>> error.o fclose.o fflush.o fpending.o fpurge.o freadahead.o fseek.o
> >>> fseeko.o getopt.o getopt1.o isnanf.o isnanl.o lstat.o obstack.o
> >>> open.o printf-args.o printf-parse.o rawmemchr.o readlink.o regex.o
> >>> rename.o secure_getenv.o stat.o strchrnul.o strerror.o
> >>> strerror-override.o strstr.o vasnprintf.o vasprintf.o
> >>> /usr/bin/ranlib: file: libm4.a(binary-io.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(fd-hook.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(gl_list.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(lock.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(math.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(gl_oset.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(sig-handler.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(threadlib.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(tls.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(unistd.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(wctype-h.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(gl_xlist.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(gl_xoset.o) has no symbols
> >>> /usr/bin/ranlib: file: libm4.a(xsize.o) has no symbols
> >>> ranlib libm4.a
> >>> ranlib: file: libm4.a(binary-io.o) has no symbols
> >>> ranlib: file: libm4.a(fd-hook.o) has no symbols
> >>> ranlib: file: libm4.a(gl_list.o) has no symbols
> >>> ranlib: file: libm4.a(lock.o) has no symbols
> >>> ranlib: file: libm4.a(math.o) has no symbols
> >>> ranlib: file: libm4.a(gl_oset.o) has no symbols
> >>> ranlib: file: libm4.a(sig-handler.o) has no symbols
> >>> ranlib: file: libm4.a(threadlib.o) has no symbols
> >>> ranlib: file: libm4.a(tls.o) has no symbols
> >>> ranlib: file: libm4.a(unistd.o) has no symbols
> >>> ranlib: file: libm4.a(wctype-h.o) has no symbols
> >>> ranlib: file: libm4.a(gl_xlist.o) has no symbols
> >>> ranlib: file: libm4.a(gl_xoset.o) has no symbols
> >>> ranlib: file: libm4.a(xsize.o) has no symbols
> >>> rm -f t-charset.alias charset.alias && \
> >>> /bin/sh ./config.charset 'x86_64-apple-darwinx' > t-charset.alias &&
> >>> \
> >>> mv t-charset.alias charset.alias
> >>> rm -f t-ref-add.sed ref-add.sed && \
> >>> sed -e '/^#/d' -e 's/@''PACKAGE''@/m4/g' ref-add.sin > t-ref-add.sed
> >>> && \
> >>> mv t-ref-add.sed ref-add.sed
> >>> rm -f t-ref-del.sed ref-del.sed && \
> >>> sed -e '/^#/d' -e 's/@''PACKAGE''@/m4/g' ref-del.sin > t-ref-del.sed
> >>> && \
> >>> mv t-ref-del.sed ref-del.sed
> >>> Making all in src
> >>> depbase=`echo m4.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> >>> clang    -I../lib -I../lib  -W -Wabi -Waddress
> >>> -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes
> >>> -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align
> >>> -Wchar-subscripts -Wclobbered -Wcomment -Wcomments
> >>> -Wcoverage-mismatch -Wcpp -Wdeprecated -Wdeprecated-declarations
> >>> -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion
> >>> -Wempty-body -Wendif-labels -Wextra -Wformat-contains-nul
> >>> -Wformat-extra-args -Wformat-nonliteral -Wformat-security
> >>> -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object
> >>> -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration
> >>> -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast
> >>> -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op
> >>> -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations
> >>> -Wmissing-field-initializers -Wmissing-include-dirs
> >>> -Wmissing-parameter-type -Wmissing-prototypes -Wmudflap -Wmultichar
> >>> -Wnarrowing -Wnested-externs -Wnonnull -Wnormalized=nfc
> >>> -Wold-style-declaration -Wold-style-definition -Woverflow
> >>> -Woverlength-strings -Woverride-init -Wpacked
> >>> -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith
> >>> -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr
> >>> -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess
> >>> -Wstack-protector -Wstrict-aliasing -Wstrict-overflow
> >>> -Wstrict-prototypes -Wsuggest-attribute=const
> >>> -Wsuggest-attribute=format -Wsuggest-attribute=noreturn
> >>> -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand
> >>> -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized
> >>> -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused
> >>> -Wunused-but-set-parameter -Wunused-but-set-variable
> >>> -Wunused-function -Wunused-label -Wunused-local-typedefs
> >>> -Wunused-macros -Wunused-parameter -Wunused-result -Wunused-value
> >>> -Wunused-variable -Wvarargs -Wvariadic-macros
> >>> -Wvector-operation-performance -Wvla -Wvolatile-register-var
> >>> -Wwrite-strings -Wno-missing-field-initializers
> >>> -fdiagnostics-show-option -funit-at-a-time -Werror -Wall -g -O2
> >>> -arch x86_64 -m64 -Wno-error=format-nonliteral
> >>> -Wno-unused-command-line-argument-hard-error-in-future
> >>> -I/Users/urshofer/cerbero/build-tools/include
> >>> -mmacosx-version-min=10.6
> >>> -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral  -Wno-unused-command-line-argument-hard-error-in-future  -I/Users/urshofer/cerbero/build-tools/include -mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk   -Wno-error=cast-align  -MT m4.o -MD -MP -MF $depbase.Tpo -c -o m4.o m4.c &&\
> >>> mv -f $depbase.Tpo $depbase.Po
> >>> clang: error: unknown warning option
> >>> '-Waggressive-loop-optimizations' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wclobbered' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wcoverage-mismatch'; did you
> >>> mean '-Wpointer-type-mismatch'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wcpp' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wdouble-promotion' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wformat-contains-nul'; did
> >>> you mean '-Wformat-nonliteral'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wfree-nonheap-object' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Winvalid-memory-model' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wjump-misses-init'; did you
> >>> mean '-Wimplicit-int'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wlogical-op'; did you mean
> >>> '-Wlong-long'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wmaybe-uninitialized'; did
> >>> you mean '-Wuninitialized'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wmissing-parameter-type'; did
> >>> you mean '-Wmissing-prototypes'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wmudflap'; did you mean
> >>> '-Wvla'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wnormalized=nfc' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wold-style-declaration'; did
> >>> you mean '-Wout-of-line-declaration'?
> >>> [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Woverride-init'; did you mean
> >>> '-Wover-aligned'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wpacked-bitfield-compat' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wpragmas' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wreturn-local-addr'; did you
> >>> mean '-Wreturn-stack-address'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wsuggest-attribute=const' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wsuggest-attribute=format';
> >>> did you mean '-WNSObject-attribute'?
> >>> [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wsuggest-attribute=noreturn';
> >>> did you mean '-WNSObject-attribute'?
> >>> [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wsuggest-attribute=pure'; did
> >>> you mean '-WNSObject-attribute'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wsync-nand' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wtrampolines' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wunsafe-loop-optimizations';
> >>> did you mean '-Wout-of-line-declaration'?
> >>> [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wunused-but-set-parameter';
> >>> did you mean '-Wunused-parameter'?
> >>> [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option '-Wunused-but-set-variable';
> >>> did you mean '-Wunused-variable'? [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wunused-local-typedefs' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wvarargs' [-Werror,-Wunknown-warning-option]
> >>> clang: error: unknown warning option
> >>> '-Wvector-operation-performance'; did you mean
> >>> '-Wvector-conversions'? [-Werror,-Wunknown-warning-option]
> >>> make[2]: *** [m4.o] Error 1
> >>> make[1]: *** [all-recursive] Error 1
> >>> make: *** [all] Error 2
> >>> Running command 'make'
> >>> 
> >>> 
> >>> Recipe 'm4' 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
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> All the best,
> >> Urs
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> Am 24.06.2014 um 16:11 schrieb Andoni Morales <ylatuya at gmail.com>:
> >> 
> >>> 
> >>> 
> >>> 
> >>> 2014-06-24 14:18 GMT+02:00 Urs Hofer <hoferurs at gmail.com>:
> >>>        Hi all
> >>> 
> >>>        I've checked out cerbero master. Bootstrapping fails
> >>>        on OSX 10.8.5 with the following error:
> >>> 
> >>>> ./cerbero-uninstalled bootstrap
> >>>> WARNING: No bootstrapper for the distro version
> >>>        osx_mountain_lion
> >>>> Downloading
> >>>        https://raw.github.com/miyagawa/cpanminus/master/cpanm
> >>>> Running command 'curl -L
> >>>        https://raw.github.com/miyagawa/cpanminus/master/cpanm
> >>>        -o /var/folders/k3/l9lbshw54bqcck01hf3m_7wc0000gn/T/tmpb1FPPJ '
> >>>>  % Total    % Received % Xferd  Average Speed   Time
> >>>         Time     Time  Current
> >>>>                                 Dload  Upload   Total
> >>>        Spent    Left  Speed
> >>>>  0     0    0     0    0     0      0      0 --:--:--
> >>>         0:00:01 --:--:--     0
> >>>> 100  262k  100  262k    0     0  60594      0  0:00:04
> >>>         0:00:04 --:--:--  152k
> >>>> Running command 'chmod
> >>>        +x /var/folders/k3/l9lbshw54bqcck01hf3m_7wc0000gn/T/tmpb1FPPJ'
> >>>> Running command
> >>>        'sudo /var/folders/k3/l9lbshw54bqcck01hf3m_7wc0000gn/T/tmpb1FPPJ XML::Parser'
> >>>> dyld: DYLD_ environment variables being ignored because
> >>>        main executable (/usr/bin/sudo) is setuid or setgid
> >>>> Password:
> >>>> XML::Parser is up to date. (2.41)
> >>>> Traceback (most recent call last):
> >>>>  File "./cerbero-uninstalled", line 9, in <module>
> >>>>    main()
> >>>>  File "./cerbero/main.py", line 130, in main
> >>>>    Main(sys.argv[1:])
> >>>>  File "./cerbero/main.py", line 55, in __init__
> >>>>    self.run_command()
> >>>>  File "./cerbero/main.py", line 105, in run_command
> >>>>    res = commands.run(command, self.config, self.args)
> >>>>  File "./cerbero/commands/__init__.py", line 78, in run
> >>>>    return _commands[command].run(config, args)
> >>>>  File "./cerbero/commands/bootstrap.py", line 38, in run
> >>>>    bootstrapper.start()
> >>>>  File "./cerbero/bootstrap/osx.py", line 43, in start
> >>>>    self._install_perl_deps()
> >>>>  File "./cerbero/bootstrap/osx.py", line 59, in
> >>>        _install_perl_deps
> >>>>    cpanm_installer.close()
> >>>> AttributeError: 'str' object has no attribute 'close'
> >>>> 
> >>> 
> >>>        Older versions compiled without problems.
> >>> 
> >>> 
> >>> Fix in master now, thanks for reporting the bug 
> >>> 
> >>> 
> >>>        All the best
> >>>        Urs Hofer
> >>>        _______________________________________________
> >>>        gstreamer-devel mailing list
> >>>        gstreamer-devel at lists.freedesktop.org
> >>>        http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >>> 
> >>> 
> >>> 
> >>> -- 
> >>> Andoni Morales Alastruey
> >>> 
> >>> LongoMatch:The Digital Coach
> >>> http://www.longomatch.ylatuya.es
> >>> _______________________________________________
> >>> gstreamer-devel mailing list
> >>> gstreamer-devel at lists.freedesktop.org
> >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >> 
> >> 
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> > -- 
> > Edward Hervey
> > bilboed at bilboed.com
> > 
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Edward Hervey
bilboed at bilboed.com



More information about the gstreamer-devel mailing list