Skip to content

Instantly share code, notes, and snippets.

@alitrack
Created May 23, 2020 14:09
Show Gist options
  • Save alitrack/d19132acf7b7a538748d4489925e808e to your computer and use it in GitHub Desktop.
Save alitrack/d19132acf7b7a538748d4489925e808e to your computer and use it in GitHub Desktop.
make[1]: *** [build-only-glib_x86_64-apple-darwin19.3.0] Error 1
uname -a
Darwin Stevens-MBP.lan 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
76375b2bccbbf409aaab44d4fc0cbd017c5a00e3 - Update packages.json & build-matrix.html [5 days ago] [ (HEAD -> master, origin/master, origin/HEAD)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
ProductName: Mac OS X
ProductVersion: 10.15.3
BuildVersion: 19D76
autoconf --version 2>/dev/null | head -1
autoconf (GNU Autoconf) 2.69
automake --version 2>/dev/null | head -1
automake (GNU automake) 1.16.1
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.59)
Target: x86_64-apple-darwin19.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.59)
Target: x86_64-apple-darwin19.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
python --version
Python 3.7.3
perl --version 2>&1 | head -3
This is perl 5, version 18, subversion 4 (v5.18.4) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)
rm -rf '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0'
mkdir -p '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0'
mkdir -p '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2'
mkdir -p '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2.build_'
# disable wine with readonly directory
# see https://github.com/mxe/mxe/issues/841
mkdir -p '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/readonly'
chmod 0555 '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/readonly'
cd '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0' && xz -dc '/Users/steven/mxe/pkg/glib-2.50.2.tar.xz' | tar xf -
cd '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2'
(cd '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2' && patch -p1 -u) < /Users/steven/mxe/src/glib-1-fixes.patch
patching file glib-2.0.pc.in
patching file gio/giomodule.c
patching file glib/glib-init.c
patching file gobject/gtype.c
patching file configure.ac
patching file configure.ac
patching file gio-2.0.pc.in
patching file glib/gmain.c
patching file glib/gthread-win32.c
patching file gio/gdbusaddress.c
patching file m4macros/glib-gettext.m4
patching file gio/Makefile.am
patching file gio/giomodule.c
patching file gio/gdbusauth.c
patching file gio/gdbusmessage.c
# native build for glib-tools
cd '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2' && NOCONFIGURE=true ./autogen.sh
You don't have gtk-doc installed, and thus won't be able to generate the documentation.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4macros ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4macros'.
libtoolize: copying file 'm4macros/libtool.m4'
libtoolize: copying file 'm4macros/ltoptions.m4'
libtoolize: copying file 'm4macros/ltsugar.m4'
libtoolize: copying file 'm4macros/ltversion.m4'
libtoolize: copying file 'm4macros/lt~obsolete.m4'
autoreconf: running: /Users/steven/mxe/usr/x86_64-apple-darwin19.3.0/bin/autoconf --force
autoreconf: running: /Users/steven/mxe/usr/x86_64-apple-darwin19.3.0/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:112: installing './compile'
configure.ac:66: installing './missing'
gio/Makefile.am:108: warning: source file 'gvdb/gvdb-reader.c' is in a subdirectory,
gio/Makefile.am:108: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
gio/Makefile.am:774: warning: source file 'gvdb/gvdb-builder.c' is in a subdirectory,
gio/Makefile.am:774: but option 'subdir-objects' is disabled
gio/Makefile.am:791: warning: source file 'gvdb/gvdb-builder.c' is in a subdirectory,
gio/Makefile.am:791: but option 'subdir-objects' is disabled
gio/Makefile.am: installing './depcomp'
gio/tests/Makefile.am:237: warning: source file '$(top_srcdir)/gio/gdbusdaemon.c' is in a subdirectory,
gio/tests/Makefile.am:237: but option 'subdir-objects' is disabled
gio/tests/Makefile.am:235: warning: source file '$(top_builddir)/gio/gdbus-daemon-generated.c' is in a subdirectory,
gio/tests/Makefile.am:235: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gallocator.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gcache.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gcompletion.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/grel.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/Makefile.am:95: warning: source file 'deprecated/gthread-deprecated.c' is in a subdirectory,
glib/Makefile.am:95: but option 'subdir-objects' is disabled
glib/tests/Makefile.am:193: warning: source file '../../glib/gwakeup.c' is in a subdirectory,
glib/tests/Makefile.am:193: but option 'subdir-objects' is disabled
glib/tests/Makefile.am:229: warning: source file '../../glib/gwakeup.c' is in a subdirectory,
glib/tests/Makefile.am:229: but option 'subdir-objects' is disabled
autoreconf: Leaving directory `.'
cd '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2.build_' && '/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2/configure' --host='x86_64-apple-darwin19.3.0' --build='x86_64-apple-darwin19.3.0' --prefix='/Users/steven/mxe/usr/x86_64-apple-darwin19.3.0' --enable-static --disable-shared ac_cv_prog_HAVE_DOXYGEN="false" --enable-doc=no --enable-gtk-doc=no --enable-gtk-doc-html=no --enable-gtk-doc-pdf=no --{docdir,infodir,mandir,with-html-dir}='/Users/steven/mxe/tmp-glib-x86_64-apple-darwin19.3.0/glib-2.50.2.build_.sink' --disable-doxygen --enable-regex --disable-threads --disable-selinux --disable-inotify --disable-fam --disable-xattr --disable-dtrace --disable-libmount --with-pcre=internal PKG_CONFIG='/Users/steven/mxe/usr/x86_64-apple-darwin19.3.0/bin/pkgconf' CPPFLAGS='-I/Users/steven/mxe/usr/x86_64-apple-darwin19.3.0.gnu/include' LDFLAGS='-L/Users/steven/mxe/usr/x86_64-apple-darwin19.3.0.gnu/lib'
configure: WARNING: unrecognized options: --enable-doc, --disable-doxygen, --enable-regex, --disable-threads
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '501' is supported by ustar format... yes
checking whether GID '20' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-apple-darwin19.3.0-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-apple-darwin19.3.0
checking host system type... x86_64-apple-darwin19.3.0
checking for Win32... no
checking for the Android... no
checking for Mac OS X Carbon support... yes
checking for Mac OS X Cocoa support... yes
checking OSX version >= 10.9.0... yes
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for x86_64-apple-darwin19.3.0-c++... no
checking for x86_64-apple-darwin19.3.0-g++... no
checking for x86_64-apple-darwin19.3.0-gcc... no
checking for x86_64-apple-darwin19.3.0-CC... no
checking for x86_64-apple-darwin19.3.0-cxx... no
checking for x86_64-apple-darwin19.3.0-cc++... no
checking for x86_64-apple-darwin19.3.0-cl... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking pkg-config is at least version 0.16... yes
checking for gawk... (cached) awk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.5... python
checking for python... /Users/steven/anaconda3/bin/python
checking for python version... 3.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python3.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.7/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... yes
checking for ZLIB... yes
checking for LIBFFI... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... no
checking if -liconv is needed to use gettext...
checking for ngettext in -lintl... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
make[1]: *** [build-only-glib_x86_64-apple-darwin19.3.0] Error 1
real 0m33.272s
user 0m24.891s
sys 0m6.062s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment